9 rustPlatform.buildRustPackage {
10 pname = "switch-to-configuration";
13 src = lib.fileset.toSource {
15 fileset = lib.fileset.unions [
23 cargoLock.lockFile = ./Cargo.lock;
25 nativeBuildInputs = [ pkg-config ];
26 buildInputs = [ dbus ];
28 env.SYSTEMD_DBUS_INTERFACE_DIR = "${buildPackages.systemd}/share/dbus-1/interfaces";
31 description = "NixOS switch-to-configuration program";
32 mainProgram = "switch-to-configuration";
33 maintainers = with lib.maintainers; [ jmbaur ];
34 license = lib.licenses.mit;