blob: 60318194cff5e9dc6c0f69ec668b2e924f0bb4dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "limine-yerba";
src = fetchurl {
url = "https://github.com/limine-bootloader/limine.git";
rev = "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/
'';
}
|