Commit Graph

8 Commits

Author SHA1 Message Date
mintsuki
39c30996fe nix: Remove build.nix
The build method was full of workarounds, plus I do not really see the point in having this upstream given Limine is now downstream in nixpkgs.  For everthing else the 'nix develop' environment suffices.
2024-04-10 15:31:00 +02:00
Philipp Schuster
e261e5dce6 nix: reuse build derivation from nixpkgs 2024-04-06 22:02:55 +02:00
Philipp Schuster
642a7fe0b2 nix/flake: add typos
Currently, typos is at 1.16 on branch nixos-23.11 but at 1.20 on
branch nixpkgs-unstable
2024-04-05 16:42:15 +02:00
Philipp Schuster
b715948575 misc: init typos for spell checking 2024-04-05 16:42:15 +02:00
Philipp Schuster
98ab791492 nix: ensure pureness of the bootstrappedSrc derivation
Now, the hash should be pretty resilient against all changes that are not
affected by ./bootstrap.
2024-04-05 15:06:22 +02:00
Philipp Schuster
d320199530 nix: build Limine in Nix
This packages Limine in Nix and exports it via the Nix Flake.
Due to the nature of the project, i.e., the self-hacked
"git submodule checkout with additional patches" in `./bootstrap`,
packing this in a Nix-way is very complicated.

The big advantage of packaging Limine in Nix directly as part
of the flake (additionally to nixpkgs) is that instead of using a
fixed version from nixpkgs coming from a Limine release, one can
use the current source and build everything in Nix.
2024-04-05 15:06:22 +02:00
mintsuki
936772943b nix: Fix limeboot -> limine typo 2024-03-21 03:40:23 +01:00
Philipp Schuster
cc4695367f nix: init flake.nix
This inits a flake.nix into the repository that exports a convenient Nix shell.
When using `$ nix develop`, users will get a shell with all relevant tools to
build the repository. If one uses a "direnv" integration into their shell, the
environment is automatically loaded.
2024-03-19 15:09:38 +01:00