Merge pull request #79 from replit/cb-compile-sqlite-assets
Ensure sqlite shared library is compiled and included in Nix derivation
commit835586c992018701ca010af0ef6add0ae834fd94
authorConnor Brewster <cbrewster@hey.com>
dateWed 17 Nov 2021, 10:18 (5 years ago)
parent687e986eeda544
build-prybar.nix+5
@@ -30,6 +30,11 @@ buildGoModule {
3030
3131 ${bash}/bin/bash ./scripts/inject.sh ${language}
3232 go generate ./languages/${language}/main.go
33+
34+ if [[ -f "languages/${language}/compile" ]]; then
35+ patchShebangs languages/${language}/compile
36+ languages/${language}/compile;
37+ fi
3338 '';
3439
3540 # The test file expect the binary to be in the current directory rather than bin