mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 00:12:17 +01:00
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.
This commit is contained in:
parent
c0fd2b96a5
commit
8c56307c55
10 changed files with 17547 additions and 7 deletions
|
|
@ -4,7 +4,7 @@ This repository contains files for building
|
|||
[financier](https://gitlab.com/mpuppe/financier/) with the
|
||||
[Nix](https://nixos.org/manual/nix/stable/) package manager.
|
||||
|
||||
You first need to generate the necessary Nix files:
|
||||
First, you should update the necessary Nix files:
|
||||
|
||||
``` bash
|
||||
nix-shell --run 'bash generate.sh'
|
||||
|
|
@ -17,4 +17,4 @@ nix-build dist.nix
|
|||
```
|
||||
|
||||
There is also a module (module.nix) that you can use in your NixOS
|
||||
configuration.
|
||||
configuration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue