Revert "replaceVarsWith: properly set pname, version"

Breaks stdenv, e.g. python3Minimal, where the build fails with

> find: ‘nuke-refs’: No such file or directory
This commit is contained in:
Martin Weinelt 2026-06-11 13:01:27 +02:00
commit ce0ee92617
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -122,8 +122,7 @@ in
stdenvNoCC.mkDerivation (
{
pname = optionalAttrs.pname or optionalAttrs.name or (baseNameOf src);
version = "26.11pre-git";
name = baseNameOf src;
}
// optionalAttrs
// forcedAttrs