add(nix): overlays for zellij to flake outputs (#1312)

Add `overlays` to the flake outputs.

- the `default` `overlay` supplies the package with the `zellij` name
- the `nightly` `overlay` supplies the package with the `zellij-nightly` name
This commit is contained in:
a-kenji 2022-04-11 15:46:09 +02:00 committed by GitHub
parent a9f39b85e8
commit c5ce9834d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,3 +185,13 @@ in rec {
devShell = devShells.zellij;
})
// rec {
overlays = {
default = final: prev: rec {
zellij = self.packages.${prev.system}.zellij;
};
nightly = final: prev: rec {
zellij-nightly = self.packages.${prev.system}.zellij;
};
};
}