pneuma/pneuma.nix

16 lines
393 B
Nix
Raw Normal View History

2020-02-14 12:57:04 +00:00
{ sources ? import ./nix/sources.nix }:
let
rust = import ./nix/rust.nix { inherit sources; };
pkgs = import sources.nixpkgs { };
naersk = pkgs.callPackage sources.naersk {
rustc = rust.rust;
cargo = rust.rust;
};
in
naersk.buildPackage {
src = builtins.filterSource
(path: type: type != "directory" || builtins.baseNameOf path != "target")
./.;
doCheck = false;
}