on master help sign in
Ensure sqlite shared library is compiled and included in Nix derivation
eeda544Connor Brewster
build-prybar.nix+5
@@ -30,6 +30,11 @@ buildGoModule {
30
30
31 ${bash}/bin/bash ./scripts/inject.sh ${language}
31 ${bash}/bin/bash ./scripts/inject.sh ${language}
32 go generate ./languages/${language}/main.go
32 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
33 '';
38 '';
34
39
35 # The test file expect the binary to be in the current directory rather than bin
40 # The test file expect the binary to be in the current directory rather than bin