Closed yoav-lavi closed 7 months ago
I see that in home-manager
there has been at least one recent change removing references to lib.mdDoc
, following up on bulk changes last July. Now lib.mdDoc
has been removed from upstream Nixpkgs entirely: https://github.com/NixOS/nixpkgs/pull/303841
So the fix here should be to remove the lib.mdDoc
falls, which should already be redundant. I'll make a quick PR.
Ah, in fact there's already #932.
Can confirm this issue when trying to install on an M1 MacBook Pro running macOS Sonoma 14.4.1 (23E224). Happy to help test any fixes!
You can update your flake source to point the URL for darwin
at "github:wegank/nix-darwin/mddoc-remove"
— I've done this myself and #932 indeed solves the problem for me.
You can update your flake source to point the URL for
darwin
at"github:wegank/nix-darwin/mddoc-remove"
— I've done this myself and #932 indeed solves the problem for me.
Fantastic, testing it now on the clean install using the flake method. Feedback forthcoming. Please stand by!
This works great, I have run a couple of little tests locally and everything seems perfecto. Thanks a ton for the effort!
NINJA EDIT: Although I notice that pkg-config seems to be broken at first glance. Not sure if related at all or if I am overlooking something silly. LMK and I'll file a separate issue if need be.
Thanks again!
Love, +Jonathan
Thanks a ton for the effort! ... Although I notice that pkg-config seems to be broken at first glance.
I'm not the author of PR #932, so I'd suggest leaving any feedback there. 😁
The lib.mdDoc
removal has been deferred to 24.11 in nixpkgs (NixOS/nixpkgs#304277), so the PR is likely unneeded for now.
Unstable channel still broken.
The commit hasn't landed on unstable yet: https://nixpk.gs/pr-tracker.html?pr=304277
The
lib.mdDoc
removal has been deferred to 24.11 in nixpkgs (NixOS/nixpkgs#304277), so the PR is likely unneeded for now.
Well it will spam
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.
whenever darwin-rebuild
is run, so I still think it's useful to merge https://github.com/LnL7/nix-darwin/pull/932.
This appears to be fixed by https://github.com/LnL7/nix-darwin/pull/932 on my macOS device.
Should be fixed by #932