nur/pkgs/pineflash/fix-nix-issues.patch

24 lines
833 B
Diff

diff --git a/src/main.rs b/src/main.rs
index bcd4f0c..1395a73 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -529,6 +529,6 @@ fn main() {
}),
) {
Ok(_) => (),
- Err(error) => panic!("A massive error occured, not sure whats goin on here: \n {}"),
+ Err(error) => panic!("A massive error occured, not sure whats goin on here"),
}
}
diff --git a/src/submodules/flash.rs b/src/submodules/flash.rs
index 5b224b2..cfdc861 100644
--- a/src/submodules/flash.rs
+++ b/src/submodules/flash.rs
@@ -183,7 +183,6 @@ impl Flasher {
#[cfg(target_os = "linux")]
let command = Command::new("pkexec")
- .env("PATH", "/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:linux")
.arg(blisppath)
.arg("write")
.arg("-c")