!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1236 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org208 Servers

Load older messages


SenderMessageTime
28 May 2021
@spudly:murf.orgspudly changed their display name from Spudly to spudly.11:43:45
@sternenseemann:systemli.orgsterni (he/him) toonn: did not rebuild any bootstrapTools so far, will try to do that next 12:34:39
@sternenseemann:systemli.orgsterni (he/him)(and figure out how o_O)12:34:51
@toonn:matrix.orgtoonn Oh, whoops. Don't know why I answered in Infra. 12:36:03
@sternenseemann:systemli.orgsterni (he/him)yeah well I guess because I wrote there :p13:01:53
@okpedersen:matrix.orgokpedersen joined the room.13:07:26
@jryans:matrix.orgJ. Ryan Stinnett joined the room.15:39:59
@tssm:matrix.orgTae (she/her) joined the room.16:35:41
@tssm:matrix.orgTae (she/her) changed their display name from Tae to Tae (she/her).16:41:39
@mtvare6:matrix.orgmTvareplanning to switch from homebrew to nix, is the amount of packages in nix-darwin high enough?17:56:56
@toonn:matrix.orgtoonn Depends on what you need but generally yes. 18:03:15
@toonn:matrix.orgtoonn One of the few things I currently get from homebrew is mpv. The expression in Nixpkgs doesn't build with libmpv support. 18:04:49
@abathur:matrix.orgabathur

mtvare6: Nix has generally replaced homebrew for all of my ~CLI/library/dependency needs for a good while now.

Once in a blue moon I run into something I want to try that is only in homebrew, but I have yet to really keep any of them.

I still use brew cask for almost all of my desktop apps; I know some people shoehorn those into Nix, but I am not sure I really see value of swimming against the current on those

20:56:12
29 May 2021
@emilazy:matrix.orgemily nix-darwin lets you manage brew bundles for casks etc. now fwiw 01:42:16
@emilazy:matrix.orgemily
In reply to @toonn:matrix.org
One of the few things I currently get from homebrew is mpv. The expression in Nixpkgs doesn't build with libmpv support.
it also doesn't build with the non-deprecated Swift Cocoa backend :(
01:42:39
@emilazy:matrix.orgemilyhave some WIP commits trying to get updated swift building but they're not ready for prime time yet01:42:59
@treed:cybre.spacetreedOh maybe I can use that for xquartz; I have yet to get the nixpkgs one to work06:43:07
@midchildan:matrix.orgmidchildanI like how the Nixpkgs packaging policy is relaxed compared to Homebrew, especially with regards to GUI applications. For applications without official binaries, Nix is the only way I can install them without too much hassle. Notably Emacs.07:23:17
@kloenk:petabyte.devFinn Behrens

does anyone with an m1 has an idea on how I cant troubelshoot/fix this error with java?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:532), pid=18700, tid=259
#  Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment Zulu16.30+15-CA (16.0.1+9) (build 16.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM Zulu16.30+15-CA (16.0.1+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/kloenk/Documents/Multimc/instances/1.16.5-Aether-1.0.0/.minecraft/hs_err_pid18700.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/
#
07:41:30
@siraben:matrix.orgsiraben
In reply to @emilazy:matrix.org
nix-darwin lets you manage brew bundles for casks etc. now fwiw
whoa, is there a guide on this?
07:42:55
@emilazy:matrix.orgemilythere is the best guide of all - the source! https://github.com/LnL7/nix-darwin/blob/007d700e644ac588ad6668e6439950a5b6e2ff64/modules/homebrew.nix07:56:54
@emilazy:matrix.orgemilyit looks like it's well-enough documented that you could just check the options reference though07:57:04
@thefloweringash:matrix.orgthefloweringash
In reply to @kloenk:petabyte.dev

does anyone with an m1 has an idea on how I cant troubelshoot/fix this error with java?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:532), pid=18700, tid=259
#  Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment Zulu16.30+15-CA (16.0.1+9) (build 16.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM Zulu16.30+15-CA (16.0.1+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/kloenk/Documents/Multimc/instances/1.16.5-Aether-1.0.0/.minecraft/hs_err_pid18700.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/
#
I recently discovered that "openjdk" (8, 11, 16) is using x86_64-darwin binaries even on aarch64-darwin. The upstream (azul) does have aarch64-darwin binaries. See if https://github.com/NixOS/nixpkgs/pull/124576 helps?
07:59:20
@thefloweringash:matrix.orgthefloweringashalso, wow, I want to reply to give context but it eats a huge amount of space08:00:01
@kloenk:petabyte.devFinn Behrens
In reply to @thefloweringash:matrix.org
I recently discovered that "openjdk" (8, 11, 16) is using x86_64-darwin binaries even on aarch64-darwin. The upstream (azul) does have aarch64-darwin binaries. See if https://github.com/NixOS/nixpkgs/pull/124576 helps?
It’s actually the binary version downloaded from azul that chrashes
08:00:38
@thefloweringash:matrix.orgthefloweringashoh, not from nix?08:01:05
@kloenk:petabyte.devFinn Behrensyes, also tried 1 or 2 versions via nix. they crash as well08:01:30
@daiderd:matrix.orgLnLsiraben: the option descriptions along with examples are available in man configuration.nix08:02:01
@daiderd:matrix.orgLnLbut yeah, beyond that checking the source is best08:02:21
@siraben:matrix.orgsirabenI see, thanks.08:02:29

Show newer messages


Back to Room ListRoom Version: 6