summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/default.nix4
-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;
}