tangled
alpha
login
or
join now
seiso.moe
/
onis
16
fork
atom
auth dns over atproto
16
fork
atom
overview
issues
2
pulls
pipelines
uh maybe dont strip the migrations >w<
seiso.moe
1 month ago
d0052930
a0362181
+9
-1
1 changed file
expand all
collapse all
unified
split
flake.nix
+9
-1
flake.nix
···
18
18
craneLib = crane.mkLib pkgs;
19
19
20
20
commonArgs = {
21
21
-
src = craneLib.cleanCargoSource ./.;
21
21
+
src = let
22
22
+
sqlFilter = path: _type: builtins.match ".*\.sql$" path != null;
23
23
+
sqlOrCargo = path: type:
24
24
+
(sqlFilter path type) || (craneLib.filterCargoSources path type);
25
25
+
in
26
26
+
pkgs.lib.cleanSourceWith {
27
27
+
src = ./.;
28
28
+
filter = sqlOrCargo;
29
29
+
};
22
30
23
31
buildInputs = with pkgs; [
24
32
openssl