summaryrefslogtreecommitdiff
path: root/kel_cpp_boilerplate/c++/blueprints/derivation_nix.hpp
blob: 4417a8d2c806caa2814301f8dcd102ed9159f076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include <string_view>

constexpr std::string_view derivation_nix_file_path = "app/.nix/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 = ./..;
}
)";