cross/tests: Use `crossPkgs.runCommand` so we have `strictDeps`
This commit is contained in:
parent
282cb2f8d6
commit
27edd9efb3
|
@ -13,7 +13,7 @@ let
|
||||||
compareTest = { emulator, pkgFun, hostPkgs, crossPkgs, exec, args ? [] }: let
|
compareTest = { emulator, pkgFun, hostPkgs, crossPkgs, exec, args ? [] }: let
|
||||||
pkgName = (pkgFun hostPkgs).name;
|
pkgName = (pkgFun hostPkgs).name;
|
||||||
args' = lib.concatStringsSep " " args;
|
args' = lib.concatStringsSep " " args;
|
||||||
in pkgs.runCommand "test-${pkgName}-${crossPkgs.hostPlatform.config}" {
|
in crossPkgs.runCommand "test-${pkgName}-${crossPkgs.hostPlatform.config}" {
|
||||||
nativeBuildInputs = [ pkgs.dos2unix ];
|
nativeBuildInputs = [ pkgs.dos2unix ];
|
||||||
} ''
|
} ''
|
||||||
# Just in case we are using wine, get rid of that annoying extra
|
# Just in case we are using wine, get rid of that annoying extra
|
||||||
|
|
Loading…
Reference in New Issue