justinwoo / spago2nix

Generate a derivation of (old) Spago dependencies, and use them to install them into the directory structure used by Spago.
MIT License
42 stars 22 forks source link

errors running buildPhase example from readme #28

Open goosetherumfoodle opened 4 years ago

goosetherumfoodle commented 4 years ago

When I stick

    ${spagoPkgs.installSpagoStyle}
    ${spagoPkgs.buildSpagoStyle}
    ${spagoPkgs.buildFromNixStore}

in the buildPhase, as per the readme, I get the following error:

/usr/bin/env: bad interpreter: No such file or directory

So I feel like I'm missing something, because those generated bash scripts hardcode /usr/bin/env in the shebang, but I don't think /usr/bin/env is even supposed to be available during the buildPhase.

justinwoo commented 4 years ago

this works in the github CI. do you know how to isolate this?