Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singularity, support multiple versions #58973

Conversation

scalavision
Copy link
Contributor

Motivation for this change

HPC environments are slowly moving forward, hence it would be very nice to support multiple versions of Singularity.

I have tried my best, following similar patterns for nginx and boost packages, but not yet succeeded at making this build. I need help, moving forward on this.

I get the following error:

error: attempt to call something which is not a function but a set, at /home/obiwan/stash/sources/scalavision/nixpkgs/pkgs/applications/virtualization/singularity/singularity_3_0_1.nix:3:28

How can I rearrange this to make it work?

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@veprbl
Copy link
Member

veprbl commented Apr 5, 2019

The differences between 2.6.x and 3.0.0 are not trivial: 5611397
So you probably can't do a "generic" builder

@scalavision
Copy link
Contributor Author

Oki, thanks @veprbl !

I'll look more into it during the weekend :-)

@scalavision
Copy link
Contributor Author

I have to get back on this, closing for now ..

@scalavision scalavision closed this Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants