Set up workspace

This commit is contained in:
Joscha 2023-04-19 23:43:03 +02:00
parent babdd10fba
commit 288a5f97dd
45 changed files with 68 additions and 56 deletions

View file

@ -15,9 +15,14 @@
let
pkgs = import nixpkgs { inherit system; };
naersk' = pkgs.callPackage naersk { };
cargoToml = pkgs.lib.importTOML ./Cargo.toml;
in
{
default = naersk'.buildPackage { src = ./.; };
default = naersk'.buildPackage {
name = "cove";
version = cargoToml.workspace.package.version;
root = ./.;
};
}
);
};