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

added basic nix flake #163

Merged
merged 6 commits into from
Aug 26, 2024
Merged

added basic nix flake #163

merged 6 commits into from
Aug 26, 2024

Conversation

Arbel-arad
Copy link
Contributor

a patch was required to disable some incompatible git file tests (nix removes .git when building)

@Arbel-arad Arbel-arad changed the title added basic nix flake - currently only for x64 linux added basic nix flake Aug 18, 2024
@nermalcat69 nermalcat69 self-assigned this Aug 22, 2024
Signed-off-by: Arbel Arad <[email protected]>
@nermalcat69
Copy link
Contributor

nermalcat69 commented Aug 25, 2024

Tested this locally on my MacOS Ventura

Commands I used:

  1. nix develop --extra-experimental-features 'flakes nix-command'
  2. nix build --extra-experimental-features 'flakes nix-command'

Note: exclude --extra-experimental-features option if you have flakes and nix-command enabled in your nix config

Running these commands results in:

  1. Changes to vendor dir
  2. Outputs a binary to result/bin/~ (Tested the cli as well ~ works pretty fine)

LGTM! ✅

@nermalcat69
Copy link
Contributor

nermalcat69 commented Aug 25, 2024

Tested this locally on NixOS using Parallels

Commands I used:

  1. nix develop --extra-experimental-features 'flakes nix-command'
  2. nix build --extra-experimental-features 'flakes nix-command'
    Note: exclude --extra-experimental-features option if you have flakes and nix-command enabled in your nix config

Running these commands results in:

Changes to vendor dir
Outputs a binary to result/bin/~ (Tested the cli as well ~ works pretty fine)

LGTM! ✅

@fxck fxck merged commit 4977bd2 into zeropsio:main Aug 26, 2024
6 checks passed
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.

4 participants