mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 10:37:32 +00:00
bfs: 2.3.1 -> 2.6
bfs now relies on oniguruma for regex support therefore we need to add oniguruma to the buildInputs.
This commit is contained in:
parent
d72af2c373
commit
4a07f05af1
@ -1,17 +1,17 @@
|
||||
{ lib, stdenv, fetchFromGitHub, libcap, acl }:
|
||||
{ lib, stdenv, fetchFromGitHub, libcap, acl, oniguruma }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bfs";
|
||||
version = "2.3.1";
|
||||
version = "2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "bfs";
|
||||
owner = "tavianator";
|
||||
rev = version;
|
||||
sha256 = "sha256-V82UdCG0J04sZP3FTVQqANrez/LCwOLQY6zzFOoIeNo=";
|
||||
sha256 = "sha256-QFhU8MElVaEtjCP0Wjt8d9/etCYsy4QrpOFldVdok8k=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isLinux [ libcap acl ];
|
||||
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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user