-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdefault.nix
45 lines (44 loc) · 984 Bytes
/
default.nix
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ pkgs ? import (
builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz";
sha256 = "sha256:1lr1h35prqkd1mkmzriwlpvxcb34kmhc9dnr48gkm8hh089hifmx";
}
) {} }:
let
additionalInputs = if pkgs.system == "x86_64-linux" then pkgs.lsb-release else "";
in
with pkgs; {
gcc14Env = stdenvNoCC.mkDerivation {
name = "gcc14-environment";
buildInputs = [
#ansible
autoconf
automake
awscli
clang
cmake
conan
docker
docker-compose
doxygen
gcc14
libtool
lsb-release
ninja
packer
pkg-config
pre-commit
terraform
python3Packages.setuptools
python3Packages.pip
python3Packages.virtualenv
additionalInputs
];
shellHook = ''
pre-commit install -f --hook-type pre-commit
virtualenv venv
source venv/bin/activate
pip install sphinx sphinx-rtd-theme breathe sphinx_mdinclude
'';
};
}