drat: Fix build on darwin (#521012)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
argp-standalone,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
@@ -15,6 +16,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-1NmqG73sP25Uqf7DiSPgt7drONOg9ZkrtCS0tYVjSU0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
argp-standalone
|
||||
];
|
||||
|
||||
# Don't blow up on warnings; it makes upgrading the compiler difficult.
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace-fail "-Werror" ""
|
||||
|
||||
Reference in New Issue
Block a user