summaryrefslogtreecommitdiff
path: root/pkgs/build-support/singularity-tools (follow)
Commit message (Expand)AuthorAgeFilesLines
* singularity-tools: enable __structuredAttrs and pass contents directly (#358723)Philip Taron2024-11-251-6/+3
|\
| * singularity-tools: enable __structuredAttrs and pass contents directlyYueh-Shun Li2024-11-241-6/+3
* | Revert "singularity-tools: don't preserve store content ownership" (#358817)Someone2024-11-251-1/+1
|\ \
| * | Revert "singularity-tools: don't preserve store content ownership"•••Use `cp -ar` instead of `cp -r` to preserve symbolic links and other attributes whenever possible. This reverts commit c2eb0aa56e90cffbdcb82a54f3a9b1419e19c88b. Yueh-Shun Li2024-11-251-1/+1
| |/
* / singularity-tools: remove deprecated shellScript and mkLayer•••Scheduled for 25.05. Wolfgang Walther2024-11-241-32/+0
|/
* apptainer.tests.image-hello-cowsay: remove obsolete `rmdir "$out"`Maximilian Bosch2024-11-241-1/+0
* singularity-tools: make runscript modifiableYueh-Shun Li2024-08-181-11/+14
* singularity-tools: don't preserve store content ownership•••Don't preserve store content ownership to prepare for unprivileged-build workflow. Yueh-Shun Li2024-08-151-1/+1
* singularity-tools: proper line looping with while-readYueh-Shun Li2024-08-151-2/+3
* singularity-tools: string-interpolate and and quote members in contents•••String-interpolation converts path objects inside `contents` into store paths to ensure they are properly included in the result image. See tests.trivial-builders.references for the necessity of string-interpolation. Quote each string-interpolated content member to accomodates spaces inside. Yueh-Shun Li2024-08-151-1/+6
* singularity-tools: quote shell variablesYueh-Shun Li2024-08-111-6/+6
* singularity-tools: rename the VM mountpoint as "workspace"Yueh-Shun Li2024-08-111-4/+4
* singularity-tools: create VM disk image outside $out•••Place the VM disk image in a local directory "disk-image" instead of "$out", so that we don't have to delete it to reserve "$out" for the container image. Yueh-Shun Li2024-08-111-1/+3
* singularity-tools: make extensibleYueh-Shun Li2024-08-111-2/+2
* singularity-tools: add bashInteractive and runScript into layerClosureYueh-Shun Li2024-08-111-1/+7
* singularity-tools: deprecate build helpers mkLayer and shellScript•••Deprecate singularity-tools.mkLayer and singularity-tools.shellScript, for they are no longer related to image building. Use writers.writeBash instead of singularity-tools.shellScript. Yueh-Shun Li2024-08-091-20/+38
* singularity-tools: drop override argument storeDirYueh-Shun Li2024-08-091-4/+3
* singularity-tools: fix singularity run with bashInteractiveYueh-Shun Li2024-08-091-2/+2
* singularity-tools: move defaultSingularity let-in to the topYueh-Shun Li2024-08-051-3/+4
* singularity-tools.buildImage: remove gawk from nativeBuildInputsYueh-Shun Li2024-08-051-2/+0
* singularity-tools.buildIname: use nativeBuildInputs and strictDepsYueh-Shun Li2024-08-051-1/+2
* singularity-tools.buildImage: use .sif instead of .img as image name suffixYueh-Shun Li2024-08-051-1/+1
* singularity-tools: name sandboxed meta directory .singularity.d•••Name the directory inside SIF (the SquashFS image) ".singularity.d" instead of ".${projectName}.d" for compatibility across Apptainer and Singularity. Yueh-Shun Li2024-08-051-5/+5
* singularity-tools: rearrarnge the input parametersYueh-Shun Li2024-08-041-9/+12
* singularity-tools: format with nixfmt-rfc-style (Nix RFC 166)Yueh-Shun Li2024-08-041-30/+37
* singularity-tools.buildImage: increase default memSize•••Increase the default RAM size for image-building QEMU VM. Make singularity.tests.image-hello-cowsay build on aarch64-linux. Yueh-Shun Li2024-04-261-1/+1
* singularity-tools.buildImages: use writeClosureYueh-Shun Li2024-03-191-7/+2
* apptainer, singularity: drop obsolete LOCALSTATEDIR dirs•••Leave only the SESSIONDIR, which is "$LOCALSTATEDIR/$projectName/mnt/session" Yueh-Shun Li2023-08-231-1/+1
* 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 Yueh-Shun Li2023-02-081-11/+18
* singularity-tool: format expressionYueh-Shun Li2023-02-081-26/+31
* singularity: enable setting vm mem in buildImageChris Hammill2022-03-031-1/+3
* singularity-tools.buildImage: fix building from non-standard store pathsDmitry Kalinkin2021-10-271-1/+1
* treewide: stdenv.lib -> libPavol Rusnak2021-01-241-1/+2
* utillinux: rename to util-linuxGraham Christensen2020-11-241-2/+2
* Merge pull request #93082 from cfhammill/cfh/fix-singularity-shell-copy•••singularity-tools: Check for /bin/sh existence before symlinkAnderson Torres2020-09-191-1/+3
|\
| * singularity-tools: Check for /bin/sh existence before symlink•••Fixes the case where the user has bashInteractive in the container contents cfhammill2020-07-131-1/+3
* | singularity: 3.2.1 -> 3.6.1Justin Bedo2020-07-221-0/+1
|/
* singularity-tools: fix buildImageJustin Bedo2020-02-021-4/+7
* treewide: remove unused variables (#63177)•••* treewide: remove unused variables * making ofborg happy volth2019-06-161-2/+1
* treewide: use runtimeShell instead of stdenv.shell whenever possible•••Whenever we create scripts that are installed to $out, we must use runtimeShell in order to get the shell that can be executed on the machine we create the package for. This is relevant for cross-compiling. The only use case for stdenv.shell are scripts that are executed as part of the build system. Usages in checkPhase are borderline however to decrease the likelyhood of people copying the wrong examples, I decided to use runtimeShell as well. Jörg Thalheim2019-02-261-1/+2
* Merge branch 'master' into singularityJustin Bedő2019-02-171-1/+4
|\
| * Merge pull request #30479 from obsidiansystems/singularity-tools•••singularity-tools: Only copy into /bin what is specified in contentsDmitry Kalinkin2019-01-091-1/+4
| |\
| | * singularity-tools: Only copy into /bin what is specified in contentsDan Haraj2017-10-101-1/+4
* | | singularity: 2.6.0 -> 3.0.1Justin Bedo2019-01-311-11/+6
|/ /
* | pkgs/*: remove unreferenced function argumentsvolth2018-07-211-2/+1
* | singularity-tools: create mount points for image building (#41470)Justin Bedő2018-06-181-1/+1
* | singularity: 2.4 -> 2.4.2Justin Bedo2018-03-121-0/+1
* | singularity: 2.2 -> 2.4Justin Bedo2017-12-211-2/+5
|/
* singularity: init 2.2Justin Bedo2016-11-151-0/+100