mirror of
https://github.com/nix-community/home-manager
synced 2025-01-12 03:59:49 +01:00
8c66b46a86
Nix interprets a path-like URI as a git repository if any of the path's parents is a git repository. Since home-manager uses a default flake URI of ~/.config/nixpkgs/flake.nix, if you have a git repository as your home directory and a '*' .gitignore it leads to the following problems: evaluating derivation 'git+file:///Users/dongcarl?dir=.config%2fnixpkgs#homeConfigurations."dongcarl".activationPackage' The following paths are ignored by one of your .gitignore files: .config This is solved by explicitly specifying the `path:` URI type prefix for the default flake URI argument. |
||
---|---|---|
.. | ||
po | ||
completion.bash | ||
completion.fish | ||
completion.zsh | ||
default.nix | ||
home-manager | ||
home-manager.nix | ||
install.nix |