nixpkgs/pkgs/test
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
..
auto-patchelf-hook
buildFHSEnv
cc-wrapper
check-by-name nixpkgs-check-by-name: 0.1.0 -> 0.1.1 2024-04-10 15:11:05 +00:00
checkpointBuild
coq
cross tests.cross.sanity: fix eval by fixing qt5.qutebrowser reference 2024-01-25 10:51:29 +00:00
cuda
cue
dhall
dotnet
haskell
hooks
install-shell-files
ld-library-path
macos-sierra-shared
make-binary-wrapper
make-hardcode-gsettings-patch
make-wrapper
nixos-functions
php
release
simple
stdenv stdenv: make inputDerivation never fixed-output 2024-04-15 00:52:28 -07:00
stdenv-inputs
substitute substitute: Deprecate replacements, introduce replacementsList 2024-02-29 00:35:27 +01:00
systemd nixos/systemd: merge unit options as lists when at least one value is a list 2024-02-25 01:20:29 +01:00
texlive tests.texlive.context: check that the PDF has been created 2024-03-29 13:04:00 +00:00
top-level
vim
config.nix
default.nix llvmPackages_9: remove due to age 2024-04-08 22:39:53 -07:00
kernel.nix
overriding.nix