eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

Fails to build on nixos #104

Closed auscyber closed 3 years ago

auscyber commented 3 years ago

cargosha256 is incorrect, which must be changed and also on build with nix-build and cargo build --release.

the error is

 --- stderr
  ./include/emacs-module.h:23:10: fatal error: 'stdint.h' file not found
  ./include/emacs-module.h:23:10: fatal error: 'stdint.h' file not found, err: true
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ()', /home/auscyber/.cargo/registry/src/github.com-1ecc6299db9ec823/emacs_module-0.16.2/build.rs:15:10
  stack backtrace:
     0: rust_begin_unwind
     1: core::panicking::panic_fmt
     2: core::result::unwrap_failed
     3: core::result::Result<T,E>::unwrap
     4: build_script_build::main
     5: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
ranfdev commented 3 years ago

NixOS user here.

eraserhd commented 3 years ago

This seems to be fixed. Thanks @ranfdev!

CI seems hopelessly broken though :(