diff --git a/pkgs/applications/display-managers/greetd/gtkgreet.nix b/pkgs/applications/display-managers/greetd/gtkgreet.nix index 77ddda933710..39beea377e1e 100644 --- a/pkgs/applications/display-managers/greetd/gtkgreet.nix +++ b/pkgs/applications/display-managers/greetd/gtkgreet.nix @@ -49,5 +49,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ luc65r ]; platforms = platforms.linux; + mainProgram = "gtkgreet"; }; } diff --git a/pkgs/applications/terminal-emulators/foot/default.nix b/pkgs/applications/terminal-emulators/foot/default.nix index c2d817b4d576..507270874113 100644 --- a/pkgs/applications/terminal-emulators/foot/default.nix +++ b/pkgs/applications/terminal-emulators/foot/default.nix @@ -219,5 +219,6 @@ stdenv.mkDerivation rec { # TERMINFO to a store path, but allows installing foot.terminfo # on remote systems for proper foot terminfo support. priority = (ncurses.meta.priority or 5) + 3 + 1; + mainProgram = "foot"; }; } diff --git a/pkgs/applications/video/kooha/default.nix b/pkgs/applications/video/kooha/default.nix index b1652da73c04..bda712cac113 100644 --- a/pkgs/applications/video/kooha/default.nix +++ b/pkgs/applications/video/kooha/default.nix @@ -73,5 +73,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3Only; platforms = platforms.linux; maintainers = with maintainers; [ austinbutler ]; + mainProgram = "kooha"; }; } diff --git a/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix b/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix index 11b03bdb3041..f329c0ea7fbd 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix @@ -60,5 +60,6 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with maintainers; [ wozeparrot fufexan ]; inherit (wayland.meta) platforms; broken = stdenv.isDarwin; + mainProgram = "hyprpaper"; }; }) diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix index f8efab159c28..6e11d842fe92 100644 --- a/pkgs/applications/window-managers/sway/default.nix +++ b/pkgs/applications/window-managers/sway/default.nix @@ -96,5 +96,6 @@ stdenv.mkDerivation (finalAttrs: { license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ primeos synthetica ]; + mainProgram = "sway"; }; }) diff --git a/pkgs/development/node-packages/main-programs.nix b/pkgs/development/node-packages/main-programs.nix index 494a69e8a3c2..847aecbe4477 100644 --- a/pkgs/development/node-packages/main-programs.nix +++ b/pkgs/development/node-packages/main-programs.nix @@ -71,6 +71,7 @@ s3http = "s3http.js"; svelte-language-server = "svelteserver"; teck-programmer = "teck-firmware-upgrade"; + typescript-language-server = "typescript-language-server"; uglify-js = "uglifyjs"; undollar = "$"; vsc-leetcode-cli = "leetcode"; diff --git a/pkgs/development/tools/jaq/default.nix b/pkgs/development/tools/jaq/default.nix index 4ee02d0a514f..b176869aa084 100644 --- a/pkgs/development/tools/jaq/default.nix +++ b/pkgs/development/tools/jaq/default.nix @@ -28,5 +28,6 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/01mf02/jaq/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda siraben ]; + mainProgram = "jaq"; }; } diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index a6284298155c..4df95a9ca6fe 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -299,6 +299,7 @@ let license = licenses.gpl2; platforms = platforms.unix; maintainers = with maintainers; [ cole-h winter srapenne ]; + mainProgram = "fish"; }; passthru = { diff --git a/pkgs/tools/audio/playerctl/default.nix b/pkgs/tools/audio/playerctl/default.nix index d9f408bf9eda..b28ab390e01c 100644 --- a/pkgs/tools/audio/playerctl/default.nix +++ b/pkgs/tools/audio/playerctl/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { platforms = platforms.unix; maintainers = with maintainers; [ puffnfresh ]; broken = stdenv.hostPlatform.isDarwin; + mainProgram = "playerctl"; }; } diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix index fa88b633d219..b8f7e8cdbf36 100644 --- a/pkgs/tools/misc/starship/default.nix +++ b/pkgs/tools/misc/starship/default.nix @@ -52,5 +52,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://starship.rs"; license = licenses.isc; maintainers = with maintainers; [ bbigras danth davidtwco Br1ght0ne Frostman marsam ]; + mainProgram = "starship"; }; } diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index fd5ad84abf69..30f00df912c4 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -196,5 +196,6 @@ stdenv.mkDerivation (finalAttrs: { # Fails to link against static brotli or gss broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport); pkgConfigModules = [ "libcurl" ]; + mainProgram = "curl"; }; }) diff --git a/pkgs/tools/networking/socat/default.nix b/pkgs/tools/networking/socat/default.nix index 00c0ad7bd131..c34aa7ab4c22 100644 --- a/pkgs/tools/networking/socat/default.nix +++ b/pkgs/tools/networking/socat/default.nix @@ -41,5 +41,6 @@ stdenv.mkDerivation rec { platforms = platforms.unix; license = with licenses; [ gpl2Only ]; maintainers = with maintainers; [ eelco ]; + mainProgram = "socat"; }; } diff --git a/pkgs/tools/security/yubikey-touch-detector/default.nix b/pkgs/tools/security/yubikey-touch-detector/default.nix index 9e66a5ffd5a8..26402caa812b 100644 --- a/pkgs/tools/security/yubikey-touch-detector/default.nix +++ b/pkgs/tools/security/yubikey-touch-detector/default.nix @@ -49,5 +49,6 @@ buildGoModule rec { maintainers = with maintainers; [ sumnerevans ]; license = with licenses; [ bsd2 isc ]; platforms = platforms.linux; + mainProgram = "yubikey-touch-detector"; }; } diff --git a/pkgs/tools/wayland/wtype/default.nix b/pkgs/tools/wayland/wtype/default.nix index 5928b9dd489d..f9461ef7613b 100644 --- a/pkgs/tools/wayland/wtype/default.nix +++ b/pkgs/tools/wayland/wtype/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ justinlovinger ]; + mainProgram = "wtype"; }; }