all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Running package bashrc when starting a shell
@ 2022-11-27 19:50 Reza Housseini
  0 siblings, 0 replies; only message in thread
From: Reza Housseini @ 2022-11-27 19:50 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 705 bytes --]

Hello list

I'm packaging openfoam 10 and stumbled upon a little issue. Openfoam has 
a bashrc which sets all environment variables when using it. I'm 
wondering how I can make the package so, that when a shell with openfoam 
is run, the bashrc gets sourced automatically. I tried putting it into 
/etc/bashrc and /etc/profile.d/bashrc but none were successful. Another 
attempt was to set the environment variable $BASH_ENV but that did not 
work out either. I'm a little out of ideas and thought maybe someone 
more advanced in packaging can help me here.

Cheers,

-- 
Reza Housseini

This message is signed with my GnuPG key:

     C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15557 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-27 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-27 19:50 Running package bashrc when starting a shell Reza Housseini

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.