chore(flake): Add packages.default output

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-08-07 19:50:35 +00:00
parent cff0b2f3b2
commit 802da70056

View File

@@ -32,12 +32,35 @@
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
(lib.hiPrio rust-bin.nightly."2025-07-05".rustfmt) (lib.hiPrio rust-bin.nightly."2025-08-07".rustfmt)
rust-bin.stable.latest.default rust-bin.stable.latest.default
rust-analyzer rust-analyzer
]; ];
};
buildInputs = [ ]; packages.default =
let
manifest = (pkgs.lib.importTOML ./Cargo.toml).package;
in
with pkgs;
rustPlatform.buildRustPackage {
pname = manifest.name;
version = manifest.version;
cargoLock.lockFile = ./Cargo.lock;
src = lib.cleanSource ./.;
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
];
meta = {
inherit (manifest) description homepage;
license = lib.licenses.gpl3Plus;
};
}; };
} }
); );