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

Simple nix setup #180

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Simple nix setup #180

merged 2 commits into from
Nov 28, 2024

Conversation

gilligan
Copy link
Collaborator

@gilligan gilligan commented Nov 27, 2024

Overview

This PR introduces a simple Nix setup that works on Linux and macOS and evaluates quickly. The key changes are:

  • Very small flake.nix with minimal dependencies
  • No nix builds, the flake only provides a development environment
  • No more spago2nix and npmlock2nix, builds happen with the usual build tools in a nix shell
  • The ci.yaml just invokes make for onchain and offchain
  • Simplified raw-scripts check to verify if raw-scripts are up-to-date
  • spago has been updated to a recent version and installed via npm

Prereview checklist

  • Changes have been documented by running changie new
  • All tests pass in CI
  • PR was self-reviewed

Minimal nix flake that only provides a development shell
for building the haskell and purescript projects
Copy link
Contributor

@kpinter-iohk kpinter-iohk left a comment

Choose a reason for hiding this comment

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

💥

@gilligan gilligan merged commit 02a6b48 into master Nov 28, 2024
1 check passed
@gilligan gilligan deleted the simple-nix-setup branch November 28, 2024 14:23
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