Skip to content

Commit 6b20125

Browse files
committed
fix: replace defaultApp with apps.default
1 parent fafe5b7 commit 6b20125

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

flake.nix

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@
88

99
outputs = { self, flake-utils, nixpkgs }:
1010
flake-utils.lib.eachDefaultSystem (system:
11-
let
12-
pkgs = nixpkgs.legacyPackages.${system};
13-
in
14-
rec {
11+
let pkgs = nixpkgs.legacyPackages.${system};
12+
in rec {
1513
packages.gradle2nix = import ./default.nix { inherit pkgs; };
1614
defaultPackage = packages.gradle2nix;
1715

18-
apps.gradle2nix = {
16+
apps.default = {
1917
type = "app";
2018
program = "${packages.gradle2nix}/bin/gradle2nix";
2119
};
22-
defaultApp = apps.gradle2nix;
23-
}
24-
);
20+
});
2521
}

0 commit comments

Comments
 (0)