Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Nix fixes #12

Merged
merged 3 commits into from
Sep 12, 2024
Merged

chore: Nix fixes #12

merged 3 commits into from
Sep 12, 2024

Conversation

gabyx
Copy link
Contributor

@gabyx gabyx commented Sep 12, 2024

Improves Nix build tooling:

  • default.nix which mimics how nixpkgs build their stuff. All inputs to this function in default.nix are dependencies.
  • Check-in Cargo.lock to find it. Its in the root folder.
  • Override buildNativeInputs to add python312.
  • Add just package-nix.

@cmdoret cmdoret merged commit b253aca into chore/dev-setup Sep 12, 2024
14 checks passed
cmdoret added a commit that referenced this pull request Sep 13, 2024
* ci(py): add maturin workflow

* ci(py): drop windows build, as rff is unix-only

* ci(py): drop windows job dep

* docs: contrib guide

* chore: generic config files

* chore: add nix-based tooling

* chore: migrate tooling tripsu->fuzon

* chore: target crate path in nix flake

* chore: add just recipe for nix dev

* docs(readme): describe python api

* docs(readme): minimal development instructions

* chore: rm unneeded tooling

* refactor(nix): simplify dev image setup

* chore: add maintenance just recipe

* fix(just): image file path

* chore: Nix fixes (#12)

* chore: nix builds now but wont find python

* fix: pass rootSrc to derivation `fuzon`

* fix: correct `python312` dependencies

* docs(readme): update dev instructions

* chore(just): fix docker mount path

---------

Co-authored-by: Gabriel Nützi <[email protected]>
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