Hamish Mackenzie

Results 179 comments of Hamish Mackenzie

I'm a bit uneasy that this pulls in lots of other stuff from `project-common.nix`. Would it make sense to have a `project-and-package-set.nix` with just the stuff we need (`evalPackages` and...

> error: The option 'reinstallableLibGhc' does not exist. That is odd. How did you pass it? It needs to be in the `modules` argument for the project. So normally that...

I am going to close this as `reinstallableLibGhc` is now the default and I think that should clear up most of the issues discussed here.

You can pass a preferred `evalSystem` so the IFD will run on that system. For instance you could pass `evalSystem = "x86_64-darwin";` or `evalSystem = builtins.currentSystem;` (requires `--impure`). This will...

I broke this when I added the shell arguments as a submodule of the project arguments. I forgot that anything we can pass to [`pkgs.mkShell`](https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell) can also be included (they...

We don't currently have `aarch64-darwin` in the cache. So it could be that. What OS are you building on? Have you configured any additional builders? Did you modify the flake.nix...

Yes this is a bug. I thought it only affected `hackage-project` based things (that is where I found it annoying). Can you please remove the old work around [here](https://github.com/input-output-hk/haskell.nix/blob/17e5f35d56c57b20ba2397010fcd4032fb6acc2b/modules/hackage-project.nix#L26-L31)? I'm...

> Does cabal accept a `cabal.project.local` without `cabal.project`? It does (with a warning): ``` [nix-shell:~/iohk/hello-1.0.0.2]$ cabal --version cabal-install version 3.6.2.0 compiled using version 3.6.2.0 of the Cabal library [nix-shell:~/iohk/hello-1.0.0.2]$ ls...

cabal only seems to print that warning when there is an error. I think we could write the `cabalProjectLocal` to `cabal.project.local` to get the same behaviour. That is a bigger...