Dendritic Nix - Community-driven Nix distribution based on the Dendritic pattern.
at main 576 B view raw
1{ inputs, ... }: 2{ 3 imports = [ inputs.devshell.flakeModule ]; 4 perSystem = 5 { pkgs, ... }: 6 { 7 devshells.default = { 8 packages = [ 9 pkgs.direnv 10 ]; 11 commands = [ 12 { 13 name = "pins"; 14 help = "run npins inside dev"; 15 command = "(cd dev; ${pkgs.npins}/bin/npins \"$@\" )"; 16 } 17 { 18 name = "book"; 19 help = "serve dev/book"; 20 command = "elm-check && elm-build && ${pkgs.mdbook}/bin/mdbook serve dev/book"; 21 } 22 ]; 23 }; 24 }; 25}