disko2: Create package

This requires a lot of restructuring. The .nix files have to be bundled
together with the python files, so they need to follow python's module
system structure.

I ran `nix-fast-build --no-link -j 2 --eval-workers 3 --flake .#checks`
and it succeeded, so I'm reasonably confident I changed everything as
required.
This commit is contained in:
Felix Uhl committed 2024-10-30 23:54:41 +01:00
1 parent 5da578139e
commit 389235b63f
88 files changed
+374 -282

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ the example is working in [the tests directory](../tests/). They utilize the
We use a wrapper around this called `makeDiskoTest`. There is currently (as of
2024-10-16) no documentation for all its arguments, but you can have a look at
[its current code](https://github.com/nix-community/disko/blob/master/lib/tests.nix#L44C5-L58C10),
[its current code](https://github.com/nix-community/disko/blob/master/src/disko_lib/tests.nix#L44C5-L58C10),
that should already be helpful.
However, you don't need to know about all of the inner workings to interact with