unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Matthew Jordan <matthewjordandevops@yandex.com>
To: Help Guix <help-guix@gnu.org>
Subject: Question about package environment variables
Date: Wed, 18 May 2016 14:24:13 -0400	[thread overview]
Message-ID: <87posjxm0i.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> (raw)

Good Day everyone,

I would like to know is it possible to set any environment variable to
any value from guix package.  The usecase I am thinking of is for a
project. Let's say you had a guix package file to automate and document
project dependencies.

Let's say I wanted to declare a variable in project package file so that
"eval `guix environment --search-paths ...`" would set up the
environment with the needed variables plus the ones I wanted.

Example environment variable;

export MSG='Hello world!'

Thanks in advance for any help or info.

Sincerely,

-- 
Matthew Jordan
Sent with my mu4e

             reply	other threads:[~2016-05-18 18:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18 18:24 Matthew Jordan [this message]
2016-05-18 18:33 ` Question about package environment variables Thompson, David
2016-05-18 20:23   ` Matthew Jordan
2016-05-18 20:30     ` Thompson, David
2016-05-18 20:44       ` Matthew Jordan

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=87posjxm0i.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me \
    --to=matthewjordandevops@yandex.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.
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).