lol

fpc: fix on llvm-strip on macOS

+4 -1
+4 -1
pkgs/development/compilers/fpc/default.nix
··· 36 36 substituteInPlace fpcsrc/compiler/systems/t_linux.pas --subst-var-by syslibpath "${glibc}/lib" 37 37 # Replace the `codesign --remove-signature` command with a custom script, since `codesign` is not available 38 38 # in nixpkgs 39 + # Remove the -no_uuid strip flag which does not work on llvm-strip, only 40 + # Apple strip. 39 41 substituteInPlace fpcsrc/compiler/Makefile \ 40 42 --replace \ 41 43 "\$(CODESIGN) --remove-signature" \ 42 44 "${./remove-signature.sh}" \ 43 - --replace "ifneq (\$(CODESIGN),)" "ifeq (\$(OS_TARGET), darwin)" 45 + --replace "ifneq (\$(CODESIGN),)" "ifeq (\$(OS_TARGET), darwin)" \ 46 + --replace "-no_uuid" "" 44 47 ''; 45 48 46 49 NIX_LDFLAGS = lib.optionalString