storage.js: no store path references
Build Stylus Export / build (push) Skipped
CI / ci (push) Skipped
Lint Userstyles / lint (push) Skipped

This commit is contained in:
bug committed 2026-10-18 02:06:53 -05:00
1 parent 68285a17b1
commit 4f84143a8b
1 file changed
+2 -1
+2 -1
View File
@@ -25,7 +25,8 @@ stdenv.mkDerivation {
# styles @import lib.less from the web; use the in-repo copy (sandbox has no network)
grep -rl 'https://userstyles.catppuccin.com/lib/lib.less' styles | xargs sed -i "s|https://userstyles.catppuccin.com/lib/lib.less|$src/lib/lib.less|"
DENO_DIR=$PWD/deno_cache stylus-storage-gen "$PWD/styles" "${userstylesOptionsFile}"
cp storage.js $out/share/
# restore the original import URL so storage.js holds no store paths
sed "s|$src/lib/lib.less|https://userstyles.catppuccin.com/lib/lib.less|g" storage.js > $out/share/storage.js
'';
meta = {