mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-10 06:44:14 +00:00
fix: update examples
This commit is contained in:
parent
dff1bb3b1c
commit
796fe918fe
2 changed files with 2 additions and 6 deletions
|
@ -200,11 +200,9 @@ To examine the source code of `lib.mkBefore`, you can run `nix repl -f '<nixpkgs
|
|||
};
|
||||
|
||||
mkBefore = mkOrder 500;
|
||||
defaultOrderPriority = 1000;
|
||||
mkAfter = mkOrder 1500;
|
||||
|
||||
# The default priority for things that don't have a priority specified.
|
||||
defaultPriority = 1000;
|
||||
|
||||
# ......
|
||||
```
|
||||
|
||||
|
|
|
@ -179,11 +179,9 @@ Nix Flakes 对目录结构没有任何要求,你可以参考上面的例子,
|
|||
};
|
||||
|
||||
mkBefore = mkOrder 500;
|
||||
defaultOrderPriority = 1000;
|
||||
mkAfter = mkOrder 1500;
|
||||
|
||||
# The default priority for things that don't have a priority specified.
|
||||
defaultPriority = 1000;
|
||||
|
||||
# ......
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue