mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
dockerTools: add isExe to streamLayeredImage result
This commit is contained in:
parent
0c98435f70
commit
11b0106cf9
@ -819,7 +819,13 @@ rec {
|
||||
'';
|
||||
result = runCommand "stream-${name}" {
|
||||
inherit (conf) imageName;
|
||||
passthru = { inherit (conf) imageTag; };
|
||||
passthru = {
|
||||
inherit (conf) imageTag;
|
||||
|
||||
# Distinguish tarballs and exes at the Nix level so functions that
|
||||
# take images can know in advance how the image is supposed to be used.
|
||||
isExe = true;
|
||||
};
|
||||
buildInputs = [ makeWrapper ];
|
||||
} ''
|
||||
makeWrapper ${streamScript} $out --add-flags ${conf}
|
||||
|
Loading…
Reference in New Issue
Block a user