Changed neovim configuration to build using gcc 12

This commit is contained in:
Ryan Schanzenbacher 2023-04-20 18:17:46 -04:00
parent 26b27dd9c4
commit 18357af871
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -6,22 +6,35 @@
(use-modules (gnu home) (use-modules (gnu home)
(gnu packages) (gnu packages)
(gnu packages vim)
(gnu packages gcc)
(gnu services) (gnu services)
(guix packages)
(guix gexp) (guix gexp)
(gnu home services shells)) (gnu home services shells)
(gnu home services))
(define my-neovim
(package
(inherit neovim)
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))
(home-environment (home-environment
;; Below is the list of packages that will show up in your ;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile. ;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "bat" (packages (append (specifications->packages (list "bat"
"qrencode" "qrencode"
"binutils"
"gcc-toolchain"
"libreoffice" "libreoffice"
"flatpak" "flatpak"
"gnupg" "gnupg"
"lsof" "lsof"
"pavucontrol" "pavucontrol"
"bind:utils" "bind:utils"
;"firefox" "firefox"
"irssi" "irssi"
"font-cns11643" "font-cns11643"
"syncthing" "syncthing"
@ -31,11 +44,14 @@
"alacritty" "alacritty"
"htop" "htop"
"curl" "curl"
"neovim" ;"my-neovim"
"weechat" "weechat"
"icedove-minimal" "icedove-minimal"
"gimp" "gimp"
"git"))) "python"
"sqlite"
"git"))
(list my-neovim)))
;; Below is the list of Home services. To search for available ;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal. ;; services, run 'guix home search KEYWORD' in a terminal.
@ -43,10 +59,16 @@
(list (service home-bash-service-type (list (service home-bash-service-type
(home-bash-configuration (home-bash-configuration
(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
("ls" . "ls -p --color=auto"))) ("ls" . "ls -p --color=auto")
("python" . "python3")))
(bashrc (list (local-file (bashrc (list (local-file
"/home/ryan/.config/guix/home-config/.bashrc" "/home/ryan/.config/guix/home-config/bashrc"
"bashrc"))) "bashrc")))
(bash-profile (list (local-file (bash-profile (list (local-file
"/home/ryan/.config/guix/home-config/.bash_profile" "/home/ryan/.config/guix/home-config/bash_profile"
"bash_profile")))))))) "bash_profile")))))
(service home-xdg-configuration-files-service-type
`(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) ))
(service home-files-service-type
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) )))))