#Bun nixos works for my friend but not me

1 messages · Page 1 of 1 (latest)

tranquil galleon
#
~/nix-config> bun -v                                                                                       01/26/24 16:37:36 PM
Illegal instruction: oops, process 'bun' core dumped
Error: nu::shell::external_command

  × External command failed
   ╭─[entry #48:1:1]
 1 │ bun -v
   · ─┬─
   ·  ╰── core dumped
   ╰────
  help: Illegal instruction: child process 'bun' core dumped

~/nix-config>                

yeah so apparently, my friend, he installed pkgs.bun on nixos, and it worked somehow, but when i try it, it core dumps, i have previously opened up a thread about this, but for some reason his works now.

terse wyvern
#

this is a mistake in the nixpkgs version of bun. they should install the "baseline" tag of bun on your machine, as your cpu doesn't support certain avx instructions we use in the regular build