summary refs log tree commit diff
path: root/pkgs/os-specific/windows/w32api/headers.nix
blob: 3083118bb366cb44ab75c25efa90ce578a9b2477 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenvNoCC, callPackage }:

let
  inherit (callPackage ./common.nix {}) name src meta;

in stdenvNoCC.mkDerivation {
  name = name + "-headers";

  inherit src nativeBuildInputs meta;

  phases = [ "unpackPhase" "installPhase" ];

  installPhase = ''
    mkdir -p $out
    cp -R include $out
  '';
}