Commit 498d57b2 authored by Qubasa's avatar Qubasa
Browse files

ddns-updater: Fix stuck-in-dns-resolver error

parent efff5149
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  buildGoModule,
  fetchFromGitHub,
  lib,
  makeWrapper,
  nixosTests,
  nix-update-script,
}:
@@ -25,6 +26,13 @@ buildGoModule rec {

  subPackages = [ "cmd/ddns-updater" ];

  nativeBuildInputs = [ makeWrapper ];

  postInstall = ''
    wrapProgram $out/bin/ddns-updater \
      --set GODEBUG "netdns=go"
  '';

  passthru = {
    tests = {
      inherit (nixosTests) ddns-updater;