Also delete the old profile that still refers to it.
Though just because its in store, it doesn’t mean its in your environment.
nix-collect-garbage --delete-old will delete all not currently in use profiles, nix-collect-garbage --delete-older-than 10d will delete profiles that are older than 10 days. (m means minutes, not months!)
ooohh…thats strange…i read in nix pills use the -d option of nix-collect-garbage to delete old generations of all profiles, then collect garbage.
i tried using -d but not working…latte-dock still haunting my desktop…but just now i try using –delete-old its working…Whats the different between -d and –delete-old???
Though if for some reason you still had an instance running, it can’t be deleted. If it was the generation you originally booted into, it can’t be deleted.
So if either of this changed in between, then you actually freed up the generation for deletion.