From 7eecd60faf4462a352c9d600d7b9acccb8bc4fa3 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 22 Nov 2026 16:53:06 -0500 Subject: [PATCH] cudaPackages.writeGpuTestPython: support structured attributes Assisted-by: Pi (gpt-6.2-sol) --- pkgs/development/cuda-modules/packages/writeGpuTestPython.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/cuda-modules/packages/writeGpuTestPython.nix b/pkgs/development/cuda-modules/packages/writeGpuTestPython.nix index ea7a52e6fe2c..694eabb67396 100644 --- a/pkgs/development/cuda-modules/packages/writeGpuTestPython.nix +++ b/pkgs/development/cuda-modules/packages/writeGpuTestPython.nix @@ -1,6 +1,7 @@ { lib, runCommand, + writeText, python3Packages, makeWrapper, writableTmpDirAsHomeHook, @@ -35,9 +36,8 @@ let "name" ] // { - inherit content; + contentPath = writeText "${name}.py" content; nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [ makeWrapper ]; - passAsFile = args.passAsFile or [ ] ++ [ "content" ]; } ) ''