help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Am I using --with-source improperly?


From: Jesse Gibbons
Subject: Am I using --with-source improperly?
Date: Wed, 26 Aug 2020 20:34:34 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.11.0

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]