From 64d4bfd1397b48236199a660c49ad60f13188365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 1 Mar 2017 08:41:44 +0100 Subject: [PATCH] ploticus: fixup a manual-page symlink With new man compression this caused a build error. --- pkgs/tools/graphics/ploticus/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/graphics/ploticus/default.nix b/pkgs/tools/graphics/ploticus/default.nix index b855410f37f2..d0e678578723 100644 --- a/pkgs/tools/graphics/ploticus/default.nix +++ b/pkgs/tools/graphics/ploticus/default.nix @@ -15,6 +15,12 @@ stdenv.mkDerivation { patches = [ ./ploticus-install.patch ]; + # Make the symlink relative instead of absolute. + # Otherwise it breaks when auto-moved to $out/share. + preFixup = '' + ln -sf pl.1 "$out"/man/man1/ploticus.1 + ''; + meta = with stdenv.lib; { description = "A non-interactive software package for producing plots and charts"; longDescription = ''Ploticus is a free, GPL'd, non-interactive