Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ den.oeiuwq.com
configurations den dendritic nix aspect oriented
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(repo): Add `just repl` that adds den and denTest into repl (#445)

authored by

Victor Borja and committed by
GitHub
ea11f80d dca63688

+20 -2
+3
Justfile
··· 46 46 unit: 47 47 nix flake check --override-input target . github:vic/checkmate 48 48 49 + repl: 50 + nix repl --override-input den . ./templates/ci 51 + 49 52 [arg("tmpdir",long="tmpdir"), arg("head",long="head",short="h"), arg("base",long="base",short="b"), arg("warm",long="warm",short="w"), arg("runs",long="runs",short="r")] 50 53 bench tmpdir="/tmp" head="HEAD" base="refs/remotes/origin/main" warm="2" runs="5" *args: 51 54 rm -rf "{{tmpdir}}/den-head" "{{tmpdir}}/den-base"
+12 -1
docs/src/content/docs/guides/debug.md
··· 3 3 description: Tools and techniques for debugging Den configurations. 4 4 --- 5 5 6 - ## REPL Inspection 6 + ## Den CI REPL 7 + 8 + The following loads `denTest` and `den.lib` at REPL for exploration. 9 + 10 + ```console 11 + just repl 12 + ``` 13 + 14 + This will **not** load your project definitions, for that use: 15 + 16 + ## Your Flake REPL Inspection 7 17 8 18 Load your flake and explore interactively: 9 19 ··· 112 122 113 123 **Module not found**: Ensure the file is under `modules/` and not 114 124 prefixed with `_` (excluded by import-tree). 125 +
+5 -1
templates/ci/modules/test-support/eval-den.nix
··· 1 - { inputs, ... }: 1 + { inputs, denTest, ... }: 2 2 { 3 3 imports = [ 4 4 inputs.den.flakeModules.denTest 5 5 inputs.den.flakeOutputs.flake 6 6 ]; 7 + flake = { 8 + inherit denTest; 9 + den = (denTest ({ den, ... }: { expr = den; expected = den; })).expr; 10 + }; 7 11 }