1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

xmonad: patch source code to refer to xmessage(1) using its complete path

svn path=/nixpkgs/trunk/; revision=30488
This commit is contained in:
Peter Simons 2011-11-20 10:21:38 +00:00
parent 0a872860d7
commit 59fa8fc940

View file

@ -1,4 +1,4 @@
{ cabal, extensibleExceptions, mtl, utf8String, X11 }:
{ cabal, extensibleExceptions, mtl, utf8String, X11, xmessage }:
cabal.mkDerivation (self: {
pname = "xmonad";
@ -18,4 +18,9 @@ cabal.mkDerivation (self: {
self.stdenv.lib.maintainers.simons
];
};
preConfigure = ''
substituteInPlace XMonad/Core.hs --replace \
'"xmessage"' '"${xmessage}/bin/xmessage"'
'';
})