Skip to content

Commit

Permalink
dockerTools.tests.docker-tools: user runCommand instead of `runComm…
Browse files Browse the repository at this point in the history
…andNoCC` alias

Noticed when evaluated tests without aliases enabled.
  • Loading branch information
trofi authored and marcusramberg committed Dec 30, 2023
1 parent eae08c6 commit 1ed732e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/docker-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let
# Rootfs diffs for layers 1 and 2 are identical (and empty)
layer1 = pkgs.dockerTools.buildImage { name = "empty"; };
layer2 = layer1.overrideAttrs (_: { fromImage = layer1; });
repeatedRootfsDiffs = pkgs.runCommandNoCC "image-with-links.tar" {
repeatedRootfsDiffs = pkgs.runCommand "image-with-links.tar" {
nativeBuildInputs = [pkgs.jq];
} ''
mkdir contents
Expand Down

0 comments on commit 1ed732e

Please sign in to comment.