summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-03-24 15:35:34 +0300
committerNikolay Amiantov <ab@fmap.me>2017-03-24 15:47:33 +0300
commit8c98df01360c783567b012d57d3e9f547c5b69c3 (patch)
tree83df7ae2cb4f31038da6b51c238a26031b2f4e88 /pkgs
parent64f96732bbd87172a154ed3d1c51d575b56e7340 (diff)
downloadnixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.tar
nixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.tar.gz
nixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.tar.bz2
nixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.tar.lz
nixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.tar.xz
nixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.tar.zst
nixpkgs-8c98df01360c783567b012d57d3e9f547c5b69c3.zip
octoprint-plugins.m33-fio: fix incompatibility with new OctoPrint
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/octoprint/plugins.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/misc/octoprint/plugins.nix b/pkgs/applications/misc/octoprint/plugins.nix
index 2f894514c51..8bc4a22bc92 100644
--- a/pkgs/applications/misc/octoprint/plugins.nix
+++ b/pkgs/applications/misc/octoprint/plugins.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, octoprint, pythonPackages }:
+{ stdenv, fetchFromGitHub, fetchpatch, octoprint, pythonPackages }:
 
 let
   buildPlugin = args: pythonPackages.buildPythonApplication (args // {
@@ -23,6 +23,11 @@ let
 
       patches = [
         ./m33-fio-one-library.patch
+        # Fix incompatibility with new OctoPrint
+        (fetchpatch {
+          url = "https://github.com/foosel/M33-Fio/commit/bdf2422dee3fb8e53b33f087f734956c3b209d72.patch";
+          sha256 = "0jm415sx6d3m0z4gfhbnxlasg08zf3f3mslaj4amn9wbvsik9s5d";
+        })
       ];
 
       postPatch = ''