mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-22 12:09:14 +00:00
mathesar: work around broken clevercsv (chardet 6) in nixpkgs
This commit is contained in:
1 parent
d5ffcb0a82
commit
65c00a79a9
2 files changed
+26
-1
No files matched your search
@@ -367,3 +367,12 @@
|
||||
`volnoti` service, but this preset still installed the package system-wide,
|
||||
so `gtk2` was still being evaluated (via `man-paths`) and the flake.lock
|
||||
update check kept failing on `nixosConfigurations.staff`.
|
||||
- Worked around nixpkgs marking `clevercsv` as broken (it requires
|
||||
`chardet < 6`, unstable ships 6.x), which failed the flake check via
|
||||
`mathesar` (`pkgs/mathesar/package.nix`). Pinning `clevercsv` itself from
|
||||
`nixpkgs-stable` does not work (nixpkgs rejects mixing Python derivations
|
||||
built from different package sets), so `clevercsv` in mathesar's Python set
|
||||
is now built against a local `chardet` 5.2.0 instead. The override is scoped
|
||||
to `clevercsv`: replacing `chardet` for the whole set changes `django`'s
|
||||
inputs and puts two `django`s in the env. Remove once clevercsv supports
|
||||
chardet 6.
|
||||
Reference in new issue
Block a user