Skip to content

Commit

Permalink
Remove unused Nix dependencies (#565)
Browse files Browse the repository at this point in the history
* Remove unused Nix dependencies

* reformat adds
  • Loading branch information
aumetra authored Jul 31, 2024
1 parent a7e1a92 commit f3cbf75
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -146,8 +138,8 @@
diesel-cli
rust-bin.stable.latest.default
]
++
buildInputs ++ nativeBuildInputs;
++ buildInputs
++ nativeBuildInputs;

enterShell = ''
export PG_HOST=127.0.0.1
Expand Down

0 comments on commit f3cbf75

Please sign in to comment.