-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
This flake currently has a Python version mismatch (including the PR at #5):
$ nix run .#plover-wtype
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'python3.10-plover-4.0.0rc2'
whose name attribute is located at /nix/store/sn2k8amk1jcvv0w725cnc479lxvy6db4-source/pkgs/stdenv/generic/make-derivation.nix:336:7
… while evaluating attribute 'propagatedBuildInputs' of derivation 'python3.10-plover-4.0.0rc2'
at /nix/store/sn2k8amk1jcvv0w725cnc479lxvy6db4-source/pkgs/stdenv/generic/make-derivation.nix:390:7:
389| depsHostHostPropagated = elemAt (elemAt propagatedDependencies 1) 0;
390| propagatedBuildInputs = elemAt (elemAt propagatedDependencies 1) 1;
| ^
391| depsTargetTargetPropagated = elemAt (elemAt propagatedDependencies 2) 0;
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Python version mismatch in 'python3.10-plover-wtype-output':
The Python derivation 'python3.10-plover-wtype-output' depends on a Python derivation
named 'python3.10-plover-4.0.0rc2', but the two derivations use different versions
of Python:
'python3.10-plover-wtype-output' uses /nix/store/25j36x4pjsn1sr3597gppa7sdn2c2v0n-python3-3.10.14
'python3.10-plover-4.0.0rc2' uses /nix/store/c2xh9a8xdhszmyhg9jqgrwxzp83jmv46-python3-3.10.14
Possible solutions:
* If 'python3.10-plover-4.0.0rc2' is a Python library, change the reference to 'python3.10-plover-4.0.0rc2'
in the buildInputs of 'python3.10-plover-wtype-output' to use a 'python3.10-plover-4.0.0rc2' built from the same
version of Python
* If 'python3.10-plover-4.0.0rc2' is used as a tool during the build, move the reference to
'python3.10-plover-4.0.0rc2' in 'python3.10-plover-wtype-output' from buildInputs to nativeBuildInputs
* If 'python3.10-plover-4.0.0rc2' provides executables that are called at run time, pass its
bin path to makeWrapperArgs:
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ plover ] }" ];
at /nix/store/2b8qgkg5hq8cskg20l1chhzr5qk98i7b-source/flake.nix:29:11
Metadata
Metadata
Assignees
Labels
No labels