guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix describe -p and Guix commit?


From: Ludovic Courtès
Subject: Re: guix describe -p and Guix commit?
Date: Tue, 24 Sep 2019 10:05:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

zimoun <address@hidden> skribis:

> How to track from which channel and commit the packages in a profile come 
> from?

Pro tip: open the ‘manifest’ file of the profile, and search for
“provenance”.  You’ll see things like:

--8<---------------cut here---------------start------------->8---
     ("openssl"
      "1.1.1d"
      "out"
      "/gnu/store/4is5a8hy20rkaq4q08vxf1b355vw0fjg-openssl-1.1.1d"
      (propagated-inputs ())
      (search-paths
        (("SSL_CERT_DIR"
          ("etc/ssl/certs")
          #f
          directory
          #f)
         ("SSL_CERT_FILE"
          ("etc/ssl/certs/ca-certificates.crt")
          #f
          regular
          #f)))
      (properties
        (provenance     ;;<- this!
          (repository
            (version 0)
            (url "https://git.savannah.gnu.org/git/guix.git";)
            (branch "master")
            (commit
              "18a613fb29bf053b344bca585e78a2cf26b44469")))))
--8<---------------cut here---------------end--------------->8---

It’s an undocumented and unused feature, mostly because I wouldn’t know
how to expose it at the CLI level.  Ideas welcome!

> What I would expect is:
>  guix describe -p my-env
> Generation 5   Sep 20 2019 17:21:30
> emacs 26.2 asdf12
> guile 2.2.4 z56qwe

This seems to be a mixture of ‘guix describe’ and ‘guix package -I’,
right?  I’m not sure what you’re expecting here.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]