diff options
author | K900 <me@0upti.me> | 2022-06-02 17:31:02 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2022-06-02 17:31:02 +0300 |
commit | 94cc2f9c9f0accc56c8fad8a9c9106d8fef5ac46 (patch) | |
tree | 553a220cc43e9d9ed3c207d490353d93d3f614d2 /pkgs/tools/misc/exa | |
parent | 2acecae3440b3b52de0ff9eb6e1f653b0c8586a2 (diff) |
exa: fix build with rustc 1.61
Diffstat (limited to 'pkgs/tools/misc/exa')
-rw-r--r-- | pkgs/tools/misc/exa/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/exa/default.nix b/pkgs/tools/misc/exa/default.nix index 632eb45905869..40fcc8b01c217 100644 --- a/pkgs/tools/misc/exa/default.nix +++ b/pkgs/tools/misc/exa/default.nix @@ -18,6 +18,10 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-ah8IjShmivS6IWL3ku/4/j+WNr/LdUnh1YJnPdaFdcM="; + # FIXME: LTO is broken with rustc 1.61, see https://github.com/rust-lang/rust/issues/97255 + # remove this with rustc 1.61.1+ + CARGO_PROFILE_RELEASE_LTO = "false"; + nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; buildInputs = [ zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; |