From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Developing on two machines Date: Mon, 30 May 2016 22:03:06 +0200 Message-ID: <87y46re2kl.fsf@gnu.org> References: <574C7074.4000904@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7TP8-0001t5-Al for help-guix@gnu.org; Mon, 30 May 2016 16:03:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7TP5-0003Gp-5C for help-guix@gnu.org; Mon, 30 May 2016 16:03:14 -0400 In-Reply-To: <574C7074.4000904@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 30 May 2016 18:55:16 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Hartmut Goebel Cc: help-guix@gnu.org Hi! Hartmut Goebel 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: =E2=80=A6/scripts/guix: /gnu/store/cpxwg=E2=80=A6-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 =E2=80=98guile=E2=80= =99. 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=E2=80=99.