1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
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
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
dhall
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
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
make-wrapper
nixos-functions
php
simple
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
config.nix
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