mirror of
https://github.com/PaddiM8/kalker.git
synced 2025-03-06 09:11:11 +01:00
update gmp-mpfr-sys to fix non gcc builds
This commit is contained in:
parent
99bd813e14
commit
9e52119b59
5
Cargo.lock
generated
5
Cargo.lock
generated
@ -152,9 +152,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gmp-mpfr-sys"
|
name = "gmp-mpfr-sys"
|
||||||
version = "1.4.2"
|
version = "1.4.7"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://gitlab.com/tspiteri/gmp-mpfr-sys.git#21966f4bfb56c87d407eb14c72e92ef4e55856aa"
|
||||||
checksum = "a57fdb339d49833021b1fded600ed240ae907e33909d5511a61dff884df7f16e"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"winapi",
|
"winapi",
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
[patch.crates-io]
|
||||||
|
gmp-mpfr-sys = { git = "https://gitlab.com/tspiteri/gmp-mpfr-sys.git" }
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["kalk", "cli"]
|
members = ["kalk", "cli"]
|
||||||
|
|
||||||
|
10
flake.nix
10
flake.nix
@ -21,15 +21,19 @@
|
|||||||
|
|
||||||
src = self;
|
src = self;
|
||||||
|
|
||||||
nativeBuildInputs = with final; [ gcc ];
|
|
||||||
|
|
||||||
outputs = [ "out" "lib" ];
|
outputs = [ "out" "lib" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
moveToOutput "lib" "$lib"
|
moveToOutput "lib" "$lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoLock = { lockFile = self + "/Cargo.lock"; };
|
cargoLock = {
|
||||||
|
lockFile = self + "/Cargo.lock";
|
||||||
|
outputHashes = {
|
||||||
|
"gmp-mpfr-sys-1.4.7" =
|
||||||
|
"sha256-zHpGbEgh3MgAUVdlWrXq4Clj1boybi6DMOcsjgZbAh0=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = with final; [ gmp mpfr libmpc ];
|
buildInputs = with final; [ gmp mpfr libmpc ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user