diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/nixpkgs/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix index 3471468c4cfd..4007d00f9db1 100644 --- a/third_party/nixpkgs/default.nix +++ b/third_party/nixpkgs/default.nix @@ -8,7 +8,12 @@ # in //default.nix passes this attribute as the `pkgs` argument to all # readTree derivations. -{ depot ? { }, externalArgs ? { }, depotOverlays ? true, ... }: +{ depot ? { } +, externalArgs ? { } +, depotOverlays ? true +, localSystem ? builtins.currentSystem +, ... +}: let # import the nixos-unstable package set, or optionally use the @@ -48,6 +53,8 @@ import nixpkgsSrc { allowBroken = true; }; + inherit localSystem; + overlays = [ commitsOverlay stableOverlay |