mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
nixl: 1.4.1 -> 1.5.0 (#568698)
This commit is contained in:
@@ -36,7 +36,7 @@ let
|
||||
in
|
||||
effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nixl";
|
||||
version = "1.4.1";
|
||||
version = "1.5.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
@@ -45,7 +45,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
owner = "ai-dynamo";
|
||||
repo = "nixl";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-8cvvCOyKLB62VhjlXup9a9yqvMiXanax2DRBkjEUBVI=";
|
||||
hash = "sha256-ZsYchzywmsxcZGv44v0tk3d5JJjYrpkYzL59D5jMME0=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
@@ -58,15 +58,9 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
--replace-fail 'm.ReaderLock()' 'm.lock_shared()' \
|
||||
--replace-fail 'm.ReaderUnlock()' 'm.unlock_shared()'
|
||||
''
|
||||
# Fix asio::io_context::post() removed in asio 1.36+
|
||||
# Use the free function asio::post(io_context, handler) instead
|
||||
+ ''
|
||||
substituteInPlace src/plugins/ucx/ucx_backend.cpp \
|
||||
--replace-fail 'io_->post(' 'asio::post(*io_, '
|
||||
''
|
||||
# Fix GDS plugin: Nix uses lib/ not lib64/
|
||||
+ ''
|
||||
substituteInPlace src/plugins/cuda_gds/meson.build src/plugins/gds_mt/meson.build \
|
||||
substituteInPlace src/plugins/cuda_gds/meson.build \
|
||||
--replace-fail "'/lib64'" "'/lib'"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user