Changed neovim configuration to build using gcc 12

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

View file

@ -6,36 +6,52 @@
(use-modules (gnu home)
(gnu packages)
(gnu packages vim)
(gnu packages gcc)
(gnu services)
(guix packages)
(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
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "bat"
"qrencode"
"libreoffice"
"flatpak"
"gnupg"
"lsof"
"pavucontrol"
"bind:utils"
;"firefox"
"irssi"
"font-cns11643"
"syncthing"
"perl"
"tor"
"unzip"
"alacritty"
"htop"
"curl"
"neovim"
"weechat"
"icedove-minimal"
"gimp"
"git")))
(packages (append (specifications->packages (list "bat"
"qrencode"
"binutils"
"gcc-toolchain"
"libreoffice"
"flatpak"
"gnupg"
"lsof"
"pavucontrol"
"bind:utils"
"firefox"
"irssi"
"font-cns11643"
"syncthing"
"perl"
"tor"
"unzip"
"alacritty"
"htop"
"curl"
;"my-neovim"
"weechat"
"icedove-minimal"
"gimp"
"python"
"sqlite"
"git"))
(list my-neovim)))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
@ -43,10 +59,16 @@
(list (service home-bash-service-type
(home-bash-configuration
(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
("ls" . "ls -p --color=auto")))
("ls" . "ls -p --color=auto")
("python" . "python3")))
(bashrc (list (local-file
"/home/ryan/.config/guix/home-config/.bashrc"
"/home/ryan/.config/guix/home-config/bashrc"
"bashrc")))
(bash-profile (list (local-file
"/home/ryan/.config/guix/home-config/.bash_profile"
"bash_profile"))))))))
"/home/ryan/.config/guix/home-config/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")) )))))