From 4f56bd894c190f51c4b06bdfa51d5127e4fe88de Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 2 Jan 2024 22:20:08 +0100 Subject: [PATCH 1/3] nickel: add meta.mainProgram --- pkgs/by-name/ni/nickel/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ni/nickel/package.nix b/pkgs/by-name/ni/nickel/package.nix index 3d82fc275c85..78dd24eb028b 100644 --- a/pkgs/by-name/ni/nickel/package.nix +++ b/pkgs/by-name/ni/nickel/package.nix @@ -69,5 +69,6 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/tweag/nickel/blob/${version}/RELEASES.md"; license = licenses.mit; maintainers = with maintainers; [ AndersonTorres felschr matthiasbeyer ]; + mainProgram = "nickel"; }; } From 19ea7859afd41c7f2eee0d18c12b59bc0f1cc158 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 2 Jan 2024 22:20:19 +0100 Subject: [PATCH 2/3] swift-format: add meta.mainProgram --- pkgs/development/compilers/swift/swift-format/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/swift/swift-format/default.nix b/pkgs/development/compilers/swift/swift-format/default.nix index 188208ebf492..d68801aac6e2 100644 --- a/pkgs/development/compilers/swift/swift-format/default.nix +++ b/pkgs/development/compilers/swift/swift-format/default.nix @@ -36,5 +36,6 @@ stdenv.mkDerivation { platforms = with lib.platforms; linux ++ darwin; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ]; + mainProgram = "swift-format"; }; } From 2a751800fd4824158ccd61ab718ff5197bbde17b Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 2 Jan 2024 22:20:30 +0100 Subject: [PATCH 3/3] zig: add meta.mainProgram --- pkgs/development/compilers/zig/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/zig/generic.nix b/pkgs/development/compilers/zig/generic.nix index a0dbea04869e..220f3240f285 100644 --- a/pkgs/development/compilers/zig/generic.nix +++ b/pkgs/development/compilers/zig/generic.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://ziglang.org/download/${finalAttrs.version}/release-notes.html"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ andrewrk ] ++ lib.teams.zig.members; + mainProgram = "zig"; platforms = lib.platforms.unix; }; } // removeAttrs args [ "hash" ])