Merge pull request #191069 from houstdav000/package/nodePackages.wrangler
nodePackages.wrangler: init
This commit is contained in:
commit
842e2c3e95
@ -388,6 +388,7 @@
|
||||
, "webpack-dev-server"
|
||||
, "copy-webpack-plugin"
|
||||
, "webtorrent-cli"
|
||||
, "wrangler"
|
||||
, "wring"
|
||||
, "write-good"
|
||||
, "@yaegassy/coc-nginx"
|
||||
|
5464
pkgs/development/node-packages/node-packages.nix
generated
5464
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -550,6 +550,16 @@ final: prev: {
|
||||
buildInputs = [ final.node-gyp-build ];
|
||||
};
|
||||
|
||||
wrangler = prev.wrangler.override (oldAttrs: {
|
||||
dontNpmInstall = true;
|
||||
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
|
||||
postInstall = ''
|
||||
makeWrapper "$out/lib/node_modules/wrangler/bin/wrangler.js" "$out/bin/wrangler" \
|
||||
--inherit-argv0
|
||||
'';
|
||||
meta = oldAttrs.meta // { broken = before "16.13"; };
|
||||
});
|
||||
|
||||
yaml-language-server = prev.yaml-language-server.override {
|
||||
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
|
||||
postInstall = ''
|
||||
|
@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = pname;
|
||||
repo = "wrangler";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HnenF3X/6tvzwlbuOiQAvB76GrdRsqETG+3fp1fx334=";
|
||||
};
|
@ -6011,7 +6011,9 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
wrangler = callPackage ../development/tools/wrangler {
|
||||
inherit (nodePackages_latest) wrangler;
|
||||
|
||||
wrangler_1 = callPackage ../development/tools/wrangler_1 {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user