nixpkgs/pkgs/os-specific/darwin/darwin-stubs/default.nix
John Ericson 7bba32a069 darwin packages: Get ready for cross
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>
2021-05-11 16:07:01 -04:00

18 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
'';
}