nix: Use path to rc_testdata from pkgs.config.rc.sources if present.
This commit is contained in:
parent
99bc2e3eeb
commit
fc7f2e7770
1 changed files with 9 additions and 5 deletions
14
default.nix
14
default.nix
|
|
@ -46,6 +46,7 @@ let
|
|||
!elem ext ["egg-info" "pyc"] &&
|
||||
!startsWith "result" path;
|
||||
|
||||
sources = pkgs.config.rc.sources or {};
|
||||
rhodecode-enterprise-ce-src = builtins.filterSource src-filter ./.;
|
||||
|
||||
# Load the generated node packages
|
||||
|
|
@ -199,15 +200,18 @@ let
|
|||
|
||||
rc_testdata = self.buildPythonPackage rec {
|
||||
name = "rc_testdata-0.7.0";
|
||||
src = pkgs.fetchhg {
|
||||
url = "https://code.rhodecode.com/upstream/rc_testdata";
|
||||
rev = "v0.7.0";
|
||||
sha256 = "0w3z0zn8lagr707v67lgys23sl6pbi4xg7pfvdbw58h3q384h6rx";
|
||||
};
|
||||
src = rhodecode-testdata-src;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
rhodecode-testdata-src = sources.rhodecode-testdata or (
|
||||
pkgs.fetchhg {
|
||||
url = "https://code.rhodecode.com/upstream/rc_testdata";
|
||||
rev = "v0.7.0";
|
||||
sha256 = "0w3z0zn8lagr707v67lgys23sl6pbi4xg7pfvdbw58h3q384h6rx";
|
||||
});
|
||||
|
||||
# Apply all overrides and fix the final package set
|
||||
myPythonPackagesUnfix =
|
||||
(extends pythonExternalOverrides
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue