on iko/ghcjs-patch-master help sign in
Fix typo & comment out cross comp in eg. flake.nix (#1423)
commit97b3a677898506c3388bb7915602feb720b8d55f authorHamish Mackenzie <Hamish.K.Mackenzie@gmail.com> dateFri 1 Apr 2022, 18:18 (5 years ago) parente9a9354
1 file changed+2−2
docs/tutorials/getting-started-flakes.md+2−2
docs/tutorials/getting-started-flakes.md+2−2
@@ -62,14 +62,14 @@ Add `flake.nix`:
6262 nixpkgs-fmt
6363 ];
6464 # This adds `js-unknown-ghcjs-cabal` to the shell.
65− shell.crossPlatform = p: [p.ghcjs];
65+ # shell.crossPlatforms = p: [p.ghcjs];
6666 };
6767 })
6868 ];
6969 pkgs = import nixpkgs { inherit system overlays; inherit (haskellNix) config; };
7070 flake = pkgs.helloProject.flake {
7171 # This adds support for `nix build .#js-unknown-ghcjs-cabal:hello:exe:hello`
72− crossPlatforms = p: [p.ghcjs];
72+ # crossPlatforms = p: [p.ghcjs];
7373 };
7474 in flake // {
7575 # Built by `nix build .`