From f3cbf75b5a4e30e533ac9cb5071b47152caf69af Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Wed, 31 Jul 2024 22:29:57 +0200 Subject: [PATCH] Remove unused Nix dependencies (#565) * Remove unused Nix dependencies * reformat adds --- flake.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index a4305f5b5..da86245b2 100644 --- a/flake.nix +++ b/flake.nix @@ -9,9 +9,7 @@ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; rust-overlay = { - inputs = { - nixpkgs.follows = "nixpkgs"; - }; + inputs.nixpkgs.follows = "nixpkgs"; url = "github:oxalica/rust-overlay"; }; @@ -42,16 +40,10 @@ }; craneLib = (crane.mkLib pkgs).overrideToolchain pkgs.rust-bin.stable.latest.minimal; + buildInputs = with pkgs; [ - openssl - sqlite - zlib ]; - nativeBuildInputs = with pkgs; [ - protobuf - pkg-config - rustPlatform.bindgenHook ]; src = pkgs.lib.cleanSourceWith { @@ -146,8 +138,8 @@ diesel-cli rust-bin.stable.latest.default ] - ++ - buildInputs ++ nativeBuildInputs; + ++ buildInputs + ++ nativeBuildInputs; enterShell = '' export PG_HOST=127.0.0.1