Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Go support #142

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Go support #142

wants to merge 13 commits into from

Conversation

lheckemann
Copy link
Contributor

@lheckemann lheckemann commented Sep 22, 2022

TODO:

  • Rebase out the javascript stuff
  • Test across a large number of packages and fill the registry out a bit more
    • Find candidates using sourcegraph: src search -json '#cgo lang:go -repo:^github\.com/golang/go$ -repo:^github\.com/gcc-mirror/gcc$ type:file repohasfile:^go.mod$ count:1000' | jq -r '.Results | map(.repository.url) | unique | .[] | "https:/" + .'
  • Scan go source files for cgo directives:question:
    • It looks like go list's output makes finding the sources easy, which is nice
    • We'd need a mapping from pkg-config package names to nixpkgs attrs to make use of it though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants