buildFHSEnvBubblewrap: preserve pname, version
It's useful to have access to these attributes from packages built with buildFHSEnvBubblewrap, and it reduces the difference between FHS and non-FHS packages. 'name' is already handled by runCommandLocal.
This commit is contained in:
parent
e276d0c597
commit
55e30da2eb
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ let
|
||||||
|
|
||||||
bin = writeShellScript "${name}-bwrap" (bwrapCmd { initArgs = ''"$@"''; });
|
bin = writeShellScript "${name}-bwrap" (bwrapCmd { initArgs = ''"$@"''; });
|
||||||
in runCommandLocal name {
|
in runCommandLocal name {
|
||||||
|
inherit pname version;
|
||||||
inherit meta;
|
inherit meta;
|
||||||
|
|
||||||
passthru = passthru // {
|
passthru = passthru // {
|
||||||
|
|
Loading…
Reference in a new issue