about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/polkadot
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-11-18 12:19:27 +0100
committerAlyssa Ross <hi@alyssa.is>2023-12-05 15:09:28 +0100
commit989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a (patch)
tree039a4ee7edc07bce3d555c95d371436b6d37d38b /pkgs/applications/blockchains/polkadot
parent7386ca48e330e1b17c04633b1edfc184c6c66d1c (diff)
downloadnixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.tar
nixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.tar.gz
nixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.tar.bz2
nixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.tar.lz
nixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.tar.xz
nixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.tar.zst
nixlib-989723ecf240a4f5a1b8dd3d61fe8a2d48cfda7a.zip
rustc-wasm32: merge into rustc
Since wasm32-unknown-unknown doesn't require any extra
platform-specific dependencies (e.g. libc), we might as well just
always include in with rustc.  We could also include other targets
fitting these criteria, but I wasn't able to find any others that
actually build (not even wasm64-unknown-unknown).

The old rustc-wasm32 package disabled documentation, but we don't
actually need to do that — we just need to allow for some broken links
in the wasm32-unknown-unknown documentation.  Broken links in
documentation are an upstream issue anyway.  There's no need we need
to fail our build for them.
Diffstat (limited to 'pkgs/applications/blockchains/polkadot')
-rw-r--r--pkgs/applications/blockchains/polkadot/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix
index e1b042aadbb6..42662d0ededf 100644
--- a/pkgs/applications/blockchains/polkadot/default.nix
+++ b/pkgs/applications/blockchains/polkadot/default.nix
@@ -4,7 +4,7 @@
 , rocksdb
 , rust-jemalloc-sys-unprefixed
 , rustPlatform
-, rustc-wasm32
+, rustc
 , stdenv
 , Security
 , SystemConfiguration
@@ -61,8 +61,8 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [
     rustPlatform.bindgenHook
-    rustc-wasm32
-    rustc-wasm32.llvmPackages.lld
+    rustc
+    rustc.llvmPackages.lld
   ];
 
   # NOTE: jemalloc is used by default on Linux with unprefixed enabled