nixpkgs/pkgs/build-support/docker
Vincent Ambo af9f248926 streamLayeredImage: pass through passthru attributes
This is useful for a use-case we have with a Nix-based CI system that
specifies things like deploy steps as passthru attributes[0].

Previously the only way to do this would have been to concatenate
attributes onto the resulting derivation, but passing them in and
actually treating them as proper passthru attributes is cleaner.

[0]: https://cs.tvl.fyi/depot@f7d7da6aceb407b719cf4683a75878fd3aca319e/-/blob/nix/buildkite/default.nix?L222-226
2022-01-31 10:10:10 +03:00
..
test-dummy dockerTools: Fix test 2021-10-25 12:25:01 +02:00
default.nix streamLayeredImage: pass through passthru attributes 2022-01-31 10:10:10 +03:00
detjson.py docker: add final newline to detjson.py 2020-11-09 11:39:28 +00:00
examples.nix nixos/tests/docker-tools: add test for pre-runAsRoot layer unpack order 2021-12-17 19:26:53 -06:00
nix-prefetch-docker nix-prefetch-docker: output informational messages to stderr 2020-12-01 16:58:29 +00:00
nix-prefetch-docker.nix treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
stream_layered_image.py dockerTools.streamLayeredImage: resolve duplicate env vars 2021-03-25 23:29:54 +00:00
tarsum.go
tarsum.nix tarsum: init 2021-08-05 08:54:41 +10:00