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