Make compatible with new nixpkgs
This commit is contained in:
parent
7c1bf207a8
commit
37f80d1593
|
@ -14,7 +14,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, flake-utils, nixpkgs, nix-pre-commit-hooks, poetry2nix }: {
|
outputs = { self, flake-utils, nixpkgs, nix-pre-commit-hooks, poetry2nix }: {
|
||||||
overlay = import ./default.nix;
|
overlays.default = import ./default.nix;
|
||||||
|
|
||||||
nixosModules =
|
nixosModules =
|
||||||
let
|
let
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [ self.overlay poetry2nix.overlay ]; # FIXME: remove poetry2nix when newer version is in nixpkgs
|
overlays = [ self.overlays.default poetry2nix.overlays.default ]; # FIXME: remove poetry2nix when newer version is in nixpkgs
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
|
|
|
@ -11,7 +11,7 @@ buildGoModule rec {
|
||||||
sha256 = "sha256-7UJhM/HLhRySTQ1lNLMgfKD9GDOivRMhGGNVLQknMLA=";
|
sha256 = "sha256-7UJhM/HLhRySTQ1lNLMgfKD9GDOivRMhGGNVLQknMLA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-qWYj/BCuY/995pLiBUoMtKvDV81j17c2GJeqhgBWn74=";
|
vendorHash = "sha256-qWYj/BCuY/995pLiBUoMtKvDV81j17c2GJeqhgBWn74=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Prometheus exporter for Hetzner Cloud";
|
description = "Prometheus exporter for Hetzner Cloud";
|
||||||
|
|
Loading…
Reference in a new issue