aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch6
1 files changed, 6 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 929e5e9..09205fa 100755
--- a/pfetch
+++ b/pfetch
@@ -293,6 +293,12 @@ get_pkgs() {
guix package -p /run/current-system/profile -I
guix package -I
}
+
+ # NIX requires two commands.
+ command -v nix-store && {
+ nix-store -q --requisites /run/current-system/sw
+ nix-store -q --requisites ~.nix-profile
+ }
;;
Darwin*)