diff options
author | EuAndreh <eu@euandre.org> | 2024-12-11 04:48:42 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-12-11 04:48:42 -0300 |
commit | 83449d5b225647863af3aa2eba2b403575304a8a (patch) | |
tree | 68e1d08e989c808a82b55377080de87e24dd2cb1 | |
parent | Makefile: Remove perlcritic and shellcheck from check targets (diff) | |
download | dotfiles-83449d5b225647863af3aa2eba2b403575304a8a.tar.gz dotfiles-83449d5b225647863af3aa2eba2b403575304a8a.tar.xz |
etc/guix/home.scm: Add "gm2" package
-rw-r--r-- | etc/guix/home.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/guix/home.scm b/etc/guix/home.scm index 1504b40..3655dff 100644 --- a/etc/guix/home.scm +++ b/etc/guix/home.scm @@ -22,7 +22,9 @@ (guix packages) (guix utils)) (use-package-modules + flex freedesktop + gcc messaging python-build wm @@ -31,6 +33,28 @@ +(define gm2 + (package + (inherit gcc-14) + (arguments + (substitute-keyword-arguments (package-arguments gcc-14) + ((#:modules modules %default-gnu-modules) + (append + '((ice-9 regex) + (srfi srfi-1)) + modules)) + ((#:configure-flags flags) + #~(append + (list + "--enable-languages=m2") + (remove (lambda (s) + (string-match "--enable-languages.*" s)) + #$flags))))) + (native-inputs + (modify-inputs (package-native-inputs gcc-14) + (append flex))))) + + (define (slurp name) (string-trim-both (call-with-input-file @@ -456,6 +480,7 @@ ungoogled-chromium firefox)) (list + gm2 q:go-full) (list (script "cronjob" |