Skip to content

Commit

Permalink
chore: simplify nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
saiintbrisson authored and steinerkelvin committed Feb 8, 2024
1 parent ff6bd48 commit 83531ac
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@
pkgs = import nixpkgs {
inherit system overlays;
};
rust = pkgs.rust-bin.fromRustupToolchain (
let
inherit (content) toolchain;
content = builtins.fromTOML (builtins.readFile ./rust-toolchain.toml);
in
toolchain // {components = ["rust-src"] ++ toolchain.components;}
);
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
buildInputs = with pkgs; [pkg-config jemalloc rocksdb zstd.dev bashInteractive];
nativeBuildInputs = with pkgs; [git rust clang protobuf];

Expand Down

0 comments on commit 83531ac

Please sign in to comment.