Generate nix expressions to build npm packages