about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-11 22:20:19 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 19:25:41 +0000
commit51085c0681b275baae561868407ef3fe080d8263 (patch)
tree0178cd9201f53517175ed496c31d6bb37dea836a /pkgs/tools/system
parent738b0a39d7e831be8d45fa4cf8583dd6beb40ee3 (diff)
downloadnixlib-51085c0681b275baae561868407ef3fe080d8263.tar
nixlib-51085c0681b275baae561868407ef3fe080d8263.tar.gz
nixlib-51085c0681b275baae561868407ef3fe080d8263.tar.bz2
nixlib-51085c0681b275baae561868407ef3fe080d8263.tar.lz
nixlib-51085c0681b275baae561868407ef3fe080d8263.tar.xz
nixlib-51085c0681b275baae561868407ef3fe080d8263.tar.zst
nixlib-51085c0681b275baae561868407ef3fe080d8263.zip
hardlink: fix darwin build
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/hardlink/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/hardlink/default.nix b/pkgs/tools/system/hardlink/default.nix
index c34d81f63536..f464b7e9320e 100644
--- a/pkgs/tools/system/hardlink/default.nix
+++ b/pkgs/tools/system/hardlink/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
 
   installPhase = ''
     mkdir -p $out/bin $out/share/man/man1
-    gcc -O2 hardlink.c -o $out/bin/hardlink
+    cc -O2 hardlink.c -o $out/bin/hardlink
     mv hardlink.1 $out/share/man/man1/hardlink.1
   '';