From 9c897b5960e79856d3046b2e0dd0a8785f55f112 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 26 Jan 2025 01:24:16 +0300 Subject: [PATCH] nix: enable parallel building; clean up devshell --- nix/package.nix | 1 + nix/shell.nix | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/package.nix b/nix/package.nix index 1a7dde3..506aea3 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -19,6 +19,7 @@ in }; cargoLock.lockFile = ../Cargo.lock; + enableParallelBuilding = true; meta = { description = "A microscopic fetch script in Rust, for NixOS systems"; diff --git a/nix/shell.nix b/nix/shell.nix index 2350dbd..0577a0a 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -5,7 +5,6 @@ clippy, cargo, rustc, - gcc, rustPlatform, gnuplot, }: @@ -15,7 +14,6 @@ mkShell { nativeBuildInputs = [ cargo rustc - gcc rust-analyzer-unwrapped rustfmt