diff options
| author | seth <[email protected]> | 2023-08-08 18:20:22 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-08-09 07:50:01 -0400 |
| commit | 6cee1a15fe92512dcf269fb2357d1b275bbf020a (patch) | |
| tree | 3c46f6fa6904597b3dd6a9ae0ce73653b5b088fc /pkgs | |
| parent | 357b926304cfc6ef0906e4e3687dd91673ce9519 (diff) | |
pkgs/modrinth-app: rename from theseus
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/default.nix | 4 | ||||
| -rw-r--r-- | pkgs/modrinth-app/default.nix (renamed from pkgs/theseus/default.nix) | 4 | ||||
| -rw-r--r-- | pkgs/modrinth-app/wrapper.nix (renamed from pkgs/theseus/wrapper.nix) | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index cb49abb..b67199b 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -8,11 +8,11 @@ in { huion = callPackage ./huion.nix {}; mommy = callPackage ./mommy.nix {}; nixgc = callPackage ./nixgc.nix {}; - theseus-unwrapped = callPackage ./theseus { + modrinth-app-unwrapped = callPackage ./modrinth-app { inherit (pkgs.nodePackages) pnpm; inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices Security WebKit; }; - theseus = callPackage ./theseus/wrapper.nix {}; + modrinth-app = callPackage ./modrinth-app/wrapper.nix {}; treefetch = callPackage ./treefetch.nix {}; swhkd = callPackage ./swhkd {}; vim-just = callPackage ./vim-just.nix {}; diff --git a/pkgs/theseus/default.nix b/pkgs/modrinth-app/default.nix index bda94ec..1d01633 100644 --- a/pkgs/theseus/default.nix +++ b/pkgs/modrinth-app/default.nix @@ -25,7 +25,7 @@ wrapGAppsHook, }: rustPlatform.buildRustPackage rec { - pname = "theseus"; + pname = "modrinth-app"; version = "unstable-2023-08-05"; src = fetchFromGitHub { @@ -129,7 +129,7 @@ rustPlatform.buildRustPackage rec { genericName = meta.description; }; - postInstall = '' + postInstall = lib.optionalString stdenv.isLinux '' mkdir -p $out/share/icons/hicolor/256x256/apps mkdir -p $out/share/applications cp theseus_gui/src-tauri/icons/Square284x284Logo.png $out/share/icons/hicolor/256x256/apps/com.modrinth.theseus.png diff --git a/pkgs/theseus/wrapper.nix b/pkgs/modrinth-app/wrapper.nix index c907451..d120b2b 100644 --- a/pkgs/theseus/wrapper.nix +++ b/pkgs/modrinth-app/wrapper.nix @@ -2,7 +2,7 @@ lib, stdenv, symlinkJoin, - theseus-unwrapped, + modrinth-app-unwrapped, wrapGAppsHook, dbus, flite, @@ -23,12 +23,12 @@ xorg, ... }: let - theseusFinal = theseus-unwrapped; + final = modrinth-app-unwrapped; in symlinkJoin { - name = "theseus-${theseusFinal.version}"; + name = "modrinth-app-${final.version}"; - paths = [theseusFinal]; + paths = [final]; nativeBuildInputs = [ wrapGAppsHook @@ -69,5 +69,5 @@ in ) ''; - inherit (theseusFinal) meta; + inherit (final) meta; } |
