aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-14 10:16:31 +0000
committerFuwn <[email protected]>2024-09-14 10:16:31 +0000
commite7afbb482c19c37d4fd6411a533f2ce619af5b3f (patch)
tree0496be385408059292f94910d78bf8da750a0ee7 /flake.nix
parentchore(nix): flake-based development shell (diff)
downloadseptember-e7afbb482c19c37d4fd6411a533f2ce619af5b3f.tar.xz
september-e7afbb482c19c37d4fd6411a533f2ce619af5b3f.zip
chore: move development shell to just
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 493b0fc..3913f69 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,8 +30,19 @@
stdenv = stdenvAdapters.useMoldLinker clangStdenv;
}
{
- nativeBuildInputs = [
- rust-bin.stable.latest.default
+ buildInputs = [
+ # https://github.com/oxalica/rust-overlay/issues/136#issuecomment-1716902831
+ (lib.hiPrio (
+ rust-bin.stable.latest.minimal.override {
+ extensions = [ "rust-docs" ];
+ }
+ ))
+ (rust-bin.selectLatestNightlyWith (
+ toolchain:
+ toolchain.minimal.override {
+ extensions = [ "rustfmt" ];
+ }
+ ))
cargo-make
openssl
pkg-config