I am trying to get a nix system to fly, unfortunately I keep finding problems.
In particular, it seems like it is not able to install
glibc-iconv which is quite the foundation for several other packages.
Is there anything I should be doing?
$ nix-env -i glibc-iconv ... some stuff and compilation... building '/cvmfs/packages.redbeardlab.com/nix/store/fa010zi44ghgaksx32bzginmipplka82-glibc-iconv-2.27.drv'... unpacking sources variable $src or $srcs should point to the source builder for '/cvmfs/packages.redbeardlab.com/nix/store/fa010zi44ghgaksx32bzginmipplka82-glibc-iconv-2.27.drv' failed with exit code 1 building '/cvmfs/packages.redbeardlab.com/nix/store/35i1zfa98mfwicllfl7xj71pihxch78f-coreutils-8.30.drv'... cannot build derivation '/cvmfs/packages.redbeardlab.com/nix/store/1z99w75jq7zp61zfmwa004cv0ysgbafr-gnugrep-3.3.drv': 1 dependencies couldn't be built cannot build derivation '/cvmfs/packages.redbeardlab.com/nix/store/zv63miikwbsr5sqpm8qchlndkn0p59f1-stdenv-linux.drv': 1 dependencies couldn't be built cannot build derivation '/cvmfs/packages.redbeardlab.com/nix/store/52qwdh19glqgk617g32bmlp0016mp7kc-glibc-iconv-2.27.drv': 1 dependencies couldn't be built error: build of '/cvmfs/packages.redbeardlab.com/nix/store/52qwdh19glqgk617g32bmlp0016mp7kc-glibc-iconv-2.27.drv' failed
This particular nix installation works quite alright, I was able to install gcc and make, so it works in general. But it is unable to install glibc-iconv and whatever depends on it.
I do have a somehow complex environment since I compiled nix from scratch using this script: https://gist.github.com/siscia/862343c1c9a5cb3cf04686fd1d7a05cf
$ nix-env -q gcc-7.4.0 glibc-2.27 gnumake-4.2.1