Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
sandydoo committed Oct 8, 2024
1 parent f16bfde commit 4df7995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/languages/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down

0 comments on commit 4df7995

Please sign in to comment.