shell.nix (593B)
1 with import <nixpkgs> {} ; 2 let 3 package = callPackage ./. {}; 4 in package.overrideAttrs(o: { 5 nativeBuildInputs = o.nativeBuildInputs ++ (with pkgs; [ 6 socat 7 overmind 8 entr 9 ]); 10 buildInputs = o.buildInputs ++ (with pkgs; [ 11 gobject-introspection 12 gtk3 13 webkitgtk 14 ]); 15 JUST_HACKING = 1; 16 17 shellHook = with pkgs; '' 18 export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS; 19 export GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules/"; 20 ''; 21 })