Skip to content

Commit

Permalink
updated darwin version accordingly.
Browse files Browse the repository at this point in the history
not tested
  • Loading branch information
henrik-ch committed Jun 3, 2023
1 parent 6bce795 commit b1a8646
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions pills/08/hello-nix-darwin.txt
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
pkgs.stdenv.mkDerivation {
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;
}

0 comments on commit b1a8646

Please sign in to comment.