mirror of
https://github.com/vlinkz/nix-software-center.git
synced 2024-09-11 21:37:38 +03:00
Merge pull request #23 from SuperSandro2000/flake-packages.default
Use new flake default package attr
This commit is contained in:
commit
ea7fa1f3bc
@ -20,12 +20,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user