Skip to content

taryune/juvix-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Juvix Nix Package

This repository contains the Nix package definition for Juvix, a dependently-typed programming language for writing efficient formal proofs and programs.

Installation

Using Flakes (recommended)

Add to your flake.nix:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    juvix-nix.url = "github:taryune/juvix-nix";
  };

  outputs = { self, nixpkgs, juvix-nix, ... }: {
    # For NixOS system configuration
    nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {
      modules = [
        {
          nixpkgs.overlays = [
            juvix-nix.overlays.default
          ];
        }
      ];
    };

    # Or for home-manager
    homeConfigurations.your-username = home-manager.lib.homeManagerConfiguration {
      pkgs = nixpkgs.legacyPackages.x86_64-linux;
      modules = [
        {
          nixpkgs.overlays = [
            juvix-nix.overlays.default
          ];
          home.packages = [ pkgs.juvix ];
        }
      ];
    };
  };
}

Development

With Flakes

Build the package:

nix build

Enter development shell:

nix develop

Without Flakes

Build the package:

nix-build

Enter development shell:

nix-shell

License

This Nix package definition is released under the MIT License. Juvix itself is licensed under GPL-3.0.

About

The Nix package definition for Juvix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages