Skip to content

spago: 0.20.8 -> 0.20.9#171604

Merged
cdepillabout merged 1 commit intoNixOS:haskell-updatesfrom
cdepillabout:spago-0.20.9
May 5, 2022
Merged

spago: 0.20.8 -> 0.20.9#171604
cdepillabout merged 1 commit intoNixOS:haskell-updatesfrom
cdepillabout:spago-0.20.9

Conversation

@cdepillabout
Copy link
Member

@cdepillabout cdepillabout commented May 5, 2022

Description of changes

Update spago from 0.20.8 to 0.20.9:
https://github.com/purescript/spago/blob/d16d4914200783fbd820ba89dbdf67270454faf5/CHANGELOG.md#0209---2022-05-03

cc @f-f

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@cdepillabout
Copy link
Member Author

@ofborg build spago haskellPackages.spago

@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 5, 2022
@cdepillabout
Copy link
Member Author

cdepillabout commented May 5, 2022

Looks like this is building on Linux at least, so I'll go ahead and merge in.


Not sure if anyone would be interested, but since the static compilation stuff in the Haskell package set is working well, you can also easily get a statically-compiled spago:

$ nix-build -A pkgsStatic.spago
...
/nix/store/5shp7gzrca7i0gg00is9vjj6vgala0vr-spago-static-x86_64-unknown-linux-musl-0.20.9
$ file /nix/store/5shp7gzrca7i0gg00is9vjj6vgala0vr-spago-static-x86_64-unknown-linux-musl-0.20.9/bin/spago
spago: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
$ /nix/store/5shp7gzrca7i0gg00is9vjj6vgala0vr-spago-static-x86_64-unknown-linux-musl-0.20.9/bin/spago --version
0.20.9

@cdepillabout cdepillabout merged commit 2ab8e66 into NixOS:haskell-updates May 5, 2022
@cdepillabout cdepillabout deleted the spago-0.20.9 branch May 5, 2022 04:39
@cdepillabout cdepillabout added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label May 5, 2022
@cdepillabout cdepillabout restored the spago-0.20.9 branch May 5, 2022 06:03
@f-f
Copy link

f-f commented May 5, 2022

@cdepillabout oh wow. I'd love to publish a statically compiled binary for Linux - is there a quick/simple way to do this on Spago's CI? (I guess a Nix build, which would probably require a whole lot of cabal2nix, and probably a proper cache, etc?)

@cdepillabout
Copy link
Member Author

@f-f I opened up a PR purescript/spago#882 where I've started to try to get a GitHub action for building spago statically with Nix. It's currently WIP. I'll continue the discussion on that PR if I'm able to make any progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants