Skip to content

Commit db22ce3

Browse files
hutliphiliptaron
andauthored
using host platform isStatic as default value for "enableStatic"
Co-authored-by: Philip Taron <[email protected]>
1 parent bf11052 commit db22ce3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devops/nix/package.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
useRocm ? config.rocmSupport,
3232
useVulkan ? false,
3333
llamaVersion ? "0.0.0", # Arbitrary version, substituted by the flake
34-
buildStatic ? false,
34+
effectiveStdenv = if useCuda then cudaPackages.backendStdenv else stdenv,
35+
enableStatic ? effectiveStdenv.hostPlatform.isStatic
3536
}@inputs:
3637

3738
let

0 commit comments

Comments
 (0)