Skip to content

Commit

Permalink
Fix Nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
htngr committed Jan 26, 2024
1 parent 138b417 commit eb26ff5
Show file tree
Hide file tree
Showing 10 changed files with 170 additions and 196 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ v011.json
.direnv
.xwin
.codchi
.wine
2 changes: 0 additions & 2 deletions codchi/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
target
.wine
.idea
.xwin
20 changes: 0 additions & 20 deletions codchi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion codchi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ futures = "0.3"
parity-tokio-ipc = "0.9.0"
tarpc = { version = "0.33", features = [ "serde1", "tokio1", "serde-transport", "serde-transport-bincode" ] }

tray-icon = "0.11.1"
tray-icon = { version = "0.11.1", default-features = false }
image = { version = "0.24", features = ["png"], default-features = false }
tao = {version = "0.24.0", default-features = false }
inquire = "0.6.2"
Expand Down
5 changes: 2 additions & 3 deletions codchi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ fn main() -> Result<(), Box<dyn Error>> {
}

{
build_data::set_GIT_BRANCH();
build_data::set_GIT_COMMIT();
build_data::set_GIT_DIRTY();
let commit = build_data::exec("nix-git-commit", &[]).unwrap();
println!("cargo:rustc-env=GIT_COMMIT={}", commit);
build_data::set_SOURCE_TIMESTAMP();
build_data::no_debug_rebuilds();
}
Expand Down
Loading

0 comments on commit eb26ff5

Please sign in to comment.