deterministic-host-uname: fix use in nativeBuildInputs (#341256)

This commit is contained in:
Artturin
2024-10-07 19:59:02 +03:00
committed by GitHub
+3 -1
View File
@@ -3465,7 +3465,9 @@ with pkgs;
deterministic-uname = callPackage ../build-support/deterministic-uname { };
deterministic-host-uname = deterministic-uname.override { forPlatform = stdenv.hostPlatform; };
deterministic-host-uname = deterministic-uname.override {
forPlatform = stdenv.targetPlatform; # offset by 1 so it works in nativeBuildInputs
};
dfmt = callPackage ../tools/text/dfmt { };