Your one-stop-cake-shop for everything Freshly Baked has to offer

fix(pm/bluesky): genericize build #95

merged opened by a.starrysky.fyi targeting main from private/minion/push-tlsnytpyxlmo

Bluesky PDS was trying to remove a specific version of atproto. This meant that as the version was bumped, the build would break. If we use find to check the right version to remove, this won't break anymore unless the build does actually need to change

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3m2zhx5dz5m22
+4 -3
Diff #0
+4 -3
packetmix/packages/bluesky-pds/default.nix
··· 83 83 }: 84 84 config.inputs.nixos-unstable.result.${system}.bluesky-pds.overrideAttrs { 85 85 postBuild = '' 86 - rm -r node_modules/.pnpm/@atproto+pds@0.4.169 87 - mkdir -p node_modules/.pnpm/@atproto+pds@0.4.169 86 + atproto_pds_dir=$(${pkgs.findutils}/bin/find node_modules/.pnpm -maxdepth 1 -name "@atproto+pds@*") 87 + rm -r $atproto_pds_dir 88 + mkdir -p $atproto_pds_dir 88 89 ln -s ${ 89 90 config.packages.bluesky-atproto-pds.result.${system} 90 - }/lib node_modules/.pnpm/@atproto+pds@0.4.169/node_modules 91 + }/lib $atproto_pds_dir/node_modules 91 92 ''; 92 93 }; 93 94 };

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
fix(pm/bluesky): genericize build
1/5 failed, 1/5 timeout, 3/5 success
expand
expand 0 comments
pull request successfully merged
a.starrysky.fyi submitted #0
1 commit
expand
fix(pm/bluesky): genericize build
2/5 failed, 3/5 success
expand
expand 0 comments