chore: reformat Nix files with `alejandra`

This commit is contained in:
Harsh Shandilya 2023-02-22 18:25:01 +00:00
parent 77830039c8
commit 9168d646e8
1 changed files with 8 additions and 7 deletions

View File

@ -54,13 +54,14 @@
pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;
src = ./.;
nativeBuildInputs = with pkgs;
[
perl
pkg-config
openssl
];
buildInputs = [pkgs.openssl] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin
nativeBuildInputs = with pkgs; [
perl
pkg-config
openssl
];
buildInputs =
[pkgs.openssl]
++ pkgs.lib.optionals pkgs.stdenv.isDarwin
[pkgs.darwin.apple_sdk.frameworks.Security];
cargoArtifacts = craneLib.buildDepsOnly {inherit src buildInputs nativeBuildInputs;};