Merge pull request #217977 from amjoseph-nixpkgs/pr/gcc/fix-plugin-order-assertion

gcc: fix implication order in assertion
This commit is contained in:
Sergei Trofimovich 2023-02-25 08:40:28 +00:00 committed by GitHub
commit 504c4fdc34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@
, disableBootstrap ? stdenv.targetPlatform != stdenv.hostPlatform , disableBootstrap ? stdenv.targetPlatform != stdenv.hostPlatform
}: }:
assert disableGdbPlugin -> !enablePlugin; assert !enablePlugin -> disableGdbPlugin;
assert langJava -> lib.versionOlder version "7"; assert langJava -> lib.versionOlder version "7";
# Note [Windows Exception Handling] # Note [Windows Exception Handling]