From fc6948cd478ee0506608f8513ba64c7a5e23bfe3 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Tue, 17 Nov 2020 14:02:37 +0000 Subject: [PATCH] nixos/malloc: fix Scudo Fixes segmentation faults. https://github.com/NixOS/nixpkgs/issues/100799 --- nixos/modules/config/malloc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/malloc.nix b/nixos/modules/config/malloc.nix index 31a659ee83fe..a3eb55d8a42e 100644 --- a/nixos/modules/config/malloc.nix +++ b/nixos/modules/config/malloc.nix @@ -23,7 +23,7 @@ let }; scudo = { - libPath = "${pkgs.llvmPackages.compiler-rt}/lib/linux/libclang_rt.scudo-x86_64.so"; + libPath = "${pkgs.llvmPackages_latest.compiler-rt}/lib/linux/libclang_rt.scudo-x86_64.so"; description = '' A user-mode allocator based on LLVM Sanitizer’s CombinedAllocator, which aims at providing additional mitigations against heap based