onionshare: allow using nix run

This commit is contained in:
Louis Bettens 2020-12-28 11:19:37 +01:00
parent d25e92102d
commit 58e767c037

View file

@ -56,7 +56,7 @@ let
in rec { in rec {
onionshare = buildPythonApplication { onionshare = buildPythonApplication {
pname = "onionshare"; pname = "onionshare-cli";
inherit version meta; inherit version meta;
src = "${src}/cli"; src = "${src}/cli";
patches = [ patches = [
@ -95,7 +95,7 @@ in rec {
}; };
onionshare-gui = buildPythonApplication { onionshare-gui = buildPythonApplication {
pname = "onionshare-gui"; pname = "onionshare";
inherit version meta; inherit version meta;
src = "${src}/desktop/src"; src = "${src}/desktop/src";
patches = [ patches = [