stdenv: fix evaluation of platform emulator
This commit is contained in:
parent
72a2c11e15
commit
eef4bbd82f
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ rec {
|
|||
wine = (pkgs.winePackagesFor wine-name).minimal;
|
||||
in
|
||||
if final.parsed.kernel.name == pkgs.stdenv.hostPlatform.parsed.kernel.name &&
|
||||
pkgs.stdenv.hostPlatform.isCompatible final
|
||||
pkgs.stdenv.hostPlatform.canExecute final
|
||||
then "${pkgs.runtimeShell} -c '\"$@\"' --"
|
||||
else if final.isWindows
|
||||
then "${wine}/bin/${wine-name}"
|
||||
|
|
Loading…
Reference in a new issue