summary refs log tree commit diff
path: root/pkgs/tools/system/plan9port/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/plan9port/builder.sh')
-rw-r--r--pkgs/tools/system/plan9port/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/plan9port/builder.sh b/pkgs/tools/system/plan9port/builder.sh
index 77f6632ff53..f5c447ea0a5 100644
--- a/pkgs/tools/system/plan9port/builder.sh
+++ b/pkgs/tools/system/plan9port/builder.sh
@@ -22,7 +22,7 @@ plan9portLinkFlags()
 configurePhase()
 {
     (
-        echo CC9=\"$(which $CC)\"
+        echo CC9=\"$(command -v $CC)\"
         echo CFLAGS=\"$NIX_CFLAGS_COMPILE\"
         echo LDFLAGS=\"$(plan9portLinkFlags)\"
         echo X11=\"${libXt_dev}/include\"