Skip to content

Commit

Permalink
fix: expose mpirun to the user
Browse files Browse the repository at this point in the history
  • Loading branch information
mk3z committed Aug 13, 2024
1 parent cf055f9 commit 1904b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/elmer.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ lib, config, inputs, ... }:
{ lib, config, inputs, pkgs, ... }:
let
inherit (lib) mkEnableOption mkIf;
in
{
options.wsl.elmer.enable = mkEnableOption "ElmerFEM";
config = mkIf config.wsl.elmer.enable {
environment.systemPackages = [ inputs.elmer.packages.x86_64-linux.gui ];
environment.systemPackages = [ inputs.elmer.packages.x86_64-linux.gui pkgs.mpi ];
};
}

0 comments on commit 1904b28

Please sign in to comment.