nix: Add sourcesOverrides argument to shell.nix to set the vcs server path in jenkins.
This commit is contained in:
parent
34b5e9a81e
commit
9a1b3214a3
1 changed files with 3 additions and 1 deletions
|
|
@ -1,11 +1,13 @@
|
|||
{ pkgs ? (import <nixpkgs> {})
|
||||
, pythonPackages ? "python27Packages"
|
||||
, doCheck ? true
|
||||
, sourcesOverrides ? {}
|
||||
, doDevelopInstall ? true
|
||||
}:
|
||||
|
||||
let
|
||||
sources = pkgs.config.rc.sources or {};
|
||||
# Get sources from config and update them with overrides.
|
||||
sources = (pkgs.config.rc.sources or {}) // sourcesOverrides;
|
||||
|
||||
enterprise-ce = import ./default.nix {
|
||||
inherit pkgs pythonPackages doCheck;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue