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

USING Nix on other distros #132

Open
aspauldingcode opened this issue Aug 14, 2024 · 2 comments
Open

USING Nix on other distros #132

aspauldingcode opened this issue Aug 14, 2024 · 2 comments

Comments

@aspauldingcode
Copy link
Owner

3: Usage

Note: If you installed Nix from the official repositories, you must add the ~/.nix-profile/bin directory to your PATH manually.

@aspauldingcode
Copy link
Owner Author

aspauldingcode commented Aug 14, 2024

Example working command:

sudo nix-shell -I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz -p lavat

add to .profile:

# Add local bin directory and Nix profile bin directory to PATH
PATH="$PATH:$HOME/.local/bin:$HOME/.nix-profile/bin"

# Set NIX_PATH environment variable
NIX_PATH="$NIX_PATH:https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz"

Then, run:
source ~/.profile

@aspauldingcode
Copy link
Owner Author

Please please PLEASE just check out determinate nix. This is specifically meant to solve these issues.

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