!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
26 May 2021
@daiderd:matrix.orgLnL
In reply to @r_i_s:matrix.org
of course this gives me Package ‘openssl-1.0.2u’ in ... is marked as insecure, refusing to evaluate. on master
sounds like it's probably coming from darwin.network_cmds then which does indeed not build anymore
19:52:16
@r_i_s:matrix.orgris_pretty sad state of affairs 😿19:52:47
@daiderd:matrix.orgLnLyeah, the latest release from opensource.apple.com I a while back didn't work with a newer openssl either :/19:54:01
@daiderd:matrix.orgLnLbut maybe there was new stuff released since then19:54:26
@abathur:matrix.orgabathuroh, I saw a PR today that roughly touches on that openssl issue, it at least asserts that #101229 will fix19:54:46
@kloenk:petabyte.devFinn BehrensI applied at Apple. Sadly the did not answer yet. But hopefully in the future I can help making nix better from apples side 😎19:55:16
@abathur:matrix.orgabathurhttps://github.com/NixOS/nixpkgs/pull/10900319:55:18
@daiderd:matrix.orgLnLnetwork_cmds isn't really tied to the sdk update19:57:38
@abathur:matrix.orgabathurI wasn't sure about the assertion, just remembered seeing it :)19:58:09
@sandro:supersandro.deSandro ris_ it should also tell you how to ignore broken/insecure packages 19:58:38
@abathur:matrix.orgabathur different topic: I don't expect anyone here to have an opinion, but just in case it's something that's caused trouble for anyone here, I've opened a draft PR making the top-level sudo attr useful on macOS 19:59:11
@r_i_s:matrix.orgris_ Sandro: oh it does, it's just i don't feel i can suggest adding this as an input to a packa 19:59:23
@r_i_s:matrix.orgris_ * Sandro: oh it does, it's just i don't feel i can suggest adding this as an input to a package when i know it'll do that 19:59:31
@daiderd:matrix.orgLnL
In reply to @abathur:matrix.org
different topic: I don't expect anyone here to have an opinion, but just in case it's something that's caused trouble for anyone here, I've opened a draft PR making the top-level sudo attr useful on macOS
what's the usecase for that? it's the same as using the one PATH at runtime and builds can't use sudo
20:02:22
@abathur:matrix.orgabathurthe PR addresses my use-case20:06:00
@daiderd:matrix.orgLnLbut it's not a __impureHostDep, it's a runtime dependency so I don't get why you need this20:07:39
@daiderd:matrix.orgLnLit's the same on linux, you can't use pkgs.sudo at runtime you need the setuid wrapper which is available through PATH20:09:11
@abathur:matrix.orgabathurhmm, that may sink it20:11:36
@abathur:matrix.orgabathurI noticed that it works on Linux, though I haven't looked into how20:12:00
@abathur:matrix.orgabathuranyways; resholve's point/goal is nailing everything down at build time (and blocking if it can't), so the problem/need is unaffected by the suitability of the solution20:14:08
@daiderd:matrix.orgLnLsudo is a tricky one for that, since even on linux it can be either /run/wrappers/bin/sudo or /usr/bin/sudo20:16:09
@daiderd:matrix.orgLnLunless nix gets some kind of native support for setuid binaries20:16:35
@daiderd:matrix.orgLnLsame with eg. ping by the way20:18:18
@abathur:matrix.orgabathuredited the post to reframe it around what resholve needs wrt to the broader problem I guess21:18:04
@r_i_s:matrix.orgris_ one thing about the sandbox on darwin - i don't find i can disable it case by case on the command line even though i've set nix.trustedUsers = [ "*" ]; 22:58:52
@aaronjanse:matrix.orgaaronjanse joined the room.23:13:30
27 May 2021
@abathur:matrix.orgabathur LnL: is there an authoritative list? is it fair to take /run/wrappers/bin on NixOS as such? 00:02:24
@emilazy:matrix.orgemily there's no reason nix-darwin couldn't support /run/wrappers for compatibility right? 00:22:07
@emilazy:matrix.orgemily it already shoves /run into the hierarchy, might as well make use of it 00:22:20
@abathur:matrix.orgabathurit could, and that'd be an improvement, but I suspect it won't fix my core issue; the paths would still be invalid on macOS without nix-darwin, and probably on all other non-nixOS linuxes?00:26:25

Show newer messages


Back to Room ListRoom Version: 6