[PR #236] [MERGED] update build.rs with optional git command #339

Closed
opened 2026-05-05 22:17:09 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/236
Author: @nxm
Created: 11/21/2024
Status: Merged
Merged: 11/24/2024
Merged by: @feschber

Base: mainHead: bugfix/mandatory-git-commond-builder


📝 Commits (1)

  • b759790 update build.rs with optional git command

📊 Changes

1 file changed (+8 additions, -3 deletions)

View changed files

📝 build.rs (+8 -3)

📄 Description

lan-mouse>    Compiling unicode-normalization v0.1.24
lan-mouse>    Compiling wayland-scanner v0.31.5
lan-mouse> error: failed to run custom build command for `lan-mouse v0.10.0 (/build/source)`
lan-mouse> Caused by:
lan-mouse>   process didn't exit successfully: `/build/source/target/release/build/lan-mouse-3fcd86e7a392a2f6/build-script-build` (exit status: 101)
lan-mouse>   --- stderr
lan-mouse>   thread 'main' panicked at build.rs:11:10:
lan-mouse>   called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
lan-mouse>   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lan-mouse> warning: build failed, waiting for other jobs to finish...
error: builder for '/nix/store/5adj7bizg9s4y0b7xh5n7264q1m71xbz-lan-mouse-0.10.0.drv' failed with exit code 101
error: 1 dependencies of derivation '/nix/store/v2mdrv08bi5233axwzp6hbwn8wp9bcjd-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qpmdpp7vmpgh6p106z71dq7gh6knqchw-nixos-system-zeus-25.05.20241119.23e89b7.drv' failed to build
make: *** [Makefile:10: switch] Error 1

well, I think it is better not to assume that every computer has a git command installed


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feschber/lan-mouse/pull/236 **Author:** [@nxm](https://github.com/nxm) **Created:** 11/21/2024 **Status:** ✅ Merged **Merged:** 11/24/2024 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `bugfix/mandatory-git-commond-builder` --- ### 📝 Commits (1) - [`b759790`](https://github.com/feschber/lan-mouse/commit/b7597903d0c8a1e856932c174be345d69b29ae52) update build.rs with optional git command ### 📊 Changes **1 file changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `build.rs` (+8 -3) </details> ### 📄 Description ```bash lan-mouse> Compiling unicode-normalization v0.1.24 lan-mouse> Compiling wayland-scanner v0.31.5 lan-mouse> error: failed to run custom build command for `lan-mouse v0.10.0 (/build/source)` lan-mouse> Caused by: lan-mouse> process didn't exit successfully: `/build/source/target/release/build/lan-mouse-3fcd86e7a392a2f6/build-script-build` (exit status: 101) lan-mouse> --- stderr lan-mouse> thread 'main' panicked at build.rs:11:10: lan-mouse> called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } lan-mouse> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace lan-mouse> warning: build failed, waiting for other jobs to finish... error: builder for '/nix/store/5adj7bizg9s4y0b7xh5n7264q1m71xbz-lan-mouse-0.10.0.drv' failed with exit code 101 error: 1 dependencies of derivation '/nix/store/v2mdrv08bi5233axwzp6hbwn8wp9bcjd-system-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/qpmdpp7vmpgh6p106z71dq7gh6knqchw-nixos-system-zeus-25.05.20241119.23e89b7.drv' failed to build make: *** [Makefile:10: switch] Error 1 ``` well, I think it is better not to assume that every computer has a git command installed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 22:17:09 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#339
No description provided.