diff --git a/pkgs/development/tools/nwjs/default.nix b/pkgs/development/tools/nwjs/default.nix index d66197d7f672d0..9f2986288ed883 100644 --- a/pkgs/development/tools/nwjs/default.nix +++ b/pkgs/development/tools/nwjs/default.nix @@ -37,7 +37,7 @@ }: let - bits = if stdenv.hostPlatform.system == "x86_64-linux" then "x64" else "ia32"; + bits = if stdenv.is64bit then "x64" else "ia32"; nwEnv = buildEnv { name = "nwjs-env"; @@ -137,13 +137,13 @@ stdenv.mkDerivation { runHook postInstall ''; - meta = with lib; { + meta = { description = "An app runtime based on Chromium and node.js"; homepage = "https://nwjs.io/"; platforms = [ "i686-linux" "x86_64-linux" ]; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - maintainers = [ maintainers.mikaelfangel ]; + sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; + maintainers = [ lib.maintainers.mikaelfangel ]; mainProgram = "nw"; - license = licenses.bsd3; + license = lib.licenses.mit; }; }