Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

provide an image with a static nix #28

Open
teto opened this issue Oct 25, 2021 · 2 comments
Open

provide an image with a static nix #28

teto opened this issue Oct 25, 2021 · 2 comments

Comments

@teto
Copy link

teto commented Oct 25, 2021

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

@zimbatm
Copy link
Member

zimbatm commented Oct 25, 2021

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.

@teto
Copy link
Author

teto commented Oct 26, 2021

I've opened #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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants