update nix package paths for compatibility with new directory structure

This commit is contained in:
nekohepott 2026-06-17 04:16:28 +03:00
parent f59072b98e
commit 62a3b3ff12
No known key found for this signature in database

View File

@ -49,7 +49,7 @@ func GetPkgs() string {
name, path string
}{
{"pacman", "/var/lib/pacman/local"},
{"nix", os.Getenv("HOME") + "/.local/state/nix/profiles/profile/bin"},
{"nix-user", os.Getenv("HOME") + "/.local/state/nix/profiles/profile/bin"},
{"nix", "/run/current-system/sw/bin"},
{"apt", "/var/lib/apt"},
{"dnf", "/var/lib/dnf"},