From 33715bcce04741ca5b3c6038aab7604976cf7964 Mon Sep 17 00:00:00 2001
From: Tom Prince <tom.prince@private.storage>
Date: Thu, 26 Aug 2021 19:34:45 -0600
Subject: [PATCH] stuff

---
 Justfile | 6 +-----
 nix.just | 6 ++++++
 2 files changed, 7 insertions(+), 5 deletions(-)
 create mode 100644 nix.just

diff --git a/Justfile b/Justfile
index 50d5a49..9a2fe7e 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 0000000..bb7e402
--- /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
-- 
GitLab