diff --git a/flake.nix b/flake.nix index 11bb698..c3d1660 100644 --- a/flake.nix +++ b/flake.nix @@ -7,16 +7,16 @@ }; outputs = { self, nixpkgs, utils, naersk }: - utils.lib.eachDefaultSystem (system: + rec { + overlay = final: prev: { + ha-now-playing = final.callPackage ./.; + }; + } // utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; naersk-lib = pkgs.callPackage naersk { }; in rec { - overlay = final: prev: { - ha-now-playing = final.callPackage ./.; - }; - packages.ha-now-playing = naersk-lib.buildPackage { pname = "ha-now-playing"; root = ./.;