Allow pre/post-Install
This commit is contained in:
parent
0f28ce0ad8
commit
12f35b6db7
@ -30,6 +30,8 @@ basePackage = {
|
||||
|
||||
inherit deployConfigScript deployLaunchScript;
|
||||
installPhase = ''
|
||||
eval "$preInstall"
|
||||
|
||||
mkdir -p "$out"/share/doc/${args.baseName};
|
||||
mkdir -p "$out"/lib/common-lisp/${args.baseName};
|
||||
cp -r . "$out"/lib/common-lisp/${args.baseName};
|
||||
@ -37,6 +39,8 @@ basePackage = {
|
||||
|
||||
${deployConfigScript}
|
||||
${deployLaunchScript}
|
||||
|
||||
eval "$postInstall"
|
||||
'';
|
||||
propagatedBuildInputs = (args.deps or []) ++ [clwrapper clwrapper.lisp]
|
||||
++ (args.propagatedBuildInputs or []);
|
||||
|
Loading…
Reference in New Issue
Block a user