Skip to content

Commit

Permalink
fix: always set dune vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Conni2461 committed Aug 29, 2023
1 parent 75745f5 commit 17f262f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
};
environment.extraInit = ''
source ${pkgs.openfoam}/bin/set-openfoam-vars
source ${pkgs.precice-dune}/bin/set-dune-vars
if [[ ! -e ~/tutorials ]]; then
${pkgs.git}/bin/git clone https://github.com/precice/tutorials ~/tutorials
fi
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@

shellHook = ''
source ${pkgs.openfoam}/bin/set-openfoam-vars
source ${pkgs.precice-dune}/bin/set-dune-vars
export LD_LIBRARY_PATH=${pkgs.precice-openfoam-adapter}/lib:$LD_LIBRARY_PATH
'';
};
Expand Down

0 comments on commit 17f262f

Please sign in to comment.