summaryrefslogtreecommitdiff
path: root/flake.nix
blob: e465964082342ec486880839295323d6be8c1c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Author: Pacien TRAN-GIRARD
# Licence: EUPL-1.2

{
  inputs = {
    # Not yet merged.
    # quarto: 1.1.251 -> 1.2.269: https://github.com/NixOS/nixpkgs/pull/201551
    nixpkgs.url = "github:NixOS/nixpkgs/a0297ff";
    flake-utils.url = "github:numtide/flake-utils";
    flaky-utils.url = "git+https://cgit.pacien.net/libs/flaky-utils";
  };

  outputs = { self, nixpkgs, flake-utils, flaky-utils }:
  flake-utils.lib.eachDefaultSystem (system:
  with nixpkgs.legacyPackages.${system};
  let

    tools = [
      pandoc
      quarto
    ];

  in lib.fold lib.recursiveUpdate { } [

    {
      devShell = flaky-utils.lib.mkDevShell {
        inherit pkgs tools;
      };
    }

  ]);
}