| 11 Jun 2026 |
hexa | hm no, builds on that commit | 00:06:59 |
hexa | bisect it is | 00:10:57 |
hexa | 94c6cc8ea1eeccbd47b1de266b781c7bdd2df433 is the first bad commit
commit 94c6cc8ea1eeccbd47b1de266b781c7bdd2df433 (HEAD)
Author: Ethan Carter Edwards <ethan@ethancedwards.com>
Date: Mon Jun 8 11:37:32 2026 -0700
replaceVarsWith: properly set pname, version
Link: https://github.com/NixOS/nixpkgs/issues/485742
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
pkgs/build-support/replace-vars/replace-vars-with.nix | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
| 07:59:33 |
hexa | 👀 | 07:59:51 |
hexa | diff --git a/pkgs/build-support/replace-vars/replace-vars-with.nix b/pkgs/build-support/replace-vars/replace-vars-with.nix
index abbb9a1cc1a0..60e48f841a19 100644
--- a/pkgs/build-support/replace-vars/replace-vars-with.nix
+++ b/pkgs/build-support/replace-vars/replace-vars-with.nix
@@ -122,7 +122,8 @@ in
stdenvNoCC.mkDerivation (
{
- name = baseNameOf src;
+ pname = optionalAttrs.pname or optionalAttrs.name or (baseNameOf src);
+ version = "26.11pre-git";
}
// optionalAttrs
// forcedAttrs
| 08:04:39 |
hexa | that's quite the minimal change | 08:04:50 |
hexa | reverting in https://github.com/NixOS/nixpkgs/pull/530700 | 10:59:57 |
hexa | quickly verifiying that I'm not full of shit | 11:02:12 |
Vladimír Čunát | Verifying that stdenv builds again? | 11:23:15 |
hexa | python3Minimal | 11:23:32 |
hexa | so going beyond stdenv | 11:23:42 |
hexa | I think | 11:23:45 |
Vladimír Čunát | https://hydra.nixos.org/job/nixpkgs/staging/stdenv.x86_64-linux | 11:24:06 |
Vladimír Čunát | I don't think so. | 11:24:13 |
Vladimír Čunát | Well, here it's visible: https://hydra.nixos.org/build/331508082 | 11:24:47 |
Vladimír Čunát | Anyway, I started a build, but gcc will take a while even with 24 cores. | 11:25:31 |
Vladimír Čunát | * Anyway, I started a build, but gcc will take a while even with 24 cores dedicated to this. | 11:25:39 |
hexa | oh, python3Minimal is part of stdenv? | 11:27:00 |
hexa | hm, since dcda21b1556f0b3618dc8f7bd196eaab1fd5089c | 11:27:46 |
Vladimír Čunát | glibc depends on python3Minimal | 11:33:10 |
Vladimír Čunát | (in nativeBuildInputs) | 11:33:25 |
hexa | so how close are we to python-based hooks 🤔 | 11:34:17 |
hexa | Redacted or Malformed Event | 11:34:38 |
Vladimír Čunát | For reference, originally it was added in 2019
447edaa32fce glibc: 2.27 -> 2.30
| 11:35:57 |
Vladimír Čunát | Python-based hooks might run into bootstrapping. I think we (used to) have basically full stdenv hook system during the whole bootstrapping process. | 11:37:00 |
Vladimír Čunát | * Python-based hooks might run into bootstrapping complications. I think we (used to) have basically full stdenv hook system during the whole bootstrapping process. | 11:37:09 |
hexa | I'm also a bit sad we never got toposorted hooks | 13:02:59 |
hexa | https://github.com/NixOS/nixpkgs/pull/189714 | 13:03:37 |
hexa | that would really upend the turtles we have down there | 13:03:49 |
hexa | like … what does preDistPhases even mean? | 13:04:01 |