!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1200 Members
โ€œThere are still many issues with the Darwin platform but most of it is quite usable.โ€ โ€” http://yves.gnu-darwin.org200 Servers

Load older messages


SenderMessageTime
25 Mar 2026
@viraptor:tchncs.deviraptorI'll continue with the tools created so far. After that gets integrated, xcbuild usage indeed should be limited to only things that already work well.13:02:21
@nasso:matrix.orgnasso

anyone here knows how to pin a cask when using brew-nix?

i use it to install bitwig studio (a DAW) but my license only covers up to bitwig 5, and the cask has been updated to bitwig 6

i bisected the repository containing the casks and found the last commit where it was still bitwig 5 but im not sure where to go from there

brew-nix gives you a nix-darwin module that just provides an overlay that adds nixpkgs.brewCasks. however, i would still like other casks to update, so i cant just use the pinned module/overlay!

16:37:37
@nasso:matrix.orgnasso is it possible to override the module/overlay somehow to rename brewCasks to something like brewCasksBitwig5?? or could i somehow skip the module/overlay? i tried to but when applying the config it gets stuck at "installing_mac" or something 16:39:40
@emilazy:matrix.orgemily looks like it also exposes a packages output 17:20:34
@emilazy:matrix.orgemilyso you can pick that one package out of there17:20:37
@nasso:matrix.orgnassoah yes i tried that wait cuz im back on my laptop now17:20:53
@emilazy:matrix.orgemily (tbh, the overlay doesn't even overlay on top of pkgs properly so I'd just use the packages output in general ๐Ÿ˜…) 17:21:00
@nasso:matrix.orgnasso in my home.packages i tried to add inputs.brew-nix-bitwig5.packages.aarch64-darwin.bitwig-studio

but when i try to darwin-rebuild, it gets stuck like that:
building the system configuration...
warning: Git tree '/private/etc/nix-darwin' has uncommitted changes
warning: Using 'builtins.derivation' to create a derivation named 'options.json' that references the store path '/nix/store/ds2x1l37fidk2b65c4cwg77vp976fbd4-source' without a proper context. The resulting derivation will not have a correct store reference, so this is unreliable and may stop working in the future.
warning: Using 'builtins.derivation' to create a derivation named 'options.json' that references the store path '/nix/store/ds2x1l37fidk2b65c4cwg77vp976fbd4-source' without a proper context. The resulting derivation will not have a correct store reference, so this is unreliable and may stop working in the future.
[1/0/13 built, 0.0 KiB DL] building installer_mac:   0      0   0      0   0      0      0      0                              0
17:24:15
@nasso:matrix.orgnasso(i think the warnings can be ignored cuz i always got the same before)17:24:37
@emilazy:matrix.orgemilylooks like it's just downloading17:24:39
@emilazy:matrix.orgemily(slowly, probably)17:24:43
@emilazy:matrix.orgemily you can pass -L to see the full output 17:24:54
@nasso:matrix.orgnassooh let me try17:25:02
@nasso:matrix.orgnasso oh wait, with -L i can see the URL 17:26:06
@nasso:matrix.orgnassowhat if bitwig is just evil and the servers just don't serve17:26:28
@nasso:matrix.orgnassookay yeah looks like its just slow as shit, but the URL itself works when i try to download from the web browser so17:27:26
@nasso:matrix.orgnasso
installer_mac>
installer_mac> trying https://www.bitwig.com/dl/Bitwig%20Studio/5.3.13/installer_mac
installer_mac>   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
installer_mac>                                  Dload  Upload  Total   Spent   Left   Speed
installer_mac>   0      0   0      0   0      0      0      0                              0
installer_mac>   0      0   0      0   0      0      0      0                              0
installer_mac>  27 490.3M  27 136.3M   0      0  3.65M      0   02:14   00:37   01:37 266.1k
installer_mac> curl: (56) Recv failure: Connection reset by peer
installer_mac> Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
installer_mac>   0      0   0      0   0      0      0      0                              0
installer_mac>   0      0   0      0   0      0      0      0                              0
installer_mac>  39 350.2M  39 139.7M   0      0  2.32M      0   02:30   01:00   01:30 128.7k
installer_mac> curl: (56) Recv failure: Connection reset by peer
installer_mac> Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
installer_mac> Warning: left.
installer_mac>   0      0   0      0   0      0      0      0                              0
installer_mac>   0      0   0      0   0      0      0      0                              0

looks like its simply telling me to get a better connection
17:28:09
@nasso:matrix.orgnassoIT WORKED I THINK17:28:34
@emilazy:matrix.orgemilythey want you to upgrade :)17:29:06
@nasso:matrix.orgnassohell yeah it did thanks! i thought i did something wrong but it turns out i only really tried on shitty wifis (hotel and now train)17:29:22
@nasso:matrix.orgnasso lk scared of keeping the bitwig dot com url i dont trust them keeping it up 17:30:19
@nasso:matrix.orgnassobut yeha okay thank you emily once again17:30:21
@nasso:matrix.orgnassoill get rid of the brew-nix overlay lmao17:30:31
@nasso:matrix.orgnassoyeah okay this clears up some things for me cuz i see a lot of projects use overlay when i feel like they shouldn't (e.g. here they're using an overlay to add something to nixpkgs, but they aren't modifying anything in nixpkgs, so like, whats the point)17:37:17
@nasso:matrix.orgnasso* yeah okay this clears up some things for me cuz i see a lot of projects use overlays when i feel like they shouldn't (e.g. here they're using an overlay to add something to nixpkgs, but they aren't modifying anything in nixpkgs, so like, whats the point)17:37:26
@emilazy:matrix.orgemilycould override it with a web.archive.org link17:47:00
@emilazy:matrix.orgemily overlays compose better and can avoid instantiating a bunch of different copies of Nixpkgs (because of flakes' awful transitive dep handling / follows messes etc.), but yeah they also have an awkward shared global namespace like that 17:47:34
@nasso:matrix.orgnasso yeah but also i have no idea how i would do that ๐Ÿ˜ถ 17:48:00
@emilazy:matrix.orgemily in particular that specific overlay still uses the nixpkgs flake input rather than even using final as the package set, so it won't "see" other overlays 17:48:04
@emilazy:matrix.orgemily probably .overrideAttrs { src = fetchurl โ€ฆ; }, but I'm not sure exactly how the brew-nix derivations are structured :) 17:48:19

Show newer messages


Back to Room ListRoom Version: 6