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 unpack-bootstrap-tools.sh: patchelf libgcc_s.so.1 2023-04-02 13:49:53 -07:00
bootstrap-tools-musl gcc: mark hardeningUnsupportedFlags fortify3 for all but gcc 12 2023-01-24 21:52:12 +00:00
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 Revert "Revert "Merge pull request #253760 from chivay/bootstrap-scrt"" 2023-09-30 15:17:47 -04:00