criu: remove stale substituteInPlace

wip/yesman
Sandro Jäckel 3 years ago
parent 879c3b9e07
commit a5f156fde8
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 6
      pkgs/os-specific/linux/criu/default.nix

@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = with python3.pkgs; [ python python3.pkgs.protobuf ];
postPatch = ''
substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
substituteInPlace ./Documentation/Makefile --replace "-m custom.xsl" "-m custom.xsl --skip-validation -x ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
substituteInPlace ./criu/Makefile --replace "-I/usr/include/libnl3" "-I${libnl.dev}/include/libnl3"
substituteInPlace ./Documentation/Makefile \
--replace "2>/dev/null" "" \
--replace "-m custom.xsl" "-m custom.xsl --skip-validation -x ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
substituteInPlace ./Makefile --replace "head-name := \$(shell git tag -l v\$(CRIU_VERSION))" "head-name = ${version}.0"
ln -sf ${protobuf}/include/google/protobuf/descriptor.proto ./images/google/protobuf/descriptor.proto
'';

Loading…
Cancel
Save