#898·watchexec

Darcs: support boringfile preference

Author: toastalCreated Jan 12, 2025Updated Jan 13, 2025
Labelsnew feature

Docs & code point to _darcs/prefs/boring for Darcs, but it is very common to create a .boring boringfile in the project root so it can be checked into the patch-based VCS. This is set with darcs setpref boringfile .boring. You can query that with:

bash
$ cat _darcs/prefs/prefs 
boringfile .boring
$ awk -F ' ' '{a[$1]=$2} END {print(a["boringfile"])}' _darcs/prefs/prefs
.boring

This would be the expected behavior if using Darcs.

bash
$ nix run nixpkgs#nix-info -- "-m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.11, NixOS, 25.05 (Warbler), 25.05.20250110.130595e`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - nixpkgs: `/nix/store/cginla74w7h4gln9b3mva6l4nmj6gj30-source`
$ watchexec --version
watchexec 2.2.1 (1980-01-01) +pid1
build-date: 1980-01-01
release: 2.2.1
features: default,pid1