mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
icu: set pname+version
To allow other packages to access version just like pkgs.icu.version
This commit is contained in:
parent
e36007308c
commit
8f1e2b148f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user