]> Git — Sourcephile - haskell/symantic-plaintext.git/blob - flake.nix
impl: fix missing newline and space recognition in `Char` instances
[haskell/symantic-plaintext.git] / flake.nix
1 {
2 inputs.nixpkgs.url = "flake:nixpkgs";
3 inputs.symantic-base.url = "git+https://git.code.sourcephile.fr/~julm/symantic-base?ref=main";
4 inputs.symantic-base.inputs.nixpkgs.follows = "nixpkgs";
5 outputs = inputs: let
6 lib = inputs.nixpkgs.lib;
7 forAllSystems = f: lib.genAttrs lib.systems.supported.hydra (system: f {
8 inherit inputs system;
9 pkgs = inputs.nixpkgs.legacyPackages.${system};
10 });
11 in
12 rec {
13 defaultPackage = forAllSystems (import ./default.nix);
14 devShell = lib.mapAttrs (_: x: x.shell) defaultPackage;
15 };
16 }