From aaefce588b4cb2bc3b52ce36fce1f8d9b456c9a8 Mon Sep 17 00:00:00 2001 From: Arne Weiss Date: Sun, 15 Jan 2023 16:42:18 +0100 Subject: [PATCH] generalized wrapper --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index e1c5c74..ceaf3d0 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "Script to refresh the Quantum Go DNS server"; + description = "Porkbun's minimalist dynamic DNS client."; inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-21.11; inputs.pbddns.url = github:skoobasteeve/porkbun-dynamic-dns-python/ddns-no-delete-unless-change; @@ -15,8 +15,7 @@ py3 = python3.withPackages (p: [p.requests]); buildInputs = [ py3 refreshDns ]; refreshDns = pkgs.writeShellScriptBin "porkbun-ddns" '' - ${py3}/bin/python3 ${pbddns}/porkbun-ddns.py $1 quantumgo.net - ${py3}/bin/python3 ${pbddns}/porkbun-ddns.py $1 quantumgo.net test + ${py3}/bin/python3 ${pbddns}/porkbun-ddns.py $1 $2 $3 ''; # buildPhase = "gcc -o hello ./hello.c"; installPhase = ''