# HG changeset patch # User Martin Bornhold # Date 2016-10-26 09:52:03 # Node ID 69363678a74aeb4c85e41bf794ab4d8f86e25cdf # Parent b75aafd507fc1e196873bf6778e0a0023904b338 nix: Add `sourcesOverrides` argument to shell.nix to set the vcs server path in jenkins. diff --git a/shell.nix b/shell.nix --- a/shell.nix +++ b/shell.nix @@ -1,11 +1,13 @@ { pkgs ? (import {}) , 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;