nixpkgs-suyu/pkgs/shells/nushell/zstd-pkg-config.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
884 B
Diff
Raw Normal View History

diff --git a/Cargo.lock b/Cargo.lock
2022-10-26 09:09:10 +02:00
index 7376ffe6a..a7d3335cc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
2022-10-26 09:09:10 +02:00
@@ -2751,6 +2751,7 @@ dependencies = [
"which",
"windows",
2022-10-26 09:09:10 +02:00
"winreg",
+ "zstd",
]
[[package]]
2022-10-26 09:09:10 +02:00
@@ -5881,4 +5882,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [
"cc",
"libc",
+ "pkg-config",
]
diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml
2022-10-26 09:09:10 +02:00
index d293f3e39..a462d67dc 100644
--- a/crates/nu-command/Cargo.toml
+++ b/crates/nu-command/Cargo.toml
2022-10-26 09:09:10 +02:00
@@ -93,6 +93,8 @@ wax = { version = "0.5.0", features = ["diagnostics"] }
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
2022-10-26 09:09:10 +02:00
sqlparser = { version = "0.23.0", features = ["serde"], optional = true }
+zstd = { version = "*", features = [ "pkg-config" ] }
+
2022-10-26 09:09:10 +02:00
[target.'cfg(windows)'.dependencies]
winreg = "0.10.1"