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:
co-authored by
Arne Keller
parent
e380a8f3e0
commit
06d1364d1d
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user