3
0
Fork 0
forked from mirrors/nixpkgs

cross/tests: Use crossPkgs.runCommand so we have strictDeps

This commit is contained in:
John Ericson 2020-05-16 00:20:32 +00:00
parent 282cb2f8d6
commit 27edd9efb3

View file

@ -13,7 +13,7 @@ let
compareTest = { emulator, pkgFun, hostPkgs, crossPkgs, exec, args ? [] }: let
pkgName = (pkgFun hostPkgs).name;
args' = lib.concatStringsSep " " args;
in pkgs.runCommand "test-${pkgName}-${crossPkgs.hostPlatform.config}" {
in crossPkgs.runCommand "test-${pkgName}-${crossPkgs.hostPlatform.config}" {
nativeBuildInputs = [ pkgs.dos2unix ];
} ''
# Just in case we are using wine, get rid of that annoying extra