nodePackages: fix platform detection
This commit is contained in:
@@ -64,7 +64,7 @@ let
|
|||||||
stdenv.lib.platforms.${removePrefix "!" entry} or [];
|
stdenv.lib.platforms.${removePrefix "!" entry} or [];
|
||||||
in
|
in
|
||||||
# Ignore unknown platforms
|
# Ignore unknown platforms
|
||||||
if filterPlatforms == [] then platforms
|
if filterPlatforms == [] then (if platforms == [] then nodejs.meta.platforms else platforms)
|
||||||
else
|
else
|
||||||
if hasPrefix "!" entry then
|
if hasPrefix "!" entry then
|
||||||
subtractLists (intersectLists filterPlatforms nodejs.meta.platforms) platforms
|
subtractLists (intersectLists filterPlatforms nodejs.meta.platforms) platforms
|
||||||
|
|||||||
Reference in New Issue
Block a user