forked from the-distro/nix-gerrit
.reuse | ||
buildBazelPackageNG | ||
gerrit | ||
LICENSES | ||
plugins | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
README.md | ||
shell.nix |
nix-gerrit
Lix expressions for building Gerrit Code Review
Note that this is not and is not intended to be a fully vanilla Gerrit builder. This set of Gerrit expressions contains some patches that deviate from upstream. Be warned and review carefully!
Gerrit
Gerrit can be built with
nix-build -A gerrit
# or, if you're feeling flake-y:
nix build
Gerrit Plugins
OAuth
The out-of-tree Gerrit OAuth2 plugin is available.
nix-build -A plugins.oauth
# or
nix build '.#plugins.oauth'
Code-Owners
The out-of-tree Gerrit Code-Owners plugin is available.
nix-build -A plugins.code-owners
# or
nix build '.#plugins.code-owners'
Building everything at once
Everything in the tree can be built at once using the ci
expressiong:
nix-build -A ci
# or
nix build '.#ci'