~pvsr/qpm

qpm/flake.nix -rw-r--r-- 612 bytes
8b6b26a0Peter Rice document dmenu-wl support 21 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  description = "A tool for creating and managing qutebrowser profiles";

  inputs.flake-utils.url = "github:numtide/flake-utils";

  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let pkgs = nixpkgs.legacyPackages.${system}; in
      rec {
        packages = flake-utils.lib.flattenTree {
          qbpm = import ./. { inherit pkgs; };
        };
        defaultPackage = packages.qbpm;
        apps.qbpm = flake-utils.lib.mkApp { drv = packages.qbpm; };
        defaultApp = apps.qbpm;
        devShell = import ./shell.nix { inherit pkgs; };
      }
    );
}