summary refs log tree commit diff
path: root/pkgs/os-specific/linux/criu
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-02-16 03:49:06 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-02-16 06:56:19 +0100
commita5f156fde86f497b2f20f51a5008774168fde7a3 (patch)
treefce5af79609dfca435d683573f472b878d654e0e /pkgs/os-specific/linux/criu
parent879c3b9e0701db5fe77f942a36b0695bd2f6de05 (diff)
downloadnixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.tar
nixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.tar.gz
nixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.tar.bz2
nixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.tar.lz
nixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.tar.xz
nixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.tar.zst
nixpkgs-a5f156fde86f497b2f20f51a5008774168fde7a3.zip
criu: remove stale substituteInPlace
Diffstat (limited to 'pkgs/os-specific/linux/criu')
-rw-r--r--pkgs/os-specific/linux/criu/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/criu/default.nix b/pkgs/os-specific/linux/criu/default.nix
index 369ba13a0f5..af772645824 100644
--- a/pkgs/os-specific/linux/criu/default.nix
+++ b/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
   '';