diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2025-04-22 06:35:32 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2025-04-22 06:35:32 +0100 |
| commit | 77dc1fefc5b2c309614a80e1e155a00bcb6bfaed (patch) | |
| tree | 13101c41e1d804c601fed52a42c13f417db0e0b6 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | c23026638018f4f2f84e66e9e276fb33d4d9e40d (diff) | |
darwin.moltenvk: fix the eval on `linux`
Without the change the eval fails as:
$ nix eval --impure --expr 'with import ./. { system = "x86_64-linux"; }; darwin.moltenvk.NIX_CFLAGS_COMPILE'
error:
… in the condition of the assert statement
at pkgs/stdenv/generic/make-derivation.nix:716:11:
715| n: v:
716| assert assertMsg (isString v || isBool v || isInt v || isDerivation v)
| ^
717| "The `env` attribute set can only contain derivation, string, boolean or integer attributes. The `${n}` attribute is of type ${builtins.typeOf v}.";
… in the left operand of the OR (||) operator
at lib/asserts.nix:39:31:
38| # TODO(Profpatsch): add tests that check stderr
39| assertMsg = pred: msg: pred || builtins.throw msg;
| ^
40|
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: expected a set but found null: null
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
