diff --git a/nix/packages/ionos-dyndns.nix b/nix/packages/ionos-dyndns.nix index 8a540dd..d907c30 100644 --- a/nix/packages/ionos-dyndns.nix +++ b/nix/packages/ionos-dyndns.nix @@ -1,9 +1,16 @@ { fetchFromGitHub, + lib, makeWrapper, stdenv, # Runtime Dependencies - python3 + python3, + # grep + gnugrep, + # ip + iproute2, + # hostname + hostname }: let pythonWithDeps = python3.withPackages (p: [p.requests]); @@ -24,6 +31,7 @@ in stdenv.mkDerivation rec { install -Dm755 $src/ionos_dyndns.py $out/lib/ionos_dyndns.py makeWrapper ${pythonWithDeps}/bin/python3 $out/bin/ionos-dyndns \ + --set PATH ${lib.makeBinPath [ iproute2 gnugrep hostname ]} \ --add-flags $out/lib/ionos_dyndns.py ''; }