mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
1657a46ee7
This allows building the GRUB disk image from within the nix shell.
38 lines
578 B
Nix
38 lines
578 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
|
|
# Example Build-time Additional Dependencies
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
# Example Run-time Additional Dependencies
|
|
openssl
|
|
libxcrypt
|
|
xlibsWrapper
|
|
qemu
|
|
e2fsprogs
|
|
fuse2fs
|
|
# To build the GRUB disk image
|
|
grub2
|
|
parted
|
|
];
|
|
|
|
hardeningDisable = [ "format" "fortify" ];
|
|
}
|