Skip to content

Nixos support v1.1 #13070

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Nixos support v1.1 #13070

wants to merge 4 commits into from

Conversation

regit
Copy link
Contributor

@regit regit commented Apr 22, 2025

Update of #13063

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/7669

Describe changes:

  • rebase on latest master
  • add vectorscan and remove luajit
  • clean compile-commands with distclean
  • add a build in nix environment to test shell.nix

@regit regit requested review from jasonish, victorjulien and a team as code owners April 22, 2025 08:44
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.78%. Comparing base (833a738) to head (7876471).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13070      +/-   ##
==========================================
- Coverage   82.79%   82.78%   -0.01%     
==========================================
  Files         984      984              
  Lines      272712   272712              
==========================================
- Hits       225782   225764      -18     
- Misses      46930    46948      +18     
Flag Coverage Δ
fuzzcorpus 60.83% <ø> (ø)
livemode 19.01% <ø> (ø)
pcap 44.74% <ø> (+0.02%) ⬆️
suricata-verify 64.80% <ø> (-0.02%) ⬇️
unittests 58.14% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@regit regit force-pushed the nixos-support-v1.1 branch 3 times, most recently from c613c66 to e3bdfb2 Compare April 22, 2025 10:51
@regit
Copy link
Contributor Author

regit commented Apr 22, 2025

Good for review.

@regit regit force-pushed the nixos-support-v1.1 branch from e3bdfb2 to 9f588f8 Compare April 22, 2025 21:04
@jasonish jasonish marked this pull request as draft April 22, 2025 21:32
regit added 3 commits April 22, 2025 23:38
By adding a `shell.nix` file in the root directory of the source,
NixOs (https://nixos.org/) users can get a ready for development
environment by simply running `nix-shell` from the source tree.

This is really convenient as the installation of needed packages
is just done as user and transparently for the user/developer.

Ticket: 7669
This can be used from command line to add some build options without
running a full configure. This is convenient for single run build.
It generates a `compile_commands.json` suitable for clangd.

This is almost mandatory to have a command like this one for NixOs
users as tool like bear are not able to intercept correctly the
clang calls due to the usage of a wrapper.

Ticket: 7669
@regit regit force-pushed the nixos-support-v1.1 branch 2 times, most recently from edaed3c to 1c72d0c Compare April 22, 2025 21:47
This will test that shell.nix is working properly and also
test compile-commands Makefile target.
@regit regit force-pushed the nixos-support-v1.1 branch from 1c72d0c to 7876471 Compare April 22, 2025 21:57
@regit regit marked this pull request as ready for review April 23, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants