mirror of
https://github.com/nix-community/naersk
synced 2024-11-15 00:17:10 +00:00
No description
5834403f4f
Avoid IFD as much as possible |
||
---|---|---|
builtins | ||
nix | ||
test | ||
build.nix | ||
default.nix | ||
lib.nix | ||
README.md | ||
test.nix |
Naersk
Nix support for building cargo crates.
Install
Use niv:
$ niv add nmattia/naersk
And then
let
pkgs = import <nixpkgs> {};
sources = import ./nix/sources.nix;
naersk = pkgs.callPackage sources.naersk {};
in naersk.buildPackage ./path/to/rust {}
NOTE: ./path/to/rust/
should contain a Cargo.lock
.