mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-24 17:18:44 +08:00
12 lines
198 B
Nix
12 lines
198 B
Nix
{ stdenv, src }: stdenv.mkDerivation
|
|
{
|
|
inherit src;
|
|
name = "zpp-bits";
|
|
phases = [ "installPhase" ];
|
|
installPhase =
|
|
''
|
|
mkdir -p $out/include
|
|
cp $src/zpp_bits.h $out/include
|
|
'';
|
|
}
|