Skip to content

Commit 7f1d17b

Browse files
authored
fix: allow install under read-only $HOME (#175)
* fix: set register_envs: false DIRACOS installers do not need ~/.conda/environments.txt and the unconditional ~/.conda creation breaks installs under a read-only $HOME (#174). * ci: exercise install under a read-only $HOME Mirrors the reproducer from #174 on every basic-tests matrix row. Runs the installer as a non-root user (root ignores permission bits, which would mask the regression), then restores ownership for the post-install suite since singularity/apptainer's user-namespace mapping cannot traverse tester-owned dirs. * ci: TEMPORARY — build against constructor fix branch Pin constructor to chrisburr/constructor@fix/mkdir-conda-guard so the basic-tests CI actually passes. Revert to the conda-forge release once the upstream fix lands and ships.
1 parent f6b231f commit 7f1d17b

4 files changed

Lines changed: 905 additions & 46 deletions

File tree

construct.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ post_install: create_diracosrc.sh
1616
keep_pkgs: false
1717
default_prefix: "${PWD}/diracos"
1818
batch_mode: true
19+
register_envs: false
1920

2021
# Converting packages to be .conda files makes the installer considerably
2122
# smaller and faster but is computationally expensive.

0 commit comments

Comments
 (0)