Skip to content

Commit

Permalink
Fix: flag conversion was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
kiokuless committed Oct 28, 2023
1 parent 86f476f commit 655764e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/languages/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ in
}
))
(lib.mkIf (cfg.enable && pkgs.stdenv.isDarwin) {
env.RUSTFLAGS = [ "-L framework=${config.devenv.profile}/Library/Frameworks" ];
env.RUSTDOCFLAGS = [ "-L framework=${config.devenv.profile}/Library/Frameworks" ];
env.CFLAGS = [ "-iframework ${config.devenv.profile}/Library/Frameworks" ];
env.RUSTFLAGS = "-L framework=${config.devenv.profile}/Library/Frameworks";
env.RUSTDOCFLAGS = "-L framework=${config.devenv.profile}/Library/Frameworks";
env.CFLAGS = "-iframework ${config.devenv.profile}/Library/Frameworks";
})
(lib.mkIf (cfg.channel != "nixpkgs") (
let
Expand Down

0 comments on commit 655764e

Please sign in to comment.