Skip to content

Commit

Permalink
fix nixpacks
Browse files Browse the repository at this point in the history
  • Loading branch information
usual2970 committed Aug 23, 2024
1 parent 10bf691 commit 76c445a
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 48 deletions.
6 changes: 3 additions & 3 deletions nixpacks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ dependsOn = [
'install',
'setup',
]
cmds = ['go build -o out','npm --prefix=./ui run build']
cmds = ['go build -o out']
cacheDirectories = ['/root/.cache/go-build']

[phases.install]
dependsOn = ['setup']
cmds = ['go mod download','npm --prefix=./ui ci']
cmds = ['go mod download']
cacheDirectories = ['/root/.cache/go-build']

[phases.setup]
nixPkgs = ['...', 'go', 'nodejs_22']
nixPkgs = ['go']

nixOverlays = []
nixpkgsArchive = '1f13eabcd6f5b00fe9de9575ac52c66a0e887ce6'
Expand Down
Loading

0 comments on commit 76c445a

Please sign in to comment.