Skip to content

Commit

Permalink
[fix] nvim: Rust 1.80.0 broke silicon
Browse files Browse the repository at this point in the history
Known issue, it won't be fixed. Programs just need to update to a new
version of `time-rs` (the affected dep).

Waiting for Aloxaf/silicon#254 to land so I can
remove the dependency on the old version.
  • Loading branch information
jalil-salame committed Aug 16, 2024
1 parent 117ad12 commit 2cdbd0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
{
# Get unstable packages
unstable = unstablePkgs;

# Update vim plugins with the versions from unstable
vimPlugins = prev.vimPlugins // unstablePkgs.vimPlugins;
# Get specific packages from unstable
Expand Down Expand Up @@ -228,7 +229,7 @@
devShells = forEachSupportedSystem (
{ pkgs, system }:
{
default = pkgs.mkShell {
default = pkgs.mkShellNoCC {
buildInputs = [
pkgs.just
self.packages.${system}.nvim
Expand Down
3 changes: 2 additions & 1 deletion nvim/standalone.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
];
# Formatting & linters
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.luajitPackages.jsregexp
pkgs.unstable.statix
Expand Down

0 comments on commit 2cdbd0e

Please sign in to comment.