commit
24d1c54299
2 changed files with 13 additions and 1 deletions
|
@ -24,7 +24,11 @@ version = "0.30"
|
||||||
features = ["rwh_05"]
|
features = ["rwh_05"]
|
||||||
default-features = true
|
default-features = true
|
||||||
|
|
||||||
[dependencies.font-kit]
|
[target.'cfg(target_os = "linux")'.dependencies.font-kit]
|
||||||
version = "0.14.2"
|
version = "0.14.2"
|
||||||
features = ["loader-freetype-default", "source-fontconfig-dlopen"]
|
features = ["loader-freetype-default", "source-fontconfig-dlopen"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "macos")'.dependencies.font-kit]
|
||||||
|
version = "0.14.2"
|
||||||
|
default-features = true
|
||||||
|
|
|
@ -88,6 +88,14 @@
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
xorg.libX11.dev
|
xorg.libX11.dev
|
||||||
]
|
]
|
||||||
|
))
|
||||||
|
++ (lib.optionals pkgs.stdenv.isDarwin (
|
||||||
|
with pkgs.darwin.apple_sdk.frameworks;
|
||||||
|
[
|
||||||
|
Carbon
|
||||||
|
QuartzCore
|
||||||
|
AppKit
|
||||||
|
]
|
||||||
));
|
));
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue