nodejs: Set correct meta.position attribute

This commit is contained in:
adisbladis 2018-02-18 22:06:12 +08:00
parent d4e1ef7b7b
commit a88a712f7f
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5

View File

@ -5,7 +5,7 @@
with stdenv.lib;
{ enableNpm ? true, version, sha256, patches }:
{ enableNpm ? true, version, sha256, patches } @args:
let
@ -54,6 +54,8 @@ in
setupHook = ./setup-hook.sh;
pos = builtins.unsafeGetAttrPos "version" args;
inherit patches;
preBuild = optionalString stdenv.isDarwin ''