Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Make the Nix expression generic.nix and package.nix conformant to Nix
RFC 166.
|
|
|
|
Without the change the eval fails as:
$ nix build --no-link -f. apptainer.gpuChecks.saxpy
error:
error: attribute 'image-saxpy' missing
at pkgs/applications/virtualization/singularity/generic.nix:303:72:
302| ''
303| ${lib.getExe finalAttrs.finalPackage} exec --nv $@ ${finalAttrs.passthru.tests.image-saxpy} saxpy
| ^
304| '';
|
|
(cherry picked from commit 680bbed84fd37e5a46330e1c9b63a7a60a9e4933)
|
|
(cherry picked from commit 0c4fe1f45241fee18ce1a33d2a8a3dfdba611cbb)
|
|
(cherry picked from commit 07305dff4f2de16df1532e846d1365b3660146ac)
|
|
apptainer, singularity: use self-contained LOCALSTATEDIR by default
|
|
apptainer, singularity: fix wrapper PATH prefix
|
|
Use "$out/var/lib" as LOCALSTATEDIR configuration value
by default intsead of "/var/lib"
as a way toward top-level-directory independent runtime.
Add input argument externalLocalStateDir to optionally specify the
path to external LOCALSTATEDIR if not null.
Add NixOS module option
programs.singularity.enableExternalLocalStateDir (default to true)
to use "/var/lib" as LOCALSTATEDIR.
|
|
|
|
In 787af0f79f128cb21b113d2eb37e64d913f18aae
I had to change ${go-modules} to $goModules to allow overrideAttrs to work;
However, env vars cannot contain -, so i had to change go-modules too.
This in turn broke nix-update because it uses the go-modules attr.
Instead of making nix-update more complicated, make go-modules naming match cargoDeps.
`fd --type f | xargs sd '\bgo-modules\b' 'goModules'`
and revert change to pkgs/applications/misc/dstask/default.nix
and pkgs/servers/http/dave/default.nix
and pkgs/os-specific/darwin/plistwatch/default.nix
release note added
|
|
|
|
|
|
Fix the missing trailing /bin in f6e7fcc
|
|
|
|
Use defaultPathInputs to control both path prefixes,
reducing the number of input lists to maintain.
|
|
Add image-building tests with singularity-tools
|
|
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
|
|
|
|
This patch provides input arguments `newuidmapPath` and `newgidmapPath`
for apptainer and singularity to specify the path to the SUID-ed executables
newuidmap and newgidmap where they are not available from the FHS PATH.
As NixOS places those suided executables in a non-FHS position
(/run/wrapper/bin), this patch provides
programs.singularity.enableFakeroot option and implement with the above
input parameters.
|
|
Upstream changes:
singularity 3.8.7 (the legacy) -> apptainer 1.1.3 (the renamed) / singularity 3.10.4 (Sylabs's fork)
Build process:
* Share between different sources
* Fix the sed regexp to make defaultPath patch work
* allowGoReference is now true
* Provied input parameter removeCompat (default to false)
that removes the compatible "*singularity*" symbolic links
and related autocompletion files when projectName != "singularity"
* Change localstatedir to /var/lib
* Format with nixpkgs-fmt
* Fix the defaultPath patching
and use it instead of the `<executable> path` config directive
deprecated in Apptainer
* Provide dependencies for new functionalities such as
squashfuse (unprivileged squashfs mount)
* Provide an attribute `defaultPathInputs` to override
prefix of container runtime default PATH
NixOS module programs.singularity:
* Allow users to specify packages
* Place related directories to /var/lib
* Format with nixpkgs-fmt
singularity-tools:
* Allow users to specify packages
* Place related directories to /var/lib when building images in VM
|