Compare commits
2 Commits
0c3091632f
...
8ed87c7d53
Author | SHA1 | Date | |
---|---|---|---|
8ed87c7d53 | |||
fc5590bbd7 |
@ -26,7 +26,13 @@
|
||||
pspec.name val)))
|
||||
))
|
||||
})]
|
||||
{:webview widget
|
||||
(let [settings (widget:get_settings)]
|
||||
(print :font (settings:get_default_font_family)
|
||||
:size (settings:get_default_font_size))
|
||||
(settings:set_enable_write_console_messages_to_stdout true)
|
||||
(widget:set_settings settings))
|
||||
|
||||
{:webview (trace widget)
|
||||
:name name
|
||||
:subscribe-property-changes
|
||||
(fn [self cb]
|
||||
|
12
shell.nix
12
shell.nix
@ -1,10 +1,20 @@
|
||||
with import <nixpkgs> {} ;
|
||||
let just = callPackage ./. {};
|
||||
let
|
||||
just = callPackage ./. {};
|
||||
in just.overrideAttrs(o: {
|
||||
nativeBuildInputs = o.nativeBuildInputs ++ (with pkgs; [
|
||||
socat
|
||||
overmind
|
||||
entr
|
||||
buildInputs = o.buildInputs ++ (with pkgs; [
|
||||
gobject-introspection
|
||||
gtk3
|
||||
webkitgtk
|
||||
]);
|
||||
JUST_HACKING = 1;
|
||||
|
||||
shellHook = with pkgs; ''
|
||||
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS;
|
||||
export GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules/";
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user