mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-09 14:28:04 -05:00
Use non-experimental Nix CLI
`nix path-info` requires the experimental `nix-command` feature to be enabled.
This commit is contained in:
@@ -1399,7 +1399,7 @@ detectpkgs () {
|
||||
'Gentoo'|'Sabayon'|'Funtoo'|'Kogaion')
|
||||
pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;;
|
||||
'NixOS')
|
||||
pkgs=$(nix path-info -r /run/current-system | wc -l) ;;
|
||||
pkgs=$(nix-store --query --requisites /run/current-system | wc -l) ;;
|
||||
'Guix System')
|
||||
pkgs=$(guix package --list-installed | wc -l) ;;
|
||||
'ALDOS'|'Fedora'|'Fux'|'Korora'|'BLAG'|'Chapeau'|'openSUSE'|'SUSE Linux Enterprise'|'Red Hat Enterprise Linux'| \
|
||||
|
||||
Reference in New Issue
Block a user