In pkgs/development/libraries/freetype/default.nix
I’ve found the following line:
crossAttrs = stdenv.lib.optionalAttrs (hostPlatform.libc or null != "msvcrt") {
can someone explain the meaning of null != "msvcrt"
?
Thanks
In pkgs/development/libraries/freetype/default.nix
I’ve found the following line:
crossAttrs = stdenv.lib.optionalAttrs (hostPlatform.libc or null != "msvcrt") {
can someone explain the meaning of null != "msvcrt"
?
Thanks
I believe operator precedence is the following:
(hostPlatform.libc or null) != "msvcrt"
You are right, thanks