Add a section on Nix, Nixos and related tools #30

Merged
silver merged 11 commits from #29-nix_nixos-assignment into main 2024-10-18 22:26:26 +00:00
Owner

This page servers two purposes:

  1. To have an introduction to nix page that does not depend on a PowerPoint.
  2. Serve as an assignment for CS4207
This page servers two purposes: 1. To have an introduction to nix page that does not depend on a PowerPoint. 2. Serve as an assignment for CS4207
silver added 10 commits 2024-10-18 02:12:16 +00:00
esy reviewed 2024-10-18 08:16:42 +00:00
@ -4,0 +47,4 @@
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.
Owner

'which al has repo' -> which also has REPL

'which al has repo' -> which also has REPL
silver marked this conversation as resolved
esy reviewed 2024-10-18 08:16:55 +00:00
@ -4,0 +185,4 @@
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
Owner

cna -> can

cna -> can
silver marked this conversation as resolved
esy reviewed 2024-10-18 08:18:03 +00:00
@ -4,0 +10,4 @@
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.
Owner

specially might be right here not sure, especially or specifically to me sounds better but 🤷

specially might be right here not sure, especially or specifically to me sounds better but 🤷
Author
Owner

Ye this was intended to be specifically

Ye this was intended to be ``specifically``
silver marked this conversation as resolved
esy reviewed 2024-10-18 08:19:38 +00:00
@ -4,0 +218,4 @@
### Attic
[Attic][dev_attic] is the tool that we use for our nix cache (hosted at <vhttps://nix-cache.skynet.ie/>).
It is not often it is used by the dev and its own [documentation][dev_attic_docs] covers it best.
Owner

the dev -> the dev shell?

the dev -> the dev shell?
Author
Owner

developer

developer
silver marked this conversation as resolved
silver added 1 commit 2024-10-18 16:47:39 +00:00
silver merged commit a32b3ced29 into main 2024-10-18 22:26:26 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Skynet/wiki#30
No description provided.