From 537640e240ca9248a1fcb4c305854dbda6e89394 Mon Sep 17 00:00:00 2001 From: NotJustAnyUsername Date: Mon, 22 Jun 2026 13:20:12 +0100 Subject: [PATCH] build: set PYTHON explicitly in nix flake so that the docs build Changelog-None --- nix/pkgs/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index fb1663c19cba..527009f07610 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -20,9 +20,10 @@ stdenv.mkDerivation { makeFlags = [ "VERSION=${version}" "MTIME=${self.lastModifiedDate}" - "NO_PYTHON=1" ]; + env.PYTHON = "${py3}/bin/python3"; + # when building on darwin we need cctools to provide the correct libtool # as libwally-core detects the host as darwin and tries to add the -static # option to libtool, also we have to add the modified gsed package.