unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: 44367@debbugs.gnu.org
Subject: [bug#44367] Rationale for hg-predicate
Date: Sat, 07 Nov 2020 23:16:46 +0100	[thread overview]
Message-ID: <87361kizht.fsf@web.de> (raw)
In-Reply-To: <cover.1604223741.git.holger.peters@posteo.de>

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

Rationale for this patch: It can be used to reduce the number of files
pulled into the build when used as in the #:select? part of the source
clause.

Example:

(define-public example
  (package
    (name "example")
    ; …
    (source (local-file %source-dir
      #:recursive? #t
      #:select? hg-predicate))
    ; …
    ))

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

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

  parent reply	other threads:[~2020-11-07 22:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-01  9:47 [bug#44367] [PATCH 0/2] hg-predicate Holger Peters
2020-11-01  9:50 ` [bug#44367] [PATCH 1/2] guix: hg-download: Add hg-predicate Holger Peters
2020-11-01  9:50   ` [bug#44367] [PATCH 2/2] doc: Document hg-fetch Holger Peters
2020-11-14 10:33     ` Christopher Baines
2020-11-14 10:31   ` [bug#44367] [PATCH 1/2] guix: hg-download: Add hg-predicate Christopher Baines
2020-11-07 22:16 ` Dr. Arne Babenhauserheide [this message]
2020-11-13 18:02   ` [bug#44367] Rationale for hg-predicate Holger Peters
2020-11-14 10:29     ` bug#44367: " Christopher Baines

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=87361kizht.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=44367@debbugs.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).