Skip to content

Commit

Permalink
fix nix server build
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Aug 29, 2024
1 parent 03efd88 commit fa9641e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
stdenv,
rustPlatform,
rust-bin,
makeRustPlatform,
lib,
}: let
toolchain = rust-bin.stable.latest.default;
rustPlatform = makeRustPlatform {
rustc = toolchain;
cargo = toolchain;
};
inherit (lib.sources) sourceByRegex;
src = sourceByRegex ./. ["Cargo.*" "(src|derive|benches|tests|examples.*)(/.*)?"];
in
Expand Down

0 comments on commit fa9641e

Please sign in to comment.