guix-mirrors/guix/scripts
Rutherther 65bb0d92d8
pack: Singularity environemt sources the profile's 'etc/profile'.
Fixes #419 where the same search path is used multiple times, leading to the
last one overriding the previous one.

The solution relies on the #$profile/etc/profile file that is already verified
and in case of errors, it is just one place to repair instead of repairing at
multiple places, like in singularity-environment-file

* guix/pack.scm (singularity-environment-file): Source #$profile/etc/profile

Reported-by: Alexis Simon <alexis.simon@runbox.com>
Change-Id: Ic304fef99ad34d83e4e10cdd2b26d3b1802b5251
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-13 14:01:38 +02:00
..
container
git git authenticate: Install pre-push and post-checkout hooks. 2024-05-01 17:26:19 +02:00
home home: Define ‘%base-home-services’. 2025-01-16 22:32:11 +01:00
import import/elpa: Improve CLI documentation for archive flag. 2025-05-22 11:18:08 +02:00
system guix: scripts: reconfigure: Export running-services variable. 2025-04-01 14:49:34 +02:00
archive.scm scripts: archive: Handle EPIPE errors when displaying help. 2023-10-17 14:51:53 +02:00
authenticate.scm
build.scm guix build: Honor '--system' with '--manifest'. 2025-03-02 16:46:59 +02:00
challenge.scm challenge: Use the same substitute URLs as guix-daemon. 2023-12-11 23:18:57 +01:00
container.scm scripts: container: Handle EPIPE errors when displaying help. 2023-10-17 14:51:54 +02:00
copy.scm scripts: copy: Handle EPIPE errors when displaying help. 2023-10-17 14:51:55 +02:00
deploy.scm deploy: Add --roll-back option. 2025-03-01 00:18:38 +00:00
describe.scm describe: Recognize git.guix.gnu.org for commit hyperlinks. 2025-05-23 11:17:59 +02:00
discover.scm guix: Avoid ‘fdatasync’ call for caches and regular files. 2025-04-14 17:31:50 +02:00
download.scm guix download: Honor ‘--no-check-certificate’ for ‘--git’. 2024-12-25 23:51:10 +01:00
edit.scm scripts: edit: Fix relative file-name with 'load-path' option. 2023-11-05 16:11:17 +01:00
environment.scm environment: Set LANG by default. 2025-06-03 19:28:35 +02:00
gc.scm scripts: gc: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
git.scm scripts: git: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
graph.scm packages: Factorize ‘all-packages’. 2024-12-01 20:14:15 +01:00
hash.scm scripts: hash: Handle repository with different VCS folders. 2024-07-23 16:27:27 +02:00
home.scm environment, home: Make /tmp writable. 2025-05-06 12:22:34 +02:00
import.scm import: Order importers alphabetically in ‘--help’ output. 2024-08-25 02:00:00 +02:00
install.scm scripts: install: Handle EPIPE errors when displaying help. 2023-10-17 14:51:59 +02:00
lint.scm scripts: lint: Handle EPIPE errors when displaying help. 2023-10-17 14:51:59 +02:00
locate.scm locate: Request writable db for --clear. 2025-04-16 18:20:44 +02:00
offload.scm gnu: open-ssh-session: Don’t require public key. 2024-04-07 19:43:07 +01:00
pack.scm pack: Singularity environemt sources the profile's 'etc/profile'. 2025-06-13 14:01:38 +02:00
package.scm scripts: package: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
perform-download.scm download: Honor ‘GUIX_DOWNLOAD_METHODS’ environment variable. 2024-03-09 18:55:50 +01:00
processes.scm scripts: processes: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
publish.scm publish: Prevent publication of non-substitutable derivation outputs. 2025-06-06 18:41:19 +02:00
pull.scm pull: Add ‘--no-check-certificate’. 2024-12-25 23:51:10 +01:00
refresh.scm refresh: Allow specifying a partial version via the version specification. 2025-05-19 10:07:24 +09:00
remove.scm scripts: remove: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
repl.scm scripts: repl: Handle EPIPE errors when displaying help. 2023-10-17 14:52:03 +02:00
search.scm scripts: search: Handle EPIPE errors when displaying help. 2023-10-17 14:52:03 +02:00
shell.scm shell: Enable caching when using deterministic package transformations. 2024-10-22 00:27:49 +02:00
show.scm scripts: show: Handle EPIPE errors when displaying help. 2023-10-17 14:52:04 +02:00
size.scm scripts: size: Fix guix size with --system argument. 2024-01-12 17:26:31 +01:00
style.scm guix: Avoid ‘fdatasync’ call for caches and regular files. 2025-04-14 17:31:50 +02:00
substitute.scm scripts/substitute: Refine 'updating substitutes' message. 2024-12-18 16:27:09 +09:00
system.scm guix: scripts: system: Export report-shepherd-error. 2025-04-01 14:49:34 +02:00
time-machine.scm time-machine: Remove unused binding from #:select. 2025-02-24 23:33:51 +01:00
upgrade.scm scripts: upgrade: Handle EPIPE errors when displaying help. 2023-10-17 14:52:06 +02:00
weather.scm weather: Reword the help message for the expression flag. 2024-12-23 20:45:32 +01:00