a lot of setup and testing work for rust
This commit is contained in:
parent
8e58dd89df
commit
8b4c348279
12 changed files with 231 additions and 32 deletions
10
flake.nix
10
flake.nix
|
@ -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; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue