Skip to content

Commit

Permalink
Update flake.nix default package
Browse files Browse the repository at this point in the history
  • Loading branch information
vlinkz committed Feb 21, 2023
1 parent 0174ad2 commit 362bb15
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
in
rec
{
packages.${name} = pkgs.callPackage ./default.nix {
inherit (inputs);
};
packages.${name} = pkgs.callPackage ./default.nix { };

# `nix build`
defaultPackage = packages.${name};
defaultPackage = packages.${name}; # legacy
packages.default = packages.${name};

# `nix run`
apps.${name} = utils.lib.mkApp {
Expand Down

0 comments on commit 362bb15

Please sign in to comment.