summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/firelink.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/machines/firelink.nix b/machines/firelink.nix
index 08ecbf9..55a651e 100644
--- a/machines/firelink.nix
+++ b/machines/firelink.nix
@@ -2,10 +2,21 @@
let
my-overlay = self: super: {
- xow = super.xow.overrideAttrs (o: rec {
+ xow = (super.xow.overrideAttrs (o: rec {
# src = ../xow-src/.;
# buildFlags = [ "BUILD=DEBUG" ];
patches = [../patches/xow/0001-Single-controller-patch.patch];
+ })).override { libusb1 = self.libusb-patched; };
+ libusb-patched = super.libusb1.overrideAttrs (o: rec {
+ # Temporary workaround for https://github.com/medusalix/xow/issues/141
+ version = "1.0.25.master";
+ src = self.fetchFromGitHub {
+ owner = "libusb";
+ repo = "libusb";
+ rev = "e3dda19b31ee974fd749d55bc97d8bfc0e976bb4";
+ sha256 = "9ALa2Z2y1H2h/3hU4qLMwlQlavgH0mbRVfvPlDWMiEQ=";
+ };
+ patches = [];
});
my-linuxPackages =
let linuxPkgs = super.unstable.linuxPackages_latest;