lispPackages.stumpwm: mimic Query-FS tricks for adding extra deps

This commit is contained in:
Michael Raskin 2019-03-25 13:28:52 +01:00
parent 3791a20e97
commit 83cb84ebc3

View File

@ -10,11 +10,13 @@ in
{
stumpwm = x:{
overrides = y: (x.overrides y) // {
linkedSystems = [];
preConfigure = ''
export configureFlags="$configureFlags --with-$NIX_LISP=common-lisp.sh";
'';
postInstall = ''
export NIX_LISP_PRELAUNCH_HOOK="nix_lisp_build_system stumpwm '(function stumpwm:stumpwm)'"
export NIX_LISP_PRELAUNCH_HOOK="nix_lisp_build_system stumpwm \
'(function stumpwm:stumpwm)' '$linkedSystems'"
"$out/bin/stumpwm-lisp-launcher.sh"
cp "$out/lib/common-lisp/stumpwm/stumpwm" "$out/bin"