Rebrand as Playpen.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "Vertical-tab terminal built on libghostty-vt";
|
||||
description = "Playpen: vertical-tab terminal with web panes and saved layouts, built on libghostty-vt";
|
||||
|
||||
inputs = {
|
||||
# Ghostty tracks nixpkgs-unstable to get GTK 4.20 / GNOME 49. We follow
|
||||
@@ -42,7 +42,7 @@
|
||||
in {
|
||||
devShells = forAllSystems (pkgs: system: {
|
||||
default = pkgs.mkShell {
|
||||
name = "vtabs";
|
||||
name = "playpen";
|
||||
|
||||
nativeBuildInputs = [
|
||||
zig.packages.${system}."0.16.0"
|
||||
@@ -106,16 +106,16 @@
|
||||
# an RPATH into the Nix store and runs fine outside this shell, but
|
||||
# it still has to be pointed at this data or GTK aborts on a missing
|
||||
# schema and falls back to broken-image icons.
|
||||
export VTABS_GSETTINGS_SCHEMA_DIR="${pkgs.gtk4}/share/gsettings-schemas/${pkgs.gtk4.name}/glib-2.0/schemas"
|
||||
export VTABS_RUNTIME_DATA_DIRS="${pkgs.gtk4}/share/gsettings-schemas/${pkgs.gtk4.name}:${pkgs.adwaita-icon-theme}/share:${pkgs.hicolor-icon-theme}/share"
|
||||
export PLAYPEN_GSETTINGS_SCHEMA_DIR="${pkgs.gtk4}/share/gsettings-schemas/${pkgs.gtk4.name}/glib-2.0/schemas"
|
||||
export PLAYPEN_RUNTIME_DATA_DIRS="${pkgs.gtk4}/share/gsettings-schemas/${pkgs.gtk4.name}:${pkgs.adwaita-icon-theme}/share:${pkgs.hicolor-icon-theme}/share"
|
||||
|
||||
# The GIO module holding the TLS backend. Same story as the schemas:
|
||||
# it is found by path at runtime, so the installer bakes it in too.
|
||||
export VTABS_GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules"
|
||||
export PLAYPEN_GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules"
|
||||
|
||||
export GSETTINGS_SCHEMA_DIR="$VTABS_GSETTINGS_SCHEMA_DIR"
|
||||
export XDG_DATA_DIRS="$VTABS_RUNTIME_DATA_DIRS:$XDG_DATA_DIRS"
|
||||
export GIO_EXTRA_MODULES="$VTABS_GIO_MODULE_DIR''${GIO_EXTRA_MODULES:+:$GIO_EXTRA_MODULES}"
|
||||
export GSETTINGS_SCHEMA_DIR="$PLAYPEN_GSETTINGS_SCHEMA_DIR"
|
||||
export XDG_DATA_DIRS="$PLAYPEN_RUNTIME_DATA_DIRS:$XDG_DATA_DIRS"
|
||||
export GIO_EXTRA_MODULES="$PLAYPEN_GIO_MODULE_DIR''${GIO_EXTRA_MODULES:+:$GIO_EXTRA_MODULES}"
|
||||
|
||||
# WebKit's web process renders through mesa, and every piece of that
|
||||
# path has to come from the *same* mesa. Two things go wrong on a
|
||||
@@ -133,13 +133,13 @@
|
||||
# Pointing all three at this mesa keeps the stack self-consistent.
|
||||
# It still uses the real GPU through /dev/dri; this is not a
|
||||
# software-rendering fallback.
|
||||
export VTABS_EGL_VENDOR_DIR="${pkgs.mesa}/share/glvnd/egl_vendor.d"
|
||||
export VTABS_DRI_DRIVERS_PATH="${pkgs.mesa}/lib/dri"
|
||||
export VTABS_GBM_BACKENDS_PATH="${pkgs.mesa}/lib/gbm"
|
||||
export PLAYPEN_EGL_VENDOR_DIR="${pkgs.mesa}/share/glvnd/egl_vendor.d"
|
||||
export PLAYPEN_DRI_DRIVERS_PATH="${pkgs.mesa}/lib/dri"
|
||||
export PLAYPEN_GBM_BACKENDS_PATH="${pkgs.mesa}/lib/gbm"
|
||||
|
||||
export __EGL_VENDOR_LIBRARY_DIRS="$VTABS_EGL_VENDOR_DIR"
|
||||
export LIBGL_DRIVERS_PATH="$VTABS_DRI_DRIVERS_PATH"
|
||||
export GBM_BACKENDS_PATH="$VTABS_GBM_BACKENDS_PATH"
|
||||
export __EGL_VENDOR_LIBRARY_DIRS="$PLAYPEN_EGL_VENDOR_DIR"
|
||||
export LIBGL_DRIVERS_PATH="$PLAYPEN_DRI_DRIVERS_PATH"
|
||||
export GBM_BACKENDS_PATH="$PLAYPEN_GBM_BACKENDS_PATH"
|
||||
'';
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user