From dfc45729d342f6f4d4d9ea39649c49b49fa178c6 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 29 Oct 2025 16:39:14 +0100 Subject: Initial commit --- kel_cpp_boilerplate/c++/blueprints/default_nix.hpp | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 kel_cpp_boilerplate/c++/blueprints/default_nix.hpp (limited to 'kel_cpp_boilerplate/c++/blueprints/default_nix.hpp') diff --git a/kel_cpp_boilerplate/c++/blueprints/default_nix.hpp b/kel_cpp_boilerplate/c++/blueprints/default_nix.hpp new file mode 100644 index 0000000..312ad7f --- /dev/null +++ b/kel_cpp_boilerplate/c++/blueprints/default_nix.hpp @@ -0,0 +1,24 @@ +#pragma once +#include + +constexpr std::string_view default_nix_file_name = "default.nix"; + +constexpr std::string_view default_nix_file_content = R"( +{ pkgs ? import {} +, stdenv ? pkgs.llvmPackages_19.stdenv +, clang-tools ? pkgs.clang-tools_19 +}: + +let + forstio = (import ((builtins.fetchGit { + url = "git@git.keldu.de:forstio/forstio"; + ref = "dev"; + }).outPath + "/default.nix"){ + inherit stdenv; + }).forstio; +in { + app = pkgs.callPackage ./app/.nix/derivation.nix { + inherit stdenv clang-tools forstio; + }; +} +)"; -- cgit v1.2.3