nixpkgs/pkgs/test
Artturin 42c94d06fd stdenv: fix overriding with attrset when finalAttrs isn't used
```
nix-repl> (pkgs.htop.overrideAttrs { pname = "hello-overriden"; }).pname
error:
       … while evaluating a branch condition

         at /nix/store/phn5cahwacv9wjgalygw62x8l4xbl6x3-source/lib/customisation.nix:86:7:

           85|     in
           86|       if builtins.isAttrs result then
             |       ^
           87|         result // {

       … while calling the 'isAttrs' builtin

         at /nix/store/phn5cahwacv9wjgalygw62x8l4xbl6x3-source/lib/customisation.nix:86:10:

           85|     in
           86|       if builtins.isAttrs result then
             |          ^
           87|         result // {

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attempt to call something which is not a function but a set

       at /nix/store/phn5cahwacv9wjgalygw62x8l4xbl6x3-source/pkgs/stdenv/generic/make-derivation.nix:58:21:

           57|           f = self: super:
           58|             let x = f0 super;
             |                     ^
           59|             in
```
2023-07-03 21:34:50 +03:00
..
cc-wrapper Merge pull request #229754 from rrbutani/fix/cc-wrapper-extra-positional-args 2023-05-08 06:55:52 -04:00
coq tests.coq.overrideCoqDerivation: use runCommand instead of runCommandNoCC 2022-09-03 21:02:17 +09:00
cross treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
cuda cudaPackages: bump default cudaPackages_11_7 -> cudaPackages_11_8 (#238622) 2023-06-20 14:12:54 -04:00
cue cue: test in tests.cue-validation 2022-12-08 22:19:23 +01:00
dhall buildDhallUrl: use new SRI hash format 2022-06-04 08:19:29 -03:00
dotnet tests.dotnet: init with test for projectReferences 2023-05-26 16:18:07 +02:00
haskell tests.haskell.incremental: change package used from turtle to temporary 2023-05-30 09:06:42 +09:00
hooks tests: move stdenv hook tests to stdenv.hooks 2022-12-12 21:39:56 +02:00
install-shell-files
ld-library-path
macos-sierra-shared
make-binary-wrapper tests.makeBinaryWrapper: avoid same-triple cross 2023-04-19 18:34:47 +00:00
make-hardcode-gsettings-patch makeHardcodeGsettingsPatch: Support other constructors 2022-12-19 17:38:57 +01:00
make-wrapper makeWrapper,makeBinaryWrapper: implement --append-flags 2022-05-30 23:07:58 +02:00
nixos-functions Merge remote-tracking branch 'upstream/master' into testers 2022-05-09 14:27:13 +02:00
php
simple treewide: source .attrs in builders 2022-12-08 21:09:02 +02:00
stdenv tests.stdenv.hooks.reproducible-builds: fix mistake 2023-06-17 23:45:11 +03:00
stdenv-inputs
texlive texlive.bin.core-big: fix luajittex on aarch64-linux (#240577) 2023-06-29 16:12:05 -04:00
vim vim-full: rename from vim_configurable 2022-12-09 09:55:55 +01:00
config.nix pkgs/tests/config.nix: Make test future proof 2022-05-29 11:50:48 +02:00
default.nix tests.dotnet: init with test for projectReferences 2023-05-26 16:18:07 +02:00
kernel.nix tests.kernel-config: remove test that wasn't being run 2023-01-17 20:01:58 +02:00
overriding.nix stdenv: fix overriding with attrset when finalAttrs isn't used 2023-07-03 21:34:50 +03:00