-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshell.nix
33 lines (33 loc) · 833 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# C compiler
let
sources = import ./nix/sources.nix;
niv = import sources.niv { inherit sources; };
pkgs = import sources.nixpkgs { };
flawfinder = (pkgs.callPackage ./nix/pkgs/flawfinder { });
lizard = (pkgs.callPackage ./nix/pkgs/lizard { });
pcsxr-gdb = (pkgs.callPackage ./nix/pkgs/pcsxr-gdb { });
pcsx-redux = (pkgs.callPackage ./nix/pkgs/pcsx-redux { });
mkpsxiso = (pkgs.callPackage ./nix/pkgs/mkpsxiso { });
in pkgs.mkShell {
buildInputs = [
# Nix-specific
niv.niv
# Devtools
pkgs.gnumake
pkgs.bear
pkgs.clang-tools
pkgs.cppcheck
pkgs.include-what-you-use
pkgs.python3
flawfinder
lizard
# Dependencies of PSn00bSDK tooling
pkgs.gcc
pkgs.tinyxml-2
pkgs.pkg-config
mkpsxiso
# Emulator for running samples
pcsxr-gdb
pcsx-redux
];
}