add node aliases, optimized node eval #14

Merged
rlahfa merged 2 commits from griffi-gh/colmena:alias into main 2025-02-26 02:46:08 +01:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 5dabf6359a - Show all commits

View file

@ -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 ];

View file

@ -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;

Why is mdDoc needed? That seems dead code to me.

Why is `mdDoc` needed? That seems dead code to me.

that part is from the #13
since i based the pr on it

(idk what the mdDoc is for, but the flake was failing to evaluate because of a missing variable
so i copied the same let binding that was used in the other 2 sections)

that part is from the https://git.dgnum.eu/DGNum/colmena/pulls/13 since i based the pr on it (idk what the mdDoc is for, but the flake was failing to evaluate because of a missing variable so i copied the same let binding that was used in the other 2 sections)
in {
options = {
deployment = {