[Nix-dev] [PATCH] install ripmime manual into share/man instead of man
Petar Bogdanovic
petar at smokva.net
Thu Oct 15 22:21:42 CEST 2015
---
pkgs/tools/networking/ripmime/default.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkgs/tools/networking/ripmime/default.nix b/pkgs/tools/networking/ripmime/default.nix
index d9445b7..fd5964c 100644
--- a/pkgs/tools/networking/ripmime/default.nix
+++ b/pkgs/tools/networking/ripmime/default.nix
@@ -29,8 +29,8 @@ rec {
/* doConfigure should be removed if not needed */
phaseNames = ["fixTarget" "doMakeInstall"];
fixTarget = a.fullDepEntry (''
- sed -i Makefile -e "s at LOCATION=.*@LOCATION=$out@"
- mkdir -p "$out/bin" "$out/man/man1"
+ sed -i Makefile -e "s at LOCATION=.*@LOCATION=$out@" -e "s at man/man1 at share/&@"
+ mkdir -p "$out/bin" "$out/share/man/man1"
'') ["doUnpack" "minInit" "defEnsureDir"];
meta = {
--
2.5.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151015/0ce5c714/attachment.bin
More information about the nix-dev
mailing list