mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
[Backport release-24.05] deterministic-host-uname: fix use in nativeBuildInputs (#347128)
This commit is contained in:
@@ -3653,7 +3653,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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user