From c9899c797e3dc086cb1fa68bff659aa9622823aa Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sat, 26 Jul 2025 18:14:04 +1000 Subject: [PATCH] added script that lists store paths referencing the current nix profile --- scripts/nix-list-installed | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/nix-list-installed diff --git a/scripts/nix-list-installed b/scripts/nix-list-installed new file mode 100755 index 0000000..5a253b9 --- /dev/null +++ b/scripts/nix-list-installed @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +nix-store -q --references /var/run/current-system/sw \ + | cut -d'-' -f2-