diff options
author | Ben Sima <ben@bsima.me> | 2019-11-02 08:43:57 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-11-02 08:43:57 -0700 |
commit | 6094867053604fd911d2f71f4ce03c173dc5256a (patch) | |
tree | 568c7f00c3d43517e7cc5d879484168f826591b8 /README.md | |
parent | 71c5c8e85071a67904d1b08d2f7fb0204bee5772 (diff) |
unify nix entrypoints to default.nix
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |