1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

fix(fenix): use stable toolchain and add wasm32 target

This commit is contained in:
Ryan Cao 2023-12-14 11:04:31 +08:00
parent 00215a74a1
commit 1a12418e56
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 27 additions and 17 deletions

30
flake.lock generated
View file

@ -86,11 +86,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1702275809, "lastModified": 1702448575,
"narHash": "sha256-cd+IhiNJ9VYSheVxPzw6aLy91Q3+BUR35CtBqPCXfRE=", "narHash": "sha256-Gm8lI5vumDEryeUI+bT8w0AIvbolZIGh0F/E0mQSLcw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "ab4ec60bcf513278aa1e26d71ca822161075bffc", "rev": "dcf3ca909bd069e6a5737461b64c8d894c6dee85",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -168,11 +168,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702203126, "lastModified": 1702423270,
"narHash": "sha256-4BhN2Vji19MzRC7SUfPZGmtZ2WZydQeUk/ogfRBIZMs=", "narHash": "sha256-3ZA5E+b2XBP+c9qGhWpRApzPq/PZtIPgkeEDpTBV4g8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "defbb9c5857e157703e8fc7cf3c2ceb01cb95883", "rev": "d9297efd3a1c3ebb9027dc68f9da0ac002ae94db",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -243,11 +243,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1702206697, "lastModified": 1702272962,
"narHash": "sha256-vE9oEx3Y8TO5MnWwFlmopjHd1JoEBno+EhsfUCq5iR8=", "narHash": "sha256-D+zHwkwPc6oYQ4G3A1HuadopqRwUY/JkMwHz1YF7j4Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "29d6c96900b9b576c2fb89491452f283aa979819", "rev": "e97b3e4186bcadf0ef1b6be22b8558eab1cdeb5d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -264,11 +264,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1701668522, "lastModified": 1702296501,
"narHash": "sha256-5pOkZfSR+bz3IpOvhdGL38qhlxXr1aXcQ6Nvxqqcfso=", "narHash": "sha256-5G7R/Pl7W47h13LOYN9dsvEAyaBnnW1TTARvbZ9qSR0=",
"owner": "ryanccn", "owner": "ryanccn",
"repo": "nrr", "repo": "nrr",
"rev": "c4a32f589b656f6cbf56bd9c4b3ee44cad33c5ed", "rev": "2e59f5cd741319bea29920e70f638cc305c87dc6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -336,11 +336,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1702247072, "lastModified": 1702418101,
"narHash": "sha256-JX+pWFPjckWD0Qa2oji1ZUbzL4kCIgeGsVcEb0Bnn+E=", "narHash": "sha256-XyrXFAiMS5r9Kl4lPpmkTTclPKGwJBxln6enERe5nvk=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "457b966b171b09a7e57acb710fbca29a4b3526f0", "rev": "b3af1916ccfb85233571ce9ecb45a3a7c74ba0fb",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -18,7 +18,18 @@
direnv direnv
fh fh
fenix.default.toolchain (fenix.combine (
with fenix;
with stable; [
cargo
rustc
rustfmt
clippy
rust-src
rust-docs
targets.wasm32-unknown-unknown.stable.rust-std
]
))
fnm fnm
deno deno
@ -33,7 +44,6 @@
libffi libffi
openssl openssl
rust-analyzer
nodePackages.typescript-language-server nodePackages.typescript-language-server
dprint dprint