Unverified Commit 5c6f7afd authored by Ivan Petkov's avatar Ivan Petkov
Browse files

lldap: use upstream wasm-pack

parent fa2aea6c
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -15,15 +15,6 @@

let

  # version of wasm-opt, with https://github.com/rustwasm/wasm-pack/pull/1257 backported
  wasm-pack-git = wasm-pack.overrideAttrs (oldAttrs: {
    version = oldAttrs.version + "-git";
    patches = [(fetchpatch {
      url = "https://patch-diff.githubusercontent.com/raw/rustwasm/wasm-pack/pull/1257.patch";
      sha256 = "sha256-npi9ewh0NaD67crTcje9AYxaLLOJOMzqjqEJXZF2LbQ=";
    })];
  });

  # replace with upstream wasm rustc, after resolution of
  # https://github.com/NixOS/nixpkgs/issues/89426
  rustc-wasm = (rustc.override {
@@ -74,7 +65,7 @@ let
    pname = commonDerivationAttrs.pname + "-frontend";

    nativeBuildInputs = [
      wasm-pack-git wasm-bindgen-cli binaryen which rustc-wasm rustc-wasm.llvmPackages.lld
      wasm-pack wasm-bindgen-cli binaryen which rustc-wasm rustc-wasm.llvmPackages.lld
    ];

    buildPhase = ''