1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00

Fix missing ar in build environment

This commit is contained in:
Will Price 2017-12-28 11:38:30 +00:00
parent 89e5624b55
commit ac90b5cce8
No known key found for this signature in database
GPG key ID: 45718B20CBE36C18
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ pkgs: attrs:
let defaultAttrs = { let defaultAttrs = {
builder = "${bash}/bin/bash"; builder = "${bash}/bin/bash";
args = [ ./builder.sh ]; args = [ ./builder.sh ];
baseInputs = [ gnutar gzip gnumake gcc binutils coreutils gawk gnused gnugrep ]; baseInputs = [ gnutar gzip gnumake gcc binutils-unwrapped coreutils gawk gnused gnugrep ];
buildInputs = []; buildInputs = [];
system = builtins.currentSystem; system = builtins.currentSystem;
}; };

View file

@ -1,4 +1,4 @@
export PATH="$gnutar/bin:$gcc/bin:$gnumake/bin:$coreutils/bin:$gawk/bin:$gzip/bin:$gnugrep/bin:$gnused/bin:$binutils/bin" export PATH="$gnutar/bin:$gcc/bin:$gnumake/bin:$coreutils/bin:$gawk/bin:$gzip/bin:$gnugrep/bin:$gnused/bin:$binutils_unwrapped/bin"
tar -xzf $src tar -xzf $src
cd hello-2.9 cd hello-2.9
./configure --prefix=$out ./configure --prefix=$out

View file

@ -3,7 +3,7 @@ derivation {
name = "hello"; name = "hello";
builder = "${bash}/bin/bash"; builder = "${bash}/bin/bash";
args = [ ./builder.sh ]; args = [ ./builder.sh ];
buildInputs = [ gnutar gzip gnumake gcc binutils coreutils gawk gnused gnugrep ]; buildInputs = [ gnutar gzip gnumake gcc binutils-unwrapped coreutils gawk gnused gnugrep ];
src = ./hello-2.9.tar.gz; src = ./hello-2.9.tar.gz;
system = builtins.currentSystem; system = builtins.currentSystem;
} }

View file

@ -3,7 +3,7 @@ derivation {
name = "hello"; name = "hello";
builder = "${bash}/bin/bash"; builder = "${bash}/bin/bash";
args = [ ./hello_builder.sh ]; args = [ ./hello_builder.sh ];
inherit gnutar gzip gnumake gcc binutils coreutils gawk gnused gnugrep; inherit gnutar gzip gnumake gcc binutils-unwrapped coreutils gawk gnused gnugrep;
src = ./hello-2.9.tar.gz; src = ./hello-2.9.tar.gz;
system = builtins.currentSystem; system = builtins.currentSystem;
} }