From e749191a47478c4672e0cb1cd3be355fd34d2592 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 16 Oct 2024 11:45:41 +0100 Subject: [PATCH] assignment: added section on flakes --- _git.tar.gz | 4 ++-- src/skynet/nix.md | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/_git.tar.gz b/_git.tar.gz index c3eabc5..c5be389 100644 --- a/_git.tar.gz +++ b/_git.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:35f765ba7020634d0dd962b1e0cec26d12cb746cd2580928eeb12eb18fa2a46d -size 349027 +oid sha256:4c3be06c72432a2bcd9d057a97c7506e8b1f4065460fee1283ec5142531749ff +size 353210 diff --git a/src/skynet/nix.md b/src/skynet/nix.md index 2b6143c..72c13ef 100644 --- a/src/skynet/nix.md +++ b/src/skynet/nix.md @@ -92,7 +92,11 @@ For more detailed information I recommend these resources. * [Nix Pills][nix_guide_pills] ### Flakes - +A Flake is one of teh best ways of interacting with nix. +Despite it having some issues and still being marked as experimental it has become a de-facto standard. +This is also the format that we use in Skynet. + +The [Official Wiki Page][nix_flake] will be more informative than what can be shoved into this article. ### Nixos @@ -123,4 +127,5 @@ For more detailed information I recommend these resources. [nix_paper]: https://edolstra.github.io/pubs/nspfssd-lisa2004-final.pdf [nix_guide_official]: https://nix.dev/tutorials/first-steps/ [nix_guide_pills]: https://nixos.org/guides/nix-pills/# -[nix_pkgs_sieve]: https://github.com/NixOS/nixpkgs/blob/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c/pkgs/by-name/si/sieve-editor-gui/package.nix \ No newline at end of file +[nix_pkgs_sieve]: https://github.com/NixOS/nixpkgs/blob/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c/pkgs/by-name/si/sieve-editor-gui/package.nix +[nix_flake]: https://wiki.nixos.org/wiki/Flakes \ No newline at end of file