about summary refs log tree commit diff
path: root/scripts/nix-pull.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-01T14·36+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-01T14·36+0000
commit5d2b424804ec93567ddf15639f84c4098d80f659 (patch)
tree20c27ca1669b8e694bf2f5c4592b8f58e99418b2 /scripts/nix-pull.in
parentdc05f29cf6e1c5ee557441951116ee3fb35e0e00 (diff)
* Use a system name that does not include the OS manufacturer (i.e.,
  "i686-linux" instead of "i686-suse-linux").

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 1453a46ac9..ded4281cfb 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;