about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/darwin-stubs/default.nix
blob: 6e3439455cce588b3056e224d0b6ee0c69027ce9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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
  '';
}