diff options
| author | Munyoki Kilyungi | 2025-11-14 13:38:02 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2025-11-14 13:46:04 +0300 |
| commit | d1e6618829652904254ce313eeab1cf07029e987 (patch) | |
| tree | 9c99bc05904a6cc700bd9bedd1ff99b7b6b0482d /genenetwork-development.scm | |
| parent | 36f9718004b7082852477feda94807607c947422 (diff) | |
| download | gn-machines-d1e6618829652904254ce313eeab1cf07029e987.tar.gz | |
Diffstat (limited to 'genenetwork-development.scm')
| -rw-r--r-- | genenetwork-development.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 12a22d1..035b18a 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -1002,6 +1002,19 @@ described by CONFIG, a <genenetwork-configuration> object." #~(begin (use-modules (guix build utils) (ice-9 ftw)) + ;; KLUDGE: Guix now stores inferior profiles under + ;; /var/guix/profiles/per-user (commit + ;; d12c4452a49b355369636de1dfc766b5bad6437b). The 'laminar' + ;; user’s directory is not created automatically in our + ;; pinned Guix revision, which causes CI jobs using + ;; inferiors to fail with permission errors. + ;; XXXX: FIXME: Explicitly create the directory for + ;; now. Remove this once we update the pinned Guix commit. + (unless (file-exists? "/var/guix/profiles/per-user/laminar") + (mkdir-p "/var/guix/profiles/per-user/laminar") + (chown "/var/guix/profiles/per-user/laminar" + (passwd:uid (getpw "laminar")) + (passwd:gid (getpw "laminar")))) ;; Set ownership of files. (for-each (lambda (file) |
