From 24903d2012ebf8121068a18ff2599fc8cac98d75 Mon Sep 17 00:00:00 2001 From: Sander Date: Tue, 8 Oct 2024 22:53:49 +0400 Subject: [PATCH] chore: lint --- src/modules/languages/rust.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/languages/rust.nix b/src/modules/languages/rust.nix index 60be70fd3..48ba73bc2 100644 --- a/src/modules/languages/rust.nix +++ b/src/modules/languages/rust.nix @@ -137,7 +137,7 @@ in if cfg.toolchain ? rust-src then "${cfg.toolchain.rust-src}/lib/rustlib/src/rust/library" else pkgs.rustPlatform.rustLibSrc; - RUSTFLAGS = optionalEnv (moldFlags != "" || cfg.rustflags != "") (lib.concatStringsSep " " (lib.filter (x: x != "") [moldFlags cfg.rustflags])); + RUSTFLAGS = optionalEnv (moldFlags != "" || cfg.rustflags != "") (lib.concatStringsSep " " (lib.filter (x: x != "") [ moldFlags cfg.rustflags ])); RUSTDOCFLAGS = optionalEnv (moldFlags != "") moldFlags; CFLAGS = lib.optionalString pkgs.stdenv.isDarwin "-iframework ${config.devenv.profile}/Library/Frameworks"; };