unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: Simon South <simon@simonsouth.net>, help-guix@gnu.org
Subject: Re: Specifying dependencies among package outputs?
Date: Thu, 15 Oct 2020 02:43:09 +0200	[thread overview]
Message-ID: <87v9fcmi8y.fsf@nckx> (raw)
In-Reply-To: <87y2k8mihx.fsf@nckx>


[-- Attachment #1.1: Type: text/plain, Size: 232 bytes --]

Tobias Geerinckx-Rice 写道:
> Correct.  Building knot-resolver with only ("knot:lib" ,knot 
> "lib"):

Might's well send that trivial part too.  (And yes, the comment 
shuffling in the previous one was of course bogus.)


[-- Attachment #1.2: 0001-gnu-knot-resolver-Build-with-only-knot-lib.patch --]
[-- Type: text/x-patch, Size: 971 bytes --]

From 0b3ce4cb3f2618714fd91123a38eb679ed26dc84 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Thu, 15 Oct 2020 02:40:38 +0200
Subject: [PATCH] gnu: knot-resolver: Build with only knot:lib.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This saves 13.9 MiB (~7.5%) of total ‘guix size’.

* gnu/packages/dns.scm (knot-resolver)[inputs]: Replace knot with
knot:lib.
---
 gnu/packages/dns.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 6e39234367..139b19a4f5 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -989,7 +989,7 @@ synthesis, and on-the-fly re-configuration.")
     (inputs
      `(("fstrm" ,fstrm)
        ("gnutls" ,gnutls)
-       ("knot" ,knot)
+       ("knot:lib" ,knot "lib")
        ("libuv" ,libuv)
        ("lmdb" ,lmdb)
        ("luajit" ,luajit)
-- 
2.28.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-10-15  0:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 22:32 Specifying dependencies among package outputs? Simon South
2020-10-15  0:07 ` Julien Lepiller
2020-10-15  0:37 ` Tobias Geerinckx-Rice
2020-10-15  0:43   ` Tobias Geerinckx-Rice [this message]
2020-10-15 11:44   ` zimoun
2020-10-15 14:54   ` Simon South
2020-10-15 22:26     ` Tobias Geerinckx-Rice
2020-10-15 23:45       ` Simon South
2020-10-16 17:32         ` Tobias Geerinckx-Rice

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=87v9fcmi8y.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=simon@simonsouth.net \
    /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.
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).