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
Reflecting on #273781, our error handling should obviously take Ofborg into account, as well as try not to break interfaces that users outside nixpkgs might expect. One way to go could be:
No throws, only meta.broken. Users can override meta.broken
Broken packages shall still evaluate with allowBroken = true: they'll have a valid outPath, but their builds would always fail.
In particular, when there's a src missing for a sourceProvenance = [ binaryNativeCode ] package (e.g. depending on the platform), we should set src to a valid fake value, e.g.null. In contrast, this fetchurl throws:
...even for packages marked "broken".
Reflecting on #273781, our error handling should obviously take Ofborg into account, as well as try not to break interfaces that users outside nixpkgs might expect. One way to go could be:
throws, onlymeta.broken. Users can overridemeta.brokenallowBroken = true: they'll have a validoutPath, but their builds would always fail.srcmissing for asourceProvenance = [ binaryNativeCode ]package (e.g. depending on the platform), we should setsrcto a valid fake value, e.g.null. In contrast, thisfetchurlthrows:nixpkgs/pkgs/development/cuda-modules/generic-builders/manifest.nix
Lines 112 to 117 in 076fc3a
@NixOS/cuda-maintainers