nixypanda / dotfiles

My dotfiles + system configuration for NixOS and mac
MIT License
171 stars 11 forks source link

Relative path issue? #7

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi, first thanks for the awesome work.

When I run: nix run home-manager --no-write-lock-file -- switch --flake "./#nixos"

on a fresh nixos vm i get the following error:

error: cannot fetch input 'path:./modules/nvim/plugins?lastModified=1&narHash=sha256-fNqrdC%2fB7x6C5zDxkhC32vr3W8wwzSKMeFltaRIMqbE=' because it uses a relative path (use '--show-trace' to show detailed location information)

Would you have any advice on how i can fix this? I am still a beginner when it comes to nixos

Thanks in advance!

nixypanda commented 2 years ago

Hey, I have intermittently faced this issue. Haven't gotten around to fixing it. I will try to look at this in some time.

As a workaround. You can try to change it to an absolute path.