aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 22d9607a5609a15e4b29f807fe2141a9d3cb6385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  };

  outputs = { self, nixpkgs, ... }:
    let
      pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
    in {
      devShells.x86_64-linux.default = pkgs.mkShell {
        buildInputs = with pkgs; [
          cmakeMinimal
          SDL2
        ];
        shellHook = ''
          tmux
          exit
        '';
      };
    };
}