summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 5f7de496333b03e53bf73ed6999835d449a772e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  outputs = {
    self,
    nixpkgs,
  }:
    with nixpkgs.legacyPackages.x86_64-linux; {
      packages.x86_64-linux.default = stdenv.mkDerivation {
        name = "st";
        src = ./.;
        buildInputs = [
          xorg.libX11.dev
          xorg.libXft
          xorg.libXinerama
          pkg-config
          fontconfig
        ];
      };
      formatter.x86_64-linux = alejandra;
    };
}