##// END OF EJS Templates
nix: Add `sourcesOverrides` argument to shell.nix to set the vcs server path in jenkins.
Martin Bornhold -
r1133:69363678 default
parent child Browse files
Show More
@@ -1,11 +1,13 b''
1 { pkgs ? (import <nixpkgs> {})
1 { pkgs ? (import <nixpkgs> {})
2 , pythonPackages ? "python27Packages"
2 , pythonPackages ? "python27Packages"
3 , doCheck ? true
3 , doCheck ? true
4 , sourcesOverrides ? {}
4 , doDevelopInstall ? true
5 , doDevelopInstall ? true
5 }:
6 }:
6
7
7 let
8 let
8 sources = pkgs.config.rc.sources or {};
9 # Get sources from config and update them with overrides.
10 sources = (pkgs.config.rc.sources or {}) // sourcesOverrides;
9
11
10 enterprise-ce = import ./default.nix {
12 enterprise-ce = import ./default.nix {
11 inherit pkgs pythonPackages doCheck;
13 inherit pkgs pythonPackages doCheck;
General Comments 0
You need to be logged in to leave comments. Login now