about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/nixpkgs/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix
index 3471468c4c..4007d00f9d 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