serenity/Toolchain/serenity.nix
Linus Groh 8d3e941ae6 Toolchain: Add imagemagick to serenity.nix
This is required to install ports with a launcher icon.
2023-04-15 18:10:49 +02:00

39 lines
534 B
Nix

{ pkgs ? import <nixpkgs> { } }:
with pkgs;
stdenv.mkDerivation {
name = "cpp-env";
nativeBuildInputs = [
gcc12
curl
cmake
mpfr
ninja
gmp
libmpc
e2fsprogs
fuse2fs
patch
ccache
rsync
unzip
texinfo
pkg-config
# To create port launcher icons
imagemagick
];
buildInputs = [
openssl
libxcrypt
xlibsWrapper
qemu
e2fsprogs
fuse2fs
# To build the GRUB disk image
grub2
parted
];
hardeningDisable = [ "format" "fortify" ];
}