From 9a1b3214a33c5b524beb630caf8b9e1a28d17bf3 Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Wed, 26 Oct 2016 11:52:03 +0200 Subject: [PATCH] nix: Add `sourcesOverrides` argument to shell.nix to set the vcs server path in jenkins. --- shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 8803c494..b36290a1 100644 --- 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;