{ pkgs ? import {}, }: let manifests = pkgs.writeText "bla" '' here be dragons ''; in pkgs.dockerTools.streamLayeredImage { name = "blah"; includeStorePaths = false; fakeRootCommands = '' cp -Lr ${manifests} my-text-file cat my-text-file rm -fr nix ''; }