-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update request: wasm-pack 0.12.1 → 0.13.0 #328228
Labels
9.needs: package (update)
This needs a package to be updated
Comments
I encountered that error too. After reading this comment I tried this: { lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
, cmake
, pkg-config
}:
rustPlatform.buildRustPackage rec {
pname = "wasm-pack";
version = "0.13.0";
src = fetchFromGitHub {
owner = "rustwasm";
repo = "wasm-pack";
rev = "refs/tags/v${version}";
hash = "sha256-NEujk4ZPQ2xHWBCVjBCD7H6f58P4KrwCNoDHKa0d5JE=";
};
cargoHash = "sha256-pFKGQcWW1/GaIIWMyWBzts4w1hMu27hTG/uUMjkfDMo=";
nativeBuildInputs = [
pkg-config
];
buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;
CMAKE = cmake;
};
# Most tests rely on external resources and build artifacts.
# Disabling check here to work with build sandboxing.
doCheck = false;
meta = with lib; {
description = "Utility that builds rust-generated WebAssembly package";
mainProgram = "wasm-pack";
homepage = "https://github.com/rustwasm/wasm-pack";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = [ maintainers.dhkl ];
};
} That resulted in a new error log. I don't know what to do but I thought I'll leave it here in the case that I could be useful to someone else
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notify maintainers
@dhl
Note for maintainers: Please tag this issue in your PR.
I just tried to make a PR with the change, but I got this error when I tried to build (while compiling
libz-ng-sys v1.1.15
), andnixpkgs-review rev HEAD
used all of my RAM while running (it did not finish). I'm using a x86-64 machine with Debian.The text was updated successfully, but these errors were encountered: