Closed wegank closed 7 months ago
Oh, stable means 23.05, not 23.11...
Oh, stable means 23.05, not 23.11...
Presumably we'd want to bump the stable channel here for the purpose of GitHub Actions?
This seems to work great in terms of fixing that bug, so great job. I was able to install nix-darwin using the flake method on a clean installation of macOS Sonoma 14.4.1 (23E224).
On my clean install, I noticed that it seems like pkg-config
is broken. For example, I have several development libraries installed via my flake.nix
and yet they aren't findable:
~ via 🐍 v3.11.8
❯ pkg-config --list-all
~ via 🐍 v3.11.8
❯ pkg-config --libs libsodium
Package libsodium was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsodium.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsodium' found
~ via 🐍 v3.11.8
❯ echo $PKG_CONFIG_PATH
Not sure if related, so asking for guidance if I should open a separate issue.
@yonkeltron I don't think that's related, you should open a new issue. FWIW on a fresh nix shell
I also see the same behaviour:
$ nix shell nixpkgs#libsodium nixpkgs#pkg-config
$ pkg-config --libs libsodium
Package libsodium was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsodium.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsodium' found
@yonkeltron I don't think that's related, you should open a new issue.
You got it! I opened https://github.com/LnL7/nix-darwin/issues/934 and that should do it.
Love, +Jonathan
@tarc: Can confirm the approach below works for me as well.
I just updated my setup here to use
github:wegank/nix-darwin/mddoc-remove
and it fixed the error I was getting after flake update:error: attribute 'mdDoc' missing
Working for me as well
Another working build here using github:wegank/nix-darwin/mddoc-remove
^ It'll work now even without this change if you also update to the latest nixpkgs-unstable
. (But with lots of errors printed out.)
lib.mdDoc
has been removed in NixOS/nixpkgs#303841.