Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
771 B · 34 lines
Nix
1234567891011121314151617181920212223242526272829303132333435{ lib, buildNpmPackage, fetchurl, version, hash, npmDepsHash, packageLockFile,}:
buildNpmPackage rec { pname = "lerna"; inherit version;
src = fetchurl { url = "https://registry.npmjs.org/lerna/-/lerna-${version}.tgz"; inherit hash; };
postPatch = '' ln -s ${packageLockFile} package-lock.json '';
inherit npmDepsHash; dontNpmBuild = true;
meta = { description = "Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository"; homepage = "https://lerna.js.org/"; changelog = "https://github.com/lerna/lerna/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ThaoTranLePhuong ]; };}