Make compatible with new nixpkgs

master
Simon Bruder 2023-12-02 15:35:32 +01:00
parent 7c1bf207a8
commit 37f80d1593
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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";