pkg.nix: copy config+static subdirs, link client_session_key.aes in postInstall
This commit is contained in:
parent
dcddc1eec6
commit
0a0e9e424c
1 changed files with 4 additions and 0 deletions
4
pkg.nix
4
pkg.nix
|
@ -39,4 +39,8 @@ mkDerivation {
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
doHaddock = false;
|
doHaddock = false;
|
||||||
license = stdenv.lib.licenses.agpl3;
|
license = stdenv.lib.licenses.agpl3;
|
||||||
|
postInstall = ''
|
||||||
|
cp -ar config static $out/
|
||||||
|
ln -s /tmp/yammat_session_key.aes $out/config/client_session_key.aes
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue