about summary refs log tree commit diff homepage
path: root/shell.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-30 20:11:04 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-03-05 17:23:52 +0900
commitcae01bffb4c60e586ad54e4d056dfc5a193faa9e (patch)
tree9e94307131661ff1c30cd66899d2db9fb8886432 /shell.nix
parent96f2da3a83ea1d9fc92b2a6ae649c4c69909259b (diff)
downloadklee-cae01bffb4c60e586ad54e4d056dfc5a193faa9e.tar.gz
Implement differentiator extraction
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 00000000..9d361a5f
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,8 @@
+with import <nixpkgs> {};
+let symbdiff = callPackage ./tools/symbdiff { };
+in mkShell {
+  packages = [ clang symbdiff ];
+  shellHook = ''
+    alias klang='clang -emit-llvm -c -g -O0 -Xclang -disable-O0-optnone'
+ '';
+}