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 fe8158153e
commit f59072b98e
No known key found for this signature in database

View File

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