Skip to content

Commit

Permalink
Fix missing default package
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Jan 29, 2024
1 parent 68d828a commit 2c5c9c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
} @ inputs: let
forEachSystem = nixpkgs.lib.genAttrs (import systems);
in {
packages = forEachSystem (system: let
callPackage = nixpkgs.darwin.apple_sdk_11_0.callPackage or nixpkgs.legacyPackages.${system}.callPackage;
in {
default = callPackage ./. {
inherit (gomod2nix.legacyPackages.${system}) buildGoApplication;
};
});

devShells = forEachSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
Expand Down

0 comments on commit 2c5c9c1

Please sign in to comment.