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:
Bjørn Forsman 2023-09-25 21:15:22 +02:00
parent e276d0c597
commit 55e30da2eb

View file

@ -223,6 +223,7 @@ let
bin = writeShellScript "${name}-bwrap" (bwrapCmd { initArgs = ''"$@"''; });
in runCommandLocal name {
inherit pname version;
inherit meta;
passthru = passthru // {