Merge pull request #244387 from alanpearce/bfs-3.0.1
bfs: 2.6.3 -> 3.0.1
This commit is contained in:
@@ -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)" ];
|
||||
|
||||
Reference in New Issue
Block a user