pneuma/pneuma.nix

16 lines
393 B
Nix

{ 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;
}