From 5406a24edce575504b064a2cb6a0f0f19503f985 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 8 May 2024 08:20:21 +0200 Subject: [PATCH] Add a patched `xone` package --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 (