mirror of
https://github.com/NixOS/nix-pills
synced 2024-11-10 05:44:14 +00:00
commit
ea8ef428da
2 changed files with 7 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
|||
pkgs: attrs:
|
||||
with pkgs;
|
||||
let defaultAttrs = {
|
||||
builder = "${bash}/bin/bash";
|
||||
builder = "${pkgs.bash}/bin/bash";
|
||||
args = [ ./builder.sh ];
|
||||
setup = ./setup.sh;
|
||||
baseInputs = [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools patchelf findutils ];
|
||||
baseInputs = with pkgs; [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools patchelf findutils ];
|
||||
buildInputs = [];
|
||||
system = builtins.currentSystem;
|
||||
};
|
||||
in
|
||||
derivation (defaultAttrs // attrs)
|
||||
derivation (defaultAttrs // attrs)
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@ let
|
|||
pkgs = import <nixpkgs> {};
|
||||
mkDerivation = import ./autotools.nix pkgs;
|
||||
in mkDerivation {
|
||||
name = "hello";
|
||||
src = ./hello-2.10.tar.gz;
|
||||
}
|
||||
name = "hello";
|
||||
src = ./hello-2.12.1.tar.gz;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue