2022-03-07 21:12:55 -07:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpp-env";
|
|
|
|
nativeBuildInputs = [
|
2022-11-01 00:54:12 +01:00
|
|
|
gcc12
|
2022-03-07 21:12:55 -07:00
|
|
|
curl
|
|
|
|
cmake
|
|
|
|
mpfr
|
|
|
|
ninja
|
|
|
|
gmp
|
|
|
|
libmpc
|
|
|
|
e2fsprogs
|
2023-02-06 16:28:31 +01:00
|
|
|
fuse2fs
|
2022-03-07 21:12:55 -07:00
|
|
|
patch
|
|
|
|
ccache
|
|
|
|
rsync
|
|
|
|
unzip
|
2022-03-29 22:08:03 +02:00
|
|
|
texinfo
|
2022-03-07 21:12:55 -07:00
|
|
|
# Example Build-time Additional Dependencies
|
2022-11-01 00:52:57 +01:00
|
|
|
pkg-config
|
2022-03-07 21:12:55 -07:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
# Example Run-time Additional Dependencies
|
|
|
|
openssl
|
2022-11-12 17:14:30 -03:00
|
|
|
libxcrypt
|
2022-03-29 22:08:03 +02:00
|
|
|
xlibsWrapper
|
2022-03-07 21:12:55 -07:00
|
|
|
qemu
|
2022-10-05 11:29:34 +02:00
|
|
|
e2fsprogs
|
2023-02-06 16:28:31 +01:00
|
|
|
fuse2fs
|
2022-03-07 21:12:55 -07:00
|
|
|
];
|
2022-10-05 11:29:34 +02:00
|
|
|
|
2022-03-07 21:12:55 -07:00
|
|
|
hardeningDisable = [ "format" "fortify" ];
|
|
|
|
}
|