{ stdenv, fetchgit }: stdenv.mkDerivation { name = "limine-yerba"; src = fetchgit { url = "https://github.com/limine-bootloader/limine.git"; rev = "refs/heads/v8.x-binary"; hash = ""; deepClone = false; }; buildPhase = '' make -j$NIX_BUILD_CORES ''; installPhase = '' mkdir -p $out/bin cp limine $out/bin cp limine-bios.sys $out/ cp limine-bios-cd.bin $out/ cp limine-uefi-cd.bin $out/ cp BOOTX64.efi $out/ cp BOOTIA32.efi $out/ ''; }