sks: Copy the web examples to $webSamples for the module
This commit is contained in:
parent
7c69ae6259
commit
d02c6a56cc
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "00q5ma5rvl10rkc6cdw8d69bddgrmvy0ckqj3hbisy65l4idj2zm";
|
||||
};
|
||||
|
||||
outputs = [ "out" "webSamples" ];
|
||||
|
||||
buildInputs = [ ocaml zlib db perl camlp4 ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ];
|
||||
|
@ -26,6 +28,9 @@ stdenv.mkDerivation rec {
|
|||
doCheck = true;
|
||||
checkPhase = "./sks unit_test";
|
||||
|
||||
# Copy the web examples for the NixOS module
|
||||
postInstall = "cp -R sampleWeb $webSamples";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An easily deployable & decentralized OpenPGP keyserver";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue