diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix index 042e29f2970..679716d33c7 100644 --- a/pkgs/development/web/nodejs/build-node-package.nix +++ b/pkgs/development/web/nodejs/build-node-package.nix @@ -64,7 +64,7 @@ let stdenv.lib.platforms.${removePrefix "!" entry} or []; in # Ignore unknown platforms - if filterPlatforms == [] then platforms + if filterPlatforms == [] then (if platforms == [] then nodejs.meta.platforms else platforms) else if hasPrefix "!" entry then subtractLists (intersectLists filterPlatforms nodejs.meta.platforms) platforms