bash-completion: fix build on darwin (#107768)
This commit is contained in:
parent
7e143f77a7
commit
1d83fc2aac
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchurl
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, perl
|
, perl
|
||||||
|
@ -11,11 +11,13 @@ stdenv.mkDerivation rec {
|
||||||
pname = "bash-completion";
|
pname = "bash-completion";
|
||||||
version = "2.11";
|
version = "2.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
# Using fetchurl because fetchGithub or fetchzip will have trouble on
|
||||||
owner = "scop";
|
# e.g. APFS filesystems (macOS) because of non UTF-8 characters in some of the
|
||||||
repo = "bash-completion";
|
# test fixtures that are part of the repository.
|
||||||
rev = version;
|
# See discussion in https://github.com/NixOS/nixpkgs/issues/107768
|
||||||
sha256 = "0m3brd5jx7w07h8vxvvcmbyrlnadrx6hra3cvx6grzv6rin89liv";
|
src = fetchurl {
|
||||||
|
url = "https://github.com/scop/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "1b0iz7da1sgifx1a5wdyx1kxbzys53v0kyk8nhxfipllmm5qka3k";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
Loading…
Reference in a new issue