added script that lists store paths referencing the current nix profile

This commit is contained in:
do butterflies cry? 2025-07-26 18:14:04 +10:00
parent 8f4e660b3c
commit e5cdecd542

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-