klibcShrunk: switch to pname / version

This commit is contained in:
Sergei Trofimovich
2026-01-26 06:56:22 +00:00
parent ce58c68ee3
commit e7531b75fb

View File

@@ -4,8 +4,8 @@ stdenv.mkDerivation {
# !!! For now, the name has to be exactly as long as the original
# name due to the sed hackery below. Once patchelf 0.4 is in the
# tree, we can do this properly.
#name = "${klibc.name}-shrunk";
name = klibc.name;
#pname = "${klibc.pname}-shrunk";
inherit (klibc) pname version;
buildCommand = ''
mkdir -p $out/lib
cp -prd ${klibc.out}/lib/klibc/bin $out/