[Nix-dev] security advisory check
Florian Friesdorf
flo at chaoflow.net
Sun Feb 12 19:04:12 CET 2012
On Sun, 12 Feb 2012 18:57:36 +0100, Florian Friesdorf <flo at chaoflow.net> wrote:
> 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.
we are giving it a try based on:
all installed packages:
find /nix/var/nix/profiles -type l -print0 |xargs -0 nix-store --query --tree
all available packages:
nix-env -qa --tree \*
--
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/362a94c9/attachment.bin
More information about the nix-dev
mailing list