lisp-modules: Prepend Lisp name before package name for lisp pkgs

Similar to how python3.pkgs does it
https://github.com/NixOS/nixpkgs/issues/277571#issuecomment-1879892844
This commit is contained in:
Kasper Gałkowski 2024-01-10 01:47:26 +01:00
parent c27ade81bf
commit 3189f73489

View File

@ -147,7 +147,7 @@ let
stdenv.mkDerivation (rec {
inherit
pname version nativeLibs javaLibs lispLibs systems asds
version nativeLibs javaLibs lispLibs systems asds
pkg program flags faslExt
;
@ -216,6 +216,7 @@ let
dontStrip = true;
} // (args // {
pname = "${args.pkg.pname}-${args.pname}";
src = if builtins.length (args.patches or []) > 0
then pkgs.applyPatches { inherit (args) src patches; }
else args.src;