From 9e9d6404ac0dc3c130be03dfd3543981db62c0dd Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 31 Oct 2023 16:15:36 +0000 Subject: [PATCH] Use python3 instead of python310 --- nixos/modules/pdns.nix | 2 +- nixos/modules/tmproot.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/pdns.nix b/nixos/modules/pdns.nix index 231829c..ed21133 100644 --- a/nixos/modules/pdns.nix +++ b/nixos/modules/pdns.nix @@ -203,7 +203,7 @@ let print(ex_fr.sub(fr, ex_ptr.sub(ptr, line)), end=''') ''; } '' - ${pkgs.python310}/bin/python "$scriptPath" < "${s}" > "$out" + ${pkgs.python3}/bin/python "$scriptPath" < "${s}" > "$out" ''; zones = pkgs.linkFarm "pdns-bind-zones" (mapAttrsToList (n: o: rec { name = "${n}.zone"; diff --git a/nixos/modules/tmproot.nix b/nixos/modules/tmproot.nix index 15e75ad..d802157 100644 --- a/nixos/modules/tmproot.nix +++ b/nixos/modules/tmproot.nix @@ -10,7 +10,7 @@ let showUnsaved = '' - #!${pkgs.python310}/bin/python + #!${pkgs.python3}/bin/python import stat import sys import os