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:
parent
89e5624b55
commit
ac90b5cce8
|
@ -3,7 +3,7 @@ pkgs: attrs:
|
|||
let defaultAttrs = {
|
||||
builder = "${bash}/bin/bash";
|
||||
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 = [];
|
||||
system = builtins.currentSystem;
|
||||
};
|
||||
|
|
|
@ -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
|
||||
cd hello-2.9
|
||||
./configure --prefix=$out
|
||||
|
|
|
@ -3,7 +3,7 @@ derivation {
|
|||
name = "hello";
|
||||
builder = "${bash}/bin/bash";
|
||||
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;
|
||||
system = builtins.currentSystem;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ derivation {
|
|||
name = "hello";
|
||||
builder = "${bash}/bin/bash";
|
||||
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;
|
||||
system = builtins.currentSystem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue