Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

input-output-hk/nix-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix Archive

This is a library for generating Nix Archive (NAR) files. This package is currently incomplete and only satisfies one particular need, being able to generate Nix Sha256 hashes for a git checkout at a specified git hash (without actually having Nix installed).

It is written as a reusable library and command line wrapper around the library.

What works

  • Generating a NAR file from a git repo either at HEAD of the repo or at a specified git hash.
  • Generate the Nix SHA256 hash from a git repo either at HEAD of the repo or at a specified git hash (without actually generating the NAR file).
  • Generate a Nix SHA256 hash for a given file.

Required to make this complete

This is what is needed for this to become complete enough to upload to Hackage:

  • Generate a NAR file from a specified directory.
  • Generate a Nix SHA256 hash from a specified directory.
  • Unpack a NAR file.
  • Tests.

About

A library and executable for manipulating Nix Archive files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •