Merge pull request #213549 from NixOS/nim-aarch64-darwin

nim: make gdb optional to fix aarch64-darwin build
This commit is contained in:
Domen Kožar 2023-01-30 12:20:05 +00:00 committed by GitHub
commit 140ed7176a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,7 +262,7 @@ in {
runHook postBuild
'';
wrapperArgs = [
wrapperArgs = lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [
"--prefix PATH : ${lib.makeBinPath [ buildPackages.gdb ]}:${
placeholder "out"
}/bin"