mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
7bba32a069
If things build fine with `stdenvNoCC`, let them use that. If tools might be prefixed, prepare for that, either by directly splicing or just using the env vars provided by the wrapper setup-hooks. Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
19 lines
365 B
Nix
19 lines
365 B
Nix
{ stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "darwin-stubs";
|
|
version = "10.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/NixOS/darwin-stubs/releases/download/v20201216/10.12.tar.gz";
|
|
sha256 = "1fyd3xig7brkzlzp0ql7vyfj5sp8iy56kgp548mvicqdyw92adgm";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir $out
|
|
mv * $out
|
|
'';
|
|
}
|