Make fiv work on macOS when run from result dir
This commit is contained in:
parent
badd347b22
commit
0444cbcddf
@ -7,6 +7,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||
version = "master";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
wrapGAppsHook
|
||||
meson
|
||||
pkg-config
|
||||
ninja
|
||||
@ -46,6 +47,9 @@ pkgs.stdenv.mkDerivation rec {
|
||||
# Up for consideration: don't rely on shebangs at all.
|
||||
patchPhase = ''
|
||||
patchShebangs .
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/glib/-/issues/30240
|
||||
ulimit -n 8192
|
||||
'';
|
||||
|
||||
mesonFlags = [
|
||||
@ -67,6 +71,12 @@ pkgs.stdenv.mkDerivation rec {
|
||||
"-Dgdk-pixbuf=disabled"
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : $out/bin:${pkgs.lib.makeBinPath [ pkgs.exiftool ]}
|
||||
)
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
|
@ -7,9 +7,9 @@ pkgs.stdenv.mkDerivation rec {
|
||||
version = "master";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
wrapGAppsHook
|
||||
cmake
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user