diff options
author | stuebinm <stuebinm@disroot.org> | 2024-03-19 03:14:51 +0100 |
---|---|---|
committer | stuebinm <stuebinm@disroot.org> | 2024-03-19 03:14:51 +0100 |
commit | ff1a94e523ae9fb272e0581f068baee5d1068476 (patch) | |
tree | cbea47f2004a4fa8685163d630612cf748e72c1e /pkgs/development/compilers/elm | |
parent | b06025f1533a1e07b6db3e75151caa155d1c7eb3 (diff) |
treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
Diffstat (limited to 'pkgs/development/compilers/elm')
4 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/elm/packages/elm-instrument.nix b/pkgs/development/compilers/elm/packages/elm-instrument.nix index 18f4d3aff196..02593b855077 100644 --- a/pkgs/development/compilers/elm/packages/elm-instrument.nix +++ b/pkgs/development/compilers/elm/packages/elm-instrument.nix @@ -40,4 +40,5 @@ mkDerivation { homepage = "https://elm-lang.org"; description = "Instrumentation library for Elm"; license = lib.licenses.bsd3; + mainProgram = "elm-instrument"; } diff --git a/pkgs/development/compilers/elm/packages/elm-json.nix b/pkgs/development/compilers/elm/packages/elm-json.nix index 6eb5d10cd471..5b988244cc97 100644 --- a/pkgs/development/compilers/elm/packages/elm-json.nix +++ b/pkgs/development/compilers/elm/packages/elm-json.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Install, upgrade and uninstall Elm dependencies"; + mainProgram = "elm-json"; homepage = "https://github.com/zwilias/elm-json"; license = licenses.mit; maintainers = [ maintainers.turbomack ]; diff --git a/pkgs/development/compilers/elm/packages/elm-test-rs.nix b/pkgs/development/compilers/elm/packages/elm-test-rs.nix index 5e2a5502b211..02f69c2d2f03 100644 --- a/pkgs/development/compilers/elm/packages/elm-test-rs.nix +++ b/pkgs/development/compilers/elm/packages/elm-test-rs.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Fast and portable executable to run your Elm tests"; + mainProgram = "elm-test-rs"; homepage = "https://github.com/mpizenberg/elm-test-rs"; license = licenses.bsd3; maintainers = [ maintainers.jpagex ]; diff --git a/pkgs/development/compilers/elm/packages/elm-test.nix b/pkgs/development/compilers/elm/packages/elm-test.nix index fc943a80a3fa..eca45395c3df 100644 --- a/pkgs/development/compilers/elm/packages/elm-test.nix +++ b/pkgs/development/compilers/elm/packages/elm-test.nix @@ -25,6 +25,7 @@ buildNpmPackage rec { meta = { changelog = "https://github.com/rtfeldman/node-test-runner/blob/${src.rev}/CHANGELOG.md"; description = "Runs elm-test suites from Node.js"; + mainProgram = "elm-test"; homepage = "https://github.com/rtfeldman/node-test-runner"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ turbomack ]; |