diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-26T22·01+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-27T16·31+0100 |
commit | eb0e1d8c5d9cd1c1f316797f51720456a2f92f9e (patch) | |
tree | b6cc45894f76cea37b23b69c35560a338b87cde4 /playbooks | |
parent | ea0788fd62cb48b5907f4efeafa4ac58e7fb09f4 (diff) |
Prefer builtins.path
Following the advice of Domen's nix.dev anti-patterns, I'm preferring something like... ```nix builtins.path { path = /path/to/some.where; name = "some.where"; } ``` ...to ```nix /path/to/some/where ``` While the former is more verbose, it will fail to build when the path doesn't exist, which I prefer.
Diffstat (limited to 'playbooks')
0 files changed, 0 insertions, 0 deletions