bfs: 2.6.3 -> 3.0.1

https://github.com/tavianator/bfs/releases/tag/3.0.1
This commit is contained in:
Alan Pearce 2023-07-19 18:54:30 +02:00
parent c941659cd3
commit f81d0d15fb

View File

@ -2,20 +2,20 @@
stdenv.mkDerivation rec {
pname = "bfs";
version = "2.6.3";
version = "3.0.1";
src = fetchFromGitHub {
repo = "bfs";
owner = "tavianator";
rev = version;
sha256 = "sha256-XsbD5WYa05tldwBylr6CLwARo61/g4IN686pkCpGGM4=";
sha256 = "sha256-/CiQUK6nmu3MtkG5PMQPn05qIO/M0Oy/LdBI/8oFdqA=";
};
buildInputs = [ oniguruma ] ++ lib.optionals stdenv.isLinux [ libcap acl ];
# Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098
preConfigure = lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile --replace "-flto -DNDEBUG" "-DNDEBUG"
substituteInPlace Makefile --replace "-flto" ""
'';
makeFlags = [ "PREFIX=$(out)" ];