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 Test __structuredAttrs support in autoPatchelf 2023-12-21 15:42:20 +01:00
buildFHSEnv tests.buildFHSEnv.libtinfo: fix by using overriden ncurses 2024-01-16 10:19:46 +02:00
cc-wrapper tests.cc-wrapper: add atomics test 2023-11-16 00:23:56 +02:00
check-by-name nixpkgs-check-by-name: 0.1.0 -> 0.1.1 2024-04-10 15:11:05 +00:00
checkpointBuild Merge pull request #279487 from bryango/checkpoint-build-polish 2024-01-09 22:30:22 +01:00
coq
cross tests.cross.sanity: fix eval by fixing qt5.qutebrowser reference 2024-01-25 10:51:29 +00:00
cuda cudaPackages.cuda{,-library}-samples: move to cuda-modules/ 2024-01-12 20:24:50 +00:00
cue
dhall
dotnet
haskell tests.haskell.shellFor: change from using linear to cereal 2024-01-15 18:25:53 +09:00
hooks
install-shell-files
ld-library-path
macos-sierra-shared
make-binary-wrapper
make-hardcode-gsettings-patch makeHardcodeGsettingsPatch: Support applying patches 2023-11-21 08:42:47 +01:00
make-wrapper
nixos-functions
php
release pkgs/release: don't interpolate store paths unnecessarily 2024-01-12 10:27:19 +03:00
simple treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
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