CeDOS - Commit c23d8e9c

shell.nix: Fix missing build dependencies Signed-off-by: Celina Sophie Kalus <hello@celinakalus.de>
Celina Sophie Kalus
Fri, 25 Jul 2025 22:06:03 +0200
1 files changed, 12 insertions(+), 11 deletions(-)

jump to
M shell.nixshell.nix

@@ -2,15 +2,16 @@ #!/usr/bin/nix-shell

{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell { - nativeBuildInputs = - with pkgs; [ - # qemu - pkgsCross.i686-embedded.buildPackages.gcc - ] - ; - shellHook = - '' - echo 'exec ${builtins.getEnv "SHELL"}' - '' - ; + nativeBuildInputs = + with pkgs; [ + pkgsCross.i686-embedded.buildPackages.gcc + cmake + ninja + genimage + qemu + ]; + shellHook = + '' + export CMAKE_TOOLCHAIN_FILE="$PWD/cmake/i686-elf-toolchain.cmake" + ''; }