Skip to content

Commit

Permalink
feat: nix develop shell
Browse files Browse the repository at this point in the history
  • Loading branch information
RedsonBr140 committed Jan 19, 2024
1 parent 1f13bfd commit 51a1a64
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
description = "Operating System build deps";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};

outputs = { self, nixpkgs, ... } @inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.x86_64-linux.default =
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nasm
gcc
gnumake
qemu
gdb
xorriso
# clang-format bro
clang-tools
bochs
];
};
};
}

0 comments on commit 51a1a64

Please sign in to comment.