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