From 2c5c9c14ec57c47181ad7b320aa1f0b0dcbdc414 Mon Sep 17 00:00:00 2001 From: Adriano Caloiaro Date: Mon, 29 Jan 2024 12:41:58 -0700 Subject: [PATCH] Fix missing default package --- flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index 9d1ebe8..07a0b9a 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {