matugen
matugen copied to clipboard
Error compiling with NixOS flake
I am trying to install matugen using flake.nix. I followed the instructions in the readme and got the following error:
error: builder for '/nix/store/i5g10yffkx7afalsg0dwkblr4xbnqrld-matugen-2.2.0.drv' failed with exit code 101;
last 20 log lines:
> |
> 1 | pub use core::CorePalette;
> | ^^^^ ambiguous name
> |
> = note: ambiguous because of multiple potential import sources
> = note: `core` could refer to a built-in crate
> = help: use `::core` to refer to this crate unambiguously
> note: `core` could also refer to the module defined here
> --> /build/cargo-vendor-dir/material-colors-0.3.1/src/palette/mod.rs:4:1
> |
> 4 | mod core;
> | ^^^^^^^^^
> = help: use `self::core` to refer to this module unambiguously
>
> Compiling paris-log v1.0.2
> Compiling clap v4.4.11
> Compiling resolve-path v0.1.0
> For more information about this error, try `rustc --explain E0659`.
> error: could not compile `material-colors` (lib) due to previous error
hey @mateodd25 as a temporary workaround you can do this:
matugen.url = "github:InioX/matugen?ref=v2.2.0";
To pin your flake url to the 2.2.0 release