lispPackages.stumpwm: mimic Query-FS tricks for adding extra deps
This commit is contained in:
parent
3791a20e97
commit
83cb84ebc3
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue