mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nrr: format with nixfmt-rfc-style
This commit is contained in:
parent
1460e06773
commit
cffc27daf0
1 changed files with 11 additions and 13 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue