diff --git a/src/modules/languages/rust.nix b/src/modules/languages/rust.nix index d778e534d..4d88f710d 100644 --- a/src/modules/languages/rust.nix +++ b/src/modules/languages/rust.nix @@ -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