2022-03-08 07:12:55 +03:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpp-env";
|
|
|
|
nativeBuildInputs = [
|
2023-06-02 18:24:26 +03:00
|
|
|
ccache
|
2022-03-08 07:12:55 +03:00
|
|
|
cmake
|
2023-06-02 18:24:26 +03:00
|
|
|
curl
|
2022-03-08 07:12:55 +03:00
|
|
|
e2fsprogs
|
2023-02-06 18:28:31 +03:00
|
|
|
fuse2fs
|
2023-10-28 18:59:49 +03:00
|
|
|
gcc13
|
2023-06-02 18:24:26 +03:00
|
|
|
gmp
|
|
|
|
# To create port launcher icons
|
|
|
|
imagemagick
|
|
|
|
libmpc
|
|
|
|
mpfr
|
|
|
|
ninja
|
2022-03-08 07:12:55 +03:00
|
|
|
patch
|
2023-06-02 18:24:26 +03:00
|
|
|
pkg-config
|
2022-03-08 07:12:55 +03:00
|
|
|
rsync
|
2022-03-29 23:08:03 +03:00
|
|
|
texinfo
|
2023-06-02 18:24:26 +03:00
|
|
|
unzip
|
2022-03-08 07:12:55 +03:00
|
|
|
];
|
2023-06-02 18:24:26 +03:00
|
|
|
|
2022-03-08 07:12:55 +03:00
|
|
|
buildInputs = [
|
2022-10-05 12:29:34 +03:00
|
|
|
e2fsprogs
|
2023-02-06 18:28:31 +03:00
|
|
|
fuse2fs
|
2023-03-16 21:47:06 +03:00
|
|
|
# To build the GRUB disk image
|
|
|
|
grub2
|
2023-06-02 18:24:26 +03:00
|
|
|
libxcrypt
|
|
|
|
openssl
|
2023-03-16 21:47:06 +03:00
|
|
|
parted
|
2023-06-02 18:24:26 +03:00
|
|
|
qemu
|
2023-08-31 17:35:33 +03:00
|
|
|
python3
|
2022-03-08 07:12:55 +03:00
|
|
|
];
|
2022-10-05 12:29:34 +03:00
|
|
|
|
2022-03-08 07:12:55 +03:00
|
|
|
hardeningDisable = [ "format" "fortify" ];
|
|
|
|
}
|