3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
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
..
cross pkgs: fix typos 2023-05-19 22:31:04 -04:00
custom
cygwin
darwin Merge pull request #234861 from reckenrode/corefoundation-rpath 2023-06-11 17:13:54 +02:00
freebsd
generic stdenv: fix overriding with attrset when finalAttrs isn't used 2023-07-03 21:34:50 +03:00
linux stdenv: eliminate duplicate gnu-config in extraNativeBuildInputs 2023-06-16 02:33:57 -07:00
native treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
nix
tests
adapters.nix stdenv: fix makeStaticDarwin not composing with stdenvNoCC 2023-06-22 15:33:54 +10:00
booter.nix
default.nix