nixpkgs/pkgs/build-support
Дамјан Георгиевски 499aebcf34 portableService: tooling to create portable service images
see https://systemd.io/PORTABLE_SERVICES/ about the definition of
portable services. this tooling is analogous to the `pkgs.dockerTools.buildImage`
tooling and is called `pkgs.portableService`.

systemd (since version 239) supports a concept of “Portable Services”.
“Portable Services” are a delivery method for system services that uses
two specific features of container management:

* Applications are bundled. I.e. multiple services, their binaries and all
  their dependencies are packaged in an image, and are run directly from it.
* Stricter default security policies, i.e. sandboxing of applications.

The primary tool for interacting with Portable Services is portablectl,
and they are managed by the systemd-portabled service.

This function will create a squashfs raw image in `result/$pname_$version.raw`
that has the required files by the portable services spec, and all the
dependencies for the running program in the nix store.
2022-09-22 20:11:25 +02:00
..
add-opengl-runpath
agda
alternatives lapack,blas: allow for more flexible use of ILP64 interface 2022-02-11 17:51:35 +01:00
appimage appimageTools.wrapAppImage: default produced derivations to sourceProvenance binaryNativeCode 2022-06-11 17:17:12 +01:00
bintools-wrapper bintools-wrapper, cc-wrapper: avoid invalid export of 'expand-response-params' 2022-07-31 16:31:13 +01:00
build-bazel-package buildBazelPackage: run in batch mode to avoid requiring loopback networking 2022-09-11 12:51:57 -04:00
build-fhs-userenv buildFHSUserEnv: append graphics share to XDG_DATA_DIR 2022-03-24 12:53:39 -07:00
build-fhs-userenv-bubblewrap build-fhs-userenv-bubblewrap: fix eval 2022-08-17 22:36:45 +03:00
build-graalvm-native-image buildGraalvmNativeImage: allow LC_ALL overrides 2022-07-03 18:16:38 +01:00
build-setupcfg
buildenv
cc-wrapper cc-wrapper: disable stackprotector for MicroBlaze 2022-08-25 16:00:49 +02:00
coq coqPackages.lib.overrideCoqDerivation: update documentation for overriding version 2022-09-11 07:41:17 +09:00
dhall dhallDirectoryToNix: add this utility function 2021-12-07 13:36:21 +09:00
docker nixosTests.docker-tools: Add image-with-certs 2022-09-21 01:00:04 +01:00
dotnet build-dotnet-module/fetch-deps: fixup temp naming when pname has a capital X in it 2022-09-16 09:18:22 -07:00
emacs package-build: don't use mtime when creating tarballs 2022-09-18 10:02:53 +01:00
expand-response-params treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same 2022-05-25 16:03:14 +03:00
fake-nss fakeNss: move to toplevel 2022-03-24 18:47:30 +01:00
fetchbitbucket
fetchbower
fetchbzr
fetchcvs treewide: fix bash exit handlers 2022-07-02 16:13:12 +02:00
fetchdarcs
fetchdocker
fetchfirefoxaddon testers.invalidateFetcherByDrvHash: Move from top-level 2022-05-05 12:08:50 +02:00
fetchfossil
fetchgit fetchgit: allow disabling cone mode for sparse checkouts, fix test 2022-08-14 23:03:07 +02:00
fetchgitea
fetchgithub unstableGitUpdater: fix updating fetchzip-based sources 2022-05-24 19:12:12 +02:00
fetchgitiles
fetchgitlab unstableGitUpdater: fix updating fetchzip-based sources 2022-05-24 19:12:12 +02:00
fetchgitlocal
fetchgx
fetchhg
fetchipfs treewide: clean up obsolete version checks 2022-03-22 10:54:11 +00:00
fetchmavenartifact
fetchmtn misc: Replace tab indentation with spaces 2021-11-14 16:04:46 +13:00
fetchnextcloudapp fetchnextcloudapp: name -> pname 2022-07-26 10:58:06 +02:00
fetchpatch testers.invalidateFetcherByDrvHash: Move from top-level 2022-05-05 12:08:50 +02:00
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut treewide: extraPostFetch -> postFetch 2022-05-23 17:18:50 +03:00
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl Merge pull request #187884 from helsinki-systems/feat/perl-sri 2022-08-24 17:28:04 +02:00
fetchzip fetchzip: force UTF-8 compatibel locale to unpack non-ASCII symbols 2022-06-11 11:25:58 +01:00
flutter flutter.mkFlutterApp: fix installing .desktop 2022-02-23 15:10:59 +01:00
go buildGo{Module,Package}: don't run vet linter 2022-08-20 07:37:14 +10:00
icon-conv-tools
install-shell-files
java
kernel make-initrd-ng: clean up a bit 2022-08-02 10:54:55 +03:00
libredirect libredirect: Fix cross compilation buildPackages 2022-07-20 10:26:48 +12:00
make-darwin-bundle Merge pull request #165111 from toonn/darwin-bundle-outputBin 2022-04-22 12:04:09 +01:00
make-desktopitem build-support/makeDesktopItem: make overridable 2022-06-09 15:32:44 +01:00
make-pkgconfigitem makePkgconfigItem: init new function to generate pc files 2022-07-20 06:22:39 +03:00
make-startupitem
make-symlinks
mkshell mkShell: make it buildable (#153194) 2022-01-08 01:54:04 +01:00
mono-dll-fixer mono-dll-fixer: remove builder.sh 2021-11-20 18:01:00 +01:00
nix-gitignore treewide: clean up obsolete version checks 2022-03-22 10:54:11 +00:00
node/fetch-yarn-deps fetchYarnDeps: support hash in pkg.integrity (#177255) 2022-06-15 20:13:41 +02:00
nuke-references treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same 2022-05-25 16:03:14 +03:00
ocaml treewide: Simplify negated uses of versionAtLeast, versionOlder 2022-04-25 13:35:24 -07:00
oci-tools
pkg-config-wrapper treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same 2022-05-25 16:03:14 +03:00
portable-service portableService: tooling to create portable service images 2022-09-22 20:11:25 +02:00
prefer-remote-fetch prefer-remote-fetch: don't overwrite fetcher's which set preferLocalBuild explicitly 2022-06-03 14:05:37 +02:00
references-by-popularity
release
remove-references-to
replace-secret
rust Merge pull request #178964 from linsui/cargo 2022-09-17 12:04:27 -04:00
setup-hooks setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
singularity-tools singularity: enable setting vm mem in buildImage 2022-03-03 17:09:48 -05:00
skaware skawarePackages.buildPackage: fix typo in comment 2022-05-09 15:52:56 +00:00
snap
src-only srcOnly: fix with separateDebugInfo and/or multiple outputs 2022-07-02 19:32:24 +02:00
substitute
substitute-files
templaterpm maintainers: remove tstrobel 2022-06-29 00:54:53 +02:00
testers testers.testVersion: if grep failed then print the output of the command 2022-05-16 16:16:35 +03:00
trivial-builders treewide: nixosTest -> testers.nixosTest 2022-05-09 14:16:06 +02:00
vm treewide: change some glibc to stdenv.cc.libc 2022-05-27 05:57:43 +03:00
wrapper-common
writers writers.makePythonWriter: fix cross compile 2022-08-25 17:46:34 -07:00
build-maven.nix
build-pecl.nix
closure-info.nix
plugins.nix
replace-dependency.nix replace-dependency: fix a syntax error while generating references.nix 2022-06-12 06:44:30 +04:00
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix writeShellApplication: don't prefix empty PATH 2022-08-23 22:41:28 +02:00