diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2024-03-14 23:53:56 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2024-11-25 20:12:19 +0000 |
| commit | 075597b340f937b082561e8d796170614fbd7c3c (patch) | |
| tree | 2f32e654c0e166d27d891d989b085033413acaa4 /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos | |
| parent | 504e3ecdd9553f0cd5af3305bb7d30d766fbada1 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions
