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

nix-portable breaks on symlinked home directory #75

Closed
erooke opened this issue Nov 17, 2023 · 0 comments · Fixed by #76
Closed

nix-portable breaks on symlinked home directory #75

erooke opened this issue Nov 17, 2023 · 0 comments · Fixed by #76

Comments

@erooke
Copy link
Contributor

erooke commented Nov 17, 2023

version: nix-portable-010

I am trying to setup nix-portable on an HPC cluster and it turns out that our
configured home directories are links somewhere else. This breaks nix-portable
when it tries to call bwrap:

$ ./nix-portable nix run nixpkgs#hello

bwrap: Can't mkdir parents for /Users/erooke/.nix-portable/ca-bundle.crt: No such file or directory
$ HOME=$(readlink -f $HOME) ./nix-portable nix run nixpkgs#hello

Hello, world!

I don't know how common of a setup this is or if there is interest in fixing it here but it took me a hot minute to figure out what was going wrong.

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

Successfully merging a pull request may close this issue.

1 participant