Add default.nix to build the package

This commit is contained in:
2025-11-27 18:32:20 +03:00
parent daf0fef2b9
commit 8e335b7da8

19
default.nix Normal file
View File

@@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.ocamlPackages.buildDunePackage rec {
pname = "fusetar";
version = "0.1.0";
src = pkgs.lib.cleanSource ./.;
propagatedBuildInputs = with pkgs.ocamlPackages; [
findlib
ocamlfuse
];
buildInputs = [
pkgs.fuse # The system libfuse
];
strictDeps = true;
doCheck = false;
}