Write some docs #76
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/flake-compat#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jade/docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Also corrects the given
default.nix
to correctly follow the flakeschema. Previously it didn't understand that the root node's
flake-compat might not be called
flake-compat
if there exists aflake-compat
in the lock file as a dependency of some other flake.Overall good, just a few questions/nits.
@ -7,3 +7,3 @@
```nix
inputs.flake-compat = {
url = "git+https://git.lix.systems/lix-project/flake-compat";
url = "https://git.lix.systems/lix-project/flake-compat/archive/main.tar.gz";
Curious: why?
My assumption is that its because it uses the Lockable HTTP Tarball Protocol if you do this, which is a much more efficient way of downloading the source of a repo.
@ -27,0 +30,4 @@
# to the store (but not obey gitignore anymore and possibly leak paths in
# your eval directory into things!). We strongly recommend nix-diff after
# setting this to false.
copySourceTreeToStore = true;
Since the default is
true
, perhaps we should just drop this here and move it to the options reference, for simplicity? This options enables dragons, after all.@ -34,0 +53,4 @@
See [Copying to the store](#copying-to-the-store).
Default: `true`.
- `useBuiltinsFetchTree` - whether to use `builtins.fetchTree` in place of flake-compat's Nix language implementation of it.
If enabled and if `builtins.fetchTree` is present, it will be used.
Maybe we should note any advantage(s) of turning this on?
2b02dc4d97
to13bc4535af
13bc4535af
to61c4fa7ad1