mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
nix-prefetch: apply 'Fix input_type regex for macOS systems' patch
This commit is contained in:
parent
9332bcad18
commit
1c7b7616d2
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub, installShellFiles, makeWrapper, asciidoc
|
||||
, docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk
|
||||
, gnugrep, gnused, jq, nix }:
|
||||
, gnugrep, gnused, jq, nix, fetchpatch }:
|
||||
|
||||
let
|
||||
binPath = lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ];
|
||||
@ -20,6 +20,14 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix input_type regex for macOS systems: https://github.com/msteen/nix-prefetch/pull/24
|
||||
(fetchpatch {
|
||||
url = "https://github.com/msteen/nix-prefetch/commit/08282891bdb108e886eaf39be2030ba1feda1cb1.patch";
|
||||
sha256 = "1v6ask54ind6f3784pbncv0dfg6draaaicg0q46jfvp0lafms70x";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
lib=$out/lib/${pname}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user