Merge branch 'update-shell.nix' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
e4cc8bf828
12
shell.nix
12
shell.nix
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user