a lot of setup and testing work for rust

This commit is contained in:
Chris Cochrun 2022-12-13 09:33:47 -06:00
parent 8e58dd89df
commit 8b4c348279
12 changed files with 231 additions and 32 deletions

View file

@ -18,15 +18,15 @@
src = ./.;
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.61.0";
packageFun = import ./cargo.nix;
packageFun = import ./Cargo.nix;
};
in rec
{
# packages = {
# crate = (rustPkgs.workspace.qml-minimal { }).bin;
# default = packages.crate;
# };
packages = {
crate = (rustPkgs.workspace.libre-presenter { }).bin;
default = packages.crate;
};
devShell = import ./shell.nix { inherit pkgs; };
defaultPackage = pkgs.libsForQt5.callPackage ./default.nix { inherit rustPkgs; };
}