Ensure sqlite shared library is compiled and included in Nix derivation
commiteeda544414ff6c22968a45fbb2b2aec908228e1f
authorConnor Brewster <cbrewster@hey.com>
dateTue 16 Nov 2021, 22:57 (5 years ago)
parent7d0ec69
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