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
craneLib = crane.mkLib pkgs;
19
20
commonArgs = {
21
-
src = craneLib.cleanCargoSource ./.;
0
0
0
0
0
0
0
0
22
23
buildInputs = with pkgs; [
24
openssl
···
18
craneLib = crane.mkLib pkgs;
19
20
commonArgs = {
21
+
src = let
22
+
sqlFilter = path: _type: builtins.match ".*\.sql$" path != null;
23
+
sqlOrCargo = path: type:
24
+
(sqlFilter path type) || (craneLib.filterCargoSources path type);
25
+
in
26
+
pkgs.lib.cleanSourceWith {
27
+
src = ./.;
28
+
filter = sqlOrCargo;
29
+
};
30
31
buildInputs = with pkgs; [
32
openssl