@@ -62,14 +62,14 @@ Add `flake.nix`:
62 nixpkgs-fmt
62 nixpkgs-fmt
64 # This adds `js-unknown-ghcjs-cabal` to the shell.
64 # This adds `js-unknown-ghcjs-cabal` to the shell.
65− shell.crossPlatform = p: [p.ghcjs];
65+ # shell.crossPlatforms = p: [p.ghcjs];
69 pkgs = import nixpkgs { inherit system overlays; inherit (haskellNix) config; };
69 pkgs = import nixpkgs { inherit system overlays; inherit (haskellNix) config; };
70 flake = pkgs.helloProject.flake {
70 flake = pkgs.helloProject.flake {
71 # This adds support for `nix build .#js-unknown-ghcjs-cabal:hello:exe:hello`
71 # This adds support for `nix build .#js-unknown-ghcjs-cabal:hello:exe:hello`
72− crossPlatforms = p: [p.ghcjs];
72+ # crossPlatforms = p: [p.ghcjs];
74 in flake // {
74 in flake // {
75 # Built by `nix build .`
75 # Built by `nix build .`