mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
dar: fix build on darwin
This commit is contained in:
parent
b1b0b6e3e7
commit
9cae443aea
@ -1,7 +1,6 @@
|
||||
args @ {
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
llvmPackages_12, # Anything newer than 11
|
||||
fetchzip,
|
||||
which,
|
||||
attr,
|
||||
@ -22,12 +21,6 @@ args @ {
|
||||
CoreFoundation,
|
||||
}:
|
||||
|
||||
let
|
||||
# Fails to build with clang-11 on Darwin:
|
||||
# error: exception specification of overriding function is more lax than base version
|
||||
stdenv = if args.stdenv.isDarwin then llvmPackages_12.stdenv else args.stdenv;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.7.13";
|
||||
pname = "dar";
|
||||
|
Loading…
Reference in New Issue
Block a user