Replies: 1 comment 1 reply
-
|
Got it let
system = builtins.currentSystem;
nixvim = import (fetchGit {
url = "https://github.com/nix-community/nixvim";
});
pkgs = import nixvim.inputs.nixpkgs {
inherit system;
config.allowUnfreePredicate =
pkg:
builtins.elem (pkgs.lib.getName pkg) [
"git-conflict.nvim"
];
};
configuration = nixvim.lib.evalNixvim {
extraSpecialArgs = {
inherit pkgs;
};
inherit system;
modules = [
{
plugins.git-conflict.enable = true;
}
];
};
in
configuration.config.build.package |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
default.nix:Error message of
nix-build:Where should it be put at?
I guess
extraSpecialArgsshould be used but don't know actually how.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions