adding apptainer 1.0.1

This commit is contained in:
Jean-François GUILLAUME 2022-03-23 17:02:59 +01:00
parent 1e3f79cfc3
commit e2c9498a86
GPG key ID: 38751DAE145EFB5A

View file

@ -215,7 +215,7 @@
(replace 'configure
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin
(invoke "echo" "1.0.1" ">" "VERSION")
(invoke "echo 1.0.1" ">" "VERSION")
(invoke "./mconfig" "--localstatedir=/var")
)
)
@ -223,10 +223,18 @@
(replace 'build
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin
(invoke "make" "-C" "buildir")
(invoke "make" "-C" "builddir")
)
)
)
(replace 'install
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin
(invoke "make" "-C" "builddir" "install")
)
)
)
(add-before 'configure 'set-version
(add-before 'configure 'set-version
(lambda* (#:key input #:allow-other-keys)
(invoke "echo" "1.0.1" ">" "VERSION")