Commit 90ef8b45 authored by Todor Kondic's avatar Todor Kondic
Browse files

guix: PCL reduced set

parent 3739dc93
(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"))
......@@ -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 $@"
......@@ -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 $@"
#!/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"
......@@ -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 }}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment