mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
updated autotools.nix - reduced scope of with.
This commit is contained in:
parent
a826d304a0
commit
d4deaeaebe
|
@ -1,11 +1,11 @@
|
||||||
pkgs: attrs:
|
pkgs: attrs:
|
||||||
with pkgs;
|
|
||||||
let defaultAttrs = {
|
let defaultAttrs = {
|
||||||
builder = "${bash}/bin/bash";
|
builder = "${pkgs.bash}/bin/bash";
|
||||||
args = [ ./builder.sh ];
|
args = [ ./builder.sh ];
|
||||||
baseInputs = [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools ];
|
baseInputs = with pkgs; [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools];
|
||||||
buildInputs = [];
|
buildInputs = [];
|
||||||
system = builtins.currentSystem;
|
system = builtins.currentSystem;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
derivation (defaultAttrs // attrs)
|
pkgs.stdenv.mkDerivation (defaultAttrs // attrs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue