Merge pull request #252534 from kashw2/swc

authored by

Artturi and committed by
GitHub
e44631f3 26b11c54

+8 -3
+8 -3
pkgs/development/tools/swc/default.nix
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "swc"; 8 - version = "0.91.19"; 9 10 src = fetchCrate { 11 pname = "swc_cli"; 12 inherit version; 13 - sha256 = "sha256-BzReetAOKSGzHhITXpm+J2Rz8d9Hq2HUagQmfst74Ag="; 14 }; 15 16 - cargoSha256 = "sha256-1U9YLrPYENv9iJobCxtgnQakJLDctWQwnDUtpLG3PGc="; 17 18 buildFeatures = [ "swc_core/plugin_transform_host_native" ]; 19
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "swc"; 8 + version = "0.91.67"; 9 + 10 + env = { 11 + # swc depends on nightly features 12 + RUSTC_BOOTSTRAP = 1; 13 + }; 14 15 src = fetchCrate { 16 pname = "swc_cli"; 17 inherit version; 18 + sha256 = "sha256-ibNrdMxb1A/QwtK/J/2tbqCxpWssTeFSXrO8oEeEoDA="; 19 }; 20 21 + cargoSha256 = "sha256-puECB7/b2lKTquaDvzd19pYbmY8OeRfbA9u1xMjzl/k="; 22 23 buildFeatures = [ "swc_core/plugin_transform_host_native" ]; 24