OdysseyDecomp/flake.nix
renovate[bot] 954ae63dd1
tools/common: Update submodule to f83435a (#656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: MonsterDruide1 <5958456@gmail.com>
2025-06-22 01:52:29 +02:00

47 lines
1.3 KiB
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
systems.url = "github:nix-systems/default";
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
perSystem = { config, self', inputs', pkgs, system, ... }:
let
pkgs = import inputs.nixpkgs {
inherit system;
};
in
{
_module.args.pkgs = import inputs.nixpkgs {
config.allowUnfree = true;
};
devShells.default = pkgs.mkShell rec {
buildInputs = with pkgs; [
cmake
ninja
llvmPackages_18.clang-tools
llvmPackages_18.bintools
ccache
pkg-config
(python311.withPackages (python-pkgs: [
python-pkgs.capstone
python-pkgs.colorama
python-pkgs.cxxfilt
python-pkgs.pyelftools
python-pkgs.watchdog
python-pkgs.python-Levenshtein
python-pkgs.toml
]))
openssl
ncurses5
ncurses6
];
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}";
};
};
};
}