mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
* Use a system name that does not include the OS manufacturer (i.e.,
"i686-linux" instead of "i686-suse-linux").
This commit is contained in:
parent
dc05f29cf6
commit
5d2b424804
7 changed files with 15 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue