Skip to content

Commit 4eb3fae

Browse files
committed
try a different approach to submodules
1 parent b8e7cd1 commit 4eb3fae

File tree

2 files changed

+59
-7
lines changed

2 files changed

+59
-7
lines changed

flake.lock

Lines changed: 45 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,28 @@
44
flake-utils.url = "github:numtide/flake-utils";
55
rust-overlay.url = "github:oxalica/rust-overlay";
66

7-
# include git submodules
7+
# let git manage submodules
88
self.submodules = true;
9+
proto = {
10+
url = "path:src-tauri/proto";
11+
flake = false;
12+
};
13+
defguard-ui = {
14+
url = "path:src/shared/defguard-ui";
15+
flake = false;
16+
};
17+
boringtun = {
18+
url = "path:swift/boringtun";
19+
flake = false;
20+
};
921
};
1022

1123
outputs = {
1224
self,
1325
nixpkgs,
1426
flake-utils,
1527
rust-overlay,
28+
...
1629
}:
1730
flake-utils.lib.eachDefaultSystem (system: let
1831
# add rust overlay

0 commit comments

Comments
 (0)