New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heroku: 3.43.16 -> 6.6.14 #25983
heroku: 3.43.16 -> 6.6.14 #25983
Conversation
This version of the CLI is no longer deprecated and uses pure nodejs.
@shosti, thanks for your PR! By analyzing the history of the files in this pull request, we identified @peterhoeg and @aflatter to be potential reviewers. |
Doesn't |
Yes I think so, didn't realize that isn't allowed. So |
(I tried |
@shosti take a look at node2nix. You probably can add your package to |
|
@shosti It looks like there has recently been some commits on node2nix that give it a -7 flag which I assume allows node 7 packages. Worth a shot? |
If somebody is in hurry and needs heroku quickly:
|
@Mic92 Thank you very much for your addition! I found that it couldn't interact with the local directory such as is necessary when running
The first adds the working directory as a volume, and the second makes that directory the WORKDIR. |
@shosti bump? It sounds like the node2nix issue isn't blocking since your PR adding node 7 support was merged in. Do you know if there are any other blocking issues? |
The current |
@CMCDragonkai i think we need to package this with node2nix. /me runs node2nix |
Yeah sorry I haven’t had time to get this working. node2nix seems to get the dependencies ok, but I haven’t figured out how to get the binaries wrapped properly. If someone wants to take this over that would be awesome. |
It looks like mkYarnPackage may be the easiest way to go. |
As a workaround until this gets finished, here's how I got heroku cli installed on NixOS 18.03 git clone https://github.com/heroku/cli.git heroku-cli
cd heroku-cli
nix-env -f '<nixpkgs>' -iA nodePackages.node2nix
node2nix -8
nix-build -A package
nix-env -i ./result
heroku login |
I've opened #42869 as the next attempt at fixing this, I'm going to close this issue as it's outdated. |
Motivation for this change
This version of the CLI is no longer deprecated and uses pure nodejs.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)