nixpkgs/pkgs/stdenv
Jade Lovelace 78945a827c stdenv: make inputDerivation never fixed-output
This fixes using inputDerivation on derivations that are fixed-output.

Previously:

```
nix-repl> drv = runCommand "huh" { outputHash = "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="; outputHashAlgo = "sha256"; outputHashType = "flat"; } "touch $out"

nix-repl> drv.inputDerivation
«derivation /nix/store/d8mjs6cmmvsr1fv7psm6imis5pmh9bcs-huh.drv»

nix-repl> :b drv.inputDerivation
error: fixed output derivation 'huh' is not allowed to refer to other store paths.
       You may need to use the 'unsafeDiscardReferences' derivation attribute, see the manual for more details.
```

Fixes: https://github.com/NixOS/nixpkgs/issues/304209
2024-04-15 00:52:28 -07:00
..
cross pkgs: fix typos 2023-05-19 22:31:04 -04:00
custom
cygwin
darwin pkgs/top-level/release.nix: drop unused dist targets 2024-04-04 21:40:08 +01:00
freebsd config.contentAddressedByDefault: init option 2022-04-27 23:21:32 +03:00
generic stdenv: make inputDerivation never fixed-output 2024-04-15 00:52:28 -07:00
linux pkgs/top-level/release.nix: drop unused dist targets 2024-04-04 21:40:08 +01:00
native stdenv: fix stagesNative 2023-07-02 19:07:23 +10:00
nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix Merge pull request #297711 from hercules-ci/rename-adapters-finalAttrs 2024-03-21 17:15:28 +01:00
booter.nix pkgs/stdenv: fix typo in booter.nix docs 2023-09-04 22:24:12 +02:00
default.nix darwin.stdenv: refactor stdenv definition 2023-07-02 17:56:24 -04:00