Skip to content

Commit a41b6f0

Browse files
authored
treewide: add mainProgram attribute to lisp compilers (#358036)
2 parents 27dbbee + 65f013d commit a41b6f0

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

pkgs/development/compilers/ccl/default.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@ in stdenv.mkDerivation rec {
8383
hardeningDisable = [ "format" ];
8484

8585
meta = with lib; {
86+
# assembler failures during build, x86_64-darwin broken since 2020-10-14
87+
broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64);
8688
description = "Clozure Common Lisp";
8789
homepage = "https://ccl.clozure.com/";
90+
license = licenses.asl20;
91+
mainProgram = "ccl";
8892
maintainers = lib.teams.lisp.members;
8993
platforms = attrNames options;
90-
# assembler failures during build, x86_64-darwin broken since 2020-10-14
91-
broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64);
92-
license = licenses.asl20;
9394
};
9495
}

pkgs/development/compilers/cmucl/binary.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ stdenv.mkDerivation (finalAttrs: {
4848
'';
4949

5050
meta = with lib; {
51-
homepage = "http://www.cons.org/cmucl/";
5251
description = "CMU implementation of Common Lisp";
52+
homepage = "http://www.cons.org/cmucl/";
53+
license = licenses.publicDomain;
5354
longDescription = ''
5455
CMUCL is a free implementation of the Common Lisp programming language
5556
which runs on most major Unix platforms. It mainly conforms to the
5657
ANSI Common Lisp standard.
5758
'';
58-
license = licenses.publicDomain;
59+
mainProgram = "lisp";
5960
maintainers = lib.teams.lisp.members;
6061
platforms = [ "i686-linux" "x86_64-linux" ];
6162
};

pkgs/development/compilers/mkcl/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ stdenv.mkDerivation rec {
6161
description = "ANSI Common Lisp Implementation";
6262
homepage = "https://common-lisp.net/project/mkcl/";
6363
license = licenses.lgpl2Plus;
64-
platforms = platforms.linux;
64+
mainProgram = "mkcl";
6565
maintainers = lib.teams.lisp.members;
66+
platforms = platforms.linux;
6667
};
6768
}

0 commit comments

Comments
 (0)