X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/9f4532133d9e812f492207d61eaa871043193a39..604501ec2e4bb2e8d39a1d16d8c38bf8069410da:/flake.nix?ds=sidebyside 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"; }); }; }