mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
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.
10 lines
279 B
Bash
Executable File
10 lines
279 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# This script only exists so you can run `./disko2` directly
|
|
# It should not be be installed as part of the package!
|
|
# Check src/disko/cli.py for the actual entrypoint
|
|
|
|
set -euo pipefail
|
|
(
|
|
cd "$(dirname "$(realpath "$0")")"/src
|
|
python3 -m disko "$@"
|
|
) |