typelevel / typelevel/typelevel-nix

NIX_CC and scalapb, this is probably more of a nix flake question

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nix
Stars
134
Forks
11
Avg merge
7h 1m
Merged PRs (30d)
4

Description

Hi there, I'm trying to use this in a nixos/nix container and it's mostly working great except one thing. scalapb.

Scalapb has some checks to use $NIX_CC/nix-support/dynamic-linker if it's available and it's not available in nix develop Any ideas how to work around this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a NixOS container with nix develop, then inspect how scalapb checks $NIX_CC/nix-support/dynamic-linker. Done means identifying and documenting a working flake or development-shell workaround that makes the required linker information available.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.