2022-03-08 04:12:55 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpp-env";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gcc11
|
|
|
|
curl
|
|
|
|
cmake
|
|
|
|
mpfr
|
|
|
|
ninja
|
|
|
|
gmp
|
|
|
|
libmpc
|
|
|
|
e2fsprogs
|
|
|
|
patch
|
|
|
|
ccache
|
|
|
|
rsync
|
|
|
|
unzip
|
2022-03-29 20:08:03 +00:00
|
|
|
texinfo
|
2022-03-08 04:12:55 +00:00
|
|
|
# Example Build-time Additional Dependencies
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
# Example Run-time Additional Dependencies
|
|
|
|
openssl
|
2022-03-29 20:08:03 +00:00
|
|
|
xlibsWrapper
|
2022-03-08 04:12:55 +00:00
|
|
|
qemu
|
2022-10-05 09:29:34 +00:00
|
|
|
e2fsprogs
|
|
|
|
fuse2fs
|
2022-03-08 04:12:55 +00:00
|
|
|
# glibc
|
|
|
|
];
|
2022-10-05 09:29:34 +00:00
|
|
|
|
2022-03-08 04:12:55 +00:00
|
|
|
hardeningDisable = [ "format" "fortify" ];
|
|
|
|
}
|