From 8212fa77809f8a0bbf85bb7073f6361136d0c672 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 18 Oct 2024 17:47:29 +0100 Subject: [PATCH] assignment: fix, improvements suggested --- _git.tar.gz | 4 ++-- src/skynet/nix.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_git.tar.gz b/_git.tar.gz index 606b096..21bff93 100644 --- a/_git.tar.gz +++ b/_git.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c309ee38fc47772caa79d06f06ce8789c4872af0b35fbc30e589fbd2e7112751 -size 384902 +oid sha256:db1b1f700ddb6190c672e09108a1e14f88f99df904b19b25afc6f649d2f02f51 +size 392511 diff --git a/src/skynet/nix.md b/src/skynet/nix.md index e29f33a..7b0f93e 100644 --- a/src/skynet/nix.md +++ b/src/skynet/nix.md @@ -10,7 +10,7 @@ These are deeply interlinked together with the language being how the package ma Nix grew out of a [PhD by Eelco Dolstra][nix_paper] wherein he proposes a slightly different way to manage dependencies on a system. For most Linux systems programs make use of other software installed on the computer, for the most part this works fine. -Where issue may arise is if one program needs to update one of these dependencies, specially a minor or major patch where backwards compatibility is not guaranteed. +Where issue may arise is if one program needs to update one of these dependencies, specifically a minor or major patch where backwards compatibility is not guaranteed. If another program is using this (system-wide) dependency then it may run into interface issues when using it. In a sense updating one program can break another on the system. @@ -47,7 +47,7 @@ The programming language used by the Nix package manager is called Nix, not NixL For clarity for the remainder of this subsection we are only talking about Nix the language. The Nix Package manager is sometimes known as CppNix for reasons we will get into later. -Nix is a lazily evaluated functional language which al has REPL (Read, Evaluate, Print, and Loop) capability like what you would see in Python. +Nix is a lazily evaluated functional language which also has REPL (Read, Evaluate, Print, and Loop) capability like what you would see in Python. As a whole it takes strong influences from OCaml and other ML derived languages. ##### Types @@ -185,7 +185,7 @@ Building is pretty easy, just run ``colmena build``. Downside of that command is it will try to build everything all at once which is a *lot*. A more practical approach is to build a single server or a group of servers. ```shell -# build the Skynet server, names cna be found in the flake.nix +# build the Skynet server, names can be found in the flake.nix colmena build --on skynet # build a group of servers, in this case any one with the tag of active-core @@ -218,7 +218,7 @@ agenix -r ### Attic [Attic][dev_attic] is the tool that we use for our nix cache (hosted at ). -It is not often it is used by the dev and its own [documentation][dev_attic_docs] covers it best. +It is not often used by the developer/admin and its own [documentation][dev_attic_docs] covers it best.