Skip to content

Commit e4d1f69

Browse files
committed
formatting
1 parent 66f4507 commit e4d1f69

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

flake.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@
5353
# Then uncomment the line below:
5454
zigBuildZonLock = ./build.zig.zon2json-lock;
5555
};
56-
withDesc = drv: desc: drv.overrideAttrs (old: {
57-
meta = (old.meta or {}) // { description = desc; };
58-
});
56+
withDesc = drv: desc:
57+
drv.overrideAttrs (old: {
58+
meta = (old.meta or {}) // {description = desc;};
59+
});
5960
in {
60-
default = withDesc (mkZigmark null) "zigmark — CommonMark + GFM markdown parser and renderer";
61-
zigmark-safe = withDesc (mkZigmark "ReleaseSafe") "zigmark (ReleaseSafe)";
61+
default = withDesc (mkZigmark null) "zigmark — CommonMark + GFM markdown parser and renderer";
62+
zigmark-safe = withDesc (mkZigmark "ReleaseSafe") "zigmark (ReleaseSafe)";
6263
zigmark-small = withDesc (mkZigmark "ReleaseSmall") "zigmark (ReleaseSmall)";
63-
zigmark-fast = withDesc (mkZigmark "ReleaseFast") "zigmark (ReleaseFast)";
64+
zigmark-fast = withDesc (mkZigmark "ReleaseFast") "zigmark (ReleaseFast)";
6465
}
6566
);
6667

@@ -70,7 +71,7 @@
7071
pname = "zigmark-test";
7172
buildPhase = "zig build test -Dversion=${version}";
7273
installPhase = "touch $out";
73-
meta = (old.meta or {}) // { description = "Run zig build test — unit tests + CommonMark spec + GFM spec"; };
74+
meta = (old.meta or {}) // {description = "Run zig build test — unit tests + CommonMark spec + GFM spec";};
7475
});
7576
});
7677

@@ -94,7 +95,7 @@
9495
text = ''
9596
PORT="''${1:-8080}"
9697
echo "▸ Starting fuzzer — web UI at http://127.0.0.1:$PORT"
97-
exec zig build fuzz --fuzz --webui="127.0.0.1:$PORT"
98+
zig build --listen fuzz--fuzz --webui="127.0.0.1:$PORT"
9899
'';
99100
};
100101
in {

0 commit comments

Comments
 (0)