From 2afee7bba276390192a0c22b9f708d5f1052e0a0 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 19 Feb 2022 16:14:26 +0300 Subject: lmao --- flake.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 985cc57..39a96f9 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,9 @@ ]); }; in { - defaultPackage = project false; + packages.${name} = project false; + + defaultPackage = self.packages.${system}.${name}; checks.preCommit = pre-commit-hooks.lib.${system}.run { src = ./.; @@ -102,7 +104,7 @@ }; devShell = self.devShells.${system}.dev; - }) // { - overlay = _: _: { ${name} = self.defaultPackage; }; - }; + + overlay = _: _: { ${name} = self.defaultPackage.${system}; }; + }); } -- cgit 1.4.1