summary refs log tree commit diff
path: root/pkgs/tools/system/runit
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-30 05:32:06 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-30 05:32:28 +0300
commit7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87 (patch)
treeececb7f2e7ed65387622df42f2f04961929a5686 /pkgs/tools/system/runit
parent48fb16ffbf47f79b6d85ef3be623b8814385763f (diff)
downloadnixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.tar
nixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.tar.gz
nixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.tar.bz2
nixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.tar.lz
nixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.tar.xz
nixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.tar.zst
nixpkgs-7a37ac15b3fdca4dfa5c16fcc2a4de1294f5dc87.zip
runit: fix build
Diffstat (limited to 'pkgs/tools/system/runit')
-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 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'
   '';