`nimble refresh` and `nimble install *` fails with `SIGILL: ILLEGAL OPERATION`
## `nimble refresh` fails with `SIGILL: Illegal Operation`.

This error arrived directly after installing nim with choosenim, and regardless of using verbose and debug flags, no useful information was ever generated. The gnu debugger was utilized in the hopes of generating further output, but the stack closed immediately after encountering the error.

### Background

Previously Nim was installed as a local deb package, but since Nim was not located in any of the distro package archives it was not kept up to date. Thus, this Nim (Vers. 1.6.14) was purged from the system in favor of allowing choosenim to manage a more up-to-date Nim installation. Installation of Nim went smoothly and there were no signs of any issues. The issues occurred afterward while attempting to install the Nim Language Server.

### System Information

**System:** Kali OS "Rolling" release (Debian sid) | Linux 6.11.2-amd64 \#1 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux

**Install Method:** Choosenim (manual installation of prebuilt binary also produced same error)

**Nim Version:** |
```
Nim Compiler Version 2.2.0 [Linux: amd64]
Compiled at 2024-10-02
Copyright (c) 2006-2024 by Andreas Rumpf

git hash: 78983f1876726a49c69d65629ab433ea1310ece1
active boot switches: -d:release
```

### Error Message output

```bash
─$ nimble --debug --verbose install nimlanguageserver
     Info:  Nimble data file "/home/user/.nimble/nimbledata2.json" has been loaded.
    Reading official package list
Downloading Official package list
     Trying https://raw.githubusercontent.com/nim-lang/packages/master/packages.json
SIGILL: Illegal operation.
```

### Steps to reproduce

1. Acquire a copy of Kali
2. Install dependencies needed for choosenim
3. Install choosenim
4. add nim paths to profile
5. run `nimble refresh`

### Attempts to resolve

Upon encountering the issue, the following steps were taken in order to resolve the issue. Not listed in the order they occurred.

1. Ensure old files belonging to Nim 1.6.14 were removed from the system.
2. Completely remove all Nim files, including the just installed versions, from the system. Then reinstall and try again.
3. Attempt to use GDB to further troubleshoot the error.
4. Manually installing Nim from a prebuilt binary resulted in the same error.