!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1192 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
13 Mar 2026
@emilazy:matrix.orgemilyI didn't see why you want to use Homebrew specifically though so it's possible you don't need it at all11:45:55
@emilazy:matrix.orgemilywhich is certainly the most native experience if it suffices11:46:07
@nor1nco:matrix.orgNorincoWhy didn't the Lix installation script create a case-sensitive APFS volume? Won't this cause issues in future use?13:02:43
@emilazy:matrix.orgemilycase-sensitive stores on macOS aren't fully ready for prime time yet13:06:56
@emilazy:matrix.orgemilyI run with one, but some packages need adjustment for it, and there is complicated stuff around the "case hack" that needs solving first13:07:24
@emilazy:matrix.orgemilyalong with managing a temporary directory in the store volume13:07:52
@emilazy:matrix.orgemilyif/when those issues get fixed there'll probably also be a migration plan for existing stores, so I wouldn't worry about it13:08:31
@redbunnyninja:matrix.orgredbunnyninjaok, i figured it all out. it was some special logic that some of the config scripts had that tried to be too smart. after some tweaking its all fine. thanks for helping :) 13:15:48
14 Mar 2026
@lafrenierejm:matrix.orgJoseph LaFreniere joined the room.05:07:40
@kaynetik:matrix.orgkaynetik joined the room.06:50:33
@kaynetik:matrix.orgkaynetik

New maintainer & Lua5.5 update for a package that's relevant for AeroSpace + sbar users ==> https://github.com/NixOS/nixpkgs/pull/498766

Could an existing maintainer take a look and merge? The maintainer that's on that package is non-responsive, and it's breaking a flow for people that did an update in the past 8 days.
This is a small, low-risk package update (0 Linux rebuilds, 1 Darwin rebuild), any nixpkgs committer can merge it.

06:53:07
@kaynetik:matrix.orgkaynetik set a profile picture.06:53:29
@weethet:catgirl.cloudWeetHet

This is way too cursed, right?

{ config, lib, options, ... }:
let
  targetDockRestart = ''
    echo >&2 "restarting Dock..."
    killall -qu ${lib.escapeShellArg config.system.primaryUser} Dock || true
  '';

  hasUserDefaults =
    d: d ? userDefaults && lib.hasInfix "user defaults" (d.userDefaults.text.content or "");

  defs = options.system.activationScripts.definitions;
  upstream = lib.findFirst hasUserDefaults { } defs;

  originalScript = upstream.userDefaults.text.content;
in
{
  config.system.activationScripts.userDefaults.text = lib.mkForce (
    lib.replaceStrings [ targetDockRestart ] [ "" ] originalScript
  );
}
14:42:04
@weethet:catgirl.cloudWeetHet *

This is way too cursed, right?

{ config, lib, options, ... }:
let
  targetDockRestart = ''
    echo >&2 "restarting Dock..."
    killall -qu ${lib.escapeShellArg config.system.primaryUser} Dock || true
  '';

  hasUserDefaults =
    d: d ? userDefaults && lib.hasInfix targetDockRestart (d.userDefaults.text.content or "");

  defs = options.system.activationScripts.definitions;
  upstream = lib.findFirst hasUserDefaults { } defs;

  originalScript = upstream.userDefaults.text.content;
in
{
  config.system.activationScripts.userDefaults.text = lib.mkForce (
    lib.replaceStrings [ targetDockRestart ] [ "" ] originalScript
  );
}
14:44:32
@nasso:matrix.orgnasso does anyone have any guide or example somewhere for noobs like me to figure out how to install an app that is only distributed as a .dmg on the internet? (in my case, it's tidal, the music streaming service) 21:25:15
@nasso:matrix.orgnasso i vaguely remember seeing somewhere someone downloading the .dmg through web archive and then using undmg (or something like that?) 21:26:22
@emilazy:matrix.orgemilyyou should be able to get the cask package for it from https://github.com/BatteredBunny/brew-nix or https://github.com/atahanyorganci/nix-casks fwiw21:29:36
@emilazy:matrix.orgemily(as a native Nix package)21:29:40
@emilazy:matrix.orgemilyhttps://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/t/tidal.rb apparently it's actually available as a zip :)21:30:02
@emilazy:matrix.orgemilyit should be simple to write a package for too though21:30:14
@emilazy:matrix.orgemily pretty much just using the .zip as src and moving it into $out 21:30:32
@emilazy:matrix.orgemily(and could be upstreamed to Nixpkgs if you wanted)21:30:42
@emilazy:matrix.orgemilybut just saying that you can also get it for free from the converted cask packages :)21:30:54
@lektricitee:matrix.orglektrik joined the room.21:31:13
@nasso:matrix.orgnassowait, do i need to go through homebrew for this? i actually managed to avoid homebrew so far21:31:20
@nasso:matrix.orgnasso(because its annoying in my multi-user setup)21:31:32
@emilazy:matrix.orgemilyno, those repositories just convert Homebrew casks to Nix packages automatically21:31:37
@nasso:matrix.orgnassoooohh21:31:41
@emilazy:matrix.orgemilythey don't require using Homebrew at all21:31:43
@emilazy:matrix.orgemily but for casks that just extract simple .zips or .dmgs they should work fine 21:31:53

Show newer messages


Back to Room ListRoom Version: 6