nwjs: simplify the bits variable assignment

Update pkgs/development/tools/nwjs/default.nix

Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
This commit is contained in:
Mikael Fangel
2024-11-04 00:08:29 +01:00
co-authored by Arne Keller
parent e380a8f3e0
commit 06d1364d1d
+1 -1
View File
@@ -37,7 +37,7 @@
}:
let
bits = if stdenv.hostPlatform.system == "x86_64-linux" then "x64" else "ia32";
bits = if stdenv.hostPlatform.is64bit then "x64" else "ia32";
nwEnv = buildEnv {
name = "nwjs-env";