mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 22:19:10 +00:00
Merge pull request #115347 from sternenseemann/cabal-install-man-pag
haskellPackages.cabal-install: install man page again
This commit is contained in:
commit
1a9aa10701
@ -1602,4 +1602,19 @@ self: super: {
|
||||
];
|
||||
});
|
||||
|
||||
# cabal-install switched to build type simple in 3.2.0.0
|
||||
# as a result, the cabal(1) man page is no longer installed
|
||||
# automatically. Instead we need to use the `cabal man`
|
||||
# command which generates the man page on the fly and
|
||||
# install it to $out/share/man/man1 ourselves in this
|
||||
# override.
|
||||
# The commit that introduced this change:
|
||||
# https://github.com/haskell/cabal/commit/91ac075930c87712eeada4305727a4fa651726e7
|
||||
cabal-install = overrideCabal super.cabal-install (old: {
|
||||
postInstall = old.postInstall + ''
|
||||
mkdir -p "$out/share/man/man1"
|
||||
"$out/bin/cabal" man --raw > "$out/share/man/man1/cabal.1"
|
||||
'';
|
||||
});
|
||||
|
||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||
|
Loading…
Reference in New Issue
Block a user