about summary refs log tree commit diff
path: root/scripts/nix-prefetch-url.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-prefetch-url.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-prefetch-url.in')
-rw-r--r--scripts/nix-prefetch-url.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index 0873f5a8d7cb..050955682122 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -25,7 +25,7 @@ rename $out, $out2;
 # Create a Nix expression.
 my $nixexpr =
     "(import @datadir@/nix/corepkgs/fetchurl) " .
-    "{url = $url; md5 = \"$hash\"; system = \"@host@\"}";
+    "{url = $url; md5 = \"$hash\"; system = \"@system@\"}";
 
 print "expr: $nixexpr\n";