-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #214 from henrik-ch/pill8
Pill 8 update
- Loading branch information
Showing
7 changed files
with
46 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export PATH="$gnutar/bin:$gcc/bin:$gnumake/bin:$coreutils/bin:$gawk/bin:$gzip/bin:$gnugrep/bin:$gnused/bin:$bintools/bin" | ||
tar -xzf $src | ||
cd hello-2.10 | ||
cd hello-2.12.1 | ||
./configure --prefix=$out | ||
make | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
with (import <nixpkgs> {}); | ||
derivation { | ||
name = "hello"; | ||
builder = "${bash}/bin/bash"; | ||
args = [ ./hello_builder.sh ]; | ||
inherit gnutar gzip gnumake coreutils gawk gnused gnugrep; | ||
gcc = clang; | ||
bintools = clang.bintools.bintools_bin; | ||
src = ./hello-2.10.tar.gz; | ||
system = builtins.currentSystem; | ||
} | ||
let | ||
pkgs = import <nixpkgs> {}; | ||
in | ||
derivation { | ||
name = "hello"; | ||
builder = "${pkgs.bash}/bin/bash"; | ||
args = [ ./hello_builder.sh ]; | ||
inherit (pkgs) gnutar gzip gnumake coreutils gawk gnused gnugrep; | ||
gcc = pkgs.clang; | ||
bintools = pkgs.clang.bintools.bintools_bin; | ||
src = ./hello-2.12.1.tar.gz; | ||
system = builtins.currentSystem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
with (import <nixpkgs> {}); | ||
derivation { | ||
name = "hello"; | ||
builder = "${bash}/bin/bash"; | ||
args = [ ./builder.sh ]; | ||
buildInputs = [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools ]; | ||
src = ./hello-2.10.tar.gz; | ||
system = builtins.currentSystem; | ||
} | ||
let | ||
pkgs = import <nixpkgs> {}; | ||
in | ||
derivation { | ||
name = "hello"; | ||
builder = "${pkgs.bash}/bin/bash"; | ||
args = [ ./builder.sh ]; | ||
buildInputs = with pkgs; [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools ]; | ||
src = ./hello-2.12.1.tar.gz; | ||
system = builtins.currentSystem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
let | ||
pkgs = import <nixpkgs> {}; | ||
mkDerivation = import ./autotools.nix pkgs; | ||
in mkDerivation { | ||
name = "hello"; | ||
src = ./hello-2.10.tar.gz; | ||
} | ||
in | ||
mkDerivation { | ||
name = "hello"; | ||
src = ./hello-2.12.1.tar.gz; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
with (import <nixpkgs> {}); | ||
derivation { | ||
name = "hello"; | ||
builder = "${bash}/bin/bash"; | ||
args = [ ./hello_builder.sh ]; | ||
inherit gnutar gzip gnumake gcc coreutils gawk gnused gnugrep; | ||
bintools = binutils.bintools; | ||
src = ./hello-2.10.tar.gz; | ||
system = builtins.currentSystem; | ||
} | ||
let | ||
pkgs = import <nixpkgs> {}; | ||
in | ||
derivation { | ||
name = "hello"; | ||
builder = "${pkgs.bash}/bin/bash"; | ||
args = [ ./hello_builder.sh ]; | ||
inherit (pkgs) gnutar gzip gnumake gcc coreutils gawk gnused gnugrep; | ||
bintools = pkgs.binutils.bintools; | ||
src = ./hello-2.12.1.tar.gz; | ||
system = builtins.currentSystem; | ||
} |