summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-02 08:43:57 -0700
committerBen Sima <ben@bsima.me>2019-11-02 08:43:57 -0700
commit6094867053604fd911d2f71f4ce03c173dc5256a (patch)
tree568c7f00c3d43517e7cc5d879484168f826591b8 /README.md
parent71c5c8e85071a67904d1b08d2f7fb0204bee5772 (diff)
unify nix entrypoints to default.nix
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 378ea86..df6db66 100644
--- a/README.md
+++ b/README.md
@@ -15,11 +15,17 @@ well-defined. Likewise, the functionality and purpose of a particular namespace
should be small and well-defined. Following the unix principle of "do one thing
and do it well" is advised.
+# Development
+
To build code, do:
nix build -f default.nix <thing>
-Deploy:
+To get a repl:
+
+ nix run -f default.nix <thing>
+
+And to deploy:
nix copy --to ssh://root@simatime.com ./result
ssh root@simatime.com $(realpath ./result)/bin/switch-to-configuration switch