addDriverRunpath: fix for structuredAttrs

This commit is contained in:
Stefan Frijters
2025-12-14 14:20:33 +01:00
parent f405a798c3
commit 67d0a225c1
+1 -1
View File
@@ -5,7 +5,7 @@ stdenv.mkDerivation {
# Named "opengl-driver" for legacy reasons, but it is the path to
# hardware drivers installed by NixOS
driverLink = "/run/opengl-driver" + lib.optionalString stdenv.hostPlatform.isi686 "-32";
env.driverLink = "/run/opengl-driver" + lib.optionalString stdenv.hostPlatform.isi686 "-32";
buildCommand = ''
mkdir -p $out/nix-support