Skip to content

Commit bfc8c1a

Browse files
committed
flake.nix: defaultPackages.<system> -> packages.<system>.default
1 parent 8a835e2 commit bfc8c1a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

flake.nix

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@
4242

4343
//
4444

45-
lib.foldl' lib.recursiveUpdate {} (lib.forEach supportedSystems (system: rec {
45+
lib.foldl' lib.recursiveUpdate {} (lib.forEach supportedSystems (system: {
4646

47-
packages."${system}".nixos-shell = import ./default.nix {
48-
pkgs = inp.nixpkgs.legacyPackages."${system}";
49-
};
47+
packages."${system}" = {
48+
nixos-shell = import ./default.nix {
49+
pkgs = inp.nixpkgs.legacyPackages."${system}";
50+
};
5051

51-
defaultPackage."${system}" = packages."${system}".nixos-shell;
52+
default = inp.self.packages."${system}".nixos-shell;
53+
};
5254

5355
}));
5456
}

0 commit comments

Comments
 (0)