added script that lists store paths referencing the current nix profile

This commit is contained in:
Emile Clark-Boman 2025-07-26 18:14:04 +10:00
parent e2c8d980f8
commit c9899c797e

3
scripts/nix-list-installed Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
nix-store -q --references /var/run/current-system/sw \
| cut -d'-' -f2-