NorfairKing / feedback

Declarative feedback loop manager
https://cs-syd.eu/posts/2022-11-14-automate-your-feedback-loops-using-feedback
GNU General Public License v3.0
61 stars 10 forks source link

macOS support #14

Closed srid closed 1 year ago

srid commented 1 year ago

... would be great,

Running nix run github:NorfairKing/feedback from https://cs-syd.eu/posts/2022-11-14-automate-your-feedback-loops-using-feedback =>

error: flake 'github:NorfairKing/feedback' does not provide attribute 'apps.aarch64-darwin.default', 'defaultApp.aarch64-darwin', 'packages.aarch64-darwin.default' or 'defaultPackage.aarch64-darwin'
srid commented 1 year ago

This may first require porting the dependencies, viz.:

❯ nix run nixpkgs#haskellPackages.feedback
error: Package ‘autodocodec-yaml-0.2.0.2’ in /nix/store/y63kal4f9mmdy14mdfp8d24h6hfi4cqp-source/pkgs/development/haskell-modules/hackage-packages.nix:37650 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

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

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowBroken = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
NorfairKing commented 1 year ago

I have no way to debug any issues on macos and no way to do CI so I can't really support it. The codebase is pretty small though, so if you want to maintain macos support, go for it!

NorfairKing commented 1 year ago

Closing until someone commits to supporting Darwin