Compare commits
2 commits
6591b76532
...
eb589c659e
Author | SHA1 | Date | |
---|---|---|---|
Luke Granger-Brown | eb589c659e | ||
Luke Granger-Brown | d22de1f8f2 |
|
@ -82,7 +82,9 @@ let
|
||||||
bazelPhase = "build";
|
bazelPhase = "build";
|
||||||
|
|
||||||
inherit deps;
|
inherit deps;
|
||||||
passthru.shell = shell;
|
passthru = (base.passthru or {}) // {
|
||||||
|
inherit shell;
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = (base.nativeBuildInputs or []) ++ [
|
nativeBuildInputs = (base.nativeBuildInputs or []) ++ [
|
||||||
coreutils
|
coreutils
|
||||||
|
|
13
flake.nix
13
flake.nix
|
@ -14,9 +14,20 @@
|
||||||
in {
|
in {
|
||||||
packages = forAllSystems (system: let
|
packages = forAllSystems (system: let
|
||||||
pkgSet = import ./default.nix { pkgs = nixpkgs.legacyPackages."${system}"; };
|
pkgSet = import ./default.nix { pkgs = nixpkgs.legacyPackages."${system}"; };
|
||||||
in pkgSet // { default = pkgSet.gerrit; });
|
in {
|
||||||
|
default = pkgSet.gerrit;
|
||||||
|
inherit (pkgSet) gerrit;
|
||||||
|
inherit (pkgSet.plugins) oauth code-owners;
|
||||||
|
});
|
||||||
|
|
||||||
devShells = forAllSystems (system: {
|
devShells = forAllSystems (system: {
|
||||||
default = import ./shell.nix { pkgs = nixpkgs.legacyPackages."${system}"; };
|
default = import ./shell.nix { pkgs = nixpkgs.legacyPackages."${system}"; };
|
||||||
});
|
});
|
||||||
|
|
||||||
|
overlays.default = final: prev: {
|
||||||
|
gerritPkgs = import ./default.nix { pkgs = final; };
|
||||||
|
gerrit = final.gerritPkgs.gerrit;
|
||||||
|
gerritPlugins = final.gerritPkgs.plugins;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue