local nix package

This commit is contained in:
Ruben Moor 2020-07-17 20:28:50 -05:00
parent 4b1b79bb88
commit 831d7f162c
2 changed files with 4978 additions and 6 deletions

4976
Cargo.nix Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,3 @@
{ pkgs }: { pkgs }:
pkgs.rustPlatform.buildRustPackage rec { let cargo_nix = pkgs.callPackage ./Cargo.nix {};
pname = "mdbook-${version}"; in cargo_nix.rootCrate.build
version = "0.4.2";
src = ./.;
cargoSha256 = "0ch25ivww62j2kwsd20159hwjfyhfarwmqy9hqn1lv2vhfskry2b";
}