From: Efraim Flashner <efraim@flashner.co.il>
To: pkill9 <pkill9@runbox.com>
Cc: 42155@debbugs.gnu.org
Subject: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively
Date: Thu, 2 Jul 2020 10:12:06 +0300 [thread overview]
Message-ID: <20200702071206.GD6387@E5400> (raw)
In-Reply-To: <20200701175331.551aa401@runbox.com>
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
On Wed, Jul 01, 2020 at 05:53:31PM +0100, pkill9 wrote:
> For example, `guix build --with-source=youtube-dl=blahblah mpv` builds
> mpv normally, after giving a message: guix build: warning:
> transformation 'with-source' had no effect on mpv@0.32.0
>
From 'guix build --help:'
--with-source=SOURCE
use SOURCE when building the corresponding package
--with-input=PACKAGE=REPLACEMENT
replace dependency PACKAGE by REPLACEMENT
I think what you're looking for is more of:
guix build --no-grafts mpv --with-input=youtube-dl=$(guix build --no-grafts youtube-dl --with-source=https://github.com/ytdl-org/youtube-dl/releases/download/2020.06.16/youtube-dl-2020.06.16.tar.gz)
This didn't work for me though, I got:
guix build: error: /gnu/store/9ncacjhzwlchpr1y5fd8ahdq59dsya20-youtube-dl-2020.06.16: unknown package
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-07-02 7:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-01 16:53 bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively pkill9
2020-07-02 7:12 ` Efraim Flashner [this message]
2020-07-02 17:44 ` pkill9
2020-07-02 21:59 ` Ludovic Courtès
2023-02-21 13:18 ` Maxim Cournoyer
2020-08-27 22:10 ` Jesse Gibbons
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=20200702071206.GD6387@E5400 \
--to=efraim@flashner.co.il \
--cc=42155@debbugs.gnu.org \
--cc=pkill9@runbox.com \
/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).