mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-24 17:13:12 +01:00
fix: update examples
This commit is contained in:
parent
dff1bb3b1c
commit
796fe918fe
@ -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 New Issue
Block a user