Fix flake overlay

This commit is contained in:
Erwin Boskma 2021-11-20 21:07:29 +01:00
parent 553d4d8760
commit b438fcf635
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -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 = ./.;