git.iko.soy/typeable/cabal2nix
on master help sign in
xmonad: fix post-process hook to cope with the new split-output derivation

Related to https://github.com/NixOS/nixpkgs/pull/27196.

commite9e96691501034bc4a3972bb7f6ae08a4a7a496d authorPeter Simons <simons@cryp.to> dateTue 11 Jul 2017, 12:43 (9 years ago) parent2a15f85
1 file changed+3−2
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+3−2
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+3−2
@@ -225,8 +225,9 @@ xmonadPostInstall :: String
225225xmonadPostInstall = unlines
226226 [ "postInstall = ''"
227227 , " shopt -s globstar"
228− , " mkdir -p $out/share/man/man1"
229− , " mv \"$out/\"**\"/man/\"*.1 $out/share/man/man1/"
228+ , " mkdir -p $doc/share/man/man1"
229+ , " mv \"$data/\"**\"/man/\"*[0-9] $doc/share/man/man1/"
230+ , " rm \"$data/\"**\"/man/\"*"
230231 , "'';"
231232 ]
232233