···3636 substituteInPlace fpcsrc/compiler/systems/t_linux.pas --subst-var-by syslibpath "${glibc}/lib"
3737 # Replace the `codesign --remove-signature` command with a custom script, since `codesign` is not available
3838 # in nixpkgs
3939+ # Remove the -no_uuid strip flag which does not work on llvm-strip, only
4040+ # Apple strip.
3941 substituteInPlace fpcsrc/compiler/Makefile \
4042 --replace \
4143 "\$(CODESIGN) --remove-signature" \
4244 "${./remove-signature.sh}" \
4343- --replace "ifneq (\$(CODESIGN),)" "ifeq (\$(OS_TARGET), darwin)"
4545+ --replace "ifneq (\$(CODESIGN),)" "ifeq (\$(OS_TARGET), darwin)" \
4646+ --replace "-no_uuid" ""
4447 '';
45484649 NIX_LDFLAGS = lib.optionalString