Skip to content

Commit

Permalink
exciting: enable sgroup addon
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepforce committed Oct 27, 2023
1 parent 4273bea commit 6c1bec7
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions pkgs/apps/exciting/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{ lib, stdenv, fetchFromGitHub
, gfortran, perl, libxslt, runtimeShell
, blas, lapack, mpi, arpack }:
{ lib
, stdenv
, fetchFromGitHub
, gfortran
, perl
, libxslt
, runtimeShell
, blas
, lapack
, mpi
, arpack
, enableSgroup ? false
, sgroup
}:

stdenv.mkDerivation rec {
pname = "exciting";
Expand Down Expand Up @@ -63,6 +74,7 @@ stdenv.mkDerivation rec {
mpi
arpack
];
propagatedUserEnvPkgs = lib.optional enableSgroup [ sgroup ];

installPhase = ''
mkdir -p $out/bin $out/share/exciting/species
Expand Down

0 comments on commit 6c1bec7

Please sign in to comment.