From 7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 30 Apr 2016 05:32:06 +0300 Subject: runit: fix build --- 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 28c68f52aaf..70c49335eaf 100644 --- a/pkgs/tools/system/runit/default.nix +++ b/pkgs/tools/system/runit/default.nix @@ -13,8 +13,12 @@ stdenv.mkDerivation rec { patches = [ ./Makefile.patch ]; - buildPhase = '' + postPatch = '' cd ${name} + sed -i 's,-static,,g' src/Makefile + ''; + + buildPhase = '' make -C 'src' ''; -- cgit 1.4.1