Skip to content

Commit d12f239

Browse files
committed
using enableStatic to determine glibc dependency
1 parent 3cfb0f0 commit d12f239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devops/nix/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ effectiveStdenv.mkDerivation (
171171
# once https://github.com/NixOS/nixpkgs/pull/275241 has been merged
172172
cudaPackages.autoAddOpenGLRunpathHook
173173
]
174-
++ optionals buildStatic [
174+
++ optionals (effectiveStdenv.hostPlatform.isGnu && enableStatic) [
175175
glibc.static
176176
];
177177

0 commit comments

Comments
 (0)