Skip to content

Updates JS backend nix instructions#889

Merged
dmjio merged 1 commit into
masterfrom
update-readme-js-backend
Apr 21, 2025
Merged

Updates JS backend nix instructions#889
dmjio merged 1 commit into
masterfrom
update-readme-js-backend

Conversation

@dmjio
Copy link
Copy Markdown
Owner

@dmjio dmjio commented Apr 21, 2025

Per feedback, we should ensure we're using miso's pinned nixpkgs for fetching ghcjs9122

Per feedback, we should ensure we're using miso's pinned nixpkgs for
fetching ghcjs.
@dmjio
Copy link
Copy Markdown
Owner Author

dmjio commented Apr 21, 2025

cc @akegalj

$ cachix use haskell-miso-cachix
$ nix-shell -p pkgs.pkgsCross.ghcjs.haskell.packages.ghc9122.ghc -I nixpkgs=https://github.com/alexfmpe/nixpkgs/archive/b594b289740a2bc917ed9c66fef5d905f389cb96.tar.gz

If you're on Darwin it might not be cached, so I will try to push that later today, otherwise that command should succeed (does on linux) barring any Darwin nix chicanery.

It's still a one-liner, so after this no nix should be required to use miso.

@dmjio dmjio merged commit b1bd62a into master Apr 21, 2025
3 checks passed
@dmjio dmjio deleted the update-readme-js-backend branch April 21, 2025 18:18
@akegalj
Copy link
Copy Markdown

akegalj commented Apr 22, 2025

Thanks, that works like a charm. By the way I used to have haskell-miso cache before

https://miso-haskell.cachix.org
miso-haskell.cachix.org-1:6N2DooyFlZOHUfJtAx1Q09H0P5XXYzoxxQYiwn6W1e8=

is that one still used or should I drop it in favour of haskell-miso-cachix ?

EDIT: I see its still uploaded to cachix, so its still probably used for some bits. Will use both.

@dmjio
Copy link
Copy Markdown
Owner Author

dmjio commented Apr 22, 2025

Yea both is fine, haskell-miso-cachix is used by CI now

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants