Run Frink on NixOS without much hassle.
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.
To update Frink, run ./update.sh
. The file LAST-UPDATED
indicates when this was last run.
To update the other inputs to this flake, such as nixpkgs
, run
nix flake update
.
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
https://git.marvid.fr/scolobb/nix-GINsim/src/commit/d7147baefccad2e6643fadc3600b76e8dbd2d67a/ginsim.nix?
Hillel Wayne's post The Frink is Good, the Unit is Evil
If you want to learn more about how evil units are, check out Bill Kent’s Measurement Data Report.
- From the same article.