financier-nix/README.markdown
Martin Puppe 8c56307c55 Add nix flake support
With this commit, we add nix flake support. Flakes are evaluated in pure
evaluation mode. The script generate.sh does not work in pure evaluation
mode since it node2nix fetches itself resources from the network. In
order to enable pure evaluation, we add the generated nix files to this
repository.
2021-09-20 00:11:34 +02:00

20 lines
467 B
Markdown

# Nix support for financier
This repository contains files for building
[financier](https://gitlab.com/mpuppe/financier/) with the
[Nix](https://nixos.org/manual/nix/stable/) package manager.
First, you should update the necessary Nix files:
``` bash
nix-shell --run 'bash generate.sh'
```
Afterwards, the distribution for financier can be built:
``` bash
nix-build dist.nix
```
There is also a module (module.nix) that you can use in your NixOS
configuration.