Skip to content

Conversation

@willcl-ark
Copy link
Contributor

  • Tidy up LLVM-based stdenv, include LLVM bintools
  • Add separate depends devShell for building from depends
  • Update nixpkgs to unstable
    • Pin Qt6 to specific version for depends compatibility
  • Modernize CI: update GitHub Actions runners and add per-platform core counts
  • Fix depends workflow to use new devShell and remove custom cmake config
  • Set CMAKE_EXPORT_COMPILE_COMMANDS for native LSP support
  • Use mold linker on Linux for faster builds
  • Add include-what-you-use and other tools
  • Format nix files with nixfmt-tree

The depends devShell sets build_CC/build_CXX to clang to avoid issues with depends packages that hardcode CXX=g++.

@willcl-ark willcl-ark force-pushed the tidy-flake branch 3 times, most recently from 3bfc34e to 3f8515d Compare November 17, 2025 11:35
- Tidy up LLVM-based stdenv, include LLVM bintools
- Add separate depends devShell for building from depends
- Update nixpkgs to unstable
  - Pin Qt6 to specific version for depends compatibility
- Modernize CI: update GitHub Actions runners and add per-platform core counts
- Fix depends workflow to use new devShell and remove custom cmake config
- Set CMAKE_EXPORT_COMPILE_COMMANDS for native LSP support
- Use mold linker on Linux for faster builds
- Add include-what-you-use and other tools
- Format nix files with nixfmt-tree

The depends devShell sets build_CC/build_CXX to clang to avoid issues with
depends packages that hardcode CXX=g++.
The flake previously used llvmPackages.bintools on macOS, which brings in LLVM's lld linker. Apple's toolchain expects its native linker (ld64) with flags like -arch, -platform_version, -syslibroot, etc., which lld doesn't support.
@willcl-ark
Copy link
Contributor Author

@josibake @ismaelsadeeq are you (or anyone else) using this flake still?

I'd quite like to merge this into master at some point, so if you're using pls test 😘

If not then just let me know, and I can merge even easier :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants