1
0
Fork 0
forked from Skynet/wiki

assignment: added an example package

This commit is contained in:
silver 2024-10-16 11:37:26 +01:00
parent 550748da77
commit a0c503896a
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 17 additions and 3 deletions

BIN
_git.tar.gz (Stored with Git LFS)

Binary file not shown.

View file

@ -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/#
[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