about summary refs log tree commit diff
path: root/scripts/nix-pull.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-pull.in')
-rw-r--r--scripts/nix-pull.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index 1453a46ac93d..ded4281cfbc0 100644
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -61,10 +61,10 @@ sub processURL {
                 # Nix archive from the network.
                 my $fetch =
                     "(import @datadir@/nix/corepkgs/fetchurl) " .
-                    "{url = $fullurl; md5 = \"$hash\"; system = \"@host@\"}";
+                    "{url = $fullurl; md5 = \"$hash\"; system = \"@system@\"}";
                 my $nixexpr =
                     "((import @datadir@/nix/corepkgs/nar/unnar.nix) " .
-                    "{narFile = ($fetch); outPath = \"$storepath\"; system = \"@host@\"}) ";
+                    "{narFile = ($fetch); outPath = \"$storepath\"; system = \"@system@\"}) ";
                 $fullexpr .= $nixexpr; # !!! O(n^2)?
 
                 push @srcpaths, $storepath;