Skip to content
Snippets Groups Projects
Commit 7c014758 authored by Reza Housseini's avatar Reza Housseini
Browse files

chore: update guix modules

parent 322a1b2b
No related branches found
No related tags found
No related merge requests found
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
(url "https://gitlab.ost.ch/scl/guix-ost.git") (url "https://gitlab.ost.ch/scl/guix-ost.git")
(branch "main") (branch "main")
(commit (commit
"190bfc01dc464f32defa62643c432c9f64dba32d")) "1f3aa7c314833b78f4ed2dd37857c2ae96d736c4"))
(channel (channel
(name 'guix) (name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git") (url "https://git.savannah.gnu.org/git/guix.git")
(branch "master") (branch "master")
(commit (commit
"d1705ff0452624f4404987414cdd9645ed60c097") "8a3e8f36e2a90e51fa4559beeaed1a86585d4b25")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad" "9edb3f66fd807b096b48283debdcddccfea34bad"
......
(use-modules (gnu packages) (use-modules (gnu packages)
(gnu packages gcc) (gnu packages gcc)
(guix packages) (guix packages)
(guix profiles)) (guix profiles)
(guix transformations))
(define transform
;; The package transformation procedure.
(options->transformation
'((with-input . "openmpi=openmpi-with-slurm"))))
(define-public gcc-standalone (define-public gcc-standalone
(package (package
(inherit gcc) (inherit gcc)
(name "gcc-standalone"))) (name "gcc-standalone")))
(concatenate-manifests (concatenate-manifests
(list (list
(packages->manifest ;; (packages->manifest
(list gcc-standalone)) ;; (list gcc-standalone
;; (transform (specification->package "openfoam-org"))
;; (transform (specification->package "openfoam-org@11"))
;; (transform (specification->package "openfoam-org@5.0"))
;; (transform (specification->package "openfoam-com"))
;; (transform (specification->package "openfoam-com@2306"))
;; (transform (specification->package "liggghts"))
;; (transform (specification->package "cfdemcoupling"))
;; (transform (specification->package "cfdeminterfoamib"))
;; (transform (specification->package "fds"))))
(specifications->manifest (specifications->manifest
'("python" '("python"
"python-wrapper" "python-wrapper"
"slurm-submit"
;; pin openmpi to version for as it is still the default,
;; otherwise also version 5 will be loaded,
;; resulting in conflicts
"openmpi@4"
"openfoam-org" "openfoam-org"
"openfoam-org@11" "openfoam-org@11"
"openfoam-org@5.0" "openfoam-org@5.0"
;;"openfoam-com" "openfoam-com"
;;"openfoam-com-cfmesh" "openfoam-com@2306"
"liggghts"
"fds"
"slurm-submit"
"tmux"
"liggghts" "liggghts"
"cfdemcoupling" "cfdemcoupling"
"cfdeminterfoamib"
"fds"
"swak4foam" "swak4foam"
"openmpi" "tmux"
"gdb" "gdb"
"cfdeminterfoamib"
"ffmpeg")))) "ffmpeg"))))
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
- name: Create module files - name: Create module files
ansible.builtin.shell: ansible.builtin.shell:
#cmd: guix time-machine -C /root/.config/guix/channels.scm -- module create -m /tmp/guix-modules.scm -o "{{ guix_modules_path }}" #cmd: guix time-machine -C /root/.config/guix/channels.scm -- module create -m /tmp/guix-modules.scm -o "{{ guix_modules_path }}"
cmd: "source /etc/profile;guix time-machine -C cmd: "source /etc/profile;guix time-machine -C /software/share/guix-modules-channels.scm -- module create -m /software/share/guix-modules.scm -o {{ guix_modules_path }}"
/software/share/guix-modules-channels.scm -- module create -m /software/share/guix-modules.scm -o {{ guix_modules_path }}"
#executable: /bin/bash #executable: /bin/bash
register: result register: result
- debug: - debug:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment