akinsho / akinsho/git-conflict.nvim

Add license to plugin

Aperta
#128 0 commenti 7 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Lua
Stelle
1.4k
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As of this evening, when I tried to build my Neovim config with this plugin using [Nixvim](https://github.com/nix-community/nixvim), I got an error because this plugin has no license:

Trying to build Nixvim config fails because `git-conflict.nvim` lacks a license

```none
error: Refusing to evaluate package 'vimplugin-git-conflict.nvim-2.1.0' in /nix/store/ps8fhbglachs62pf47aw3rzx8zfij8sp-source/pkgs/applications/editors/vim/plugins/overrides.nix:1574 because it has an unfree license (‘unfree’)
a) To temporarily allow unfree packages, you can use an environment variable
for a single invocation of the nix tools.

$ export NIXPKGS_ALLOW_UNFREE=1

Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.

b) For `nixos-rebuild` you can set
{ nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

Alternatively you can configure a predicate to allow specific packages:
{ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"git-conflict.nvim"
];
}

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.
```

@akinsho when you get a chance, would you mind adding a license to this plugin? Thank you! :)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.