diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/default.nix b/default.nix index 65d93ef..99e7ecd 100644 --- a/default.nix +++ b/default.nix @@ -1,8 +1,16 @@ with import <nixpkgs> {}; - +with rustPlatform; { - rustenv = stdenv.mkDerivation { - name = "rust"; - buildInputs = [ rustStable.rustc rustStable.cargo fuse pkgconfig ]; + rafs1 = buildRustPackage rec { + name = "rafs-${version}"; + version = "0.1"; + buildInputs = [ fuse pkgconfig glibc ]; + logLevel = "debug"; + src = fetchgit { + url = "https://git.orbekk.com/git/rafs.git" + rev = "35f5d3c514b640d3b99c643890bb4a655025994d"; + sha256 = "1i5nr70jdqhfjmpnmcgnsyinh7rd3gaz2ka0adi9x5z0dx1ijg6g"; + }; + depsSha256 = "1i5nr70jdqhfjmpnmcgnsyinh7rd3gaz2ka0adi9x5z0dx1ijg6g"; }; } |