Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@
src = ./.;
doCheck = false;
name = "rain";
cargoLock.lockFile = ./Cargo.lock;
cargoLock.allowBuiltinFetchGit = true;
# Vendored through fetchCargoVendor rather than cargoLock: cargoLock
# fetches each crate from crates.io/api, which answers 403 to the
# curl User-Agent nix sends, so any store miss fails the build.
# fetchCargoVendor pulls from the static.crates.io CDN.
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
src = ./.;
name = "rain";
hash = "sha256-TrZzMmDnC07lhfjKdKfwNtrzbeRcxKewqTqmiZD2fic=";
};
buildInputs = rainix.rust-build-inputs.${system};
nativeBuildInputs = rainix.rust-build-inputs.${system};
};
Expand Down
Loading