Installed nix using: curl -L https://nixos.org/nix/install which installs channel 2.11.1. I have a bash script that installs 335 packages using nix-env -iA “nixpkgs.$pkgname”. All packages install as expected except those that start with the letter ‘d’!! The packages are:
dash dateutils ddgr debootstrap dialog diffr dig dmidecode dmenu
dolphin dub dutree dzen2. Now the bizarre thing is that is not any specific
package taht fails. If I install them one by one randomly with nix-env -iA “nixpkgs.$pkgname”
one of them will err after for or five of them install ok. It is a different one each time but it always happens.
Here is an example:
installing ‘dmidecode-3.4’
this path will be fetched (0.06 MiB download, 0.20 MiB unpacked):
/nix/store/3vx4jfl7zn2l92mn4zrn2pb2nx5hk9s6-dmidecode-3.4
copying path ‘/nix/store/3vx4jfl7zn2l92mn4zrn2pb2nx5hk9s6-dmidecode-3.4’ from ‘https://cache.nixos.org’…
error: this derivation has bad ‘meta.outputsToInstall’
After this the store is corrupted and nothing can be installed or uninstalled.
Very weird!
Thanks in advance
Murray