Change output schema

This commit is contained in:
Kiana Sheibani 2023-01-24 13:21:58 -05:00
parent 1917fbf881
commit c5db685c8a
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -37,11 +37,11 @@
in
{
# Used by `nix build` & `nix run` (prod exe)
defaultPackage = project false;
packages.default = project false;
defaultApp = {
apps.default = {
type = "app";
program = "${self.defaultPackage.${system}}/bin/${execName}";
program = "${self.packages.${system}.default}/bin/${execName}";
};
# Used by `nix develop` (dev shell)