!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
2 Nov 2025
@sarahec:matrix.orgSarah Clarkhttps://github.com/NixOS/nixpkgs/pull/45790222:16:06
@sarahec:matrix.orgSarah ClarkOr do I perhaps just have to mark it bad on Darwin?22:16:28
@reckenrode:matrix.orgRandy EckenrodeWish we had a case sensitive store by default. Unfortunately, there’s no way to convert existing stores.22:33:25
@samasaur:matrix.orgsamasaur maybe i'm misunderstanding but isn't this the opposite of the problem? like (assuming genv is coreutils env) genv -i env properly prints nothing, which implies to me that genv is clearing the environment before calling exec, but env -i genv prints __CF_USER_TEXT_ENCODING 22:39:17
@samasaur:matrix.orgsamasaur like doesn't that imply that the fix would be in cases where env doesn't already clear the environment? 22:40:51
@samasaur:matrix.orgsamasaur * like doesn't that imply that the fix would have to be in cases where env doesn't already clear the environment? 22:40:55
@sarahec:matrix.orgSarah Clark

I found it after a bisect --they added the second line here:

[project.scripts]
bloodyAD = "bloodyAD.main:main"
bloodyad = "bloodyAD.main:main"
22:43:05
@reckenrode:matrix.orgRandy EckenrodeAre they trying to transition the script name to a different casing? Why would they do that?22:49:04
@sarahec:matrix.orgSarah Clark Yes, trying to make it case-insensitive. old: bloodyAD, new: bloodyad 22:50:12
@sarahec:matrix.orgSarah Clark Anyway, dropping line 2 above using substituteInPlace worked 22:50:56
@sarahec:matrix.orgSarah ClarkNo scripts in nixpkgs use the mixed-case form22:51:15
3 Nov 2025
@ivy:faggot.shivyi got a pr current in progress to allow linking paths with spaces in them08:49:48
@ivy:faggot.shivywhich would finally allow linking Application Support nicely08:49:57
@ivy:faggot.shivy

as currently

buildEnv {
pathsToLink = ["/Library/Application Support"];
}
08:50:36
@ivy:faggot.shivydoes not work08:50:39
@ivy:faggot.shivyits in staging-next now08:50:43
@ivy:faggot.shivyand should after that be in master08:50:50
4 Nov 2025
@yamabukiiro:matrix.orgyamabukiiro joined the room.06:18:42
5 Nov 2025
@isolaryn:matrix.orgIsolaryn joined the room.02:23:42
@alexfmpe:matrix.orgalexfmpe
$ echo "stdenv.buildPlatform.config" | nix repl --file . --argstr system "x86_64-darwin" 
"x86_64-apple-darwin"

I don't have remote builders so I guess the fact I can build stuff this way means I'm using rosetta? I do see test suites running

20:54:12
@alexfmpe:matrix.orgalexfmpe *
$ echo "stdenv.buildPlatform.config" | nix repl --file . --argstr system "x86_64-darwin" 
"x86_64-apple-darwin"

I don't have remote builders so I guess the fact I can build stuff this way on my aarch64-darwin means I'm using rosetta? I do see test suites running

20:54:25
@k900:0upti.meK900Yes20:55:40
@reckenrode:matrix.orgRandy EckenrodeThere is Darwin to Darwin cross support, but it comes with caveats.20:59:12
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ joined the room.22:57:26
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆIs it possible to use HM to configure Ghostty on macOS even though it's not installable via nix/hm?22:58:03
@samasaur:matrix.orgsamasaurYes22:59:57
@samasaur:matrix.orgsamasaur set programs.ghostty.package to null 23:01:16
@isolaryn:matrix.orgIsolaryn
In reply to @colemickens:matrix.org
Is it possible to use HM to configure Ghostty on macOS even though it's not installable via nix/hm?
What do you mean not installable?
23:07:43
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆI don't think it's available for aarch64-darwin23:08:12
@samasaur:matrix.orgsamasaurghostty doesn't build on Darwin because it needs the real (unfree) xcodebuild and/or Swift 623:08:38

Show newer messages


Back to Room ListRoom Version: 6