summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-08-27 11:44:07 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-08-27 11:49:26 +0200
commitac193edd2d3fa9f3d359a44d436c4c726f86bc7c (patch)
tree7cea9c0822772ca69d585b4f34107b6b61f74bf9 /pkgs/tools/system
parentee1cc783333d27fa0c7f4c01654e1cd42e3a4dea (diff)
downloadnixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.tar
nixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.tar.gz
nixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.tar.bz2
nixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.tar.lz
nixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.tar.xz
nixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.tar.zst
nixlib-ac193edd2d3fa9f3d359a44d436c4c726f86bc7c.zip
runit: support building with clangStdenv
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/runit/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/system/runit/default.nix b/pkgs/tools/system/runit/default.nix
index 18fffa216b66..87cf720b981e 100644
--- a/pkgs/tools/system/runit/default.nix
+++ b/pkgs/tools/system/runit/default.nix
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
 
   preBuild = ''
     cd src
+
+    # Both of these are originally hard-coded to gcc
+    echo cc > conf-cc
+    echo cc > conf-ld
   '';
 
   installPhase = ''
@@ -36,6 +40,6 @@ stdenv.mkDerivation rec {
     license = licenses.bsd3;
     homepage = "http://smarden.org/runit";
     maintainers = with maintainers; [ rickynils joachifm ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }