mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 19:47:01 +05:30
chore: fix toolchain binding name
This commit is contained in:
parent
9e521e1d49
commit
b06651e2c4
1 changed files with 3 additions and 3 deletions
|
@ -45,12 +45,12 @@
|
|||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
|
||||
rustStable = (import fenix {inherit pkgs;}).fromToolchainFile {
|
||||
rustNightly = (import fenix {inherit pkgs;}).fromToolchainFile {
|
||||
file = ./rust-toolchain.toml;
|
||||
sha256 = "sha256-1elQHBWEQRZ5qrEtJi6uhvwUNKedyQusyhATdBywep0=";
|
||||
};
|
||||
|
||||
craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;
|
||||
craneLib = (crane.mkLib pkgs).overrideToolchain rustNightly;
|
||||
src = craneLib.cleanCargoSource ./.;
|
||||
nativeBuildInputs = [];
|
||||
buildInputs = [];
|
||||
|
@ -85,7 +85,7 @@
|
|||
devShells.default = pkgs.mkShell {
|
||||
inputsFrom = builtins.attrValues self.checks;
|
||||
|
||||
nativeBuildInputs = with pkgs; [cargo-dist cargo-nextest cargo-release rustStable];
|
||||
nativeBuildInputs = with pkgs; [cargo-dist cargo-nextest cargo-release rustNightly];
|
||||
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL = "sparse";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue