master branch broken on macOS - Rib

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Joel McCracken

running into issues with the new sample repo

Joel McCracken
±  |master ✓| → nix-shell --run 'ghcid -T main'
error: Package ‘fsatrace-0.0.1-324’ in /nix/store/450yg99l600fawyb11f0k86zvjxi7mdn-sour
ce/pkgs/development/tools/misc/fsatrace/default.nix:29 is not supported on ‘x86_64-darw
in’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

(use '--show-trace' to show detailed location information)
Joel McCracken

i see the fix mentioned in the output but would rather not do something as drastic as enable that systemwide

Sridhar Ratnakumar

Ah, thanks for reporting it. Will entirely remove fsatrace from default.nix.

Sridhar Ratnakumar

@Joel McCracken I have now added macOS to the CI matrix of rib. And I've also added CI to rib-sample. So in future you shouldn't expect breakages like this. Also, check the new README of rib-sample: it contains cache instructions which you might be interested in it if your nix builds takes too much time.

Sridhar Ratnakumar

(The CI pushes new binaries to the cache; which your dev machine can directly use instead of having to build from scratch)

Joel McCracken

i will check it out =D