gnat-bootstrap: gate elfutils on package availability rather than isLinux
This commit is contained in:
parent
6fe5877a49
commit
1c242513a0
|
@ -67,8 +67,9 @@ in {
|
|||
zlib
|
||||
] ++ lib.optionals stdenv.buildPlatform.isLinux [
|
||||
autoPatchelfHook
|
||||
elfutils
|
||||
glibc
|
||||
] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [
|
||||
elfutils
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
|
||||
|
|
Loading…
Reference in New Issue