docker-nixpkgs icon indicating copy to clipboard operation
docker-nixpkgs copied to clipboard

provide an image with a static nix

Open teto opened this issue 4 years ago • 2 comments
trafficstars

would that be ok to add an iamge with a static nix ? nix build .#pkgsStatic.nix works fine here. Sadly, I am interested in nixUnstable which fails to build on unstable

teto avatar Oct 25 '21 15:10 teto

sounds good.

There is a scenario where the user wants to volume-mount the /nix prefix. Currently, it's an issue because the store also contains the nix installation and mounting the store would shadow it.

If you send a PR, it would be great if the nix binary was in /bin and the image had no /nix references at all.

zimbatm avatar Oct 25 '21 16:10 zimbatm

I've opened https://github.com/nix-community/docker-nixpkgs/pull/29 . Should I prepend ~/.nix-profile/bin in PATH in this MR or another ? It's a bother to add when installing stuff via nix-env

teto avatar Oct 26 '21 09:10 teto