summaryrefslogtreecommitdiff
path: root/custom/thermoprint-service.nix
blob: 8773706cf58b907e80e626f8d9bf1eaf22bc344f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, pkgs, ... }:

with lib;

{
  config = {
    nixpkgs.overlays = [(selfPkgs: superPkgs: {
      haskellPackages = superPkgs.haskellPackages.extend (selfH: superH:
        import ./custom/thermoprint {
          callPackage = superPkgs.lib.callPackageWith (selfH // { inherit (superPkgs) stdenv makeWrapper runCommand; });
          extraPackages = (p: []);
        }
      );

      inherit (selfPkgs.haskellPackages) thermoprint-server thermoprint-webgui tprint;
    };
  };
}