X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/9f4532133d9e812f492207d61eaa871043193a39..7fbbbc3e1431e8a20232febeb7f423c8b0304cc3:/flake.nix?ds=inline diff --git a/flake.nix b/flake.nix index 195cc33..4be7c77 100644 --- a/flake.nix +++ b/flake.nix @@ -10,21 +10,20 @@ ((import (nixpkgs + "/pkgs/top-level/release.nix") { }).stdenvBootstrapTools)); + in { + + overlay = final: prev: { git-cache = import ./. { pkgs = final; }; }; + overlays = { git-cache = self.overlay; }; + packages = for-supported-systems (system: { inherit (nixpkgs.legacyPackages."${system}".appendOverlays [ self.overlay ]) git-cache; }); - in { - inherit packages; - - overlay = final: prev: { git-cache = import ./. { pkgs = final; }; }; - overlays = { git-cache = self.overlay; }; - defaultApp = for-supported-systems (system: { type = "app"; - program = "${packages."${system}".git-cache}/bin/git-cache"; + program = "${self.packages."${system}".git-cache}/bin/git-cache"; }); }; }