File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 # some *-sys crates require additional includes
4949 name = "CFLAGS" ;
5050 # append in case it needs to be modified
51- eval = "\" -I $DEVSHELL_DIR/include ${ lib . optionalString pkgs . stdenv . isDarwin "-iframework $DEVSHELL_DIR/Library/Frameworks" } \" " ;
51+ eval = "\" -I $DEVSHELL_DIR/include ${ lib . optionalString pkgs . stdenv . hostPlatform . isDarwin "-iframework $DEVSHELL_DIR/Library/Frameworks" } \" " ;
5252 }
5353 ]
54- ++ lib . optionals pkgs . stdenv . isDarwin [
54+ ++ lib . optionals pkgs . stdenv . hostPlatform . isDarwin [
5555 {
5656 # On darwin for example required for some *-sys crate compilation
5757 name = "RUSTFLAGS" ;
Original file line number Diff line number Diff line change 2424 } ;
2525 } ;
2626 config . env =
27- lib . optional pkgs . stdenv . isLinux {
27+ lib . optional pkgs . stdenv . hostPlatform . isLinux {
2828 name = "LOCALE_ARCHIVE" ;
2929 value = "${ cfg . package } /lib/locale/locale-archive" ;
3030 }
You can’t perform that action at this time.
0 commit comments