Add default.nix to build the package
This commit is contained in:
19
default.nix
Normal file
19
default.nix
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user