summaryrefslogtreecommitdiff
path: root/com/simatime/bild.scm
diff options
context:
space:
mode:
Diffstat (limited to 'com/simatime/bild.scm')
-rwxr-xr-xcom/simatime/bild.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/com/simatime/bild.scm b/com/simatime/bild.scm
index 44f6c74..d924b29 100755
--- a/com/simatime/bild.scm
+++ b/com/simatime/bild.scm
@@ -1,6 +1,4 @@
-#!/usr/bin/env bash
-exec guile -e "(@ (com simatime bild) main)" -s "$0" "$@"
-!#
+;;
;; bild - a simple build tool
;;
;;; Notice:
@@ -140,8 +138,8 @@ exec guile -e "(@ (com simatime bild) main)" -s "$0" "$@"
(target (cadr args))
(path (ns->path target)))
(display (fmt ":: bild ~a...\r" target))
- (sh/exec (fmt "nix build -f ~a/default.nix -o ~a/_bild/~a ~a"
- root root path target))
+ (sh/exec (fmt "nix build -f ~a/default.nix ~a"
+ root target))
(display (fmt ":: bilt ~a" target))))
(define ns? symbol?)