Skip to content

Commit

Permalink
Quickfix for missing user feature in nix dependency in Spectator
Browse files Browse the repository at this point in the history
Somehow, on nightly, the nix dependency (indirect dependency of eframe)
misses the `user` feature. By adding nix to the Cargo.toml with the
feature enabled, it is compiled correctly. I have no idea why this is
suddenly necessary.
  • Loading branch information
stefan-k committed Feb 4, 2024
1 parent f2dd646 commit 9d2deef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/spectator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ egui_dock = { version = "0.10", optional = true }
egui_extras = { version = "0.25", optional = true }
egui_plot = { version = "0.25", optional = true }
itertools = { version = "0.12", optional = true }
# Note: Fix for an error on nightly. `nix` is not a direct dependency,
# but an indirect dependency of eframe. By enabling the "user" feature
# the library is compiled correctly.
nix = { version = "0.26.4", features = ["user"] }
rmp-serde = "1.1.1"
serde = { version = "1.0", features = ["derive"] }
time = { version = "0.3", features = ["serde"] }
Expand Down

0 comments on commit 9d2deef

Please sign in to comment.