> Tomas Volf <[email protected]> hat am 15.08.2024 21:46 CEST geschrieben:
> 
> Now I have a different problem however.  Given a channel list with commits,
> hence resolving to the same code every time, it still gets pulled every time,
> and Guix derivation computed every time.  Illustrated here:
> 
>     /tmp/repro $ cat x.scm
>     (use-modules (guix channels)
>                  (gnu packages package-management))
> 
>     (guix-for-channels (list (channel
>                               (name 'guix)
>                               (url "https://git.wolfsden.cz/.git/guix";)
>                               (commit
>                                "b03eddc326ee4eb26b25743faee2080de6aded7e")
>                               (introduction
>                                (make-channel-introduction
>                                 "028e445a2028068e3c83996daa281057f19141a0"
>                                 (openpgp-fingerprint
>                                  "B783 49B3 8C14 7D36 2988  68A4 2FBF EE7D 
> B67F C1A9"))))))
>     /tmp/repro $ guix build -f x.scm
>     Updating channel 'guix' from Git repository at 
> 'https://git.wolfsden.cz/.git/guix'...
>     Computing Guix derivation for 'x86_64-linux'... |
>     /gnu/store/9i597ckynirxy4w5iv2wbmy288vc7gf0-profile
>     /tmp/repro $ guix build -f x.scm
>     Updating channel 'guix' from Git repository at 
> 'https://git.wolfsden.cz/.git/guix'...
>     Computing Guix derivation for 'x86_64-linux'... |
>     /gnu/store/9i597ckynirxy4w5iv2wbmy288vc7gf0-profile
> 
> This does not seem necessary (it uses commit, so it does not change) and makes
> re-deploys *much* slower.  Would you happen to have magical trick for this as
> well?

Sorry to disappoint, I don't use Guix system, only Guix home, so no idea :(

Reply via email to