mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 00:12:17 +01:00
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.
20 lines
467 B
Markdown
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.
|