From b422ea59e0891b50482a11bef62c49ae0e4ed3c2 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 1 Feb 2024 15:07:38 +0100 Subject: Add alienv.guix wrapper script for alienv --- tw/home.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tw/home.scm') diff --git a/tw/home.scm b/tw/home.scm index ee72b669..7b2fc295 100644 --- a/tw/home.scm +++ b/tw/home.scm @@ -585,6 +585,16 @@ show_border=1 (".local/bin/sessionmenu" ,(local-file "home/files/sessionmenu" #:recursive? #t)) (".local/bin/passmenu" ,(local-file "home/files/passmenu" #:recursive? #t)) (".local/bin/volume" ,(local-file "home/files/volume" #:recursive? #t)) + (".local/bin/alienv.guix" + ,(program-file "alienv.guix" + #~(begin + (setenv "TERM" "xterm-256color") ; "modules" gets confused if this is unset + (apply execlp "guix" "guix" "shell" "--pure" "--container" "--emulate-fhs" "--preserve=^TERM$" + "bash" "util-linux" "coreutils" ; basic shell utilities (also needed by alienv) + "which" "sed" "grep" "findutils" "procps" "gawk" "modules" ; alienv requirements + "openssl@3" ; some packages need openssl + "xz" ; XRootD needs liblzma + "python-alibuild" "--" "alienv" (cdr (command-line)))))) (".local/share/applications/emacsclient.desktop" ,(local-file "home/files/emacsclient.desktop")))))) -- cgit v1.2.3