Make more path settings PathsSettings #498
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
Feature/S3
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
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…
Add table
Add a link
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?
PathsSettinghas some nice ergonomics fornix.confsettings 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
PathsSettingclass: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:
PathsSettingfor 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:
PathsSettingimplementations, 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 fixorcontribute to. If you can reopen it @rbt that would be great.