9be118223b
Style of dual implementation and headers derivations is take from bb7067f882bf3c53ea68780a8ec0a7117f563253.
18 lines
302 B
Nix
18 lines
302 B
Nix
{ 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
|
|
'';
|
|
}
|