unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Stephen Scheck <singularsyntax@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Unaltered Git source
Date: Thu, 19 Nov 2020 22:41:24 +0100	[thread overview]
Message-ID: <87h7plvxbv.fsf@nckx> (raw)
In-Reply-To: <CAKjnHz2Y_bYZNffrpq-91RkdjpqsS-fcD-xHriMZOcQpaQSdOg@mail.gmail.com>

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

Stephen,

Stephen Scheck 写道:
> Is there a way to retrieve the unaltered source of a Git project 
> in a
> `(package ...)` definition? I'm using `%build-inputs` to 
> retrieve the
> source, but this is a directory in /gnu/store, and all of the 
> file
> permissions are changed to read-only (0400), which unfortunately 
> causes
> problems with the project's build.

Try adding a phase like this[0] one.  It's usually sufficient.

Kind regards,

T G-R

[0]: 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/xml.scm#n2022

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

  reply	other threads:[~2020-11-19 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 21:28 Unaltered Git source Stephen Scheck
2020-11-19 21:41 ` Tobias Geerinckx-Rice [this message]
2020-11-19 22:09   ` John Soo

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=87h7plvxbv.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=singularsyntax@gmail.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.
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).