!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
22 Jun 2021
@toonn:matrix.orgtoonn The whole "let's carry headers from previous versions along" thing too. 13:57:05
@toonn:matrix.orgtoonn I'm surprised it works. 13:57:09
@qyliss:fairydust.spaceAlyssa Rosssince I can't test it there's probably no point me trying to package NetBSD pkill/pgrep13:58:07
@qyliss:fairydust.spaceAlyssa Rossactually13:58:11
@qyliss:fairydust.spaceAlyssa Rossoh Darling has a libxpc as well!14:06:44
@qyliss:fairydust.spaceAlyssa Rosslast commit a month ago14:06:59
@qyliss:fairydust.spaceAlyssa Rossmaybe we can try using that14:07:04
23 Jun 2021
@kloenk:petabyte.devFinn Behrens Anyone here who can help me with iOS dev? I'm having trouble understanding INSendMessageIntent 09:51:20
@abathur:matrix.orgabathur

noticed someone struggling in nix/nixOS last night:

abueide
ok i can't figure out how to get pkg-config to see the header files from the appleFrameworks variable for hours(edited)
i'm willing to pay for a solution if anyone can figure it out
https://github.com/abueide/nixpkgs/blob/godot-macos/pkgs/development/tools/godot-macos/default.nix

13:32:39
@abathur:matrix.orgabathurthey're in here, if anyone happens to know what they're missing13:34:56
@sandro:supersandro.deSandromove them into buildInputs13:36:28
@sandro:supersandro.deSandroalso remove appleFrameworks and do not use darwin like pkgs as inputs13:36:43
@sandro:supersandro.deSandroalso rev master is even for testing a bad idea13:37:03
@abueide:matrix.orgabueide Sandro: i get the same error whether I concatenate it to nativeBuildInputs or buildInputs. as for removing appleFrameworks and not using darwin like pkgs as inputs could you be a bit more specific on what you mean? could you give a short example? And yeah I'm just using rev master because I want to mess around with godot 4.0, and master usually has a lot of the bugfixes. but I should probably specify specific commits and update periodically 15:19:54
@sandro:supersandro.deSandrosee this for an example https://github.com/NixOS/nixpkgs/blob/07c648a67216f2c79420ae8e912d36ef360a6500/pkgs/development/compilers/llvm/12/default.nix#L12616:11:36
@abueide:matrix.orgabueide

Sandro: so like this?

godot-macos = callPackage ../development/tools/godot-macos {
    inherit (darwin.apple_sdk.frameworks) AppKit AudioUnit CoreFoundation CoreAudio IOKit;
  };

https://github.com/abueide/nixpkgs/blob/godot-macos/pkgs/development/tools/godot-macos/default.nix

16:45:40
@sandro:supersandro.deSandroyeah but that wont solve your problem16:49:19
@sandro:supersandro.deSandromore stylistic for upstreaming16:49:27
@abueide:matrix.orgabueideyeah it didn't solve the problem, but thanks for the tip. i got. some interesting info here that might be helpful from the godot people https://github.com/godotengine/godot/issues/49842#issuecomment-86697244416:50:19
@abueide:matrix.orgabueide * yeah it didn't solve the problem, but thanks for the tip. i got some interesting info here that might be helpful from the godot people. but I don't really know how to deal with compiler flags in general letalone with nixos. https://github.com/godotengine/godot/issues/49842#issuecomment-86697244416:51:09
@abueide:matrix.orgabueiderunning the command he mentioned i get this: [nix-shell:~/programming/projects/nixpkgs]$ xcrun --sdk macosx --show-sdk-path /nix/store/9c2bh49j4jqlc9g2zn6641ab4cpp2b90-SDKs/MacOSX10.12.sdk 16:52:52
@abueide:matrix.orgabueide but for some reason the only library inside of it is the "core services" one:
/nix/store/9c2bh49j4jqlc9g2zn6641ab4cpp2b90-SDKs/MacOSX10.12.sdk/System/Library/CoreServices
16:53:42
@sandro:supersandro.deSandro
In reply to @abueide:matrix.org
running the command he mentioned i get this:
[nix-shell:~/programming/projects/nixpkgs]$ xcrun --sdk macosx --show-sdk-path
/nix/store/9c2bh49j4jqlc9g2zn6641ab4cpp2b90-SDKs/MacOSX10.12.sdk
yeah that wont work
16:53:56
@abueide:matrix.orgabueidewhich is a problem because that's how godot detects the sdk. so is the only option to submit an upstream PR to godot?16:54:48
@sandro:supersandro.deSandrowe provide those paths ourselves so just patch it with a no op16:56:55
@abueide:matrix.orgabueidewhat is a no op?16:59:16
@sandro:supersandro.deSandrotrue or something16:59:31
@sandro:supersandro.deSandrobut godot is a scons package. Take a look what other scons packages do https://github.com/NixOS/nixpkgs/blob/c2e3b1de8922cbd3da973ceafdfb26bbb06e3e98/pkgs/development/libraries/serf/default.nix and adapt that16:59:52
@sandro:supersandro.deSandroalso I would start with https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/godot/default.nix and adapt it for mac17:00:22
@abueide:matrix.orgabueideok thanks i have some ideas of things to try now17:01:13

There are no newer messages yet.


Back to Room ListRoom Version: 6