diff --git a/_git.tar.gz b/_git.tar.gz index 27b759b..c3eabc5 100644 --- a/_git.tar.gz +++ b/_git.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d68d0b80a4c4150a73887f196b992c2ce1a75dcddae7d6b80705d241cd5e69d0 -size 344824 +oid sha256:35f765ba7020634d0dd962b1e0cec26d12cb746cd2580928eeb12eb18fa2a46d +size 349027 diff --git a/src/skynet/nix.md b/src/skynet/nix.md index 094cdd9..2b6143c 100644 --- a/src/skynet/nix.md +++ b/src/skynet/nix.md @@ -23,6 +23,18 @@ This means that multiple versions of the program (some even the same version but An example using different versions of Firefox: ![img.png](nix/firefox_co-existing.png) +##### Example +An example of packaging an application can be found here: +[Sieve Editor GUI on Nixpkgs][nix_pkgs_sieve] + +This is packaging up a GUI node.js application. +The application itself allows the user to edit sieve scripts. +Once you have [downloaded and installed](#download) Nix you will be able to install and run it like so: +```shell +nix-shell -p sieve-editor-gui +sieve-editor-gui . +``` + #### Language There are two partially difficult problems in computer science: 1. Off by one errors @@ -80,6 +92,7 @@ For more detailed information I recommend these resources. * [Nix Pills][nix_guide_pills] ### Flakes + ### Nixos @@ -109,4 +122,5 @@ For more detailed information I recommend these resources. [nixos_skynet]: https://forgejo.skynet.ie/Skynet/nixos [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/# \ No newline at end of file +[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