##// 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 !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,14 +200,17 b' 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;
204 };
205
206 };
207
208 rhodecode-testdata-src = sources.rhodecode-testdata or (
209 pkgs.fetchhg {
203 url = "https://code.rhodecode.com/upstream/rc_testdata";
210 url = "https://code.rhodecode.com/upstream/rc_testdata";
204 rev = "v0.7.0";
211 rev = "v0.7.0";
205 sha256 = "0w3z0zn8lagr707v67lgys23sl6pbi4xg7pfvdbw58h3q384h6rx";
212 sha256 = "0w3z0zn8lagr707v67lgys23sl6pbi4xg7pfvdbw58h3q384h6rx";
206 };
213 });
207 };
208
209 };
210
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 =
General Comments 0
You need to be logged in to leave comments. Login now