From b24c75d1ebcd9667daa075bfa40903f92527f362 Mon Sep 17 00:00:00 2001 From: Andrey Onischenko <100789522+cucumber-sp@users.noreply.github.com> Date: Tue, 25 Feb 2025 14:38:01 +0300 Subject: [PATCH] Test generate_packages.py --- utility/generate_packages.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utility/generate_packages.py b/utility/generate_packages.py index 429cc77..97a2758 100644 --- a/utility/generate_packages.py +++ b/utility/generate_packages.py @@ -40,7 +40,9 @@ def generate_arch(): # Nix def is_nix_version_2_19(): - version = subprocess.run(["nix", "--version"], capture_output=True, text=True).stdout.split()[2] + version_raw = subprocess.run(["nix", "--version"], capture_output=True, text=True).stdout + print(version_raw) + version = version_raw.split()[2] print(f"Nix version: {version}") major, minor, _ = map(int, version.split(".")) if major > 2 or (minor >= 19 and major == 2):