mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
c564d1b663
removed and reduced use of with.
12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
pkgs: attrs:
|
|
let defaultAttrs = {
|
|
builder = "${pkgs.bash}/bin/bash";
|
|
args = [ ./builder.sh ];
|
|
setup = ./setup.sh;
|
|
baseInputs = with pkgs; [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep patchelf findutils binutils.bintools];
|
|
buildInputs = [];
|
|
system = builtins.currentSystem;
|
|
};
|
|
in
|
|
derivation (defaultAttrs // attrs)
|
|
|