mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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
@ -223,6 +223,7 @@ let
|
||||
|
||||
bin = writeShellScript "${name}-bwrap" (bwrapCmd { initArgs = ''"$@"''; });
|
||||
in runCommandLocal name {
|
||||
inherit pname version;
|
||||
inherit meta;
|
||||
|
||||
passthru = passthru // {
|
||||
|
Loading…
Reference in New Issue
Block a user