fix(nvim): set useGlobalPackages
Some checks failed
/ check (nvimDev) (push) Failing after 2s
/ check (nvimHeadless) (push) Failing after 1s
/ check (nvimNoBundledBins) (push) Failing after 1s
/ check (nvimNoLsp) (push) Failing after 1s
/ check (nvimNoTSGrammars) (push) Failing after 2s
/ check (treefmt) (push) Successful in 3s
/ build (audiomenu) (push) Has been skipped
/ build (docs) (push) Has been skipped
/ build (jpassmenu) (push) Has been skipped
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Has been skipped
/ build (nvim) (push) Has been skipped
/ report-size (push) Has been skipped
Some checks failed
/ check (nvimDev) (push) Failing after 2s
/ check (nvimHeadless) (push) Failing after 1s
/ check (nvimNoBundledBins) (push) Failing after 1s
/ check (nvimNoLsp) (push) Failing after 1s
/ check (nvimNoTSGrammars) (push) Failing after 2s
/ check (treefmt) (push) Successful in 3s
/ build (audiomenu) (push) Has been skipped
/ build (docs) (push) Has been skipped
/ build (jpassmenu) (push) Has been skipped
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Has been skipped
/ build (nvim) (push) Has been skipped
/ report-size (push) Has been skipped
Otherwise it causes massive rebuilds T-T
This commit is contained in:
parent
6c02c01db6
commit
38c1fc89a7
3 changed files with 8 additions and 19 deletions
|
@ -1,23 +1,10 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
# Add unstable packages to overlay
|
||||
flake.overlays.unstable =
|
||||
final: prev:
|
||||
let
|
||||
unstablePkgs = inputs.unstable.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
# Get unstable packages
|
||||
unstable = unstablePkgs;
|
||||
|
||||
# Update vim plugins with the versions from unstable
|
||||
vimPlugins = prev.vimPlugins // unstablePkgs.vimPlugins;
|
||||
|
||||
# Get specific packages from unstable
|
||||
inherit (unstablePkgs)
|
||||
gitoxide
|
||||
jujutsu
|
||||
;
|
||||
};
|
||||
flake.overlays.unstable = final: prev: {
|
||||
unstable = inputs.unstable.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||
|
||||
# use unstable vimPlugins
|
||||
vimPlugins = prev.vimPlugins // final.unstable.vimPlugins;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ in
|
|||
packages = [
|
||||
pkgs.gopass
|
||||
pkgs.sshfs
|
||||
pkgs.gitoxide
|
||||
pkgs.unstable.gitoxide
|
||||
];
|
||||
# Extra variables
|
||||
sessionVariables = {
|
||||
|
@ -196,6 +196,7 @@ in
|
|||
# Jujutsu (alternative DVCS (git-compatible))
|
||||
jujutsu = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.jujutsu;
|
||||
settings = {
|
||||
ui.pager = "bat";
|
||||
# mimic git commit --verbose by adding a diff
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
config = {
|
||||
withRuby = false;
|
||||
nixpkgs.useGlobalPackages = true;
|
||||
globals.mapleader = " ";
|
||||
# Appearance
|
||||
colorschemes.gruvbox = {
|
||||
|
|
Loading…
Add table
Reference in a new issue