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