diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-07 15:34:36 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-07 15:34:36 +1200 |
| commit | aa13f745d93327c53f263aff7d4b33ca16760fd9 (patch) | |
| tree | b2a1fa4282cf3c54eb17d64c731870136b7121b1 /nix/limine.nix | |
| parent | bf2218101c8dae728d721606c076c3de888ef3ae (diff) | |
| download | yerbalinux-aa13f745d93327c53f263aff7d4b33ca16760fd9.tar.xz yerbalinux-aa13f745d93327c53f263aff7d4b33ca16760fd9.zip | |
Limine nix
:yayayayayay-ctp:
Diffstat (limited to 'nix/limine.nix')
| -rw-r--r-- | nix/limine.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nix/limine.nix b/nix/limine.nix index e69de29..6031819 100644 --- a/nix/limine.nix +++ b/nix/limine.nix @@ -0,0 +1,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/ + ''; +} |
