From 744b06cc28ad545f0dfd3e66ff73667c31a19eb6 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Sat, 25 Apr 2015 15:18:54 +0200 Subject: [PATCH] nodePackages: fix platform detection --- pkgs/development/web/nodejs/build-node-package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix index 042e29f29705..679716d33c70 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