brew-nix icon indicating copy to clipboard operation
brew-nix copied to clipboard

fix(artifacts): do not base build on artifacts

Open xav-ie opened this issue 4 months ago • 0 comments

Hello, thank you for providing this cool repository and alternative to homebrew. I think it is really cool.

I am not sure if this PR should just be accepeted even though it does fix https://github.com/BatteredBunny/brew-nix/issues/1 . The code is ugly and bad, but I was able to get these casks working:

[
  # already working, but still work
  brewCasks.bitwarden
  (brewCasks.chromium.overrideAttrs (oldAttrs: {
    src = pkgs.fetchurl {
      url = builtins.head oldAttrs.src.urls;
      hash = "sha256-zZHAB7TozshPfoVRfAllYFl4kXrXAok2KqHPa3gSu/c=";
    };
  }))
  brewCasks.firefox
  brewCasks.protonvpn
  brewCasks.raycast
  brewCasks.slack
  # were not working, but now work
  brewCasks.sage # 👀 
  brewCasks.sf-symbols # 😃 
]

I was facing similar issue installing sf-symbols because I wanted them for my sketchybar setup.

I think I made a lot of mistakes, but it is hard for me to tell without testing and some more things to run against, and my issue is already fixed, so I just want to turn in what I have now for review before I try and fix something that already works in a bad way.

nix flake check fails, but that also fails on main.

xav-ie avatar Oct 07 '24 05:10 xav-ie