mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
adios2: export adios2_DIR before installPahse
adios2_DIR needs to be set to a different value before checkPhase/installPahse.
This commit is contained in:
@@ -105,8 +105,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeFeature "CMAKE_INSTALL_PYTHONDIR" python3.sitePackages)
|
||||
];
|
||||
|
||||
# equired for finding the generated adios2-config.cmake file
|
||||
env.adios2_DIR = "${placeholder "out"}/lib/cmake/adios2";
|
||||
# required for finding the generated adios2-config.cmake file
|
||||
preInstall = ''
|
||||
export adios2_DIR=$out/lib/cmake/adios2
|
||||
'';
|
||||
|
||||
# Ctest takes too much time, so we only perform some smoke Python tests.
|
||||
doInstallCheck = pythonSupport;
|
||||
|
||||
Reference in New Issue
Block a user