From ac193edd2d3fa9f3d359a44d436c4c726f86bc7c Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 27 Aug 2016 11:44:07 +0200 Subject: [PATCH] runit: support building with clangStdenv --- pkgs/tools/system/runit/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/system/runit/default.nix b/pkgs/tools/system/runit/default.nix index 18fffa216b6..87cf720b981 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; }; }