Marius Bakke <mbakke@fastmail.com> skribis:
Toggle quote (16 lines)
> Here is a manifest that reproduces this failure:
> (use-modules (guix channels)
> (url "https://git.savannah.gnu.org/git/guix.git")
> (commit "dec845606d2d184da31065fa26cd951b84b3ce2d"))))
> (inferior-for-channels channels))
> (packages->manifest (first (lookup-inferior-packages inferior "hello")))
‘packages->manifest’ expects a list, so I had to remove the call to ‘first’.
But then it works for me on both ‘core-updates’ and ‘master’:
Toggle snippet (28 lines)
$ ./pre-inst-env guix package -m /tmp/t.scm -p /tmp/prof
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
installing new manifest from '/tmp/t.scm' with 1 entries
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/4h0y9413i4nvdwccz5svv1m5y36l384v-profile.drv
The following profile hooks will be built:
/gnu/store/8rp1mzhlscri2ipx9xszld9sli79ywpn-ca-certificate-bundle.drv
/gnu/store/g2cvc48yn91igp7bvsv6bw5cz47gzgzs-fonts-dir.drv
/gnu/store/p5m0rag6q73qisrcnp0l79fdrp1hj2rv-manual-database.drv
/gnu/store/pvhkcys50sz2apq1pb05fgva2hky91ap-info-dir.drv
building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building /gnu/store/4h0y9413i4nvdwccz5svv1m5y36l384v-profile.drv...
1 package in profile
hint: Consider setting the necessary environment variables by running:
GUIX_PROFILE="/tmp/prof"
. "$GUIX_PROFILE/etc/profile"
Alternately, see `guix package --search-paths -p "/tmp/prof"'.
$ git log|head -1
commit 3128d6a16a80d40d927c41f530dd48ebbb8a036d