From b438fcf6350f41a52e67e65fee536960bae103b7 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Sat, 20 Nov 2021 21:07:29 +0100 Subject: [PATCH] Fix flake overlay --- flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 = ./.;