about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2019-09-20 07:34:08 -0300
committerGitHub <noreply@github.com>2019-09-20 07:34:08 -0300
commit92324d92a6151bc603ce94757b4d93e564f20271 (patch)
treebc952253dda3a856fd1aadb8f736128e0b6801cb /pkgs/tools/system
parent22325331d282b2a5347a616189daf517e69b4dd7 (diff)
parent1a5c68c7fe3c2d7c7862b4f0788ea65595502a87 (diff)
downloadnixlib-92324d92a6151bc603ce94757b4d93e564f20271.tar
nixlib-92324d92a6151bc603ce94757b4d93e564f20271.tar.gz
nixlib-92324d92a6151bc603ce94757b4d93e564f20271.tar.bz2
nixlib-92324d92a6151bc603ce94757b4d93e564f20271.tar.lz
nixlib-92324d92a6151bc603ce94757b4d93e564f20271.tar.xz
nixlib-92324d92a6151bc603ce94757b4d93e564f20271.tar.zst
nixlib-92324d92a6151bc603ce94757b4d93e564f20271.zip
Merge pull request #68961 from eraserhd/pr/master/plan9port-missing-which
plan9port: use command instead of which in builder.sh
Diffstat (limited to 'pkgs/tools/system')
-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 77f6632ff533..f5c447ea0a53 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\"