unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Unaltered Git source
@ 2020-11-19 21:28 Stephen Scheck
  2020-11-19 21:41 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Scheck @ 2020-11-19 21:28 UTC (permalink / raw)
  To: help-guix

Hello,

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unaltered Git source
  2020-11-19 21:28 Unaltered Git source Stephen Scheck
@ 2020-11-19 21:41 ` Tobias Geerinckx-Rice
  2020-11-19 22:09   ` John Soo
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-11-19 21:41 UTC (permalink / raw)
  To: Stephen Scheck; +Cc: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unaltered Git source
  2020-11-19 21:41 ` Tobias Geerinckx-Rice
@ 2020-11-19 22:09   ` John Soo
  0 siblings, 0 replies; 3+ messages in thread
From: John Soo @ 2020-11-19 22:09 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: Help-Guix, Stephen Scheck

     Hello Stephen, 

 
You may also use make-file-writable to change permissions as you need.  
 

 
HTH,
 

 
John
     

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-19 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 21:28 Unaltered Git source Stephen Scheck
2020-11-19 21:41 ` Tobias Geerinckx-Rice
2020-11-19 22:09   ` John Soo

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).