lammps: always enable cuda opengl runpath support

This commit is contained in:
Doron Behar
2023-07-27 18:51:41 +03:00
parent 10e7c631c8
commit eae54103ca
@@ -7,6 +7,7 @@
, blas
, lapack
, cmake
, cudaPackages
, pkg-config
# Available list of packages can be found near here:
#
@@ -59,6 +60,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
# Although not always needed, it is needed if cmakeFlags include
# GPU_API=cuda, and it doesn't users that don't enable the GPU package.
cudaPackages.autoAddOpenGLRunpathHook
];
passthru = {