nixpkgs/pkgs/os-specific/darwin/darwin-stubs/default.nix
Andrew Childs 34c8fae439 darwin/stdenv: tapi stub based bootstrap
Fixes bootstrapping on macOS Big Sur.
2020-12-22 11:43:54 +09:00

18 lines
357 B
Nix

{ stdenv, fetchurl }:
stdenv.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
'';
}