diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-04-11 15:46:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-11 15:46:09 +0200 |
| commit | c5ce9834d393fd354f4d787353839d814fcb68a7 (patch) | |
| tree | 656a99c93c60fd2ad438046ce7c1a084278e4ce8 | |
| parent | flake.lock: Update (#1308) (diff) | |
| download | sl0ppij-c5ce9834d393fd354f4d787353839d814fcb68a7.tar.gz sl0ppij-c5ce9834d393fd354f4d787353839d814fcb68a7.tar.xz sl0ppij-c5ce9834d393fd354f4d787353839d814fcb68a7.zip | |
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
| -rw-r--r-- | nix/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix index e672693f..b01ec11b 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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; + }; + }; +} |
