Skip to content

Commit 4defb81

Browse files
authored
Merge pull request #100 from cachix/upstream-lazyattrsof
use upstreamed lazyAttrsOf
2 parents 2d169bb + c2d819d commit 4defb81

File tree

2 files changed

+1
-123
lines changed

2 files changed

+1
-123
lines changed

modules/pre-commit.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ let
1010
mkOption
1111
types
1212
;
13-
inherit (import ../nix/lazyAttrsOf.nix { inherit lib; }) lazyAttrsOf;
1413

1514
inherit (pkgs) runCommand writeText git;
1615

@@ -190,7 +189,7 @@ in
190189

191190
tools =
192191
mkOption {
193-
type = lazyAttrsOf { elemType = types.package; };
192+
type = types.lazyAttrsOf types.package;
194193

195194
description =
196195
''

nix/lazyAttrsOf.nix

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)