mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
nixdirfmt + getAlias function
This commit is contained in:
parent
589bef29fa
commit
5da38c626d
7 changed files with 89 additions and 83 deletions
|
|
@ -1,6 +1,6 @@
|
|||
let
|
||||
# we don't have lib without sources, so we need optionalAttrs
|
||||
optionalAttrs = cond: as: if cond then as else {};
|
||||
optionalAttrs = cond: as: if cond then as else { };
|
||||
# Sources are from niv.
|
||||
sources = import ./nix/sources.nix // optionalAttrs (builtins.pathExists ./overlays/exprs/default.nix) {
|
||||
katexprs = ./overlays/exprs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue