runit: support building with clangStdenv
commitac193edd2d3fa9f3d359a44d436c4c726f86bc7c
authorJoachim Fasting <joachifm@fastmail.fm>
dateSat 27 Aug 2016, 11:44 (10 years ago)
parentee1cc78
pkgs/tools/system/runit/default.nix+5−1
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
2121
2222 preBuild = ''
2323 cd src
24+
25+ # Both of these are originally hard-coded to gcc
26+ echo cc > conf-cc
27+ echo cc > conf-ld
2428 '';
2529
2630 installPhase = ''
@@ -36,6 +40,6 @@ stdenv.mkDerivation rec {
3640 license = licenses.bsd3;
3741 homepage = "http://smarden.org/runit";
3842 maintainers = with maintainers; [ rickynils joachifm ];
39− platforms = platforms.linux;
43+ platforms = platforms.unix;
4044 };
4145}