mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 12:57:29 +00:00
stdenv: fix evaluation of platform emulator
This commit is contained in:
parent
72a2c11e15
commit
eef4bbd82f
@ -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 New Issue
Block a user