mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +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 = ''"$@"''; });
|
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 New Issue
Block a user