Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/r-k-b/frink-nix

Run Frink on NixOS without hassle.
https://github.com/r-k-b/frink-nix

Last synced: 26 days ago
JSON representation

Run Frink on NixOS without hassle.

Awesome Lists containing this project

README

        

Run [Frink] on [NixOS] without much hassle.

[Frink]: https://frinklang.org/
[NixOS]: https://nixos.org/

# usage

To start a CLI session:

`$ nix run github:r-k-b/frink-nix`

To start a GUI session:

`$ nix run github:r-k-b/frink-nix -- --gui`

To calculate something and exit:

`$ nix run github:r-k-b/frink-nix -- -e "78 yards -> feet"`

See [RunningFrink] for more options.

[RunningFrink]: https://frinklang.org/#RunningFrink

# updating

To update Frink, run `./update.sh`. The file [`LAST-UPDATED`](./LAST-UPDATED)
indicates when this was last run.

To update the other inputs to this flake, such as `nixpkgs`, run
`nix flake update`.

# notes

I'd rather not keep a copy of Frink's files in this repo, but there doesn't seem
to be any permanent url for a given version of Frink.

It's not in package repos like Ubuntu, Snapcraft, or Arch, anyway.

---

Should the `installPhase` use `makeWrapper`? Something like
?

# see also

[Hillel Wayne's post *The Frink is Good, the Unit is Evil*](https://hillelwayne.com/post/frink/)

> If you want to learn more about how evil units are, check out Bill Kent’s
> [Measurement Data Report.](https://www.bkent.net/Doc/mdarchiv.pdf)

- From the same article.