diff --git a/pkgs/applications/graphics/rapcad/default.nix b/pkgs/applications/graphics/rapcad/default.nix index cb92947b766..90cb360e7d5 100644 --- a/pkgs/applications/graphics/rapcad/default.nix +++ b/pkgs/applications/graphics/rapcad/default.nix @@ -15,8 +15,10 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline ]; configurePhase = '' - qmake; + runHook preConfigure + qmake sed -e "s@/usr/@$out/@g" -i $(find . -name Makefile) + runHook postConfigure ''; meta = {