pkg.nix: copy config+static subdirs, link client_session_key.aes in postInstall

This commit is contained in:
Astro 2020-12-03 22:44:36 +01:00
parent dcddc1eec6
commit 0a0e9e424c

View file

@ -39,4 +39,8 @@ mkDerivation {
doCheck = false;
doHaddock = false;
license = stdenv.lib.licenses.agpl3;
postInstall = ''
cp -ar config static $out/
ln -s /tmp/yammat_session_key.aes $out/config/client_session_key.aes
'';
}