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

error nixpkgs dependency #391

Open
joeldyrhovden opened this issue Feb 7, 2024 · 1 comment
Open

error nixpkgs dependency #391

joeldyrhovden opened this issue Feb 7, 2024 · 1 comment

Comments

@joeldyrhovden
Copy link

running niv, "nix-shell -p niv --run "niv init --nixpkgs nixos/nixpkgs --nixpkgs-branch nixos-23.11",
result in error:

FATAL: Could not read the output of 'nix-prefetch-url'

stderr:
error: getting status of '/run/user/501': No such file or directory

FATAL: One or more packages failed to update:
nixpkgs: ExitFailure 1
ERROR: ExitFailure 1
ERROR: ExitFailure 1

@nmattia
Copy link
Owner

nmattia commented Feb 7, 2024

@joeldyrhovden could it be that it's a nix-prefetch-url issue? do you know where /run/user/501 comes from? is that a broken $HOME or $TMPDIR?

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