You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#175653 (comment) was written somewhat tongue-in-cheek, but I stand by the core idea:
While the SDK situation on x86_64-darwin gets figured out, we could do with an interim solution for expressing brokenness as a result of the 10.12 SDK getting long in the tooth, and it could do with a name. The value would be along the lines of:
(can't be just the latter as darwinSdkVersion still evaluates to something on Linux)
Currently, others and I have been using broken = stdenv.isDarwin && stdenv.isx86_64 in those situations, especially to correct spurious broken = stdenv.isDarwin, but that's not really what we're trying to express here, and it unfortunately won't cause rebuilds when the x86_64 SDK does get bumped.
The idea behind giving it a name is that:
it's concise,
it encourages people to actually use it, and
its references and definition can be easily grepped and edited out of existence once it's no longer necessary.
The questions I have for the maintainers are:
Is this a good idea?
What would be a good name? isOldDarwinSdk doesn't exactly roll off the fingers.
Should it be a function in lib that takes a platform (if so, where in lib), or would it be acceptable to directly apply it and pollute stdenv's namespace for the sake of concision, bearing in mind that it's temporary?
Once I get some feedback, I'll put in a proper PR accordingly.
The text was updated successfully, but these errors were encountered:
#175653 (comment) was written somewhat tongue-in-cheek, but I stand by the core idea:
While the SDK situation on
x86_64-darwin
gets figured out, we could do with an interim solution for expressing brokenness as a result of the 10.12 SDK getting long in the tooth, and it could do with a name. The value would be along the lines of:(can't be just the latter as
darwinSdkVersion
still evaluates to something on Linux)Currently, others and I have been using
broken = stdenv.isDarwin && stdenv.isx86_64
in those situations, especially to correct spuriousbroken = stdenv.isDarwin
, but that's not really what we're trying to express here, and it unfortunately won't cause rebuilds when the x86_64 SDK does get bumped.The idea behind giving it a name is that:
The questions I have for the maintainers are:
isOldDarwinSdk
doesn't exactly roll off the fingers.lib
that takes a platform (if so, where inlib
), or would it be acceptable to directly apply it and pollutestdenv
's namespace for the sake of concision, bearing in mind that it's temporary?Once I get some feedback, I'll put in a proper PR accordingly.
The text was updated successfully, but these errors were encountered: