Skip to content

Commit

Permalink
vectorscan: fix cross-compile (#370171)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz authored Jan 2, 2025
2 parents fa99ba3 + 7f338aa commit f7bcfe2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/ve/vectorscan/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
hash = "sha256-wz2oIhau/vjnri3LOyPZSCFAWg694FTLVt7+SZYEsL4=";
};

postPatch = ''
substituteInPlace cmake/build_wrapper.sh \
--replace-fail 'nm' '${stdenv.cc.targetPrefix}nm' \
--replace-fail 'objcopy' '${stdenv.cc.targetPrefix}objcopy'
'';

nativeBuildInputs = [
cmake
pkg-config
Expand Down

0 comments on commit f7bcfe2

Please sign in to comment.