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