mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
Update shell.nix
According to https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks, the darwin.apple_sdk.framework namespace has been deprecated. This commit updates shell.nix to be compatible with the nixos-unstable channel on darwin. Tested by running `nix-shell --pure` and then `make` inside that shell.
This commit is contained in:
parent
7c963a67cf
commit
63a257591b
1 changed files with 1 additions and 12 deletions
13
shell.nix
13
shell.nix
|
|
@ -2,7 +2,6 @@
|
|||
with pkgs; let
|
||||
inherit (lib) optional optionals;
|
||||
inherit (xorg) libX11 libXrandr libXinerama libXcursor libXi libXext;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL UniformTypeIdentifiers;
|
||||
harfbuzzWithCoreText = harfbuzz.override {withCoreText = stdenv.isDarwin;};
|
||||
in
|
||||
with python3Packages;
|
||||
|
|
@ -14,23 +13,13 @@ in
|
|||
lcms2
|
||||
xxHash
|
||||
simde
|
||||
go_1_24
|
||||
go
|
||||
matplotlib
|
||||
]
|
||||
++ optionals stdenv.isDarwin [
|
||||
Cocoa
|
||||
CoreGraphics
|
||||
Foundation
|
||||
IOKit
|
||||
Kernel
|
||||
OpenGL
|
||||
UniformTypeIdentifiers
|
||||
libpng
|
||||
zlib
|
||||
]
|
||||
++ lib.optionals (stdenv.isDarwin && (builtins.hasAttr "UserNotifications" darwin.apple_sdk.frameworks)) [
|
||||
darwin.apple_sdk.frameworks.UserNotifications
|
||||
]
|
||||
++ optionals stdenv.isLinux [
|
||||
fontconfig
|
||||
libunistring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue