Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Environmental Cheminformatics
plan-b
Commits
90ef8b45
Commit
90ef8b45
authored
Jun 04, 2021
by
Todor Kondic
Browse files
guix: PCL reduced set
parent
3739dc93
Changes
5
Hide whitespace changes
Inline
Side-by-side
files/etc/guix_manifest_pcl.scm
0 → 100644
View file @
90ef8b45
(
use-modules
(
guix
packages
)
(
guix
profiles
)
(
gnu
packages
)
(
srfi
srfi-1
))
(
specifications->manifest
'
(
;; Utilities
"curl"
"git"
"git:send-email"
"subversion"
"bash"
"nano"
"nss-certs"
"glibc-locales"
"gcc-toolchain"
"gfortran-toolchain"
"python"
"perl"
"htop"
"pigz"
;; Autotools
"autoconf"
"automake"
"autobuild"
"m4"
;;Python
"python-requests"
"python-ruamel.yaml"
"python-matplotlib"
"python-numpy"
"python-scipy"
;; Java
"openjdk:out"
"openjdk:jdk"
;; Perl
"perl-yaml-libyaml"
;; Guile
"guile-readline"
;; R
"r"
"r-curl"
"r-ellipsis"
"r-remoter"
"r-sass"
"r-bslib"
"r-cachem"
"r-future"
"r-rmarkdown"
"r-knitr"
"r-roxygen2"
"r-rcolorbrewer"
"r-data-table"
"r-gplots"
"r-devtools"
"r-usethis"
"r-shiny"
"r-shinyfiles"
"r-shinydashboard"
"r-flexdashboard"
"r-handsontable"
"r-shinyfiles"
"r-cowplot"
"r-withr"
"r-massbank"
"r-chemmass"
"r-resolution"
"r-msnbase"
"r-pander"
"r-rstatix"
"r-shinyscreen"
))
files/home/user/.local/bin/ansible-on-guix
View file @
90ef8b45
...
...
@@ -9,4 +9,4 @@ env -i HOME="$HOME"\
TERM
=
"
$TERM
"
\
PATH
=
/usr/local/sbin/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
\
bash
-c
"source '
$HOME
'/.man-guix-prof/etc/profile
'
$HOME
'/.man-guix-prof/bin/ansible"
'
$HOME
'/.man-guix-prof/bin/ansible
$@
"
files/home/user/.local/bin/ansible-playbook-on-guix
View file @
90ef8b45
...
...
@@ -9,4 +9,4 @@ env -i HOME="$HOME"\
TERM
=
"
$TERM
"
\
PATH
=
/usr/local/sbin/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
\
bash
-c
"source '
$HOME
'/.man-guix-prof/etc/profile
'
$HOME
'/.man-guix-prof/bin/ansible-playbook"
'
$HOME
'/.man-guix-prof/bin/ansible-playbook
$@
"
files/home/user/.local/bin/bash-on-guix
0 → 100644
View file @
90ef8b45
#!/bin/sh
# Clear environment, source the profile containing the new shinyscreen
# and run it.
env
-i
HOME
=
"
$HOME
"
\
USER
=
"
$USER
"
\
DISPLAY
=
":50"
\
TERM
=
"
$TERM
"
\
PATH
=
/usr/local/sbin/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
\
bash
-c
"source '
$HOME
'/.man-guix-prof/etc/profile;bash"
tasks/guix.yml
View file @
90ef8b45
...
...
@@ -44,9 +44,16 @@
dest
:
/etc/guix_manifest.scm
tags
:
guix-inst-pkg
-
name
:
Install packages.
-
name
:
Copy package manifest (PCL).
copy
:
src
:
files/etc/guix_manifest_pcl.scm
dest
:
/etc/guix_manifest_pcl.scm
tags
:
guix-inst-pkg
-
name
:
Install PCL packages.
command
:
cmd
:
/usr/bin/bash -l -c '
guix package -c8 -m /etc/guix_manifest.scm --fallback -p ~/.man-guix-prof
'
cmd
:
guix package -c8 -m /etc/guix_manifest
_pcl
.scm --fallback -p ~/.man-guix-prof
tags
:
guix-inst-pkg
become_user
:
"
{{
item.login
}}"
retries
:
20
...
...
@@ -55,12 +62,23 @@
until
:
result.rc ==
0
loop
:
"
{{
users
}}"
# - name: Install guix managed programs.
# tags: guix-copy-bin
# copy:
# src: files/home/user/.local/bin/
# dest: "/home/{{ item.login }}/.local/bin"
# mode: '0744'
# owner: "{{ item.login }}"
# group: "{{ item.login }}"
# - name: Install packages.
# command:
# cmd: /usr/bin/bash -l -c 'guix package -c8 -m /etc/guix_manifest_pcl.scm --fallback -p ~/.man-guix-prof'
# tags: guix-inst-pkg
# become_user: "{{ item.login }}"
# retries: 20
# delay: 5
# register: result
# until: result.rc == 0
# loop: "{{ users }}"
-
name
:
Install guix managed programs.
tags
:
guix-copy-bin
copy
:
src
:
files/home/user/.local/bin/
dest
:
"
/home/{{
item.login
}}/.local/bin"
mode
:
'
0744'
owner
:
"
{{
item.login
}}"
group
:
"
{{
item.login
}}"
loop
:
"
{{
users
}}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment