Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extra/language/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ in
# some *-sys crates require additional includes
name = "CFLAGS";
# append in case it needs to be modified
eval = "\"-I $DEVSHELL_DIR/include ${lib.optionalString pkgs.stdenv.isDarwin "-iframework $DEVSHELL_DIR/Library/Frameworks"}\"";
eval = "\"-I $DEVSHELL_DIR/include ${lib.optionalString pkgs.stdenv.hostPlatform.isDarwin "-iframework $DEVSHELL_DIR/Library/Frameworks"}\"";
}
]
++ lib.optionals pkgs.stdenv.isDarwin [
++ lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
{
# On darwin for example required for some *-sys crate compilation
name = "RUSTFLAGS";
Expand Down
2 changes: 1 addition & 1 deletion extra/locale.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in
};
};
config.env =
lib.optional pkgs.stdenv.isLinux {
lib.optional pkgs.stdenv.hostPlatform.isLinux {
name = "LOCALE_ARCHIVE";
value = "${cfg.package}/lib/locale/locale-archive";
}
Expand Down
Loading