2022-03-08 04:12:55 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpp-env";
|
|
|
|
nativeBuildInputs = [
|
2023-06-02 15:24:26 +00:00
|
|
|
ccache
|
2022-03-08 04:12:55 +00:00
|
|
|
cmake
|
2023-06-02 15:24:26 +00:00
|
|
|
curl
|
2022-03-08 04:12:55 +00:00
|
|
|
e2fsprogs
|
2023-02-06 15:28:31 +00:00
|
|
|
fuse2fs
|
2023-10-28 15:59:49 +00:00
|
|
|
gcc13
|
2023-06-02 15:24:26 +00:00
|
|
|
gmp
|
|
|
|
# To create port launcher icons
|
|
|
|
imagemagick
|
|
|
|
libmpc
|
|
|
|
mpfr
|
|
|
|
ninja
|
2022-03-08 04:12:55 +00:00
|
|
|
patch
|
2023-06-02 15:24:26 +00:00
|
|
|
pkg-config
|
2022-03-08 04:12:55 +00:00
|
|
|
rsync
|
2022-03-29 20:08:03 +00:00
|
|
|
texinfo
|
2023-06-02 15:24:26 +00:00
|
|
|
unzip
|
2022-03-08 04:12:55 +00:00
|
|
|
];
|
2023-06-02 15:24:26 +00:00
|
|
|
|
2022-03-08 04:12:55 +00:00
|
|
|
buildInputs = [
|
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
|
2023-06-02 15:24:26 +00:00
|
|
|
libxcrypt
|
|
|
|
openssl
|
2023-03-16 18:47:06 +00:00
|
|
|
parted
|
2023-06-02 15:24:26 +00:00
|
|
|
qemu
|
2023-08-31 14:35:33 +00:00
|
|
|
python3
|
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" ];
|
|
|
|
}
|