sks: Copy the web examples to $webSamples for the module

This commit is contained in:
Michael Weiss 2018-09-08 14:14:01 +02:00
parent 7c69ae6259
commit d02c6a56cc

View file

@ -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 = ''