wine: restore the eval on linux (#347843)

This commit is contained in:
Emily 2024-10-11 07:03:20 +01:00 committed by GitHub
commit db182686d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ let
# Using the 14.4 SDK allows Wine to use `os_sync_wait_on_address` for its futex implementation on Darwin. # Using the 14.4 SDK allows Wine to use `os_sync_wait_on_address` for its futex implementation on Darwin.
# It does an availability check, so older systems will still work. # It does an availability check, so older systems will still work.
darwinFrameworks = toBuildInputs pkgArches (pkgs: [ pkgs.apple-sdk_14 ]); darwinFrameworks = lib.optionals stdenv.hostPlatform.isDarwin (toBuildInputs pkgArches (pkgs: [ pkgs.apple-sdk_14 ]));
# Building Wine with these flags isnt supported on Darwin. Using any of them will result in an evaluation failures # Building Wine with these flags isnt supported on Darwin. Using any of them will result in an evaluation failures
# because they will put Darwin in `meta.badPlatforms`. # because they will put Darwin in `meta.badPlatforms`.