From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK?= Subject: Building and installing packages with modifications Date: Sat, 16 Feb 2019 15:12:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gv1dc-0000ac-3Y for help-guix@gnu.org; Sat, 16 Feb 2019 10:12:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gv1dY-0006bH-GL for help-guix@gnu.org; Sat, 16 Feb 2019 10:12:20 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:53588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gv1dT-0006Zu-1E for help-guix@gnu.org; Sat, 16 Feb 2019 10:12:11 -0500 Received: from 37-48-6-189.nat.epc.tmcz.cz ([37.48.6.189] helo=baii-xiong.local.tld) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gv1dR-0005a6-MS for help-guix@gnu.org; Sat, 16 Feb 2019 10:12:10 -0500 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: help-guix@gnu.org Hi Guix:=20 This is a question derived from my current trouble with running Guix on An= droid, as seen in: http://lists=2Egnu=2Eorg/archive/html/help-guix/2019-02/= msg00151=2Ehtml Basically:=20 =E2=80=94 I have Guix running on an armhf Android phone=20 =E2=80=94 =E2=80=9Cguix pull=E2=80=9D won't complete as it needs to build = curl locally, since a substitute is unavailable=20 =E2=80=94 curl local build fails on checking internet connection in one of= its tests, as is common, as I found out on the web=20 =E2=80=94 Thus =E2=80=9Cguix pull=E2=80=9D never finishes, and I can't ins= tall any packages etc, since even without pulling a new version, they also = fall into building curl=20 I'd like to overcome this, am not sufficiently advanced in Guix, so would = like to receive ideas / tips on how to best / easiest do this=2E=20 Currently, I'm thinking of two options=2E=20 =E2=91=A0 Build curl locally, without the failing tests=2E=20 =E2=91=A1 Install an older substitute version of curl already built=2E=20 Ad =E2=91=A0:=20 =E2=80=94 I've found there is an environment variable (INTERNET_TEST or so= mething) you can set so the test is not run during auto build run=2E It's i= gnored if =E2=80=9Cguix build curl=E2=80=9D is run with it=2E=20 =E2=80=94 Can environment variables be passed to =E2=80=9Cguix build=E2=80= =9D so they are then honored during build?=20 =E2=80=94 If not, can I instruct =E2=80=9Cguix build=E2=80=9D to not run = =E2=80=9Cmake test=E2=80=9D?=20 =E2=80=94 If both not, can I then carry out the individual stages of a pac= kage build in Guix, so I can skip the test phase?=20 =E2=80=94 If I build it in any of these ways, will =E2=80=9Cguix package -= i curl=E2=80=9D then install this version in the profile?=20 =E2=80=94 If not, can I install it any other way then, so I can commence w= ith =E2=80=9Cguix pull=E2=80=9D without it being rebuilt?=20 Ad =E2=91=A1:=20 =E2=80=94 Is there any way I can search the substitute servers for the lat= est built substitute of a package?=20 =E2=80=94 How can I then install it?=20 If none of these, is there another way to overcome my problem?=20 Many thanks for any advice! :@)=20 -- =E7=99=BD=E3=81=84=E7=86=8A