nrr: format with nixfmt-rfc-style

This commit is contained in:
Ryan Cao 2024-08-14 17:24:39 +08:00
parent 1460e06773
commit cffc27daf0
No known key found for this signature in database
GPG key ID: 48C96B2057D71CB1

View file

@ -1,14 +1,14 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
, pkg-config
, libiconv
, enableLTO ? true
, nrxAlias ? true
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
pkg-config,
libiconv,
enableLTO ? true,
nrxAlias ? true,
}:
rustPlatform.buildRustPackage rec {
pname = "nrr";
version = "0.9.4";
@ -30,9 +30,7 @@ rustPlatform.buildRustPackage rec {
libiconv
];
nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];
env = lib.optionalAttrs enableLTO {
CARGO_PROFILE_RELEASE_LTO = "fat";