Make more path settings PathsSetting
s #498
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#498
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
PathsSetting
has some nice ergonomics fornix.conf
settings that are paths, but only a couple settings use it (diff-hook
,repl-overlays
,root-dir
,log-dir
, etc.However, plenty of settings that are paths don't use the
PathsSetting
class:sandbox-paths
,sandbox-build-dir
,build-dir
,allowed-impure-host-prefixes
,ca-file
,ssh-key
,remote-program
,secret-key-file
,local-nar-cache
.Let's make some more path setting types (e.g. for types that only take one path) and use them! This will get us improved ergonomics (like relative paths or tilde paths, for settings where that's appropriate).
See also: #499.
This issue was mentioned on Gerrit on the following CLs:
PathsSetting
for more settings that are Path")PathsSetting<PathSet>
")Hi 👋
I open the two CL above, but I had a couple of question that will probably show up in the review anyways:
PathsSetting
implementations, if there's some, let me know and I'll add some for thePathsSetting<PathSet>
implementationPathsSetting
, I can do it in the CL or create a new one with needed follow up changes, just let me know.And as everyone, you probably have other priorities in your life and in the lix project, so if your plate is full right now, there's no worries, I'll wait for when you get some time to review that.
Meh, it was a mistake on my side, in my commit message I use
Fix
, but it should have beenPartialy fix
orcontribute to
. If you can reopen it @rbt that would be great.