Skip to content

Commit

Permalink
Simplify spackage
Browse files Browse the repository at this point in the history
  • Loading branch information
rbberger committed Jan 26, 2024
1 parent 132bac2 commit 8208662
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spack-repo/packages/singularity-eos/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ def cmake_args(self):
]

if "none" not in self.spec.variants["plugins"].value:
pdirs = []
for p in self.spec.variants["plugins"].value:
pdirs.append(join_path(self.stage.source_path, self.plugins[p]))
pdirs = [join_path(self.stage.source_path, self.plugins[p] for p in self.spec.variants["plugins"].value]
args.append(self.define("SINGULARITY_PLUGINS", ";".join(pdirs)))

if self.spec.variants["variant"].value != "default":
Expand Down

0 comments on commit 8208662

Please sign in to comment.