[Nix-dev] security advisory check

Peter Simons simons at cryp.to
Mon Feb 6 20:27:35 CET 2012


Hi Florian,

 > How can we get a list of all profiles with all their packages and
 > versions? Something like a list of "__profile__package-version"
 > lines, multi-line would also be ok.

will this code help?

  for n in /nix/store/*-user-environment; do
    nix-env -p $n -q \* | sed -e "s|^|$n: |"
  done

Take care,
Peter



More information about the nix-dev mailing list