[Nix-dev] security advisory check
Florian Friesdorf
flo at chaoflow.net
Sun Feb 12 18:57:36 CET 2012
On Mon, 06 Feb 2012 20:27:35 +0100, Peter Simons <simons at cryp.to> wrote:
> 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
Thx for the suggestion, but this will only work with / take user
environments into account, not the system profile.
--
Florian Friesdorf <flo at chaoflow.net>
GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120212/6a42953a/attachment.bin
More information about the nix-dev
mailing list