From: Brian Woodcox <bw@inskydata.com>
To: help-guix@gnu.org
Subject: Newbie Packaging Question
Date: Fri, 10 May 2019 17:04:25 -0600 [thread overview]
Message-ID: <EA1C726A-90C3-4C9A-A179-3346DD88D37C@inskydata.com> (raw)
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.
next reply other threads:[~2019-05-10 23:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-10 23:04 Brian Woodcox [this message]
2019-05-11 0:40 ` Newbie Packaging Question Tobias Geerinckx-Rice
-- strict thread matches above, loose matches on Subject: below --
2019-05-11 3:06 Brian Woodcox
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EA1C726A-90C3-4C9A-A179-3346DD88D37C@inskydata.com \
--to=bw@inskydata.com \
--cc=help-guix@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 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.