nrr: format with nixfmt-rfc-style
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, rustPlatform
|
fetchFromGitHub,
|
||||||
, darwin
|
rustPlatform,
|
||||||
, pkg-config
|
darwin,
|
||||||
, libiconv
|
pkg-config,
|
||||||
, enableLTO ? true
|
libiconv,
|
||||||
, nrxAlias ? true
|
enableLTO ? true,
|
||||||
|
nrxAlias ? true,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nrr";
|
pname = "nrr";
|
||||||
version = "0.9.4";
|
version = "0.9.4";
|
||||||
@@ -30,9 +30,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
libiconv
|
libiconv
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pkg-config ];
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
env = lib.optionalAttrs enableLTO {
|
env = lib.optionalAttrs enableLTO {
|
||||||
CARGO_PROFILE_RELEASE_LTO = "fat";
|
CARGO_PROFILE_RELEASE_LTO = "fat";
|
||||||
|
|||||||
Reference in New Issue
Block a user