diff options
author | Piotr Bogdan <ppbogdan@gmail.com> | 2019-01-04 19:33:51 +0000 |
---|---|---|
committer | Piotr Bogdan <ppbogdan@gmail.com> | 2019-01-04 21:44:21 +0000 |
commit | 1492dcccdaa5ff208bb0c0da47800c5961599a68 (patch) | |
tree | 76243250b22b01c1cebd3c55437be59831e71929 /pkgs/applications/editors/texmacs | |
parent | 510b678cb79238f2554dcd499779a4e341f810fb (diff) | |
download | nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.tar nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.tar.gz nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.tar.bz2 nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.tar.lz nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.tar.xz nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.tar.zst nixpkgs-1492dcccdaa5ff208bb0c0da47800c5961599a68.zip |
texmacs: link with libz explicitly
Diffstat (limited to 'pkgs/applications/editors/texmacs')
-rw-r--r-- | pkgs/applications/editors/texmacs/default.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/applications/editors/texmacs/default.nix b/pkgs/applications/editors/texmacs/default.nix index d3d95e5886a..ac5ac34d214 100644 --- a/pkgs/applications/editors/texmacs/default.nix +++ b/pkgs/applications/editors/texmacs/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation { }; buildInputs = [ guile_1_8 qt4 makeWrapper ghostscriptX freetype ]; + NIX_LDFLAGS = [ "-lz" ]; postInstall = "wrapProgram $out/bin/texmacs --suffix PATH : " + (if ghostscriptX == null then "" else "${ghostscriptX}/bin:") + @@ -33,12 +34,6 @@ stdenv.mkDerivation { inherit (common) postPatch; - postFixup = '' - bin="$out/libexec/TeXmacs/bin/texmacs.bin" - rpath=$(patchelf --print-rpath "$bin") - patchelf --set-rpath "$rpath:${zlib.out}/lib" "$bin" - ''; - meta = common.meta // { maintainers = [ stdenv.lib.maintainers.roconnor ]; platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice |