diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-06-19 20:29:35 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-06-19 20:31:06 +0200 |
commit | 955905b06c5a45adac73631056c9caa758e6d249 (patch) | |
tree | 30944e1cd879873a4780ade60337d749b79fa620 /default.nix | |
parent | caa36e5cb2be6c0f37ff8cc0c500cc41beec1d42 (diff) |
c++,nix: basic setup
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/default.nix b/default.nix index f93b364..0ea5cdf 100644 --- a/default.nix +++ b/default.nix @@ -1,18 +1,28 @@ { pkgs ? import <nixpkgs> {} +, clang ? pkgs.clang_15 +, clang-tools ? pkgs.clang-tools_15 }: let forstio = (import ((builtins.fetchGit { url = "git@git.keldu.de:forstio/forstio"; ref = "dev"; - }).outPath + "/default.nix"){}).forstio; + }).outPath + "/default.nix"){ + inherit clang; + inherit clang-tools; + }).forstio; kel-unit = (import ((builtins.fetchGit { url = "git@git.keldu.de:libs/unit"; ref = "dev"; - }).outPath + "/default.nix"){}); + }).outPath + "/default.nix"){ + inherit clang; + inherit clang-tools; + }); in pkgs.callPackage ./.nix/derivation.nix { inherit forstio; inherit kel-unit; + inherit clang; + inherit clang-tools; } |