##// END OF EJS Templates
nix: Use path to rc_testdata from pkgs.config.rc.sources if present.
Martin Bornhold -
r211:c0fc5cc3 default
parent child
Show More
@@ -46,6 +46,7 let
46 !elem ext ["egg-info" "pyc"] &&
46 !elem ext ["egg-info" "pyc"] &&
47 !startsWith "result" path;
47 !startsWith "result" path;
48
48
49 sources = pkgs.config.rc.sources or {};
49 rhodecode-enterprise-ce-src = builtins.filterSource src-filter ./.;
50 rhodecode-enterprise-ce-src = builtins.filterSource src-filter ./.;
50
51
51 # Load the generated node packages
52 # Load the generated node packages
@@ -199,15 +200,18 let
199
200
200 rc_testdata = self.buildPythonPackage rec {
201 rc_testdata = self.buildPythonPackage rec {
201 name = "rc_testdata-0.7.0";
202 name = "rc_testdata-0.7.0";
202 src = pkgs.fetchhg {
203 src = rhodecode-testdata-src;
203 url = "https://code.rhodecode.com/upstream/rc_testdata";
204 rev = "v0.7.0";
205 sha256 = "0w3z0zn8lagr707v67lgys23sl6pbi4xg7pfvdbw58h3q384h6rx";
206 };
207 };
204 };
208
205
209 };
206 };
210
207
208 rhodecode-testdata-src = sources.rhodecode-testdata or (
209 pkgs.fetchhg {
210 url = "https://code.rhodecode.com/upstream/rc_testdata";
211 rev = "v0.7.0";
212 sha256 = "0w3z0zn8lagr707v67lgys23sl6pbi4xg7pfvdbw58h3q384h6rx";
213 });
214
211 # Apply all overrides and fix the final package set
215 # Apply all overrides and fix the final package set
212 myPythonPackagesUnfix =
216 myPythonPackagesUnfix =
213 (extends pythonExternalOverrides
217 (extends pythonExternalOverrides
General Comments 0
You need to be logged in to leave comments. Login now