nixpkgs/pkgs/stdenv/linux
Sergei Trofimovich 3f3e74bc93 stdenv: fix eval of pkgsMusl packages with platform constraints
Before the change `pkgsMusl.adobe-reader` was failing the interpreter:

    $ nix-instantiate --eval --strict --expr 'with import ./. {}; builtins.tryEval pkgsMusl.adobe-reader'
error:
       error: evaluation aborted with the following error message: 'unsupported platform for the pure Linux stdenv'

After the change `pkgsMusl.adobe-reader` returns catchable excation:

    $ nix-instantiate --eval --strict --expr 'with import ./. {}; builtins.tryEval pkgsMusl.adobe-reader'
    { success = false; value = false; }

Noticed when was exploring `nixpkgs` for uncatchable evaluation errors.
Ideally those should only happen when there is a code bug in the use
site. In this case it's just a package with incompatible constraints for
`musl`.

Changed uncatchable `abort` to `throw`.
2023-12-28 15:29:29 +00:00
..
bootstrap-files bootstrap-tools-cross: Rename bootstrap file jobs to be more descriptive 2023-10-03 23:34:40 +03:00
bootstrap-tools
bootstrap-tools-musl
default.nix stdenv: fix eval of pkgsMusl packages with platform constraints 2023-12-28 15:29:29 +00:00
make-bootstrap-tools-cross.nix bootstrap-tools-cross: Rename bootstrap file jobs to be more descriptive 2023-10-03 23:34:40 +03:00
make-bootstrap-tools.nix