From 3189f73489accd7e13b298f9682f3657cd0b0011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Wed, 10 Jan 2024 01:47:26 +0100 Subject: [PATCH] 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 --- pkgs/development/lisp-modules/nix-cl.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/lisp-modules/nix-cl.nix b/pkgs/development/lisp-modules/nix-cl.nix index 3f45f58110e9..327f4aa65aff 100644 --- a/pkgs/development/lisp-modules/nix-cl.nix +++ b/pkgs/development/lisp-modules/nix-cl.nix @@ -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;