I don't know
This commit is contained in:
parent
b68a8ee612
commit
69bf4c6576
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
.idea
|
||||
/log
|
||||
a.out
|
||||
/.direnv
|
||||
30
shell.nix
30
shell.nix
@ -1,30 +0,0 @@
|
||||
let
|
||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||
in
|
||||
|
||||
pkgs.mkShell {
|
||||
|
||||
packages = with pkgs; [
|
||||
bash
|
||||
limine-full
|
||||
xorriso
|
||||
rustup
|
||||
qemu
|
||||
cargo-make
|
||||
cargo-binutils
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
limine-full
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo $TMPDIR;
|
||||
rustup default nightly;
|
||||
rustup target add x86_64-unknown-none;
|
||||
export LIMINEDIR="${pkgs.limine-full}/share/limine"
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
@ -33,3 +33,7 @@ pub static FIRMWARE_TYPE_REQUEST: FirmwareTypeRequest = limine::request::Firmwar
|
||||
#[used]
|
||||
#[unsafe(link_section = ".requests")]
|
||||
pub static RSDP_REQUEST: RsdpRequest = limine::request::RsdpRequest::new();
|
||||
|
||||
#[used]
|
||||
#[unsafe(link_section = ".requests")]
|
||||
pub static FLANTERM_REQUEST: FlantermParamsRequest = limine::request::FlantermParamsRequest::new();
|
||||
Loading…
Reference in New Issue
Block a user