[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using --manfistest with <profile>/manifest files
From: |
elaexuotee |
Subject: |
Using --manfistest with <profile>/manifest files |
Date: |
Thu, 11 Jun 2020 10:40:29 +0900 |
User-agent: |
mblaze/0.7 |
In an attempt to tar up the *build* environment for a package to share with a
colleague, I encountered this:
[env]$ guix pack -m $GUIX_ENVIRONMENT/manifest
(manifest ...): Wrong number of arguments
From playing around a bit, my guess is that the `<profile>/manifest' files are
just human-readable serializations of <manifest> objects and don't deserialize
back:
$ guix environment -m ~/.guix-profile/manifest
(manifest ...): Wrong number of arguments
Asking around on #guix, user leoprikler suggested a workaround by putting this
in a file:
(call-with-input-file
"/path/to/manifest"
(@@ (guix profiles) read-manifest))
and feeding that file to --manifest. This works as intended.
First, am I missing something? Is there a better/preferred way to make use of
the `manifest' files in profiles?
If not, does it seem reasonable to make the `manifest' files automatically
deserialize into the objects they describe? I think this could be a fun, simple
project for a Guix newbie like me, but before I start figuring out how to do
this, I just want to sanity check the idea.
Cheers!
signature.asc
Description: PGP signature
- Using --manfistest with <profile>/manifest files,
elaexuotee <=
- Re: Using --manfistest with <profile>/manifest files, Ludovic Courtès, 2020/06/13
- Re: Using --manfistest with <profile>/manifest files, Pierre Neidhardt, 2020/06/14
- Re: Using --manfistest with <profile>/manifest files, zimoun, 2020/06/15
- Re: Using --manfistest with <profile>/manifest files, elaexuotee, 2020/06/15
- Re: Using --manfistest with <profile>/manifest files, Ludovic Courtès, 2020/06/16
- Re: Using --manfistest with <profile>/manifest files, elaexuotee, 2020/06/16
- Re: Using --manfistest with <profile>/manifest files, zimoun, 2020/06/16