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, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
# Add unstable packages to overlay
|
# Add unstable packages to overlay
|
||||||
flake.overlays.unstable =
|
flake.overlays.unstable = final: prev: {
|
||||||
final: prev:
|
unstable = inputs.unstable.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||||
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
|
|
||||||
;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
# use unstable vimPlugins
|
||||||
|
vimPlugins = prev.vimPlugins // final.unstable.vimPlugins;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ in
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.gopass
|
pkgs.gopass
|
||||||
pkgs.sshfs
|
pkgs.sshfs
|
||||||
pkgs.gitoxide
|
pkgs.unstable.gitoxide
|
||||||
];
|
];
|
||||||
# Extra variables
|
# Extra variables
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
@ -196,6 +196,7 @@ in
|
||||||
# Jujutsu (alternative DVCS (git-compatible))
|
# Jujutsu (alternative DVCS (git-compatible))
|
||||||
jujutsu = {
|
jujutsu = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.unstable.jujutsu;
|
||||||
settings = {
|
settings = {
|
||||||
ui.pager = "bat";
|
ui.pager = "bat";
|
||||||
# mimic git commit --verbose by adding a diff
|
# mimic git commit --verbose by adding a diff
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
withRuby = false;
|
withRuby = false;
|
||||||
|
nixpkgs.useGlobalPackages = true;
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
# Appearance
|
# Appearance
|
||||||
colorschemes.gruvbox = {
|
colorschemes.gruvbox = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue