python3Packages.warp-lang: pass custom stdenv to buildPythonApplication with an override

Passing `stdenv` directly to `buildPythonPackage` or `buildPythonApplication`
is deprecated with `oldestSupportedRelease = 2511`.
This commit is contained in:
Leona Maroni
2026-01-03 00:13:17 +01:00
parent 5e028cc703
commit 5f4c3b6941
@@ -43,7 +43,7 @@ let
libmathdx = callPackage ./libmathdx.nix { };
in
buildPythonPackage {
buildPythonPackage.override { stdenv = effectiveStdenv; } {
pname = "warp-lang";
inherit version;
pyproject = true;
@@ -53,8 +53,6 @@ buildPythonPackage {
# provided by NVCC.
__structuredAttrs = true;
stdenv = effectiveStdenv;
src = fetchFromGitHub {
owner = "NVIDIA";
repo = "warp";