unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Am I using --with-source improperly?
@ 2020-08-27  2:34 Jesse Gibbons
  2020-08-27  8:38 ` zimoun
  2020-08-27 11:23 ` Carlo Zancanaro
  0 siblings, 2 replies; 4+ messages in thread
From: Jesse Gibbons @ 2020-08-27  2:34 UTC (permalink / raw)
  To: help-guix

I asked about this on the IRC but had no luck.

IIUC --with-source=package=source should set the source for "package" to 
"source" when something being built depends on "package". For example, 
`guix build --with-soure=python2=/tmp/python2 lci` should build the lci 
with the python2 source in /tmp/python2, and should work because python2 
is a dependency of lci. However, when I try that, I get the message 
"guix build: warning: transformation 'with-source' had no effect on 
lci@0.11.2". Am I using the --with-source option incorrectly, or is this 
some sort of bug? I replace "--with-source=python2=/tmp/python2" with 
"--with-source=lci=/tmp/python2" when /tmp/python2 doesn't even exist, 
and it gives me the result I would expect: 'guix build: error: lstat: No 
such file or directory: "/tmp/python2"'

Should I file this as a bug report?



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

end of thread, other threads:[~2020-08-27 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27  2:34 Am I using --with-source improperly? Jesse Gibbons
2020-08-27  8:38 ` zimoun
2020-08-27 11:23 ` Carlo Zancanaro
2020-08-27 16:07   ` Jesse Gibbons

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).