Removed now redundant gmp-mpfr-sys patch

This commit is contained in:
PaddiM8 2022-06-03 12:06:04 +02:00
parent 1a96387927
commit 70efa82237
3 changed files with 5 additions and 11 deletions

3
Cargo.lock generated
View File

@ -153,7 +153,8 @@ dependencies = [
[[package]] [[package]]
name = "gmp-mpfr-sys" name = "gmp-mpfr-sys"
version = "1.4.7" version = "1.4.7"
source = "git+https://gitlab.com/tspiteri/gmp-mpfr-sys.git#21966f4bfb56c87d407eb14c72e92ef4e55856aa" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a146a7357ce9573bdcc416fc4a99b960e166e72d8eaffa7c59966d51866b5bfb"
dependencies = [ dependencies = [
"libc", "libc",
"winapi", "winapi",

View File

@ -1,6 +1,3 @@
[patch.crates-io]
gmp-mpfr-sys = { git = "https://gitlab.com/tspiteri/gmp-mpfr-sys.git" }
[workspace] [workspace]
members = ["kalk", "cli"] members = ["kalk", "cli"]

View File

@ -22,19 +22,15 @@
src = self; src = self;
nativeBuildInputs = with final; [ gcc ];
outputs = [ "out" "lib" ]; outputs = [ "out" "lib" ];
postInstall = '' postInstall = ''
moveToOutput "lib" "$lib" moveToOutput "lib" "$lib"
''; '';
cargoLock = { cargoLock = { lockFile = self + "/Cargo.lock"; };
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 ];