From 55e30da2ebd93619a17f5bce0ee454a81606b981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 25 Sep 2023 21:15:22 +0200 Subject: [PATCH] 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. --- pkgs/build-support/build-fhsenv-bubblewrap/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix index f4942290af4b..3500e5e9216f 100644 --- a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix +++ b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix @@ -223,6 +223,7 @@ let bin = writeShellScript "${name}-bwrap" (bwrapCmd { initArgs = ''"$@"''; }); in runCommandLocal name { + inherit pname version; inherit meta; passthru = passthru // {