2022-03-08 04:12:55 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpp-env";
|
|
|
|
nativeBuildInputs = [
|
2022-10-31 23:54:12 +00:00
|
|
|
gcc12
|
2022-03-08 04:12:55 +00:00
|
|
|
curl
|
|
|
|
cmake
|
|
|
|
mpfr
|
|
|
|
ninja
|
|
|
|
gmp
|
|
|
|
libmpc
|
|
|
|
e2fsprogs
|
2023-02-06 15:28:31 +00:00
|
|
|
fuse2fs
|
2022-03-08 04:12:55 +00:00
|
|
|
patch
|
|
|
|
ccache
|
|
|
|
rsync
|
|
|
|
unzip
|
2022-03-29 20:08:03 +00:00
|
|
|
texinfo
|
2022-10-31 23:52:57 +00:00
|
|
|
pkg-config
|
2023-04-15 15:13:04 +00:00
|
|
|
# To create port launcher icons
|
|
|
|
imagemagick
|
2022-03-08 04:12:55 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
openssl
|
2022-11-12 20:14:30 +00:00
|
|
|
libxcrypt
|
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
|
2023-02-06 15:28:31 +00:00
|
|
|
fuse2fs
|
2023-03-16 18:47:06 +00:00
|
|
|
# To build the GRUB disk image
|
|
|
|
grub2
|
|
|
|
parted
|
2022-03-08 04:12:55 +00:00
|
|
|
];
|
2022-10-05 09:29:34 +00:00
|
|
|
|
2022-03-08 04:12:55 +00:00
|
|
|
hardeningDisable = [ "format" "fortify" ];
|
|
|
|
}
|