mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
home: notify when patdiff is being enabled on aarch64-linux
This commit is contained in:
parent
fe93ed4584
commit
ecb06aaa84
2 changed files with 11 additions and 2 deletions
|
|
@ -54,7 +54,6 @@
|
||||||
|
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
|
|
||||||
# OCaml fails to build on aarch64-linux
|
|
||||||
git.patdiff.enable = lib.mkForce false;
|
git.patdiff.enable = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,22 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# git plugins
|
# git plugins
|
||||||
programs.git = {
|
programs.git = {
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
patdiff.enable = true;
|
patdiff.enable = lib.mkMerge [
|
||||||
|
# known to fail on aarch64-linux
|
||||||
|
(lib.mkIf (pkgs.system == "aarch64-linux") (
|
||||||
|
# TODO: investigate this
|
||||||
|
lib.warn "patdiff has been forcibly disabled because it has previously failed to build"
|
||||||
|
lib.mkForce
|
||||||
|
false
|
||||||
|
))
|
||||||
|
(lib.mkDefault true)
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# 懶惰鬼賴皮
|
# 懶惰鬼賴皮
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue