lispPackages.stumpwm: mimic Query-FS tricks for adding extra deps
This commit is contained in:
parent
3791a20e97
commit
83cb84ebc3
@ -10,11 +10,13 @@ in
|
|||||||
{
|
{
|
||||||
stumpwm = x:{
|
stumpwm = x:{
|
||||||
overrides = y: (x.overrides y) // {
|
overrides = y: (x.overrides y) // {
|
||||||
|
linkedSystems = [];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export configureFlags="$configureFlags --with-$NIX_LISP=common-lisp.sh";
|
export configureFlags="$configureFlags --with-$NIX_LISP=common-lisp.sh";
|
||||||
'';
|
'';
|
||||||
postInstall = ''
|
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"
|
"$out/bin/stumpwm-lisp-launcher.sh"
|
||||||
|
|
||||||
cp "$out/lib/common-lisp/stumpwm/stumpwm" "$out/bin"
|
cp "$out/lib/common-lisp/stumpwm/stumpwm" "$out/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user