Commit Graph

69 Commits

Author SHA1 Message Date
Gaetan Lepage
6a6c30dfc1 singularity-ce: 3.11.1 -> 3.11.4 2023-08-31 16:15:54 +02:00
Gaetan Lepage
a2e3cf7ef3 apptainer: 1.1.7 -> 1.2.2 2023-08-31 16:12:15 +02:00
Justin Bedő
430b94c3a2
Merge pull request #230992 from ShamrockLee/singularity-nvidia
apptainer, singularity: fix wrapper PATH prefix
2023-08-25 14:41:20 +10:00
Artturi
c831e7939f
Merge pull request #242905 from Artturin/gomodu1 2023-07-14 01:36:16 +03:00
Artturin
1c29673fcc treewide: go-modules -> goModules
In 787af0f79f
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
2023-07-14 00:18:06 +03:00
Robert Scott
8dda355280 apptainer: disable fortify3 hardening flag 2023-07-09 11:51:26 +01:00
Yueh-Shun Li
0fcf35ae58 singularity: specify "nvidia-container-cli path" 2023-05-19 06:57:18 +00:00
Yueh-Shun Li
466e154fb2 apptainer, singularity: fix wrapper PATH prefix
Fix the missing trailing /bin in f6e7fcc
2023-05-18 00:30:40 +00:00
Yueh-Shun Li
722948a942 singularity, apptainer: adjust dependencies 2023-04-08 17:13:35 +08:00
Yueh-Shun Li
f6e7fccfa6 apptainer, singularity: unify the PATH prefix to defaultPath and wrapProgram
Use defaultPathInputs to control both path prefixes,
reducing the number of input lists to maintain.
2023-04-06 12:40:09 +08:00
Yueh-Shun Li
1f32cee4d4 apptainer, singularity: add passthru.tests.image-hello-cowsay
Add image-building tests with singularity-tools
2023-04-05 04:08:29 +08:00
Yueh-Shun Li
e5d66059d9 apptainer: 1.1.5 -> 1.1.7, singularity: 3.10.4 -> 3.11.1 2023-04-05 00:39:03 +08:00
Felix Buehler
d10e69c86b treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-03-06 22:40:04 +01:00
Yueh-Shun Li
6e9902c7f6 apptainer: always specify either --with-suid or --without-suid build flag 2023-02-19 07:55:10 +00:00
Gaetan Lepage
467eced7c5 apptainer: 1.1.3 -> 1.1.5 2023-02-10 16:36:22 +01:00
Yueh-Shun Li
d35f5c2695 apptainer-overriden-nixos,singularity-overriden-nixos: init 2023-02-08 18:04:05 +08:00
Yueh-Shun Li
71a89291ee apptainer, singularity: enable non-FHS --fakeroot support
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.
2023-02-08 18:04:05 +08:00
Yueh-Shun Li
50788d2fb0 apptainer, singularity: fix defaultPath and reflect upstream changes
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
2023-02-08 18:03:11 +08:00
R. Ryantm
9b9db934cd singularity: 3.8.6 -> 3.8.7 2022-03-20 00:22:52 +00:00
R. Ryantm
4fba64110f singularity: 3.8.5 -> 3.8.6 2022-02-10 11:39:21 -08:00
Justin Bedo
eab0561eb0
singularity: 3.8.4 -> 3.8.5 2021-11-30 20:12:29 +11:00
Justin Bedo
10a145c518
singularity: 3.8.3 -> 3.8.4 2021-11-10 08:08:26 +11:00
Justin Bedo
c2073fcb1a
singularity: 3.8.2 -> 3.8.3 2021-09-08 15:20:34 +10:00
Justin Bedo
99eafb132b
singularity: 3.8.1 -> 3.8.2 2021-09-02 12:55:16 +10:00
R. RyanTM
ffb8183623 singularity: 3.8.0 -> 3.8.1 2021-08-18 00:25:25 +00:00
Justin Bedo
c837236c77
singularity: 3.7.4 -> 3.8.0 2021-06-16 08:10:45 +10:00
Justin Bedo
044ba9b560
singularity: 3.7.3 -> 3.7.4 2021-05-27 17:03:16 +10:00
R. RyanTM
782638c04a singularity: 3.7.2 -> 3.7.3 2021-04-11 15:54:29 +00:00
R. RyanTM
5f41ef7d78 singularity: 3.7.1 -> 3.7.2 2021-03-13 13:50:35 +00:00
Sandro Jäckel
1497f9151d
singularity: remove unused inputs 2021-03-01 10:46:57 +01:00
Sandro
b881f100f6
Merge pull request #111625 from jbedo/singularity
singularity: 3.7.0 -> 3.7.1
2021-02-02 13:11:41 +01:00
Justin Bedo
efd372d82c
singularity: 3.7.0 -> 3.7.1 2021-02-02 14:05:34 +11:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Sandro
d3badf3b43
Merge pull request #105075 from r-ryantm/auto-update/singularity
singularity: 3.6.4 -> 3.7.0
2020-11-26 23:10:50 +01:00
R. RyanTM
1b0e3aa842 singularity: 3.6.4 -> 3.7.0 2020-11-26 20:28:31 +00:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
zowoq
90bb6fbb24 singularity: drop unneeded removeReferencesTo 2020-11-18 08:13:34 +10:00
Justin Bedo
8a788b8587
singularity: 3.6.3 -> 3.6.4
Important security release addressing CVE-2020-15229.
2020-10-19 09:11:34 +11:00
Justin Bedo
efa99abf28
singularity: 3.6.2 -> 3.6.3 2020-09-21 12:07:38 +10:00
zowoq
f3623b8435 singularity: use upstream vendor 2020-09-08 16:32:39 +10:00
Jörg Thalheim
dee0f69844
singularity: remove remove-references-to call 2020-08-28 13:19:12 +01:00
Justin Bedo
1b74b520b7
singularity: 3.6.1 -> 3.6.2 2020-08-26 14:12:17 +10:00
Justin Bedo
712f1ee9aa
singularity: 3.2.1 -> 3.6.1 2020-07-22 08:51:37 +10:00
zowoq
b5dc07a4b4 treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jörg Thalheim
aa7b26fe29
singularity: fix build with strict deps 2020-03-23 08:16:38 +00:00
Frederik Rietdijk
98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
scalavision
3ce3e75946 singularity: prepatch path to cp in 3.2.1 2019-08-25 18:31:17 +00:00