From c5ce9834d393fd354f4d787353839d814fcb68a7 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 11 Apr 2022 15:46:09 +0200 Subject: [PATCH] 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 --- nix/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nix/default.nix b/nix/default.nix index e672693fc..b01ec11b7 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; + }; + }; +}