mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
dockerTools.tests.docker-tools: user runCommand
instead of runCommandNoCC
alias
Noticed when evaluated tests without aliases enabled.
This commit is contained in:
parent
df04894406
commit
4bb39bbc65
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ let
|
||||||
# Rootfs diffs for layers 1 and 2 are identical (and empty)
|
# Rootfs diffs for layers 1 and 2 are identical (and empty)
|
||||||
layer1 = pkgs.dockerTools.buildImage { name = "empty"; };
|
layer1 = pkgs.dockerTools.buildImage { name = "empty"; };
|
||||||
layer2 = layer1.overrideAttrs (_: { fromImage = layer1; });
|
layer2 = layer1.overrideAttrs (_: { fromImage = layer1; });
|
||||||
repeatedRootfsDiffs = pkgs.runCommandNoCC "image-with-links.tar" {
|
repeatedRootfsDiffs = pkgs.runCommand "image-with-links.tar" {
|
||||||
nativeBuildInputs = [pkgs.jq];
|
nativeBuildInputs = [pkgs.jq];
|
||||||
} ''
|
} ''
|
||||||
mkdir contents
|
mkdir contents
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue