@@ -201,6 +201,10 @@ rec {
201201 # passed to the builder and is not a dependency. But since we
202202 # include it in the result, it *is* available to nix-env for queries.
203203 meta = {
204+ # `name` above includes cross-compilation cruft (and is under assert),
205+ # lets have a clean always accessible version here.
206+ inherit name;
207+
204208 # If the packager hasn't specified `outputsToInstall`, choose a default,
205209 # which is the name of `p.bin or p.out or p`;
206210 # if he has specified it, it will be overridden below in `// meta`.