diff options
Diffstat (limited to 'pkgs/applications/misc/mupdf')
-rw-r--r-- | pkgs/applications/misc/mupdf/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix index db08bd5c14ce7..5fdb9c917916a 100644 --- a/pkgs/applications/misc/mupdf/default.nix +++ b/pkgs/applications/misc/mupdf/default.nix @@ -154,14 +154,14 @@ stdenv.mkDerivation rec { mkdir -p "$out/lib/pkgconfig" cat >"$out/lib/pkgconfig/mupdf.pc" <<EOF prefix=$out - libdir=$out/lib - includedir=$out/include + libdir=\''${prefix}/lib + includedir=\''${prefix}/include Name: mupdf Description: Library for rendering PDF documents Version: ${version} - Libs: -L$out/lib -lmupdf - Cflags: -I$dev/include + Libs: -L\''${libdir} -lmupdf + Cflags: -I\''${includedir} EOF moveToOutput "bin" "$bin" |