diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-29 16:39:14 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-29 16:39:14 +0100 |
| commit | dfc45729d342f6f4d4d9ea39649c49b49fa178c6 (patch) | |
| tree | fd66c76073b0eff3f184e1dcaa612c9e73eb7efd /kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp | |
| download | apps-dev_tools-dfc45729d342f6f4d4d9ea39649c49b49fa178c6.tar.gz | |
Initial commit
Diffstat (limited to 'kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp')
| -rw-r--r-- | kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp b/kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp new file mode 100644 index 0000000..9715769 --- /dev/null +++ b/kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp @@ -0,0 +1,29 @@ +#pragma once +#include <string_view> + +constexpr std::string_view derivation_nix_dir_name = "app/.nix"; +constexpr std::string_view derivation_nix_file_name = "derivation.nix"; + +constexpr std::string_view derivation_nix_file_content = R"( +{ stdenv +, scons +, clang-tools +, forstio +}: + +stdenv.mkDerivation { + // pname = ""; // Actually add a name + version = "0.0.0"; + + nativeBuildInputs = [ + clang-tools + scons + ]; + + buildInputs = [ + forstio.core + ]; + + src = ./..; +} +)"; |
