Commit 6fe47a5e8ee4

Vincent Demeester <vincent@sbr.pm>
2019-01-04 08:38:26
obs-studio: temporary fix for obs-studio
… waiting for https://github.com/NixOS/nixpkgs/pull/53008 to get merged. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 844f3ad
Changed files (2)
machines/shikoku.nix
@@ -1,5 +1,15 @@
 { pkgs, ... }:
 
+let
+  my-obs = pkgs.obs-studio.overrideDerivation (oldAttrs: {
+      patches = [
+        (pkgs.fetchpatch {
+          url = "https://patch-diff.githubusercontent.com/raw/obsproject/obs-studio/pull/1557.diff";
+          sha256 = "162fnkxh2wyn6wrrm1kzv7c2mn96kx35vlmk2qwn1nqlifbpsfyq";
+        })
+      ];
+    });
+in
 {
   imports = [
     ./base.nix
@@ -33,7 +43,7 @@
   home.file."src/github.com/knative/default.nix".source = ../projects/knative/default.nix;
 
   home.packages = with pkgs; [
-    obs-studio # screencast
+    my-obs
     virtmanager
   ];
 }
machines/wakasu.nix
@@ -1,5 +1,15 @@
 { pkgs, ...}:
 
+let
+  my-obs = pkgs.obs-studio.overrideDerivation (oldAttrs: {
+      patches = [
+        (pkgs.fetchpatch {
+          url = "https://patch-diff.githubusercontent.com/raw/obsproject/obs-studio/pull/1557.diff";
+          sha256 = "162fnkxh2wyn6wrrm1kzv7c2mn96kx35vlmk2qwn1nqlifbpsfyq";
+        })
+      ];
+    });
+in
 {
   imports = [
     ./base.nix
@@ -27,7 +37,7 @@
     podman.enable = true;
   };
   home.packages = with pkgs; [
-    obs-studio
+    my-obs
     mattermost-desktop
     slack
     virtmanager