summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/window-managers/stumpwm
diff options
context:
space:
mode:
authorMoritz Heidkamp <moritz@twoticketsplease.de>2014-10-29 14:11:45 +0100
committerMoritz Ulrich <moritz@tarn-vedra.de>2014-10-29 15:17:06 +0100
commit083040a77ec4e8eb461fa093cbb0c66926557171 (patch)
tree8c28d123f0b23c7af6dd27db6a133d02c510a494 /pkgs/applications/window-managers/stumpwm
parent5f07d275f8d4bb97391cd8490f9561fac23bb740 (diff)
Better work-around for stumpwmContrib dependency
Diffstat (limited to 'pkgs/applications/window-managers/stumpwm')
-rw-r--r--pkgs/applications/window-managers/stumpwm/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/window-managers/stumpwm/default.nix b/pkgs/applications/window-managers/stumpwm/default.nix
index 57f254b26b47..03c24ff545ef 100644
--- a/pkgs/applications/window-managers/stumpwm/default.nix
+++ b/pkgs/applications/window-managers/stumpwm/default.nix
@@ -29,10 +29,11 @@ stdenv.mkDerivation rec {
installPhase = ''
make
make install
- # STUMPWM_CONTRIB_DIR is not actually used. We just set it so that
- # stumpwmContrib gets retained as a runtime dependency because for
- # some reason $out/bin/stumpwm does not contain a reference to it.
- wrapProgram $out/bin/stumpwm --set STUMPWM_CONTRIB_DIR "${stumpwmContrib}/contrib"
+ # For some reason, stumpwmContrib is not retained as a runtime
+ # dependency (probably because $out/bin/stumpwm is compressed or
+ # obfuscated in some way). Thus we add an explicit reference here.
+ mkdir $out/nix-support
+ echo ${stumpwmContrib} > $out/nix-support/stumpwm-contrib
'';
meta = with stdenv.lib; {