3
0
Fork 0
forked from mirrors/nixpkgs

fish: fix build with Darwin sandbox enabled

This commit is contained in:
Randy Eckenrode 2023-05-23 21:49:17 -04:00 committed by Cole Helbling
parent e6e3439417
commit dad6320407

View file

@ -210,6 +210,12 @@ let
"-DMAC_CODESIGN_ID=OFF"
];
# Fishs test suite needs to be able to look up process information and send signals.
sandboxProfile = lib.optionalString stdenv.isDarwin ''
(allow mach-lookup mach-task-name)
(allow signal (target children))
'';
# The optional string is kind of an inelegant way to get fish to cross compile.
# Fish needs coreutils as a runtime dependency, and it gets put into
# CMAKE_PREFIX_PATH, which cmake uses to look up build time programs, so it