Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

does not bootstrap system.build.etc aka /etc/ which means you should probably avoid nix-docker until it does #25

Closed
ghuntley opened this issue Jan 2, 2019 · 6 comments

Comments

@ghuntley
Copy link

ghuntley commented Jan 2, 2019

Howdy Daiderd,

A quick GitHub issue to say that I appreciate the work you are doing. I don't have time atm to send in a pull-request but here's a repro. Related issues #9

repro

FROM lnl7/nix:2.1.2

# baseline
RUN nix-env -iA nixpkgs.busybox 

# trust/use these 3rd party caches
RUN nix-env -iA cachix -f https://github.com/NixOS/nixpkgs/tarball/889c72032f8595fcd7542c6032c208f6b8033db6
RUN cachix -v use hie-nix

💥

@LnL7
Copy link
Owner

LnL7 commented Mar 2, 2019

busybox binaries have much less functionality than the gnu versions, installing it globally is generally a bad idea and probably causing problems.

@LnL7 LnL7 closed this as completed Mar 2, 2019
@ghuntley
Copy link
Author

ghuntley commented Mar 2, 2019

Ah no. The real issue is system.build.etc aka /etc/ isn't bootstrapped in the docker image. That was just a quick and easy way to demonstrate it.

@LnL7
Copy link
Owner

LnL7 commented Mar 2, 2019

Not sure what that means.

@ghuntley
Copy link
Author

ghuntley commented Mar 2, 2019

@ghuntley
Copy link
Author

ghuntley commented Mar 2, 2019

Bootstrapping etc will fix this problem and #9

@LnL7
Copy link
Owner

LnL7 commented Mar 2, 2019

That's a nixos module. I still don't understand the problem or how it's related to the image.

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

No branches or pull requests

2 participants