Nix on macOS, nixpkgs for darwin, nix-darwin with Randy Eckenrode episode artwork

EPISODE · Feb 15, 2025 · 1H 31M

Nix on macOS, nixpkgs for darwin, nix-darwin with Randy Eckenrode

from Full Time Nix · host Shahar "Dawn" Or

Pre-roll transcript:Before you is an episode of the Full Time Nix podcast.For silence skipping and other useful features consider using a podcast app.---https://opensource.apple.com/releases/https://en.wikipedia.org/wiki/NeXTSTEPhttps://brew.sh/https://www.opengroup.org/openbrand/register/https://en.wikipedia.org/wiki/Property_listhttps://repology.org/repository/nix_unstablehttps://nixos.org/manual/nixpkgs/unstable/#chap-stdenvhttps://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removalsTracking issue for Darwin stdenv LLVM update:https://github.com/NixOS/nixpkgs/issues/234710I’d also credit reno and emilazy for driving the LLVM 19 upgrade. They used a few patches from a WIP Clang 18 branch I’d started over the summer, but they pushed the update over the finish line once breaking changes were allowed after the 24.11 release.https://en.wikipedia.org/wiki/Interface_Builderhttps://developer.apple.com/metal/https://developer.apple.com/xcode/https://github.com/facebookarchive/xcbuildhttps://ghostty.org/https://nixos.org/manual/nixpkgs/unstable/#deploying-a-proxy-component-wrapper-exposing-xcodeMacVim in nixpkgs:https://github.com/NixOS/nixpkgs/blob/50784a2835c150d6055861a5ad703a57b8070cbb/pkgs/applications/editors/vim/macvim.nixhttps://github.com/orgs/NixOS/teams/darwin-corehttps://github.com/reckenrodehttps://github.com/emilazyhttps://github.com/toonnPR establishing the Darwin team:https://github.com/NixOS/nixpkgs/pull/348183https://developer.apple.com/documentation/corefoundationwhen Apple implemented this hardening, before it just happened to work. So, and this actually affected Nix because Nix uses the AWS C++ SDK and that stopped buildinghttps://github.com/NixOS/nixpkgs/pull/265102macOS 15 Sequoia clobbers _nixbld1-4 users:https://github.com/NixOS/nix/issues/10892https://github.com/DeterminateSystems/nix-installerhttps://fishshell.com/https://github.com/LnL7/nix-darwinFixing waifu2x-converter-cpp on Darwin:https://github.com/NixOS/nixpkgs/pull/135725Though it turns out my actually first nixpkgs PR was fixing vscode-lldb on Darwin:https://github.com/NixOS/nixpkgs/pull/131324https://github.com/KhronosGroup/MoltenVKLast year, Connor Baker created a draft PR to add the missing SDK.Connor Baker’s draft PR adding more SDKs:https://github.com/NixOS/nixpkgs/pull/229210https://www.vulkan.org/Darwin SDK PR (has links to my PRs fixing issues):https://github.com/NixOS/nixpkgs/pull/346043Discourse post with the SDK update announcement:https://discourse.nixos.org/t/the-darwin-sdks-have-been-updated/55295Here’s that list (by GitHub id). These people were all very helpful with ensuring these Darwin improvements made it to master.staging-next with the clang 16 update (tried to get everyone who contributed during that cycle; appologies if I missed anyone):AtemuanthonyrousselazuwisboltzmannrainemilytraujosephstjudofyrmfrischknechphiliptarontoonntrofiwegankDarwin SDK update. It turns out that in spite of radically changing the pattern, providing an SDK by default tends to just work.emilazykhanelimanpaparodeotoonnI also want to thank midchildan for contributing fixes to xcbuild to address some of the post-release issues users have encountered with having it in a dev shell by default. I also wanted to call out the great work getting Zed and Firefox building on Darwin with these SDK changes:niklaskorz (for Zed)booxter (for Firefox)https://github.com/apple-oss-distributionshttps://github.com/apple-oss-distributions/dyldNote that the source for ld-prime is actually removed from the distribution. I’d package it if it were there, but it’s not.https://github.com/LnL7/nix-darwinhttps://github.com/nix-community/home-managerAnother call for Darwin maintainers:h...

Pre-roll transcript:Before you is an episode of the Full Time Nix podcast.For silence skipping and other useful features consider using a podcast app.---https://opensource.apple.com/releases/https://en.wikipedia.org/wiki/NeXTSTEPhttps://brew.sh/https://www.opengroup.org/openbrand/register/https://en.wikipedia.org/wiki/Property_listhttps://repology.org/repository/nix_unstablehttps://nixos.org/manual/nixpkgs/unstable/#chap-stdenvhttps://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removalsTracking issue for Darwin stdenv LLVM update:https://github.com/NixOS/nixpkgs/issues/234710I’d also credit reno and emilazy for driving the LLVM 19 upgrade. They used a few patches from a WIP Clang 18 branch I’d started over the summer, but they pushed the update over the finish line once breaking changes were allowed after the 24.11 release.https://en.wikipedia.org/wiki/Interface_Builderhttps://developer.apple.com/metal/https://developer.apple.com/xcode/https://github.com/facebookarchive/xcbuildhttps://ghostty.org/https://nixos.org/manual/nixpkgs/unstable/#deploying-a-proxy-component-wrapper-exposing-xcodeMacVim in nixpkgs:https://github.com/NixOS/nixpkgs/blob/50784a2835c150d6055861a5ad703a57b8070cbb/pkgs/applications/editors/vim/macvim.nixhttps://github.com/orgs/NixOS/teams/darwin-corehttps://github.com/reckenrodehttps://github.com/emilazyhttps://github.com/toonnPR establishing the Darwin team:https://github.com/NixOS/nixpkgs/pull/348183https://developer.apple.com/documentation/corefoundationwhen Apple implemented this hardening, before it just happened to work. So, and this actually affected Nix because Nix uses the AWS C++ SDK and that stopped buildinghttps://github.com/NixOS/nixpkgs/pull/265102macOS 15 Sequoia clobbers _nixbld1-4 users:https://github.com/NixOS/nix/issues/10892https://github.com/DeterminateSystems/nix-installerhttps://fishshell.com/https://github.com/LnL7/nix-darwinFixing waifu2x-converter-cpp on Darwin:https://github.com/NixOS/nixpkgs/pull/135725Though it turns out my actually first nixpkgs PR was fixing vscode-lldb on Darwin:https://github.com/NixOS/nixpkgs/pull/131324https://github.com/KhronosGroup/MoltenVKLast year, Connor Baker created a draft PR to add the missing SDK.Connor Baker’s draft PR adding more SDKs:https://github.com/NixOS/nixpkgs/pull/229210https://www.vulkan.org/Darwin SDK PR (has links to my PRs fixing issues):https://github.com/NixOS/nixpkgs/pull/346043Discourse post with the SDK update announcement:https://discourse.nixos.org/t/the-darwin-sdks-have-been-updated/55295Here’s that list (by GitHub id). These people were all very helpful with ensuring these Darwin improvements made it to master.staging-next with the clang 16 update (tried to get everyone who contributed during that cycle; appologies if I missed anyone):AtemuanthonyrousselazuwisboltzmannrainemilytraujosephstjudofyrmfrischknechphiliptarontoonntrofiwegankDarwin SDK update. It turns out that in spite of radically changing the pattern, providing an SDK by default tends to just work.emilazykhanelimanpaparodeotoonnI also want to thank midchildan for contributing fixes to xcbuild to address some of the post-release issues users have encountered with having it in a dev shell by default. I also wanted to call out the great work getting Zed and Firefox building on Darwin with these SDK changes:niklaskorz (for Zed)booxter (for Firefox)https://github.com/apple-oss-distributionshttps://github.com/apple-oss-distributions/dyldNote that the source for ld-prime is actually removed from the distribution. I’d package it if it were there, but it’s not.https://github.com/LnL7/nix-darwinhttps://github.com/nix-community/home-managerAnother call for Darwin maintainers:h...

NOW PLAYING

Nix on macOS, nixpkgs for darwin, nix-darwin with Randy Eckenrode

0:00 1:31:35

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

MG Show MG Show The MG Show, hosted by Jeffrey Pedersen and Shannon Townsend, is a leading alternative media platform dedicated to uncovering the truth behind today’s most pressing political issues. Launched in 2019, the show has grown exponentially, offering unfiltered insights, comprehensive research, and real-time analysis. With a commitment to independent journalism and factual integrity, the MG Show empowers its audience with knowledge and encourages active participation in the political discourse. HOMELAND HOMELAND The Church is a body not a building. It's the bride of Jesus Christ! Jesus is coming back for a mature bride. That means it's time for the church of Jesus Christ to move from milk to meat. This is the hour of maturity!HOMELAND is an announcement that the church is being set free. Only the church has the ability to transform the world. The kingdom's of this world will become the kingdoms of our Lord and Savior!All of creation has been waiting for this moment! Sons and daughters of God are rising up and taking their seat! LIGHTS, CAMERA, SMILE! Creatives Club Media Lights, Camera, Smile, is a podcast for anyone with a dream to share something with the world, out of the overflow of themselves - be it their mind, their heart, their personalities, and much more. Each of us are alive in this moment in time, with an innate ability to have ideas and create various things to benefit both ourselves and the people around us for a reason, and here, you will find the encouragement, the inspiration, and the motivation to do just that. Hosted by Cicily, founder of Creatives Club, she dives into various topics surrounding creativity and business. Exploring entrepreneurship for creatives in a corporate reality, sharing tips and tricks in a media centered company, answering questions regarding what a creative actually is are just a few of the things discussed on this podcast. Be encouraged to create for yourself as Cicily gets vulnerable by pivoting the camera to herself for the first time.To submit questions for Cicily to answer, or have her address certain t Chewing the Fat with WorkForge WorkForge Bite-Sized Conversations for Building a Stronger Workforce Welcome to Chewing the Fat, a podcast delving deep into the world of food manufacturing. Dive into real conversations around critical topics like staffing, retention, onboarding, and career development in this essential industry. Subscribe now to gain insights from your peers, subject matter experts and more on the biggest issues facing food manufacturers today: -Hiring and retaining employees -Addressing the challenges of the Silver Tsunami -Improving time to productivity of new employees -Engaging employees from hire to retire And more... Tune in to Chewing the Fat, a WorkForge podcast, and join the conversation on how to build and sustain a resilient, high-performing workforce in food manufacturing.

Frequently Asked Questions

How long is this episode of Full Time Nix?

This episode is 1 hour and 31 minutes long.

When was this Full Time Nix episode published?

This episode was published on February 15, 2025.

What is this episode about?

Pre-roll transcript:Before you is an episode of the Full Time Nix podcast.For silence skipping and other useful features consider using a podcast...

Can I download this Full Time Nix episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!