tangled
alpha
login
or
join now
veryroundbird.house
/
core
forked from
tangled.org/core
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
nix: build syntax.css in appview derivation
oppi.li
10 months ago
1ec8fe70
229879c2
+10
1 changed file
expand all
collapse all
unified
split
flake.nix
+10
flake.nix
···
69
69
doCheck = false;
70
70
};
71
71
72
72
+
syntax-chroma = final.buildGoModule {
73
73
+
pname = "chroma";
74
74
+
version = "0.1.0";
75
75
+
src = gitignoreSource ./.;
76
76
+
subPackages = ["cmd/syntax/chroma.go"];
77
77
+
vendorHash = goModHash;
78
78
+
CGO_ENABLED = 1;
79
79
+
};
80
80
+
72
81
appview = with final;
73
82
final.pkgsStatic.buildGoModule {
74
83
pname = "appview";
···
82
91
cp -f ${inter-fonts-src}/web/InterVariable*.woff2 appview/pages/static/fonts/
83
92
cp -f ${inter-fonts-src}/web/InterDisplay*.woff2 appview/pages/static/fonts/
84
93
cp -f ${ibm-plex-mono-src}/fonts/complete/woff2/IBMPlexMono-Regular.woff2 appview/pages/static/fonts/
94
94
+
${pkgs.syntax-chroma}/bin/chroma -out appview/pages/static/syntax.css
85
95
${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o appview/pages/static/tw.css
86
96
popd
87
97
'';