Skip to content

Commit e5e78e6

Browse files
authored
[script] fix the system env check in nix script. (#1274)
1 parent e51a8d8 commit e5e78e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH_FOR_TARGET
159159
160160
# Export linker flags if on Darwin (macOS)
161-
if [[ "$(${pkgs.stdenv.hostPlatform.system})" =~ "darwin" ]]; then
161+
if [[ "${pkgs.stdenv.hostPlatform.system}" =~ "darwin" ]]; then
162162
export LDFLAGS="-L/opt/homebrew/opt/zlib/lib"
163163
export CPPFLAGS="-I/opt/homebrew/opt/zlib/include"
164164
fi

0 commit comments

Comments
 (0)