Skip to content

Commit 7f2f894

Browse files
mac-app-util: try passing pkgs
1 parent ed009f5 commit 7f2f894

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

home.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ in
1717
# and causes infinite recursion
1818
++ lib.optional (
1919
builtins.currentSystem == "aarch64-darwin" || builtins.currentSystem == "x86_64-darwin"
20-
) (import ./mac-app-util);
20+
) (import ./mac-app-util pkgs);
2121

2222
home = rec {
2323
inherit (settings) username;

mac-app-util/default.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
pkgs:
2+
13
let
24
mac-app-util-src = builtins.fetchTarball {
35
url = "https://github.com/hraban/mac-app-util/archive/341ede93f290df7957047682482c298e47291b4d.tar.gz";
46
sha256 = "1f06xpjy82ql5i7va7z0ii97hjgsh31il42ifnnrndyd5bc3ycv9";
57
};
6-
mac-app-util = import mac-app-util-src {};
8+
mac-app-util = import mac-app-util-src { inherit pkgs; };
79
in
8-
mac-app-util.homeManagerModules.default
10+
mac-app-util.homeManagerModules.default

0 commit comments

Comments
 (0)