From ce0ee926172806aab3b159638fcd311546a2ca60 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 11 Jun 2026 13:01:27 +0200 Subject: [PATCH] Revert "replaceVarsWith: properly set pname, version" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Breaks stdenv, e.g. python3Minimal, where the build fails with > find: ‘nuke-refs’: No such file or directory --- pkgs/build-support/replace-vars/replace-vars-with.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/build-support/replace-vars/replace-vars-with.nix b/pkgs/build-support/replace-vars/replace-vars-with.nix index 60e48f841a19..abbb9a1cc1a0 100644 --- a/pkgs/build-support/replace-vars/replace-vars-with.nix +++ b/pkgs/build-support/replace-vars/replace-vars-with.nix @@ -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