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

[nixpkgs/nix-flakes] add ~/.nix-profile/bin to PATH #50

Open
tennox opened this issue Feb 28, 2023 · 0 comments
Open

[nixpkgs/nix-flakes] add ~/.nix-profile/bin to PATH #50

tennox opened this issue Feb 28, 2023 · 0 comments

Comments

@tennox
Copy link
Contributor

tennox commented Feb 28, 2023

Would be great to be able to easily install packages in the docker image (works using nix shell, but that's awkward).

I think the best option would be to just add ~/.nix-profile/bin to the PATH, wouldn't it?

Allowing:

$ nix profile install nixpkgs#rsync
$ rsync --help
tennox added a commit to tennox/docker-nixpkgs that referenced this issue Feb 28, 2023
zimbatm pushed a commit that referenced this issue Jun 8, 2024
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

1 participant