Commit 91be9cf2 authored by Michal Sojka's avatar Michal Sojka
Browse files

daemontools: don't use deprecated substituteInPlace --replace

parent 2e15d802
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
    sed -i -e '1 s_$_ -include ${glibc.dev}/include/errno.h_' src/conf-cc

    substituteInPlace src/Makefile \
      --replace '/bin/sh' '${bash}/bin/bash -oxtrace'
      --replace-fail '/bin/sh' '${bash}/bin/bash -oxtrace'

    sed -i -e "s_^PATH=.*_PATH=$src/daemontools-${version}/compile:''${PATH}_" src/rts.tests