diff options
| author | Simon Žlender <pub.git@zlender.si> | 2024-05-09 19:11:20 +0200 |
|---|---|---|
| committer | Artturin <Artturin@artturin.com> | 2024-05-25 23:34:31 +0300 |
| commit | 2ed51a3ff0a69a6d2e6359a2bcf5da70f7313789 (patch) | |
| tree | c4d979c0fb025df4ced712e2085dd0dac3b8bcfe /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | baa26b9fb9e391f8dda9709767517760b96865da (diff) | |
deterministic-uname: Overridable platform
Some packages rely on `uname` to configure the host target which breaks cross-compilation.
We can have more control over the evaluation of `uname` by placing `deterministic-uname` into the package's `nativeBuildInputs`.
However the current `deterministic-uname` is hardcoded to `buildPlatform`.
This PR introduces a build argument `forPlatform` to `deterministic-uname` which allows you to override the platform it reports.
Example:
```nix
deterministic-uname.override { forPlatform = stdenv.hostPlatform; }
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
