From 2cc32b15b23e39ebe5e7a0ff5bec0d99aa5be4d7 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sat, 12 Jun 2021 14:54:48 +0200 Subject: [PATCH] revert patchPhase --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 57c598f..8b1a9f2 100644 --- a/flake.nix +++ b/flake.nix @@ -26,9 +26,10 @@ pkgs.stdenv.mkDerivation { name = "strm"; src = self; - propagatedBuildInputs = [ - mpv - ]; + patchPhase = with pkgs; '' + substituteInPlace strm \ + --replace mpv\ ${mpv}/bin/mpv\ + ''; installPhase = '' install -m 755 -D strm $out/bin/strm '';