nix flake part error: The option `removeReferencesTo' does not exist.
TristanCacqueray opened this issue · 0 comments
TristanCacqueray commented
Describe the bug
Hello, after updating to the latest emanote (through TristanCacqueray/tristancacqueray.github.io@262159d) I get the following exception:
$ nix run github:TristanCacqueray/TristanCacqueray.github.io/ema-part-error
error:
… while evaluating the attribute 'value'
at /nix/store/lrmxkfadhlcrakza60w0mc8sc327a5qg-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
… while calling the 'addErrorContext' builtin
at /nix/store/lrmxkfadhlcrakza60w0mc8sc327a5qg-source/lib/modules.nix:809:17:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: The option `removeReferencesTo' does not exist. Definition values:
- In `/nix/store/mfalmay99kyazcbyp7rhm7pxq1k6xs2p-source/flake.nix, via option perSystem, via option perSystem.x86_64-linux.haskellProjects.default.settings.emanote':
[
<derivation pandoc-3.0.1>
<derivation pandoc-3.1.11>
<derivation pandoc-types-1.23.1>
<derivation warp-3.3.25>
...
It seems to be related to the flake part. It's not the first time the flake part caused problems, in the past I was able to resolve them by forcing a flake update, but this time I can't figure it out. For what it's worth, I fixed this issue by using standalone commands in TristanCacqueray/tristancacqueray.github.io@3dba63a .