Hi, "Feng Shu" <tuma...@163.com> skribis:
> I use the following exp to build a new version you-get > > #+BEGIN_COMMENT > scheme@(guile-user)> ,run-in-store (build-package you-get #:use-substitutes? > #t #:dry-run? #f) > #+END_COMMENT > > How to install this new vesion of you-get in guile? You’d first need to build a profile that contains you-get, using the API in (guix profiles): --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(guix) scheme@(guile-user)> ,use(gnu) scheme@(guile-user)> ,use(guix profiles) scheme@(guile-user)> (packages->manifest (list (specification->package "you-get"))) $13 = #<<manifest> entries: (#<<manifest-entry> name: "you-get" version: "0.4.775" output: "out" item: #<package you-get@0.4.775 gnu/packages/video.scm:1239 1529d80> dependencies: () search-paths: () parent: #<promise #<procedure 7feced850c18 at guix/profiles.scm:276:48 ()>>>)> scheme@(guile-user)> ,run-in-store (profile-derivation $13) … --8<---------------cut here---------------end--------------->8--- The rest (setting up the symlink) is a little less convenient though. See (guix scripts package) or the equivalent Emacs-Guix code for how this works. HTH! Ludo’.