summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific/windows/mingwrt/headers.nix
blob: 51180af0fc7316658218fa71feb958747e68cdff (plain)
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 meta;

  phases = [ "unpackPhase" "installPhase" ];

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