nixpkgs/pkgs/tools/misc/getopt/default.nix
Eelco Dolstra 7495c61d49 Merge remote-tracking branch 'origin/darwin-clang-stdenv' into staging
Conflicts:
	pkgs/applications/editors/vim/macvim.nix
2014-11-04 14:30:43 +01:00

14 lines
312 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "getopt-1.1.4";
builder = ./builder.sh;
src = fetchurl {
url = http://tarballs.nixos.org/getopt-1.1.4.tar.gz;
sha256 = "1arvjfzw6p310zbgv629w5hkyslrj44imf3r3s2r4ry2jfcks221";
};
preBuild = ''
export buildFlags=CC="$CC" # for darwin
'';
}