storage.js: no store path references
This commit is contained in:
1 parent
68285a17b1
commit
4f84143a8b
1 file changed
+2
-1
@@ -25,7 +25,8 @@ stdenv.mkDerivation {
|
|||||||
# styles @import lib.less from the web; use the in-repo copy (sandbox has no network)
|
# 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|"
|
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}"
|
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 = {
|
meta = {
|
||||||
|
|||||||
Reference in new issue
Block a user