Monorepo for Tangled tangled.org
1

Configure Feed

Select the types of activity you want to include in your feed.

flake,appview: keep devshell asset copies out of the working copy

Signed-off-by: dawn <dawn@tangled.org>

+14 -8
+3
appview/pages/static/.gitignore
··· 1 + * 2 + !.gitignore 3 + !topbar-search.js
+11 -8
flake.nix
··· 403 403 shellHook = '' 404 404 export CC=${pkgs.stdenv.cc}/bin/cc 405 405 export NODE_PATH=${tailwindcss-plugins}''${NODE_PATH:+:$NODE_PATH} 406 - mkdir -p appview/pages/static 407 - # temporary self-heal for workspaces that copied static assets as read-only 408 - [ -d appview/pages/static/icons ] && [ ! -w appview/pages/static/icons ] && chmod -R u+rwX appview/pages/static 409 - # no preserve is needed because watch-tailwind will want to be able to overwrite 410 - cp -fr --no-preserve=ownership,mode ${packages'.appview-static-files}/* appview/pages/static 411 - mkdir -p web/static 412 - rm -rf web/static/fonts web/static/logos 413 - cp -fr --no-preserve=ownership,mode ${packages'.web-static-files}/* web/static 406 + ( 407 + cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" 408 + mkdir -p appview/pages/static 409 + # temporary self-heal for workspaces that copied static assets as read-only 410 + [ -d appview/pages/static/icons ] && [ ! -w appview/pages/static/icons ] && chmod -R u+rwX appview/pages/static 411 + # no preserve is needed because watch-tailwind will want to be able to overwrite 412 + cp -fr --no-preserve=ownership,mode ${packages'.appview-static-files}/* appview/pages/static 413 + mkdir -p web/static 414 + rm -rf web/static/fonts web/static/logos 415 + cp -fr --no-preserve=ownership,mode ${packages'.web-static-files}/* web/static 416 + ) 414 417 export TANGLED_OAUTH_CLIENT_KID="$(date +%s)" 415 418 export TANGLED_OAUTH_CLIENT_SECRET="$(${packages'.goat}/bin/goat key generate -t P-256 | grep -A1 "Secret Key" | tail -n1 | awk '{print $1}')" 416 419 # Make xcrun (Nix stub) able to find ld from the system Command Line Tools.