summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 00000000..fc7929d1
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,18 @@
+{ kversion ? "linux_5_15"
+, pkgs ? import <nixpkgs> {} }:
+
+with pkgs;
+
+let
+ tools = pkgs.callPackage ./default.nix { doCheck = false ;} ;
+in
+mkShell {
+ buildInputs = [
+ linuxKernel.packages.${kversion}.perf
+ gdb
+ ccls # code completion in neovim/emacs
+ ];
+ inputsFrom = [
+ tools
+ ];
+}