Nix-env error on ubuntu # install dependencies - state?: nix-env: src/libexpr/attr-set.hh:54: void nix::Bindings::push_back(const nix::Attr&): Assertion `size_ < capacity_' failed. Aborted (core dumped)

Hello together,
who can explain the following behavior?

nixpkgs-unstable release nixpkgs-21.11pre311289.503209808cd

b@akvm:~$ nix-env -i chromium eolie google-chrome-dev  brave 
installing 'chromium-92.0.4515.159'
installing 'eolie-0.9.99'
installing 'google-chrome-dev-94.0.4606.12'
installing 'brave-1.28.106'
nix-env: src/libexpr/attr-set.hh:54: void nix::Bindings::push_back(const nix::Attr&): Assertion `size_ < capacity_' failed.
Aborted (core dumped)
b@akvm:~$ nix-env -i google-chrome-beta brave 
installing 'google-chrome-beta-93.0.4577.51'
installing 'brave-1.28.106'
building '/nix/store/kx0rmfh8g8d3635ml89y33gw7qg3vphd-user-environment.drv'...
created 186 symlinks in user environment

any idea regarding this nix behavior?

That’s a bug!

One of the packages you’re installing might be causing it? Have you tried them individually?

sorry, did not look properly to what is/was installed

  • chromium is not working … (doesn’t makes sense to use unstable :slight_smile:

Do you still get a core dump when only installing chromium?

Could you run: nix-env --version

nix-env (Nix) 2.3.10

Upgrade to Nix 2.3.15.

that works

nix-env -i chromium
installing 'chromium-92.0.4515.159'
building '/nix/store/bx2h9ackcxgf9qki450qkv2mb9h0zp45-user-environment.drv'...
warning: skipping dangling symlink '/nix/store/hfjizbxc376f415vhabmypfm41d224cy-user-environment/share/icons/hicolor/22x22/apps/brave-browser.png'
created 227 symlinks in user environment
1 Like