nixpkgs/pkgs/stdenv/generic
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
..
builder.sh
check-meta.nix stdenv: factor out meta attr augmentation for reusability 2023-05-01 20:18:11 +03:00
common-path.nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
default-builder.sh stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
default.nix stdenv: sort defaultNativeBuildInputs alphabetically 2022-12-13 01:12:20 +02:00
make-derivation.nix stdenv: fix overriding with attrset when finalAttrs isn't used 2023-07-03 21:34:50 +03:00
setup.sh Merge pull request #234883 from sternenseemann/nix-structured-attrs 2023-05-31 19:41:58 +02:00