From 5dabf6359a9898f436a238e752d284046bfdf18c Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 17 Feb 2025 22:32:09 +0100 Subject: [PATCH] fix devShell --- flake.nix | 2 +- src/nix/hive/options.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c686301..66e5f5d 100644 --- a/flake.nix +++ b/flake.nix @@ -81,7 +81,7 @@ }; devShell = pkgs.mkShell { - RUST_SRC_PATH = "${pkgs.rustPlatform.rustcSrc}/library"; + RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}"; NIX_PATH = "nixpkgs=${pkgs.path}"; inputsFrom = [ defaultPackage packages.manualFast ]; diff --git a/src/nix/hive/options.nix b/src/nix/hive/options.nix index 04108ff..0db53c5 100644 --- a/src/nix/hive/options.nix +++ b/src/nix/hive/options.nix @@ -93,6 +93,7 @@ with builtins; rec { # Largely compatible with NixOps/Morph. deploymentOptions = { name, lib, ... }: let inherit (lib) types; + mdDoc = lib.mdDoc or lib.id; in { options = { deployment = {