Add a patched xone package

This commit is contained in:
Manuel Thalmann 2024-05-08 08:20:21 +02:00
parent 476b81abac
commit 5406a24edc

View file

@ -73,6 +73,17 @@
sops-nix.overlays.default sops-nix.overlays.default
]; ];
}; };
xonePatcher =
xone: (xone.overrideAttrs (
final: prev: {
src = pkgs.fetchFromGitHub {
owner = "manuth";
repo = "xone";
rev = "954fc823fbaa429ad6e1c1a06a4a006598ef35ae";
sha256 = "lsfm7WDXTB6t05AI/pp17yZvkNvnM2WBMUHL1eVO6qw=";
};
}));
in { in {
packages = { packages = {
rcloneDocs = rcloneDocs =
@ -92,6 +103,7 @@
pkgs.runCommand "options-doc.md" {} '' pkgs.runCommand "options-doc.md" {} ''
cat ${optionsDoc.optionsCommonMark} >> $out cat ${optionsDoc.optionsCommonMark} >> $out
''; '';
xone = xonePatcher pkgs.linuxPackages_latest.xone;
}; };
devShells.default = pkgs.mkShellNoCC ( devShells.default = pkgs.mkShellNoCC (