diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-02-29 23:42:12 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-02-29 23:42:12 +0100 |
commit | a6fa574292469ff9d48b5cbe49ddaa7a835609c5 (patch) | |
tree | 7345e16aa29debf9e5204351a34006d0bdf71348 /pkgs/applications/networking/onionshare | |
parent | 2d781c40a27b7f19a3dfdf8c054c4e1018382374 (diff) |
onionshare-gui: fix meta.mainProgram
Diffstat (limited to 'pkgs/applications/networking/onionshare')
-rw-r--r-- | pkgs/applications/networking/onionshare/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/applications/networking/onionshare/default.nix b/pkgs/applications/networking/onionshare/default.nix index 54498ff891e9c..9b184a8fa13d9 100644 --- a/pkgs/applications/networking/onionshare/default.nix +++ b/pkgs/applications/networking/onionshare/default.nix @@ -59,7 +59,6 @@ let license = licenses.gpl3Plus; maintainers = with maintainers; [ bbjubjub ]; - mainProgram = "onionshare-cli"; }; # TODO: package meek https://support.torproject.org/glossary/meek/ @@ -69,7 +68,7 @@ in rec { onionshare = buildPythonApplication { pname = "onionshare-cli"; - inherit version meta; + inherit version; src = "${src}/cli"; patches = [ # hardcode store paths of dependencies @@ -122,11 +121,15 @@ rec { # to fake "test_receive_mode_webhook" ]; + + meta = meta // { + mainProgram = "onionshare-cli"; + }; }; onionshare-gui = buildPythonApplication { pname = "onionshare"; - inherit version meta; + inherit version; src = "${src}/desktop"; patches = [ # hardcode store paths of dependencies @@ -164,5 +167,9 @@ rec { doCheck = false; pythonImportsCheck = [ "onionshare" ]; + + meta = meta // { + mainProgram = "onionshare"; + }; }; } |