Compare commits
No commits in common. "69bf4c65762066544d45a3b14f45125d9e61129c" and "cdc5e45f99226977a07833743b181c97cfee78e0" have entirely different histories.
69bf4c6576
...
cdc5e45f99
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,3 @@
|
|||||||
.idea
|
.idea
|
||||||
/log
|
/log
|
||||||
a.out
|
a.out
|
||||||
/.direnv
|
|
||||||
@ -61,7 +61,7 @@ install it before you can build an ISO automatically. To do so, you can run
|
|||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
If you use NixOS or the Nix package manager, simply run `nix develop` in the root
|
If you use NixOS or the Nix package manager, simply run `nix-shell` in the root
|
||||||
directory. All necessary dependencies will be made available.
|
directory. All necessary dependencies will be made available.
|
||||||
|
|
||||||
If not, the following dependencies will need to be manually installed:
|
If not, the following dependencies will need to be manually installed:
|
||||||
|
|||||||
27
flake.lock
27
flake.lock
@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1791739280,
|
|
||||||
"narHash": "sha256-1dwyb7Xh8eTR6ZP+C5u+DZatS7KROgozx8qo7CSZNMk=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "4c28db8c9abaf2a6a117f96cc16ddb17b8eb70cc",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "master",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
29
flake.nix
29
flake.nix
@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
description = "Nix devshells!";
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/master";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = {nixpkgs, ...}: let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
pkgs = import nixpkgs { inherit system; };
|
|
||||||
in {
|
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
|
||||||
packages = with pkgs ; [
|
|
||||||
bash
|
|
||||||
limine-full
|
|
||||||
xorriso
|
|
||||||
rustup
|
|
||||||
qemu
|
|
||||||
cargo-make
|
|
||||||
cargo-binutils
|
|
||||||
];
|
|
||||||
shellHook = ''
|
|
||||||
rustup default nightly;
|
|
||||||
rustup target add x86_64-unknown-none;
|
|
||||||
export LIMINEDIR="${pkgs.limine-full}/share/limine"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
30
shell.nix
Normal file
30
shell.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
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,7 +33,3 @@ pub static FIRMWARE_TYPE_REQUEST: FirmwareTypeRequest = limine::request::Firmwar
|
|||||||
#[used]
|
#[used]
|
||||||
#[unsafe(link_section = ".requests")]
|
#[unsafe(link_section = ".requests")]
|
||||||
pub static RSDP_REQUEST: RsdpRequest = limine::request::RsdpRequest::new();
|
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