using correct syntax for effectiveStdenv default

This commit is contained in:
hutli 2024-03-04 12:53:18 +01:00
parent d12f2399ac
commit bc51e28cf4

View file

@ -31,7 +31,7 @@
useRocm ? config.rocmSupport,
useVulkan ? false,
llamaVersion ? "0.0.0", # Arbitrary version, substituted by the flake
effectiveStdenv = if useCuda then cudaPackages.backendStdenv else stdenv,
effectiveStdenv ? if useCuda then cudaPackages.backendStdenv else stdenv,
enableStatic ? effectiveStdenv.hostPlatform.isStatic
}@inputs: