mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![Kristoffer Ellersgaard Koch](/assets/img/avatar_default.png)
Currently, if building under `nix-shell Toolchain`, serenityOS' gcc won't build because of hardening options added in nix, more specifically the breaking format-security.
32 lines
463 B
Nix
32 lines
463 B
Nix
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
|
|
|
mkShell.override { stdenv = gcc13Stdenv; } {
|
|
packages = [
|
|
ccache
|
|
cmake
|
|
curl
|
|
e2fsprogs
|
|
fuse2fs
|
|
gcc13
|
|
gmp
|
|
# To create port launcher icons
|
|
imagemagick
|
|
libmpc
|
|
mpfr
|
|
ninja
|
|
patch
|
|
pkg-config
|
|
rsync
|
|
texinfo
|
|
unzip
|
|
# To build the GRUB disk image
|
|
grub2
|
|
libxcrypt
|
|
openssl
|
|
parted
|
|
qemu
|
|
python3
|
|
];
|
|
hardeningDisable = [ "format" ];
|
|
}
|