diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-05-12 21:33:06 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-05-12 21:33:06 -0400 |
commit | 503145f4dfc16001ebbba6c0ace5ce505c151a71 (patch) | |
tree | afdd0961d1722068e5c6c1e3d59eba2d6fe01514 /default.nix | |
parent | 35f5d3c514b640d3b99c643890bb4a655025994d (diff) |
Restructure project.
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"; }; } |