fix manpage install with cmake
This commit is contained in:
committed by
Kyle Isom
parent
a51b98c31f
commit
66c79e0762
11
default.nix
11
default.nix
@@ -11,7 +11,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = lib.cleanSource ./.;
|
src = lib.cleanSource ./.;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake installShellFiles ];
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
installShellFiles
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_ASAN=on"
|
"-DENABLE_ASAN=on"
|
||||||
@@ -24,10 +27,8 @@ stdenv.mkDerivation {
|
|||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp ke $out/bin/
|
cp ke $out/bin/
|
||||||
|
|
||||||
|
installManPage ../ke.1
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
installManPage ke.1
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user