|
|
@ -31,6 +31,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
# Darwin code signing support utilities |
|
|
|
# Darwin code signing support utilities |
|
|
|
, postLinkSignHook ? null, signingUtils ? null |
|
|
|
, postLinkSignHook ? null, signingUtils ? null |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Linker type |
|
|
|
|
|
|
|
, isLld ? bintools.isLld or false |
|
|
|
|
|
|
|
, isCctools ? bintools.isCctools or false |
|
|
|
|
|
|
|
, isGNU ? bintools.isGNU or false |
|
|
|
|
|
|
|
, isGold ? bintools.isGold or false |
|
|
|
|
|
|
|
, isBfd ? bintools.isBfd or false |
|
|
|
}: |
|
|
|
}: |
|
|
|
|
|
|
|
|
|
|
|
with lib; |
|
|
|
with lib; |
|
|
@ -113,6 +120,8 @@ stdenv.mkDerivation { |
|
|
|
passthru = { |
|
|
|
passthru = { |
|
|
|
inherit bintools libc nativeTools nativeLibc nativePrefix; |
|
|
|
inherit bintools libc nativeTools nativeLibc nativePrefix; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inherit isLld isCctools isGNU isGold isBfd; |
|
|
|
|
|
|
|
|
|
|
|
emacsBufferSetup = pkgs: '' |
|
|
|
emacsBufferSetup = pkgs: '' |
|
|
|
; We should handle propagation here too |
|
|
|
; We should handle propagation here too |
|
|
|
(mapc |
|
|
|
(mapc |
|
|
|