* Developing on two machines
@ 2016-05-30 16:55 Hartmut Goebel
2016-05-30 20:03 ` Ludovic Courtès
2016-05-31 19:15 ` Andreas Enge
0 siblings, 2 replies; 3+ messages in thread
From: Hartmut Goebel @ 2016-05-30 16:55 UTC (permalink / raw)
To: help-guix
Hi,
I'm alternately working on my desktop and my laptop, synchronizing data
between these tow machines. Now after installing some guix packages on
the laptop (but not on the desktop), running
./pre-inst-env guix build ...
gives me the error
./pre-inst-env: …/scripts/guix: /gnu/store/cpxwg…-profile/bin/guile: bad
interpreter: No such file or directory
Well, the message is obvious: The profile which is hard-coded into
scripts/guix does not exist on this machine. As an work-around I'm using
./pre-inst-env guile script/guix build ....
But I wonder if there is another solution?!
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Developing on two machines
2016-05-30 16:55 Developing on two machines Hartmut Goebel
@ 2016-05-30 20:03 ` Ludovic Courtès
2016-05-31 19:15 ` Andreas Enge
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-05-30 20:03 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: help-guix
Hi!
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> I'm alternately working on my desktop and my laptop, synchronizing data
> between these tow machines. Now after installing some guix packages on
> the laptop (but not on the desktop), running
>
> ./pre-inst-env guix build ...
>
> gives me the error
>
> ./pre-inst-env: …/scripts/guix: /gnu/store/cpxwg…-profile/bin/guile: bad
> interpreter: No such file or directory
>
> Well, the message is obvious: The profile which is hard-coded into
> scripts/guix does not exist on this machine. As an work-around I'm using
> ./pre-inst-env guile script/guix build ....
>
> But I wonder if there is another solution?!
You could either rerun ./configure on the machine, so that it
substitutes the shebang with the right file name for ‘guile’.
Alternately, you could copy the profile from the first machine to the
second one, along the lines of the example at:
https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-archive.html
In addition, you would need to make
/var/guix/profiles/per-user/$USER/guix-profile-XXX-link point to the
imported profile (currently this has to be done manually.)
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Developing on two machines
2016-05-30 16:55 Developing on two machines Hartmut Goebel
2016-05-30 20:03 ` Ludovic Courtès
@ 2016-05-31 19:15 ` Andreas Enge
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2016-05-31 19:15 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: help-guix
Hello,
On Mon, May 30, 2016 at 06:55:16PM +0200, Hartmut Goebel wrote:
> I'm alternately working on my desktop and my laptop, synchronizing data
> between these tow machines. Now after installing some guix packages on
> the laptop (but not on the desktop), running
> ./pre-inst-env guix build ...
> gives me the error
> ./pre-inst-env: …/scripts/guix: /gnu/store/cpxwg…-profile/bin/guile: bad
> interpreter: No such file or directory
this may be a poor person's option, but on my machines I synchronise everything
except for the guix git directories, and do the "git pull" and "make"
separately on each machine.
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-31 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 16:55 Developing on two machines Hartmut Goebel
2016-05-30 20:03 ` Ludovic Courtès
2016-05-31 19:15 ` Andreas Enge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).