Skip to content

feat: add nix build#1026

Open
chadac wants to merge 1 commit intoxaf:mainfrom
chadac:chadac/add-nix-build
Open

feat: add nix build#1026
chadac wants to merge 1 commit intoxaf:mainfrom
chadac:chadac/add-nix-build

Conversation

@chadac
Copy link

@chadac chadac commented Apr 8, 2025

  • add flake.nix/default.nix for a nixified package build
  • users can then install omni with nix shell github:xaf/omni or by adding it to their Nix system configuration

@chadac chadac marked this pull request as draft April 8, 2025 21:49
@chadac chadac marked this pull request as ready for review April 9, 2025 01:17

checkPhase = ''
cargo test -- \
--skip internal::cache::up_environments::tests::up_environment::test_new_and_init \
Copy link
Author

@chadac chadac Apr 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nix builds (and checks) run inside an internet-isolated environment, which is why (I believe?) these tests failed. For now I just skipped them.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to get some time to check what's happening with those tests, ideally we wouldn't comment any tests here and whatever internet calls should be mocked during the rust tests

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