[fix] nvim: Rust 1.80.0 broke silicon
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s

Known issue, it won't be fixed. Programs just need to update to a new
version of `time-rs` (the affected dep).

Waiting for https://github.com/Aloxaf/silicon/pull/254 to land so I can
remove the dependency on the old version.
This commit is contained in:
Jalil David Salamé Messina 2024-08-16 22:02:23 +02:00
parent 117ad124b8
commit 2cdbd0e7dd
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 4 additions and 2 deletions

View file

@ -129,6 +129,7 @@
{ {
# Get unstable packages # Get unstable packages
unstable = unstablePkgs; unstable = unstablePkgs;
# Update vim plugins with the versions from unstable # Update vim plugins with the versions from unstable
vimPlugins = prev.vimPlugins // unstablePkgs.vimPlugins; vimPlugins = prev.vimPlugins // unstablePkgs.vimPlugins;
# Get specific packages from unstable # Get specific packages from unstable
@ -228,7 +229,7 @@
devShells = forEachSupportedSystem ( devShells = forEachSupportedSystem (
{ pkgs, system }: { pkgs, system }:
{ {
default = pkgs.mkShell { default = pkgs.mkShellNoCC {
buildInputs = [ buildInputs = [
pkgs.just pkgs.just
self.packages.${system}.nvim self.packages.${system}.nvim

View file

@ -53,7 +53,8 @@
]; ];
# Formatting & linters # Formatting & linters
extraPackages = [ extraPackages = [
pkgs.unstable.silicon # Rust 1.80.0 broke it, waiting for https://github.com/Aloxaf/silicon/pull/254 to be accepted
pkgs.silicon
pkgs.unstable.alejandra pkgs.unstable.alejandra
pkgs.unstable.luajitPackages.jsregexp pkgs.unstable.luajitPackages.jsregexp
pkgs.unstable.statix pkgs.unstable.statix