all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Passing substitute-urls via GUIX_BUILD_OPTIONS
@ 2018-02-12 10:53 Marco van Zwetselaar
  2018-02-12 15:33 ` Ricardo Wurmus
  2018-02-12 17:59 ` Martin Castillo
  0 siblings, 2 replies; 3+ messages in thread
From: Marco van Zwetselaar @ 2018-02-12 10:53 UTC (permalink / raw)
  To: guix-devel

All,

Is there a magic escape to allow passing --substitute-urls via
GUIX_BUILD_OPTIONS?

$ GUIX_BUILD_OPTIONS="--substitute-urls=http://server1
https://mirror.hydra.gnu.org" guix package -I
guix package: error: https://mirror.hydra.gnu.org: extraneous argument
$ GUIX_BUILD_OPTIONS="--substitute-urls='http://server1
https://mirror.hydra.gnu.org'" guix package -I
guix package: error: https://mirror.hydra.gnu.org': extraneous argument
$ GUIX_BUILD_OPTIONS='--substitute-urls="http://server1
https://mirror.hydra.gnu.org"' guix package -I
guix package: error: https://mirror.hydra.gnu.org": extraneous argument
$ ... other attempts involving apostrophes, quotes, and backslashes ...

I can't seem to find the incantation that works.

Cheers,
Marco

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Passing substitute-urls via GUIX_BUILD_OPTIONS
  2018-02-12 10:53 Passing substitute-urls via GUIX_BUILD_OPTIONS Marco van Zwetselaar
@ 2018-02-12 15:33 ` Ricardo Wurmus
  2018-02-12 17:59 ` Martin Castillo
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-02-12 15:33 UTC (permalink / raw)
  To: Marco van Zwetselaar; +Cc: guix-devel


Hi Marco,

> Is there a magic escape to allow passing --substitute-urls via
> GUIX_BUILD_OPTIONS?

Must it be done via GUIX_BUILD_OPTIONS?  The daemon can be started with
that option and it will be used for all invocations of the “guix”
command.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Passing substitute-urls via GUIX_BUILD_OPTIONS
  2018-02-12 10:53 Passing substitute-urls via GUIX_BUILD_OPTIONS Marco van Zwetselaar
  2018-02-12 15:33 ` Ricardo Wurmus
@ 2018-02-12 17:59 ` Martin Castillo
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Castillo @ 2018-02-12 17:59 UTC (permalink / raw)
  To: Marco van Zwetselaar, guix-devel



On 12.02.2018 11:53, Marco van Zwetselaar wrote:
> All,
> 
> Is there a magic escape to allow passing --substitute-urls via
> GUIX_BUILD_OPTIONS?
> 
Not that I know of. Probably not.

> 
> I can't seem to find the incantation that works.
> 

This is known as bug #29814.

Martin Castillo

-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-12 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-12 10:53 Passing substitute-urls via GUIX_BUILD_OPTIONS Marco van Zwetselaar
2018-02-12 15:33 ` Ricardo Wurmus
2018-02-12 17:59 ` Martin Castillo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.