about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-07-15 12:13:34 -0500
committerWill Dietz <w@wdtz.org>2019-10-23 11:59:12 -0500
commit32d132a8eed3764bdc3de2873f977b09e5b5d0f8 (patch)
treea7f9e3f77d019894dffb91cda5eade77164c8786 /pkgs/development/tools
parent4fca420a18fcf92e302736278940d44b65665320 (diff)
downloadnixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.tar
nixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.tar.gz
nixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.tar.bz2
nixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.tar.lz
nixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.tar.xz
nixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.tar.zst
nixlib-32d132a8eed3764bdc3de2873f977b09e5b5d0f8.zip
boomerang: remove deprecated fixups/workarounds
If they're still needed they should be reworked so they apply :)
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/boomerang/default.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/pkgs/development/tools/boomerang/default.nix b/pkgs/development/tools/boomerang/default.nix
index d16ec035e9c9..6947d69f2101 100644
--- a/pkgs/development/tools/boomerang/default.nix
+++ b/pkgs/development/tools/boomerang/default.nix
@@ -14,24 +14,6 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake bison flex ];
   buildInputs = [ qtbase capstone ];
 
-  postPatch =
-  # Look in installation directory for required files, not relative to working directory
-  ''
-    substituteInPlace src/boomerang/core/Settings.cpp \
-      --replace "setDataDirectory(\"../share/boomerang\");" \
-                "setDataDirectory(\"$out/share/boomerang\");" \
-      --replace "setPluginDirectory(\"../lib/boomerang/plugins\");" \
-                "setPluginDirectory(\"$out/lib/boomerang/plugins\");"
-  ''
-  # Fixup version:
-  # * don't try to inspect with git
-  #   (even if we kept .git and such it would be "dirty" because of patching)
-  # * use date so version is monotonically increasing moving forward
-  + ''
-    sed -i cmake-scripts/boomerang-version.cmake \
-      -e 's/set(\(PROJECT\|BOOMERANG\)_VERSION ".*")/set(\1_VERSION "${version}")/'
-  '';
-
   enableParallelBuilding = true;
 
   meta = with stdenv.lib; {