Skip to content
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

Nixpacks revel installation #1284

Open
1 task done
DhannyRaymond opened this issue Feb 22, 2025 · 1 comment
Open
1 task done

Nixpacks revel installation #1284

DhannyRaymond opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DhannyRaymond
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

i want to deploy golang with revel framework on railway app, but seems go install github.com/revel/cmd/revel@latest did not work

To reproduce

here's my nixpacks.toml, revel command is not found

name = "cms-app"
version = "1.0.0"

nixPkgs = ["go", "git", "curl", "bash"]

[env]
GO111MODULE = "on"
CGO_ENABLED = 0
GOPATH = "/go"
GOBIN = "/root/.nix-profile/bin"

[phases.setup]
cmds = [
"echo 'Setting up environment...'",
"which go",
"go version",
"export PATH=$PATH:/root/.nix-profile/bin",
"go install github.com/revel/cmd/revel@latest",
"revel version"
]

Expected behavior

No response

Environment

environment is prod, because need to deploy it using railway

@DhannyRaymond DhannyRaymond added the bug Something isn't working label Feb 22, 2025
@coffee-cup
Copy link
Contributor

Can you please share some errors that you are seeing. What does "did not work" mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants