Skip to content

algasami/temporal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temporal

A barebone operating system. It wouldn't be possible if I didn't find nanobyte!

Roadmap

  • Multi-stage Boot (asm to C)
  • System I/O
  • System filesys
  • Mem protect

NixOS Support

This operating system has been converted into a Nix flake. Note it does not support installation as a package because Temporal is not a package, obviously.

To build Temporal, simply run

nix build .

To run Temporal, run

nix develop .
make run

What I've learned

If you want to build gcc and other repos on NixOS, remember that hardening is automatically enabled. To disable it, add hardeningDisable = [ "all" ] to the flake according to this question.

Also, LD_LIBRARY_PATH needs to be configured. Luckily, a util function called pkgs.lib.makeLibraryPath helps with that!

We have to additionally refresh flake.lock sometimes to prevent strange bugs from occurring.

About

Bootloader, Kernel and OS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published