Set strictDeps to true on all our packages

This commit is contained in:
2025-12-09 12:23:05 +01:00
parent dda6a66782
commit de6124f8ca
26 changed files with 33 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
stdenv.mkDerivation (finalAttrs: {
name = "cudainfo";
src = ./.;
strictDeps = true;
buildInputs = [
cudatoolkit # Required for nvcc
(lib.getOutput "static" cudaPackages.cuda_cudart) # Required for -lcudart_static
@@ -23,6 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
name = "cudainfo-test";
requiredSystemFeatures = [ "cuda" ];
dontBuild = true;
strictDeps = true;
nativeCheckInputs = [
finalAttrs.finalPackage # The cudainfo package from above
strace # When it fails, it will show the trace