From 0cee36a024bf30dd466b8245a2c4e085921a1981 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 18 Apr 2024 14:17:43 +0200 Subject: dev/web: install custom htmlformat package from self --- flake.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 2aa1703d..dfabb683 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,12 @@ }: let mkHomeConfiguration = { modules, system }: home-manager.lib.homeManagerConfiguration { - pkgs = import nixpkgs { inherit system; }; + pkgs = import nixpkgs { + inherit system; + overlays = [ + self.overlays.default + ]; + }; inherit modules; extraSpecialArgs = { @@ -50,6 +55,12 @@ }; in { + overlays.default = final: prev: { + self = { + htmlformat = final.callPackage ./packages/htmlformat { }; + }; + }; + nixosConfigurations.prefect = nixpkgs.lib.nixosSystem { system = utils.lib.system.x86_64-linux; specialArgs = { inherit inputs; }; -- cgit 1.4.1