From 65f013da3a2d4491232b9a04c6b206c4e1813a85 Mon Sep 17 00:00:00 2001 From: TANIGUCHI Masaya Date: Fri, 22 Nov 2024 11:12:44 +0900 Subject: [PATCH] treewide: add mainProgram attribute to lisp compilers --- pkgs/development/compilers/ccl/default.nix | 9 +++++---- pkgs/development/compilers/cmucl/binary.nix | 5 +++-- pkgs/development/compilers/mkcl/default.nix | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/compilers/ccl/default.nix b/pkgs/development/compilers/ccl/default.nix index ae82b0ccfda2..7e7f6004c466 100644 --- a/pkgs/development/compilers/ccl/default.nix +++ b/pkgs/development/compilers/ccl/default.nix @@ -83,12 +83,13 @@ in stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; meta = with lib; { - description = "Clozure Common Lisp"; - homepage = "https://ccl.clozure.com/"; - maintainers = lib.teams.lisp.members; - platforms = attrNames options; # assembler failures during build, x86_64-darwin broken since 2020-10-14 broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); + description = "Clozure Common Lisp"; + homepage = "https://ccl.clozure.com/"; license = licenses.asl20; + mainProgram = "ccl"; + maintainers = lib.teams.lisp.members; + platforms = attrNames options; }; } diff --git a/pkgs/development/compilers/cmucl/binary.nix b/pkgs/development/compilers/cmucl/binary.nix index 130b757856a0..9a186beaf00d 100644 --- a/pkgs/development/compilers/cmucl/binary.nix +++ b/pkgs/development/compilers/cmucl/binary.nix @@ -48,14 +48,15 @@ stdenv.mkDerivation (finalAttrs: { ''; meta = with lib; { - homepage = "http://www.cons.org/cmucl/"; description = "CMU implementation of Common Lisp"; + homepage = "http://www.cons.org/cmucl/"; + license = licenses.publicDomain; longDescription = '' CMUCL is a free implementation of the Common Lisp programming language which runs on most major Unix platforms. It mainly conforms to the ANSI Common Lisp standard. ''; - license = licenses.publicDomain; + mainProgram = "lisp"; maintainers = lib.teams.lisp.members; platforms = [ "i686-linux" "x86_64-linux" ]; }; diff --git a/pkgs/development/compilers/mkcl/default.nix b/pkgs/development/compilers/mkcl/default.nix index d5e297ae26ef..1483bd4a1597 100644 --- a/pkgs/development/compilers/mkcl/default.nix +++ b/pkgs/development/compilers/mkcl/default.nix @@ -61,7 +61,8 @@ stdenv.mkDerivation rec { description = "ANSI Common Lisp Implementation"; homepage = "https://common-lisp.net/project/mkcl/"; license = licenses.lgpl2Plus; - platforms = platforms.linux; + mainProgram = "mkcl"; maintainers = lib.teams.lisp.members; + platforms = platforms.linux; }; }