-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build Nix Flake #1448
Comments
The flake is currently broken. |
Got it, thanks for the help. Maybe naively, I added back those lines and it seems to fix the
I've tried moving |
It looks like nix is trying to read the path |
This actually seems especially weird. Here's the snippit from pub static DEFAULT_THEME: Lazy<Theme> = Lazy::new(|| {
toml::from_slice(include_bytes!("../../theme.toml")).expect("Failed to parse default theme")
});
pub static BASE16_DEFAULT_THEME: Lazy<Theme> = Lazy::new(|| {
toml::from_slice(include_bytes!("../../base16_theme.toml"))
.expect("Failed to parse base 16 default theme")
}); If I comment out |
Figured it out, needed to add overrides = {
crateOverrides = common: _: {
helix-term = prev: {
preConfigure = "ln -s ${common.root}/{languages.toml,theme.toml,base16_theme.toml} ..";
buildInputs = (prev.buildInputs or [ ]) ++ [ common.cCompiler.cc.lib ];
};
# link languages and theme toml files since helix-view expects them
helix-view = _: { preConfigure = "ln -s ${common.root}/{languages.toml,theme.toml,base16_theme.toml} .."; };
...
} Will PR later today |
Okay I think last thing. It's compiling and I can run If I run In
These seem right? Maybe I'm not running the wrapped version of
So there are no other binaries I could try |
the binary should be the wrapped version. |
The error it shows is normal since there is no lsp for toml file (IIRC). |
Ahhh figured it out! It looks like |
Reproduction steps
After cloning the repo on commit
77677039795811505d8205f4efa082fc598492fc
and runningnix build
, I get the following output:Running
nix log /nix/store/brpckzx3p0sj8p8ysp0bbay0fbvgkxs2-rust_helix-syntax-0.6.0.drv
results in:Environment
77677039795811505d8205f4efa082fc598492fc
nix (Nix) 2.6.0pre20211217_6e6e998
The text was updated successfully, but these errors were encountered: