all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Newbie Packaging Question
@ 2019-05-11  3:06 Brian Woodcox
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Woodcox @ 2019-05-11  3:06 UTC (permalink / raw)
  To: help-guix

Hi Tobias,

You totally nailed it.

Your example solved my problem.

I spent a few hours trying to resolve this problem.  I did try the comma because I saw that in another package definition.

Ultimately, i completely missed the quasiquote.

Thanks again

Brian.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Newbie Packaging Question
@ 2019-05-10 23:04 Brian Woodcox
  2019-05-11  0:40 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Woodcox @ 2019-05-10 23:04 UTC (permalink / raw)
  To: help-guix

I have a question regarding packaging.

Say I have the following in my sample.scm file:

(define commit "a1ee2ebf087768b5fbffa07f50a294ad9c8ee600")

(define version-date “201903271913”)

and then

(define-public test-me
  (package
  (name “test-me”)
  (version commit)
  (source …
               .
               .
               . etc...


In my modify-phases %standard-phases,  I am trying to use substitute* to patch some files with the version-date define outside my package.

Is this not possible, I always get an unbound variable error.

I have no problem accessing the commit variable which is defined outside of the package.

Any help would be greatly appreciated.

Thanks.

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

end of thread, other threads:[~2019-05-11  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-11  3:06 Newbie Packaging Question Brian Woodcox
  -- strict thread matches above, loose matches on Subject: below --
2019-05-10 23:04 Brian Woodcox
2019-05-11  0:40 ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.