!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1144 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org181 Servers

Load older messages


SenderMessageTime
19 Nov 2025
@weethet:catgirl.cloudWeetHet

The other option still is

# Prevent SSL libraries from using certificates in /etc/ssl, unless set explicitly.
# Leave it in impure shells for convenience.
if [[ -z "${NIX_SSL_CERT_FILE:-}" && "${IN_NIX_SHELL:-}" != "impure" ]]; then
  export NIX_SSL_CERT_FILE=/no-cert-file.crt
fi
# Another variant left for compatibility.
if [[ -z "${SSL_CERT_FILE:-}" && "${IN_NIX_SHELL:-}" != "impure" ]]; then
  export SSL_CERT_FILE=$NIX_SSL_CERT_FILE
fi
11:00:46
@weethet:catgirl.cloudWeetHetWhich is still better than the current one11:00:55
@toonn:matrix.orgtoonn For FODs I agree, if the hash matches there's no purity problem. But that shell excerpt has nothing to do with FODs, no? 11:31:28
@reckenrode:matrix.orgRandy Eckenrode How would that break using Keychain? Do some libraries not try to use it if you set SSL_CERT_FILE? 11:34:06
@reckenrode:matrix.orgRandy Eckenrode(Even if it doesn’t exist.)11:35:09
@weethet:catgirl.cloudWeetHetAs far as I can tell this just uses the bundle of the variable is set11:35:19
@weethet:catgirl.cloudWeetHet Given that unseting it fixes there run 11:35:50
@weethet:catgirl.cloudWeetHet * 11:35:59
@weethet:catgirl.cloudWeetHet * 11:41:35
@weethet:catgirl.cloudWeetHet * 11:41:52
@thbltp:matrix.orgthbltdarwin-rebuild fails with "error: permission denied when trying to update apps, aborting activation. home-manager requires permission to update your apps, please accept the notification and grant the permission for your terminal emulator in System Settings. If you did not get a notification, you can navigate to System Settings > Privacy & Security > App Management.". I didn’t get a notification so I tried adding both wezterm and terminal to "app management", but as soon as I restart the darwin-rebuild they get removed from the list16:04:58
@thbltp:matrix.orgthbltFound the issue https://github.com/nix-community/home-manager/issues/817416:10:30
@samasaur:matrix.orgsamasaur yeah it seems like a 26.1–specific bug that only affects home-manager and not nix-darwin, which implies that sudo avoids the issue 16:18:26
@samasaur:matrix.orgsamasaurdid removing the directory work for you?16:18:34
@samasaur:matrix.orgsamasauralso are you actually in 26.1 or is this wider-spread than I thought16:18:48
@samasaur:matrix.orgsamasaur* also are you actually on 26.1 or is this wider-spread than I thought16:18:54
@reckenrode:matrix.orgRandy Eckenrode

/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/build/src/compiler/clc/mesa_clc -o src/kosmickrisp/vulkan/kkcl.spv --depfile src/kosmickrisp/vulkan/libkk_shaders.h.d ../src/kosmickrisp/vulkan/cl/kk_query.cl ../src/kosmickrisp/vulkan/cl/kk_triangle_fan.cl -- -I/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/src/compiler/libcl -I/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/src/kosmickrisp/vulkan/. -I/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/src -fmacro-prefix-map=../= -fmacro-prefix-map=/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/= -fmacro-prefix-map=/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/build/= -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_CLZ
LLVM ERROR: Option 'greedy' already exists!
18:43:18
@reckenrode:matrix.orgRandy Eckenrode *
/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/build/src/compiler/clc/mesa_clc -o src/kosmickrisp/vulkan/kkcl.spv --depfile src/kosmickrisp/vulkan/libkk_shaders.h.d ../src/kosmickrisp/vulkan/cl/kk_query.cl ../src/kosmickrisp/vulkan/cl/kk_triangle_fan.cl -- -I/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/src/compiler/libcl -I/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/src/kosmickrisp/vulkan/. -I/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/src -fmacro-prefix-map=../= -fmacro-prefix-map=/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/= -fmacro-prefix-map=/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.WPcGoT/source/build/= -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_CLZ
LLVM ERROR: Option 'greedy' already exists!
18:43:27
@reckenrode:matrix.orgRandy Eckenrode So is Debug LLVM just different from regular LLVM? That is so annoying. 18:43:38
@lt1379:matrix.orgLunthat tracks, remember there being a lot release builds didn't check so if a project doesn't run with debug llvm during their dev you can't use debug llvm to find issues because it'll be full of failing asserts18:45:13
@lt1379:matrix.orgLun had some trouble playing with https://sr.ht/~duangle/scopes/ a few years back because they only ever used it against no assertion llvm builds and it was doing all sorts of invalid things 18:45:42
@reckenrode:matrix.orgRandy Eckenrode If I build against release LLVM, mesa_clc crashes instead. 18:55:43
@lt1379:matrix.orgLunRelWithDebug LLVM and a debugger might be a better starting point with things like https://github.com/llvm/llvm-project/issues/71174 lying around to hit in debug builds19:06:10
@lt1379:matrix.orgLun* relwithdebinfo LLVM and a debugger might be a better starting point with things like https://github.com/llvm/llvm-project/issues/71174 lying around to hit in debug builds19:06:20
@lt1379:matrix.orgLunactually that error sounds familiar from fuckups with multiple different llvm versions linked into the same process19:08:23
@reckenrode:matrix.orgRandy Eckenrode I got overrideScope working correctly, so everything should have a consistent LLVM. 19:10:30
@lt1379:matrix.orgLun iirc rocMLIR + rocm-comgr in the same process would trigger LLVM ERROR: Option 'default' already exists! followed by an abort if the llvm versions they linked against weren't matching 19:10:35
@reckenrode:matrix.orgRandy Eckenrode mesa_clc links against SPIRV-LLVM-Translator, which is linked against the debug build of libLLVM.dylib. 19:11:50
@amlanjlahkar:matrix.orgcaptain_love joined the room.19:14:23
@reckenrode:matrix.orgRandy EckenrodeRedacted or Malformed Event20:23:19

Show newer messages


Back to Room ListRoom Version: 6