Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
nix: Correctly set `RUST_SRC_DIR`
Lorenz Leutgeb committed 1 year ago
commit 0dd06b91c1ac610a94f9068651f1a133d1b13bac
parent 621c5a45631e2f1f77a6a2bd27ab418592346866
1 file changed +3 -1
modified flake.nix
@@ -45,7 +45,7 @@
        overlays = [(import rust-overlay)];
      };

-
      rustToolChain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain;
+
      rustToolChain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
      craneLib = (crane.mkLib pkgs).overrideToolchain rustToolChain;

      srcFilters = path: type:
@@ -238,6 +238,8 @@
          rust-analyzer
          sqlite
        ];
+

+
        env.RUST_SRC_PATH = "${rustToolChain}/lib/rustlib/src/rust/library";
      };
    });
}