From: Phil <phil@beadling.co.uk>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: --with-source version not honored?
Date: Sat, 23 Oct 2021 11:04:48 +0100 [thread overview]
Message-ID: <87mtn0f45b.fsf@beadling.co.uk> (raw)
In-Reply-To: <87sfwuw2kr.fsf@gnu.org>
Hi,
Ludovic Courtès writes:
> For historical reasons, ‘--with-source’ only applies to leaf packages,
> unlike most (all?) other transformation inputs. Concretely, this works:
Yes I think this is what I'm hitting. I want to reference a package
using --with-source, but then immediately build an environment which
feeds this source as an input into a 2nd package - forcing it to
rebuild.
My hack works but for propagated dependencies in python - but it's not a
proper solution, and is brittle. I was going to try to improve
it by writing a Guile script to avoid the overwriting - I can post any
solution I find if I get something working.
Currently I can only do 2 things at the command line it seems:
1. I can try package X without writing a package but only in isolation
or as a leaf.
2. I can replace package X as a dependency of package Y, if I write a package
for it.
Being able to combine 1 and 2 at the command line - would be very
useful.
Cheers,
Phil.
next prev parent reply other threads:[~2021-10-23 10:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 9:18 --with-source version not honored? Phil Beadling
2021-10-20 11:08 ` Julien Lepiller
2021-10-20 11:48 ` zimoun
2021-10-20 19:46 ` Phil
2021-10-21 10:18 ` zimoun
2021-10-21 20:22 ` Ludovic Courtès
2021-10-21 21:17 ` zimoun
2021-10-23 10:04 ` Phil [this message]
2021-10-24 12:11 ` Phil Beadling
2021-10-29 14:02 ` Ludovic Courtès
2021-10-20 19:25 ` Phil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mtn0f45b.fsf@beadling.co.uk \
--to=phil@beadling.co.uk \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).