mupdf: Patch out which
This popped up while fixing up the expression for Darwin. Apparently `which` isn't on the PATH there for Nix builds. May be considered an impurity on Linux. `command -v` is the POSIX way to do basically the same thing so I just patched out `which`.
This commit is contained in:
parent
e5e8e1d926
commit
9eb2001217
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1vfyhlqq1a0k0drcggly4bgsjasmf6lmpfbdi5xcrwdbzkagrbr1";
|
||||
};
|
||||
|
||||
patches = ./0001-Use-command-v-in-favor-of-which.patch;
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s/__OPENJPEG__VERSION__/${openJpegVersion}/" source/fitz/load-jpx.c
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue