X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/9f4532133d9e812f492207d61eaa871043193a39..626e7072cf8ced5481706013462e81a4970cf4dc:/flake.nix 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"; }); }; }