diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-02-19 16:14:26 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-02-19 16:14:26 +0300 |
commit | 2afee7bba276390192a0c22b9f708d5f1052e0a0 (patch) | |
tree | 77cb8f93591c9805c84572283acf26bc7a4cd94f /flake.nix | |
parent | some ci stuff whatevs (diff) |
lmao
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 10 |
1 files changed, 6 insertions, 4 deletions
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}; }; + }); } |