treewide: add meta.mainProgram

Related PR: https://github.com/NixOS/nixpkgs/pull/246386
This commit is contained in:
zendo 2023-08-04 08:13:11 +08:00 committed by Anderson Torres
parent 5e362985ad
commit 4f5308922f
5 changed files with 5 additions and 0 deletions

View File

@ -36,5 +36,6 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.devhell ];
mainProgram = "nload";
};
}

View File

@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
homepage = "https://github.com/haslersn/any-nix-shell";
maintainers = with maintainers; [ haslersn ];
mainProgram = "any-nix-shell";
};
}

View File

@ -131,6 +131,7 @@ EOF
homepage = "https://www.zsh.org/";
maintainers = with lib.maintainers; [ pSub artturin ];
platforms = lib.platforms.unix;
mainProgram = "zsh";
};
passthru = {

View File

@ -31,5 +31,6 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/dalance/procs/raw/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne sciencentistguy ];
mainProgram = "procs";
};
}

View File

@ -58,5 +58,6 @@ rustPlatform.buildRustPackage {
homepage = "https://the.exa.website";
license = licenses.mit;
maintainers = with maintainers; [ ehegnes lilyball globin fortuneteller2k ];
mainProgram = "exa";
};
}