summaryrefslogtreecommitdiff
path: root/flake.nix
blob: e79094cfe2da561133241c0e944e7c953696af8f (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 = "pinentry-dmenu";
        src = ./.;
        buildInputs = [
          xorg.libX11.dev
          xorg.libXinerama
          xorg.libXft
          gpgme
          libconfig
        ];
      };
      formatter.x86_64-linux = alejandra;
    };
}