flake: Use overlay in devshell

This commit is contained in:
Erwin Boskma 2024-10-03 08:36:01 +02:00
parent b04ec25a57
commit 31e1c335e8
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -219,10 +219,16 @@
inputs', inputs',
pkgs, pkgs,
config, config,
system,
... ...
}: }:
{ {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
pre-commit = { pre-commit = {
settings = { settings = {
hooks = { hooks = {
@ -258,7 +264,7 @@
packages = { packages = {
dnspyre = pkgs.callPackage ./pkgs/dnspyre { }; dnspyre = pkgs.callPackage ./pkgs/dnspyre { };
git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { }; git-repo-go = pkgs.git-repo-go;
hassbridge = pkgs.callPackage ./pkgs/hassbridge { }; hassbridge = pkgs.callPackage ./pkgs/hassbridge { };
peakperf = pkgs.callPackage ./pkgs/peakperf { }; peakperf = pkgs.callPackage ./pkgs/peakperf { };
tinyows = pkgs.callPackage ./pkgs/tinyows { }; tinyows = pkgs.callPackage ./pkgs/tinyows { };