Skip to content

Commit

Permalink
xmonad: fix post-process hook to cope with the new split-output deriv…
Browse files Browse the repository at this point in the history
…ation

Related to NixOS/nixpkgs#27196.
  • Loading branch information
peti committed Jul 26, 2017
1 parent 04b4315 commit 40a17fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,9 @@ xmonadPostInstall :: String
xmonadPostInstall = unlines
[ "postInstall = ''"
, " shopt -s globstar"
, " mkdir -p $out/share/man/man1"
, " mv \"$out/\"**\"/man/\"*.1 $out/share/man/man1/"
, " mkdir -p $doc/share/man/man1"
, " mv \"$data/\"**\"/man/\"*[0-9] $doc/share/man/man1/"
, " rm \"$data/\"**\"/man/\"*"
, "'';"
]

Expand Down

0 comments on commit 40a17fd

Please sign in to comment.