nixpkgs/pkgs/stdenv
Sergei Trofimovich 075597b340 stdenv: don't discard string context from ContentAddressed derivations
Without the change build for packages that use `disallowedReferences`
fails in `contentAddressedByDefault = true` mode:

    $ nix build -f. ruby_3_1 --arg config '{ contentAddressedByDefault = true; }'
    ...
    error: derivation contains an illegal reference specifier '/0j3hif3ni7zl5zhlzzr5q2q23z66136mnzp75pyiqp5c72q14im2'
    error: 1 dependencies of derivation '/nix/store/39ji7qp225pxvrm8cgvzmyjqsyis2n0h-ruby-3.1.2.drv' failed to build

Original intent of https://github.com/NixOS/nixpkgs/pull/211783 was to
avoid pulling in actual derivation for reference scanning purposes.

Unfortunately CA derivations's outputPath are placeholders until they
are instantiated.

Let's restore string context for CA derivations for now.
2024-11-25 20:12:19 +00:00
..
cross darwin.stdenv: provide an SDK when cross-compiling 2024-10-10 16:23:04 -04:00
custom
cygwin
darwin llvmPackages.llvm-manpages: fix eval on Darwin 2024-11-20 18:27:53 -05:00
freebsd freebsd stdenv: be more principled about portioning out bootstrap libraries 2024-11-17 09:36:15 -07:00
generic stdenv: don't discard string context from ContentAddressed derivations 2024-11-25 20:12:19 +00:00
linux pkgs/stdenv/linux: update armv7l-unknown-linux-gnueabihf bootstrap-files 2024-11-03 17:15:44 +01:00
native stdenv: consistently use self: super: … for bootstrapping overlays 2024-04-15 12:53:13 +02:00
nix
tests
adapters.nix overrideSDK: update for the new SDK 2024-10-10 16:23:08 -04:00
booter.nix makeBinaryWrapper: ensure wrapper works with llvm 2024-07-27 18:59:25 -07:00
default.nix