mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
emacs26: add some tweaks from jwiegley’s overlay
original src:
f85c560bf8/overlays/10-emacs.nix
This commit is contained in:
parent
a87b50bc63
commit
aa2160e1b6
@ -40,6 +40,12 @@ stdenv.mkDerivation rec {
|
||||
./clean-env.patch
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString srcRepo ''
|
||||
rm -fr .git
|
||||
'';
|
||||
|
||||
CFLAGS = "-DMAC_OS_X_VERSION_MAX_ALLOWED=101200";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
++ lib.optionals srcRepo [ autoconf automake texinfo ]
|
||||
++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook;
|
||||
|
Loading…
Reference in New Issue
Block a user