Better work-around for stumpwmContrib dependency
This commit is contained in:
parent
5f07d275f8
commit
083040a77e
@ -29,10 +29,11 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
# STUMPWM_CONTRIB_DIR is not actually used. We just set it so that
|
# For some reason, stumpwmContrib is not retained as a runtime
|
||||||
# stumpwmContrib gets retained as a runtime dependency because for
|
# dependency (probably because $out/bin/stumpwm is compressed or
|
||||||
# some reason $out/bin/stumpwm does not contain a reference to it.
|
# obfuscated in some way). Thus we add an explicit reference here.
|
||||||
wrapProgram $out/bin/stumpwm --set STUMPWM_CONTRIB_DIR "${stumpwmContrib}/contrib"
|
mkdir $out/nix-support
|
||||||
|
echo ${stumpwmContrib} > $out/nix-support/stumpwm-contrib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user