diff --git a/packages/dune/package.py b/packages/dune/package.py index 93ecb4a..c172af9 100644 --- a/packages/dune/package.py +++ b/packages/dune/package.py @@ -197,7 +197,7 @@ class Dune(CMakePackage): def setup_build_environment(self, env): # We reset the DUNE_CONTROL_PATH here because any entries in this # path that contain Dune modules will break the Spack build process. - env.set('DUNE_CONTROL_PATH', self.prefix) + env.set('DUNE_CONTROL_PATH', '') def setup_run_environment(self, env): # Some scripts search the DUNE_CONTROL_PATH for Dune modules (e.g. duneproject).