diff --git a/Justfile b/Justfile index 50d5a496ac215f4e11e6297d58d4d85d684b76f9..9a2fe7eb5119f89d9291b71ff52417d75dbb7d00 100644 --- a/Justfile +++ b/Justfile @@ -12,7 +12,7 @@ compose *ARGS: docker-compose -f {{nix_volume_path}}/export/docker-compose.yaml --project-directory . {{ARGS}} build: - just enter-nix just /src/_build + @just enter-nix just -d /src -f /src/nix.just build start-nix: @if ! podman container exists nix; then \ @@ -23,7 +23,3 @@ start-nix: enter-nix *ARGS: start-nix podman exec -t -i -w /src nix nix-shell --arg vagrant false {{if ARGS != "" {'--command "' + ARGS + '"'} else {''} }} - -_build: - nix build -v -j auto -f arion.nix package --profile /nix/var/nix/profiles/export --no-link - ln -srnf $(readlink -e /nix/var/nix/profiles/export) /nix/export diff --git a/nix.just b/nix.just new file mode 100644 index 0000000000000000000000000000000000000000..bb7e402cd2eff85def5c8f6bcc514763797c6420 --- /dev/null +++ b/nix.just @@ -0,0 +1,6 @@ +list: + @just --list + +build: + nix build -v -j auto -f arion.nix package --profile /nix/var/nix/profiles/export --no-link + ln -srnf $(readlink -e /nix/var/nix/profiles/export) /nix/export