about summary refs log tree commit diff
path: root/corepkgs/buildenv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/buildenv.nix')
-rw-r--r--corepkgs/buildenv.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix
index 6e2bee10b1e7..641231dd9ee1 100644
--- a/corepkgs/buildenv.nix
+++ b/corepkgs/buildenv.nix
@@ -1,10 +1,10 @@
 with import <nix/config.nix>;
 
-{ system, derivations, manifest }:
+{ derivations, manifest }:
 
 derivation { 
   name = "user-environment";
-  system = system;
+  system = builtins.currentSystem;
   builder = perl;
   args = [ "-w" ./buildenv.pl ];