From 8f1e2b148f8fcce2f7dd1a5cd0a8dfbdef3e1572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 16 Sep 2024 16:06:12 +0200 Subject: [PATCH] icu: set pname+version To allow other packages to access version just like pkgs.icu.version --- pkgs/development/libraries/icu/make-icu.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/icu/make-icu.nix b/pkgs/development/libraries/icu/make-icu.nix index 575f184c163f..82ecefa6ab63 100644 --- a/pkgs/development/libraries/icu/make-icu.nix +++ b/pkgs/development/libraries/icu/make-icu.nix @@ -59,7 +59,7 @@ let }; realAttrs = baseAttrs // { - name = pname + "-" + version; + inherit pname version; outputs = [ "out" "dev" ] ++ lib.optional withStatic "static"; outputBin = "dev"; @@ -93,7 +93,8 @@ let }; buildRootOnlyAttrs = baseAttrs // { - name = pname + "-build-root-" + version; + pname = pname + "-build-root"; + inherit version; preConfigure = baseAttrs.preConfigure + '' mkdir build