rename package to spago-legacy to help NixPkgs#3
Conversation
710089e to
30d0eb4
Compare
This package is currently `spago` in NixPkgs: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=spago The Nix configuration for that is generated from this Cabal file. Renaming to `spago-legacy` will help NixPkgs update to the new Spago. I think it's unnecessary for the `spago` binary to be renamed.
30d0eb4 to
02f95a4
Compare
|
We don't have release CI set up on this repo, so it might take more work to build the binaries. Will nixpkgs need the binaries or will it build them off the branch? In other words: will just cutting the release tag enough for nixpkgs? |
|
NixPkgs will not need the binaries. From what I can understand about this script Thanks |
|
Thanks, that makes sense. I can merge this PR and cut a new tag, but we'll need to get CI going first - the |
|
I can disable the unnecessary jobs in |
0ec9654 to
f7a04f9
Compare
|
I don't think the Mac build is necessary to support the Darwin platform of the Nix build: It is going to build Spago directly from source, given the release package. |
81dfb13 to
df95f0d
Compare
| - name: Setup Haskell (macOS and Windows) | ||
| if: runner.os != 'Linux' | ||
| uses: haskell/actions/setup@v1 | ||
| uses: haskell-actions/setup@v2 |
There was a problem hiding this comment.
df95f0d to
b3a5ecc
Compare
b3a5ecc to
de6d5ce
Compare
|
@f-f please review again |
|
@f-f please review again |
|
I merged and cut the new release. Please keep me posted on the progress in nixpkgs!
Let's do the renaming, it's quite confusing to have the two things share the same binary name. |
|
Thanks @f-f , here is the WIP NixOS/nixpkgs#324944 I will rename the binary to |
See purescript/spago-legacy#3. Co-authored-by: Peter Becich <[email protected]>
See purescript/spago-legacy#3. Co-authored-by: Peter Becich <[email protected]>
See purescript/spago-legacy#3. Co-authored-by: Peter Becich <[email protected]> (cherry picked from commit 4015665)
See purescript/spago-legacy#3. Co-authored-by: Peter Becich <[email protected]> (cherry picked from commit 4015665)
Description of the change
This package is currently
spagoin NixPkgs:https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=spago
The Nix configuration for that is generated from this Cabal file. Renaming to
spago-legacywill help clear the path for NixPkgs update to the new Spago.I think it's unnecessary for the
spagobinary to be renamed tospago-legacy.If this PR is merged, NixPkgs will be updated to the latest commit in this repo
spago-legacy.succeeds with GHC 9.2
stack buildsucceeds.Please merge this PR and make a fix version/release 0.21.1 or maybe even 0.21.0.1. This is probably necessary for Nix to grab the latest commit, I don't think it works directly off the branch.
Checklist:
READMEP.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊