mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 18:47:57 +03:00
sqlx-cli: fix for rust 1.65
This commit is contained in:
parent
fa81d500a3
commit
248d82d48e
@ -1,4 +1,17 @@
|
|||||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, SystemConfiguration, CoreFoundation, Security, libiconv, testers, sqlx-cli }:
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, SystemConfiguration
|
||||||
|
, CoreFoundation
|
||||||
|
, Security
|
||||||
|
, libiconv
|
||||||
|
, testers
|
||||||
|
, sqlx-cli
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "sqlx-cli";
|
pname = "sqlx-cli";
|
||||||
@ -11,6 +24,15 @@ rustPlatform.buildRustPackage rec {
|
|||||||
sha256 = "sha256-pQlrKjhOJfjNEmLxqnFmmBY1naheZUsaq2tGdLKGxjg=";
|
sha256 = "sha256-pQlrKjhOJfjNEmLxqnFmmBY1naheZUsaq2tGdLKGxjg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/launchbadge/sqlx/pull/2228
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-rust-1.65-compile.patch";
|
||||||
|
url = "https://github.com/launchbadge/sqlx/commit/2fdf85b212332647dc4ac47e087df946151feedf.patch";
|
||||||
|
hash = "sha256-5BCuIwmECe9qQrdYll7T+UOGwuTBolWEhKNE7GcZqJw=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cargoSha256 = "sha256-AbA8L7rkyZfKW0vvjyrcW5eU6jGD+zAqIcEUOJmeqJs=";
|
cargoSha256 = "sha256-AbA8L7rkyZfKW0vvjyrcW5eU6jGD+zAqIcEUOJmeqJs=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user