diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-25 10:14:46 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-25 10:14:46 +0300 |
| commit | 731b3a62c83ba41f0961d66d37190d92ebb26929 (patch) | |
| tree | 718f3ee78d36ae760772a21b8725707998fea573 | |
| parent | ae5a10c00d54c8749c40eb986d166cbca7fddb39 (diff) | |
| download | pfetch-731b3a62c83ba41f0961d66d37190d92ebb26929.tar.gz | |
packages: add support for nixos
| -rwxr-xr-x | pfetch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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*) |
