diff --git a/pkgs/applications/virtualization/tart/default.nix b/pkgs/applications/virtualization/tart/default.nix index ad0cfa8df547..89dc9fd56834 100644 --- a/pkgs/applications/virtualization/tart/default.nix +++ b/pkgs/applications/virtualization/tart/default.nix @@ -40,6 +40,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { homepage = "https://tart.run"; license = licenses.fairsource09; maintainers = with maintainers; [ emilytrau Enzime ]; + mainProgram = finalAttrs.pname; platforms = [ "aarch64-darwin" ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; diff --git a/pkgs/development/python-modules/vncdo/default.nix b/pkgs/development/python-modules/vncdo/default.nix index ef33a46cc34c..b6d12a67185c 100644 --- a/pkgs/development/python-modules/vncdo/default.nix +++ b/pkgs/development/python-modules/vncdo/default.nix @@ -6,6 +6,7 @@ , nose , ptyprocess }: + buildPythonPackage rec { pname = "vncdo"; version = "0.12.0"; @@ -32,7 +33,7 @@ buildPythonPackage rec { description = "A command line VNC client and python library"; license = licenses.mit; maintainers = with maintainers; [ elitak ]; + mainProgram = pname; platforms = with platforms; linux ++ darwin; }; - } diff --git a/pkgs/tools/networking/passh/default.nix b/pkgs/tools/networking/passh/default.nix index 6534d3a1d517..060272c01a2e 100644 --- a/pkgs/tools/networking/passh/default.nix +++ b/pkgs/tools/networking/passh/default.nix @@ -1,18 +1,19 @@ { lib, fetchFromGitHub, stdenv }: -stdenv.mkDerivation rec { + +stdenv.mkDerivation (finalAttrs: { pname = "passh"; version = "2020-03-18"; src = fetchFromGitHub { owner = "clarkwang"; - repo = pname; + repo = finalAttrs.pname; rev = "7112e667fc9e65f41c384f89ff6938d23e86826c"; sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5"; }; installPhase = '' mkdir -p $out/bin - cp passh $out/bin + cp ${finalAttrs.pname} $out/bin ''; meta = with lib; { @@ -20,6 +21,7 @@ stdenv.mkDerivation rec { description = "An sshpass alternative for non-interactive ssh auth"; license = licenses.gpl3; maintainers = [ maintainers.lovesegfault ]; + mainProgram = finalAttrs.pname; platforms = platforms.unix; }; -} +})