~yoctocell/flaskell

flaskell/flake.nix -rw-r--r-- 595 bytes
34a243b0Xinglu Chen .gitignore: Ignore etags 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  description = "Flaskell";

  inputs =
    {
      nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
      flake-utils.url = "github:numtide/flake-utils";
    };

  outputs = { self, nixpkgs, flake-utils }:
    let
      systems = [ "x86_64-linux" ];
    in
    flake-utils.lib.eachSystem systems (system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
      in
      rec {
        packages.flaskell = (pkgs.callPackage ./. { inherit pkgs; }).flaskell;
        defaultPackage = packages.flaskell;

        devShell = (import ./. { inherit pkgs; }).flaskellShell;
      });
}