Compare commits
6 Commits
1fb2e8eac4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2d750b2d3 | ||
|
a4b6cbb6cb
|
|||
|
313bdb79d5
|
|||
|
b51f759b60
|
|||
|
|
c571819711 | ||
|
|
d3c8248137 |
14
base.scm
Normal file
14
base.scm
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
(specifications->manifest
|
||||||
|
(list "aspell"
|
||||||
|
"aspell-dict-en"
|
||||||
|
"direnv"
|
||||||
|
"direnv"
|
||||||
|
"fzf"
|
||||||
|
"git"
|
||||||
|
"glibc-locales"
|
||||||
|
"nordic-theme"
|
||||||
|
"nss-certs"
|
||||||
|
"st"
|
||||||
|
"tmux"
|
||||||
|
"util-linux"
|
||||||
|
"xsel"))
|
||||||
@@ -36,4 +36,10 @@
|
|||||||
"emacs-cider"
|
"emacs-cider"
|
||||||
"emacs-rspec"
|
"emacs-rspec"
|
||||||
"emacs-geiser"
|
"emacs-geiser"
|
||||||
"emacs-geiser-guile"))
|
"emacs-geiser-guile"
|
||||||
|
"emacs-guix"
|
||||||
|
"emacs-loop"
|
||||||
|
"emacs-caddyfile-mode"
|
||||||
|
"emacs-vterm"
|
||||||
|
"emacs-gptel"
|
||||||
|
"emacs-rufo"))
|
||||||
|
|||||||
7
guile.scm
Normal file
7
guile.scm
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
(specifications->manifest
|
||||||
|
(list "guile"
|
||||||
|
"guile-gnutls"
|
||||||
|
"guile-json"
|
||||||
|
"guile-equinix-metal"
|
||||||
|
"guile-dbi"
|
||||||
|
"guile-dbd-sqlite3"))
|
||||||
29
install.sh
Executable file
29
install.sh
Executable file
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
export GUIX_EXTRA_PROFILES="$HOME/.guix-extra-profiles"
|
||||||
|
|
||||||
|
maybe_mkdir $GUIX_EXTRA_PROFILES/emacs-libs
|
||||||
|
maybe_mkdir -p $GUIX_EXTRA_PROFILES/emacs-libs
|
||||||
|
maybe_mkdir -p $GUIX_EXTRA_PROFILES/java-libs
|
||||||
|
maybe_mkdir -p $GUIX_EXTRA_PROFILES/go-development-libs
|
||||||
|
|
||||||
|
guix package -m base.scm
|
||||||
|
guix package -m $PWD/emacs-manifest.scm --profile=$GUIX_EXTRA_PROFILES/emacs-libs/emacs-libs
|
||||||
|
guix package -m $PWD/java.scm --profile=$GUIX_EXTRA_PROFILES/java-libs/java-libs
|
||||||
|
guix package -m $PWD/golang.scm --profile=$GUIX_EXTRA_PROFILES/go-development/go-development
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
# Add this to the bashrc to source the emacs profile
|
||||||
|
|
||||||
|
for i in "$GUIX_EXTRA_PROFILES"/emacs-libs "$GUIX_EXTRA_PROFILES"/go-development; do
|
||||||
|
profile=$i/$(basename "$i")
|
||||||
|
if [ -f "$profile"/etc/profile ]; then
|
||||||
|
GUIX_PROFILE="$profile"
|
||||||
|
. "$GUIX_PROFILE"/etc/profile
|
||||||
|
fi
|
||||||
|
unset profile
|
||||||
|
done
|
||||||
|
|
||||||
|
# Restore default profile
|
||||||
|
GUIX_PROFILE="\$HOME/.guix-profile"
|
||||||
|
|
||||||
|
EOF
|
||||||
Reference in New Issue
Block a user