From 143e2e06ec4b42bfda8f554964af8d7eebf39e1d Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Fri, 17 Jun 2016 12:57:58 +0200 Subject: [PATCH] nix: Import rhodecode testdata as derivation. --- default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index bb2b8313..77788f47 100644 --- a/default.nix +++ b/default.nix @@ -110,7 +110,7 @@ let pkgs.nodePackages.grunt-cli pkgs.subversion pytest-catchlog - rc_testdata + rhodecode-testdata ]); propagatedBuildInputs = attrs.propagatedBuildInputs ++ (with self; [ @@ -198,9 +198,11 @@ let }); - rc_testdata = self.buildPythonPackage rec { - name = "rc_testdata-0.7.0"; - src = rhodecode-testdata-src; + rhodecode-testdata = import "${rhodecode-testdata-src}/default.nix" { + inherit + doCheck + pkgs + pythonPackages; }; };