3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/shells/nushell/use-system-zstd-lib.diff
Andreas 54a21b8dc5 nushell: 0.44.0 -> 0.60.0
Nushell 0.60 was released on Mar, 22nd. This upgrades nushell for nixpkgs to
that version.

For release notes see https://www.nushell.sh/blog/2022-03-22-nushell_0_60.html
2022-04-06 07:11:01 -04:00

33 lines
771 B
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 4261c06..6d6e537 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2166,6 +2166,7 @@ dependencies = [
"rstest",
"serial_test",
"tempfile",
+ "zstd-sys",
]
[[package]]
@@ -4962,4 +4963,5 @@ checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8"
dependencies = [
"cc",
"libc",
+ "pkg-config",
]
diff --git a/Cargo.toml b/Cargo.toml
index e214da1..b78919a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -67,6 +69,9 @@ hamcrest2 = "0.3.0"
rstest = "0.12.0"
itertools = "0.10.3"
+# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library
+zstd-sys = { version = "1", features = [ "pkg-config" ] }
+
[target.'cfg(windows)'.build-dependencies]
embed-resource = "1"