Merge branch 'update-shell.nix' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2021-08-18 06:26:31 +05:30
commit e4cc8bf828
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -7,6 +7,7 @@ let
inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL; inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL;
harfbuzzWithCoreText = harfbuzz.override { withCoreText = stdenv.isDarwin; }; harfbuzzWithCoreText = harfbuzz.override { withCoreText = stdenv.isDarwin; };
in in
with python3Packages;
mkShell rec { mkShell rec {
buildInputs = [ buildInputs = [
harfbuzzWithCoreText harfbuzzWithCoreText
@ -29,17 +30,22 @@ mkShell rec {
] ++ checkInputs; ] ++ checkInputs;
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig python3Packages.sphinx ncurses ncurses
pkg-config
sphinx
furo
sphinx-copybutton
sphinxext-opengraph
sphinx-inline-tabs
] ++ optionals stdenv.isDarwin [ ] ++ optionals stdenv.isDarwin [
imagemagick imagemagick
libicns # For the png2icns tool. libicns # For the png2icns tool.
installShellFiles
]; ];
propagatedBuildInputs = optional stdenv.isLinux libGL; propagatedBuildInputs = optional stdenv.isLinux libGL;
checkInputs = [ checkInputs = [
python3Packages.pillow pillow
]; ];
# Causes build failure due to warning when using Clang # Causes build failure due to warning when using Clang