Fix flake overlay
This commit is contained in:
parent
553d4d8760
commit
b438fcf635
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
@ -7,16 +7,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, utils, naersk }:
|
outputs = { self, nixpkgs, utils, naersk }:
|
||||||
utils.lib.eachDefaultSystem (system:
|
rec {
|
||||||
|
overlay = final: prev: {
|
||||||
|
ha-now-playing = final.callPackage ./.;
|
||||||
|
};
|
||||||
|
} // utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
naersk-lib = pkgs.callPackage naersk { };
|
naersk-lib = pkgs.callPackage naersk { };
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
overlay = final: prev: {
|
|
||||||
ha-now-playing = final.callPackage ./.;
|
|
||||||
};
|
|
||||||
|
|
||||||
packages.ha-now-playing = naersk-lib.buildPackage {
|
packages.ha-now-playing = naersk-lib.buildPackage {
|
||||||
pname = "ha-now-playing";
|
pname = "ha-now-playing";
|
||||||
root = ./.;
|
root = ./.;
|
||||||
|
|
Loading…
Reference in a new issue