Commit 55e30da2 authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

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.
parent e276d0c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -223,6 +223,7 @@ let

  bin = writeShellScript "${name}-bwrap" (bwrapCmd { initArgs = ''"$@"''; });
in runCommandLocal name {
  inherit pname version;
  inherit meta;

  passthru = passthru // {