forked from Skynet/wiki
assignment: added an example package
This commit is contained in:
parent
550748da77
commit
a0c503896a
2 changed files with 17 additions and 3 deletions
BIN
_git.tar.gz
(Stored with Git LFS)
BIN
_git.tar.gz
(Stored with Git LFS)
Binary file not shown.
|
@ -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:
|
An example using different versions of Firefox:
|
||||||
![img.png](nix/firefox_co-existing.png)
|
![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
|
#### Language
|
||||||
There are two partially difficult problems in computer science:
|
There are two partially difficult problems in computer science:
|
||||||
1. Off by one errors
|
1. Off by one errors
|
||||||
|
@ -81,6 +93,7 @@ For more detailed information I recommend these resources.
|
||||||
|
|
||||||
### Flakes
|
### Flakes
|
||||||
|
|
||||||
|
|
||||||
### Nixos
|
### Nixos
|
||||||
|
|
||||||
### Lix
|
### Lix
|
||||||
|
@ -110,3 +123,4 @@ For more detailed information I recommend these resources.
|
||||||
[nix_paper]: https://edolstra.github.io/pubs/nspfssd-lisa2004-final.pdf
|
[nix_paper]: https://edolstra.github.io/pubs/nspfssd-lisa2004-final.pdf
|
||||||
[nix_guide_official]: https://nix.dev/tutorials/first-steps/
|
[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
|
Loading…
Reference in a new issue