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 }: {
|
||||
overlay = import ./default.nix;
|
||||
overlays.default = import ./default.nix;
|
||||
|
||||
nixosModules =
|
||||
let
|
||||
|
@ -27,7 +27,7 @@
|
|||
let
|
||||
pkgs = import nixpkgs {
|
||||
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;
|
||||
};
|
||||
lib = pkgs.lib;
|
||||
|
|
|
@ -11,7 +11,7 @@ buildGoModule rec {
|
|||
sha256 = "sha256-7UJhM/HLhRySTQ1lNLMgfKD9GDOivRMhGGNVLQknMLA=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-qWYj/BCuY/995pLiBUoMtKvDV81j17c2GJeqhgBWn74=";
|
||||
vendorHash = "sha256-qWYj/BCuY/995pLiBUoMtKvDV81j17c2GJeqhgBWn74=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter for Hetzner Cloud";
|
||||
|
|
Loading…
Reference in a new issue