diff --git a/pkgs/amd-uprof/default.nix b/pkgs/amd-uprof/default.nix index 6f566c8..7c7982d 100644 --- a/pkgs/amd-uprof/default.nix +++ b/pkgs/amd-uprof/default.nix @@ -47,6 +47,7 @@ in inherit version; src = uprofSrc; dontStrip = true; + strictDeps = true; phases = [ "installPhase" "fixupPhase" ]; nativeBuildInputs = [ autoPatchelfHook radare2 ]; buildInputs = [ diff --git a/pkgs/amd-uprof/driver.nix b/pkgs/amd-uprof/driver.nix index dc0d86d..0e9113e 100644 --- a/pkgs/amd-uprof/driver.nix +++ b/pkgs/amd-uprof/driver.nix @@ -18,6 +18,7 @@ in stdenv.mkDerivation { set +x ''; hardeningDisable = [ "pic" "format" ]; + strictDeps = true; nativeBuildInputs = kernel.moduleBuildDependencies; patches = [ ./makefile.patch ./hrtimer.patch ./remove-wr-rdmsrq.patch ]; makeFlags = [ diff --git a/pkgs/bench6/default.nix b/pkgs/bench6/default.nix index 93ad811..66222be 100644 --- a/pkgs/bench6/default.nix +++ b/pkgs/bench6/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { ]; hardeningDisable = [ "all" ]; dontStrip = true; + strictDeps = true; meta = { homepage = "https://gitlab.pm.bsc.es/rarias/bench6"; diff --git a/pkgs/bigotes/default.nix b/pkgs/bigotes/default.nix index 2341b15..9007011 100644 --- a/pkgs/bigotes/default.nix +++ b/pkgs/bigotes/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ cmake ]; + strictDeps = true; + meta = { homepage = "https://github.com/rodarima/bigotes"; description = "Versatile benchmark tool"; diff --git a/pkgs/cudainfo/default.nix b/pkgs/cudainfo/default.nix index 1f6165a..88d3941 100644 --- a/pkgs/cudainfo/default.nix +++ b/pkgs/cudainfo/default.nix @@ -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 diff --git a/pkgs/gpi-2/default.nix b/pkgs/gpi-2/default.nix index 428a270..07a08c9 100644 --- a/pkgs/gpi-2/default.nix +++ b/pkgs/gpi-2/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { }; enableParallelBuilding = true; + strictDeps = true; patches = [ ./rdma-core.patch ./max-mem.patch ]; diff --git a/pkgs/intel-oneapi/2023.nix b/pkgs/intel-oneapi/2023.nix index 4824c10..c3083b7 100644 --- a/pkgs/intel-oneapi/2023.nix +++ b/pkgs/intel-oneapi/2023.nix @@ -128,6 +128,7 @@ let phases = [ "installPhase" "fixupPhase" ]; dontStrip = true; + strictDeps = true; installPhase = '' mkdir -p $out/{bin,etc,lib,include} mkdir -p $out/share/man @@ -179,6 +180,7 @@ let ]; phases = [ "installPhase" "fixupPhase" ]; dontStrip = true; + strictDeps = true; autoPatchelfIgnoreMissingDeps = [ "libhwloc.so.5" ]; @@ -222,6 +224,7 @@ let ]; phases = [ "installPhase" "fixupPhase" ]; dontStrip = true; + strictDeps = true; autoPatchelfIgnoreMissingDeps = [ "libsycl.so.6" ]; @@ -289,6 +292,7 @@ let phases = [ "installPhase" "fixupPhase" ]; dontStrip = true; + strictDeps = true; installPhase = '' mkdir -p $out/{bin,lib,include} @@ -377,6 +381,7 @@ let phases = [ "installPhase" "fixupPhase" ]; dontStrip = true; + strictDeps = true; installPhase = '' mkdir -p $out/{bin,lib} diff --git a/pkgs/llvm-ompss2/clang.nix b/pkgs/llvm-ompss2/clang.nix index d1c16ae..05af0f2 100644 --- a/pkgs/llvm-ompss2/clang.nix +++ b/pkgs/llvm-ompss2/clang.nix @@ -48,6 +48,7 @@ in stdenv.mkDerivation { inherit (source) src version; enableParallelBuilding = true; + strictDeps = true; passthru = { CC = "clang"; diff --git a/pkgs/llvm-ompss2/openmp.nix b/pkgs/llvm-ompss2/openmp.nix index df1887e..653a0b0 100644 --- a/pkgs/llvm-ompss2/openmp.nix +++ b/pkgs/llvm-ompss2/openmp.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { dontStrip = enableDebug; separateDebugInfo = true; + strictDeps = true; cmakeFlags = [ "-DLIBOMP_OMPD_SUPPORT=OFF" diff --git a/pkgs/lmbench/default.nix b/pkgs/lmbench/default.nix index 4e887b0..a64c8b6 100644 --- a/pkgs/lmbench/default.nix +++ b/pkgs/lmbench/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "all" ]; enableParallelBuilding = false; + strictDeps = true; preBuild = '' makeFlagsArray+=( diff --git a/pkgs/meteocat-exporter/default.nix b/pkgs/meteocat-exporter/default.nix index 470d658..98f7862 100644 --- a/pkgs/meteocat-exporter/default.nix +++ b/pkgs/meteocat-exporter/default.nix @@ -9,6 +9,7 @@ python3Packages.buildPythonApplication { src = ./.; doCheck = false; + strictDeps = true; build-system = with python3Packages; [ setuptools diff --git a/pkgs/mpich/default.nix b/pkgs/mpich/default.nix index ec2eede..d7141d1 100644 --- a/pkgs/mpich/default.nix +++ b/pkgs/mpich/default.nix @@ -53,6 +53,7 @@ in mpich.overrideAttrs (old: { ''; hardeningDisable = [ "all" ]; + strictDeps = true; meta = old.meta // { maintainers = old.meta.maintainers ++ (with lib.maintainers.bsc; [ rarias ]); diff --git a/pkgs/nanos6/default.nix b/pkgs/nanos6/default.nix index c32df66..c2210e9 100644 --- a/pkgs/nanos6/default.nix +++ b/pkgs/nanos6/default.nix @@ -95,6 +95,8 @@ in dontStrip = enableDebug; separateDebugInfo = true; + strictDeps = true; + nativeBuildInputs = [ autoconf automake diff --git a/pkgs/nixgen/default.nix b/pkgs/nixgen/default.nix index 455556b..1801db6 100644 --- a/pkgs/nixgen/default.nix +++ b/pkgs/nixgen/default.nix @@ -8,6 +8,7 @@ stdenv.mkDerivation { version = "0.0.1"; src = ./nixgen; dontUnpack = true; + strictDeps = true; phases = [ "installPhase" ]; installPhase = '' mkdir -p $out/bin diff --git a/pkgs/nixtools/default.nix b/pkgs/nixtools/default.nix index 5d45949..c3cc68a 100644 --- a/pkgs/nixtools/default.nix +++ b/pkgs/nixtools/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { makeFlags = [ "DESTDIR=$(out)" ]; preBuild = "env"; dontPatchShebangs = true; + strictDeps = true; meta = { homepage = "https://gitlab.pm.bsc.es/rarias/nixtools"; diff --git a/pkgs/nodes/default.nix b/pkgs/nodes/default.nix index 74bf7de..2eec3ac 100644 --- a/pkgs/nodes/default.nix +++ b/pkgs/nodes/default.nix @@ -48,6 +48,7 @@ in enableParallelBuilding = true; dontStrip = true; separateDebugInfo = true; + strictDeps = true; configureFlags = [ "--with-nosv=${nosv}" diff --git a/pkgs/nosv/default.nix b/pkgs/nosv/default.nix index 020524b..9dcd33d 100644 --- a/pkgs/nosv/default.nix +++ b/pkgs/nosv/default.nix @@ -46,6 +46,7 @@ in hardeningDisable = [ "all" ]; dontStrip = true; separateDebugInfo = true; + strictDeps = true; configureFlags = [ "--with-ovni=${ovni}" "CACHELINE_WIDTH=${toString cacheline}" diff --git a/pkgs/osu/default.nix b/pkgs/osu/default.nix index b35fad9..412d157 100644 --- a/pkgs/osu/default.nix +++ b/pkgs/osu/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { doCheck = true; enableParallelBuilding = true; + strictDeps = true; nativeBuildInputs = [ mpiAll ]; buildInputs = [ mpiAll ]; hardeningDisable = [ "all" ]; diff --git a/pkgs/ovni/default.nix b/pkgs/ovni/default.nix index f2c34fd..a659616 100644 --- a/pkgs/ovni/default.nix +++ b/pkgs/ovni/default.nix @@ -40,6 +40,7 @@ in inherit (source) src version; dontStrip = true; separateDebugInfo = true; + strictDeps = true; postPatch = '' patchShebangs --build test/ ''; diff --git a/pkgs/paraver/default.nix b/pkgs/paraver/default.nix index 56d93b4..5995926 100644 --- a/pkgs/paraver/default.nix +++ b/pkgs/paraver/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { dontStrip = true; enableParallelBuilding = true; + strictDeps = true; preConfigure = '' export CFLAGS="-O3" diff --git a/pkgs/paraver/kernel.nix b/pkgs/paraver/kernel.nix index d8f577f..e425f29 100644 --- a/pkgs/paraver/kernel.nix +++ b/pkgs/paraver/kernel.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; dontStrip = true; + strictDeps = true; preConfigure = '' export CFLAGS="-O3 -DPARALLEL_ENABLED" diff --git a/pkgs/slurm-exporter/default.nix b/pkgs/slurm-exporter/default.nix index 9cfc972..83a57f8 100644 --- a/pkgs/slurm-exporter/default.nix +++ b/pkgs/slurm-exporter/default.nix @@ -13,6 +13,7 @@ buildGoModule rec { vendorHash = "sha256-A1dd9T9SIEHDCiVT2UwV6T02BSLh9ej6LC/2l54hgwI="; doCheck = false; + strictDeps = true; meta = with lib; { description = "Prometheus SLURM Exporter"; diff --git a/pkgs/sonar/default.nix b/pkgs/sonar/default.nix index ac062a6..6db5c70 100644 --- a/pkgs/sonar/default.nix +++ b/pkgs/sonar/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { }; hardeningDisable = [ "all" ]; dontStrip = true; + strictDeps = true; configureFlags = [ "--with-ovni=${ovni}" ]; nativeBuildInputs = [ diff --git a/pkgs/tagaspi/default.nix b/pkgs/tagaspi/default.nix index 94c28e3..b3a7c38 100644 --- a/pkgs/tagaspi/default.nix +++ b/pkgs/tagaspi/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { pname = "tagaspi"; enableParallelBuilding = true; separateDebugInfo = true; + strictDeps = true; version = "2.0"; src = fetchFromGitHub { diff --git a/pkgs/tampi/default.nix b/pkgs/tampi/default.nix index 16b2e4b..5f56ed1 100644 --- a/pkgs/tampi/default.nix +++ b/pkgs/tampi/default.nix @@ -45,6 +45,7 @@ in stdenv.mkDerivation { inherit (source) src version; enableParallelBuilding = true; separateDebugInfo = true; + strictDeps = true; nativeBuildInputs = [ autoconf diff --git a/pkgs/upc-qaire-exporter/default.nix b/pkgs/upc-qaire-exporter/default.nix index ea3dc89..459d4d8 100644 --- a/pkgs/upc-qaire-exporter/default.nix +++ b/pkgs/upc-qaire-exporter/default.nix @@ -9,6 +9,7 @@ python3Packages.buildPythonApplication { src = ./.; doCheck = false; + strictDeps = true; build-system = with python3Packages; [ setuptools