From 32d132a8eed3764bdc3de2873f977b09e5b5d0f8 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 15 Jul 2019 12:13:34 -0500 Subject: [PATCH] boomerang: remove deprecated fixups/workarounds If they're still needed they should be reworked so they apply :) --- pkgs/development/tools/boomerang/default.nix | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/pkgs/development/tools/boomerang/default.nix b/pkgs/development/tools/boomerang/default.nix index d16ec035e9c..6947d69f210 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; {