nodePackages: fix platform detection
This commit is contained in:
parent
4e51a466bd
commit
744b06cc28
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue