about summary refs log tree commit diff
path: root/users/grfn/achilles/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/achilles/default.nix')
-rw-r--r--users/grfn/achilles/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/users/grfn/achilles/default.nix b/users/grfn/achilles/default.nix
new file mode 100644
index 000000000000..5245049d4a32
--- /dev/null
+++ b/users/grfn/achilles/default.nix
@@ -0,0 +1,24 @@
+{ depot, pkgs, ... }:
+
+let
+  llvmPackages = pkgs.llvmPackages_11;
+in
+
+depot.third_party.naersk.buildPackage {
+  src = ./.;
+
+  buildInputs = [
+    llvmPackages.clang
+    llvmPackages.llvm
+    llvmPackages.bintools
+    llvmPackages.libclang.lib
+  ] ++ (with pkgs; [
+    zlib
+    ncurses
+    libxml2
+    libffi
+    pkgconfig
+  ]);
+
+  doCheck = true;
+}