summary refs log tree commit diff
diff options
context:
space:
mode:
authorElliot Cameron <nixpkgs-commits@deshaw.com>2023-08-04 20:58:03 -0400
committerElliot Cameron <nixpkgs-commits@deshaw.com>2023-08-05 21:08:50 -0400
commit8b4275f955c7226c278c6501b067d1d236733fa2 (patch)
tree437db9dda7e87fdbb0f9e233fb0a6c37d71753e9
parent9a3dcd025ab44b5f230430c30b89606f2da5c8c7 (diff)
downloadnixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.tar
nixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.tar.gz
nixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.tar.bz2
nixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.tar.lz
nixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.tar.xz
nixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.tar.zst
nixpkgs-8b4275f955c7226c278c6501b067d1d236733fa2.zip
dcgm: use strictDeps
-rw-r--r--pkgs/os-specific/linux/dcgm/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/dcgm/default.nix b/pkgs/os-specific/linux/dcgm/default.nix
index 97d95760e94..32842a8eea0 100644
--- a/pkgs/os-specific/linux/dcgm/default.nix
+++ b/pkgs/os-specific/linux/dcgm/default.nix
@@ -104,6 +104,8 @@ in gcc11Stdenv.mkDerivation rec {
 
   hardeningDisable = [ "all" ];
 
+  strictDeps = true;
+
   nativeBuildInputs = [
     # autoAddOpenGLRunpathHook does not actually depend on or incur any dependency
     # of cudaPackages. It merely adds an impure, non-Nix PATH to the RPATHs of
@@ -113,18 +115,16 @@ in gcc11Stdenv.mkDerivation rec {
     cmake
     git
     python3
+  ];
 
-    jsoncpp-static
-    jsoncpp-static.dev
-    libevent-nossl-static
-    libevent-nossl-static.dev
+  buildInputs = [
     plog.dev # header-only
     tclap_1_4 # header-only
-  ];
 
-  buildInputs = [
     catch2
     fmt_9
+    jsoncpp-static
+    libevent-nossl-static
     yaml-cpp
   ];