about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--sys/nixpkgs/pkgs/yt/yt.nix2
-rw-r--r--sys/nixpkgs/pkgs/yt/yts.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/nixpkgs/pkgs/yt/yt.nix b/sys/nixpkgs/pkgs/yt/yt.nix
index 184b7820..de100c51 100644
--- a/sys/nixpkgs/pkgs/yt/yt.nix
+++ b/sys/nixpkgs/pkgs/yt/yt.nix
@@ -22,6 +22,6 @@ rustPlatform.buildRustPackage {
 
   postInstall = ''
     wrapProgram $out/bin/yt \
-      --set PATH ${lib.makeBinPath [mpv yt-dlp ytcc]}
+      --prefix PATH ${lib.makeBinPath [mpv yt-dlp ytcc]}
   '';
 }
diff --git a/sys/nixpkgs/pkgs/yt/yts.nix b/sys/nixpkgs/pkgs/yt/yts.nix
index fa00dc48..88cb3b0b 100644
--- a/sys/nixpkgs/pkgs/yt/yts.nix
+++ b/sys/nixpkgs/pkgs/yt/yts.nix
@@ -20,6 +20,6 @@ rustPlatform.buildRustPackage {
 
   postInstall = ''
     wrapProgram $out/bin/yts \
-      --set PATH ${lib.makeBinPath [ytcc]}
+      --prefix PATH ${lib.makeBinPath [ytcc]}
   '';
 }