fish: disable codesigning
We don't have access to the codesign binary.
This commit is contained in:
parent
a43ae05369
commit
87b02f74cf
2 changed files with 16 additions and 0 deletions
|
@ -110,6 +110,10 @@ let
|
|||
sha256 = "1f12c56v7n4s0f9mi9xinviwj6kpwlcjwaig1d4vsk5wlgp7ip07";
|
||||
};
|
||||
|
||||
# We don't have access to the codesign executable, so we patch this out.
|
||||
# For more information, see: https://github.com/fish-shell/fish-shell/issues/6952
|
||||
patches = lib.optional stdenv.isDarwin ./dont-codesign-on-mac.diff;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
|
12
pkgs/shells/fish/dont-codesign-on-mac.diff
Normal file
12
pkgs/shells/fish/dont-codesign-on-mac.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 7d220a032..786b60e6e 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -183,7 +183,6 @@ ENDFUNCTION(CODESIGN_ON_MAC target)
|
||||
# Define a function to link dependencies.
|
||||
FUNCTION(FISH_LINK_DEPS_AND_SIGN target)
|
||||
TARGET_LINK_LIBRARIES(${target} fishlib)
|
||||
- CODESIGN_ON_MAC(${target})
|
||||
ENDFUNCTION(FISH_LINK_DEPS_AND_SIGN)
|
||||
|
||||
# Define libfish.a.
|
Loading…
Reference in a new issue