about summary refs log tree commit diff
path: root/release-common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'release-common.nix')
-rw-r--r--release-common.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/release-common.nix b/release-common.nix
index f98e86a1b444..4aa18d4ee024 100644
--- a/release-common.nix
+++ b/release-common.nix
@@ -2,6 +2,23 @@
 
 with pkgs;
 
+let
+
+  cpptoml = runCommand "cpptoml"
+    { src = fetchFromGitHub {
+        owner = "skystrife";
+        repo = "cpptoml";
+        rev = "43d7d8e52de149fd84aedf7eb71814ff9e6b2f7e";
+        sha256 = "0gdxk1mj5hpj93df1kwfl903w06nihbb1ayr3x336775jm2d2cw6";
+      };
+    }
+    ''
+      mkdir -p $out/include
+      cp $src/include/cpptoml.h $out/include/
+    '';
+
+in
+
 rec {
   # Use "busybox-sandbox-shell" if present,
   # if not (legacy) fallback and hope it's sufficient.
@@ -52,6 +69,7 @@ rec {
       bzip2 xz brotli
       openssl pkgconfig sqlite boehmgc
       boost
+      cpptoml
 
       # Tests
       git