diff --git a/modules/roagen.nix b/modules/roagen.nix index 9afbf34..ebcad42 100644 --- a/modules/roagen.nix +++ b/modules/roagen.nix @@ -33,11 +33,11 @@ in cd /tmp if [ -e registry ]; then - git clone --depth=1 https://git.dn42.dev/dn42/registry.git + ${lib.getExe pkgs.git} clone --depth=1 https://git.dn42.dev/dn42/registry.git cd registry else cd registry - git pull --depth=1 + ${lib.getExe pkgs.git} pull --depth=1 fi mkdir -p '${cfg.outputDir}'