I cannot use gcc-arm-embedded without installing python3.9. It seems python3.9 path is hardcoded in the recipe, whereas I have other python requirements.
Steps To Reproduce
Steps to reproduce the behavior:
Build this shell.nix:
{ pkgs ? import <nixpkgs> {} }:
let
gcc_arm = pkgs.gcc-arm-embedded-13;
in
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
gcc_arm
];
Open the nix-shell, then try to run arm-none-eabi-gdb:
arm-none-eabi-gdb
This will fail with the following output:
Fatal Python error: init_import_size: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "/nix/store/2xij13by2fj9mzi16bagf3yb7rim4ify-python3-3.9.20/lib/python3.9/site.py", line 73, in <module>
import os
File "/nix/store/2xij13by2fj9mzi16bagf3yb7rim4ify-python3-3.9.20/lib/python3.9/os.py", line 29, in <module>
from _collections_abc import _check_methods
File "/nix/store/2xij13by2fj9mzi16bagf3yb7rim4ify-python3-3.9.20/lib/python3.9/_collections_abc.py", line 12, in <module>
GenericAlias = type(list[int])
TypeError: 'type' object is not subscriptable
Expected behavior
GDB should work without relying on python? I think we should be able to use gdb without python scripting support with the flag --without-python-support.
Describe the bug
I cannot use gcc-arm-embedded without installing python3.9. It seems python3.9 path is hardcoded in the recipe, whereas I have other python requirements.
Steps To Reproduce
Steps to reproduce the behavior: Build this shell.nix:
Open the
nix-shell
, then try to runarm-none-eabi-gdb
:This will fail with the following output:
Expected behavior
GDB should work without relying on python? I think we should be able to use gdb without python scripting support with the flag --without-python-support.
Notify maintainers
@mweinelt
Metadata
Add a :+1: reaction to issues you find important.