From 6cee1a15fe92512dcf269fb2357d1b275bbf020a Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 8 Aug 2023 18:20:22 -0400 Subject: pkgs/modrinth-app: rename from theseus --- pkgs/theseus/wrapper.nix | 73 ------------------------------------------------ 1 file changed, 73 deletions(-) delete mode 100644 pkgs/theseus/wrapper.nix (limited to 'pkgs/theseus/wrapper.nix') diff --git a/pkgs/theseus/wrapper.nix b/pkgs/theseus/wrapper.nix deleted file mode 100644 index c907451..0000000 --- a/pkgs/theseus/wrapper.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ - lib, - stdenv, - symlinkJoin, - theseus-unwrapped, - wrapGAppsHook, - dbus, - flite, - freetype, - glib-networking, - glfw, - gtk3, - jdk8, - jdk17, - jdks ? [jdk8 jdk17], - libappindicator-gtk3, - libGL, - libpulseaudio, - librsvg, - libsoup, - openal, - webkitgtk, - xorg, - ... -}: let - theseusFinal = theseus-unwrapped; -in - symlinkJoin { - name = "theseus-${theseusFinal.version}"; - - paths = [theseusFinal]; - - nativeBuildInputs = [ - wrapGAppsHook - ]; - - buildInputs = lib.optionals stdenv.isLinux [ - dbus - freetype - gtk3 - libappindicator-gtk3 - librsvg - libsoup - webkitgtk - ]; - - preFixup = let - libPath = lib.makeLibraryPath ([ - flite - glfw - libGL - libpulseaudio - openal - stdenv.cc.cc.lib - ] - ++ (with xorg; [ - libX11 - libXcursor - libXext - libXxf86vm - libXrandr - ])); - binPath = lib.makeBinPath (lib.optionals stdenv.isLinux [xorg.xrandr] ++ jdks); - in '' - gappsWrapperArgs+=( - ${lib.optionalString stdenv.isLinux "--set LD_LIBRARY_PATH /run/opengl-driver/lib:${libPath}"} - ${lib.optionalString stdenv.isLinux "--prefix GIO_MODULE_DIR : ${glib-networking}/lib/gio/modules/"} - --prefix PATH : ${binPath} - ) - ''; - - inherit (theseusFinal) meta; - } -- cgit v1.2.3