summaryrefslogtreecommitdiff
path: root/exercism/flake.nix
blob: b68fbf2d5a063dc1b37e707ffbb6d8dfa97109e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  inputs = {
    utils.url = "github:numtide/flake-utils";
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
  };

  outputs = { self, nixpkgs, utils }:
    # Note: This has only been tested on x86_64-linux.
    utils.lib.eachDefaultSystem (system: let
      pkgs = nixpkgs.legacyPackages."${system}";
    in rec {
      devShell = pkgs.mkShell {
        nativeBuildInputs = with pkgs; [ exercism ];
      };
    });
}