about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-20 12:08:41 +0100
committerSoispha <soispha@vhack.eu>2024-01-20 12:08:41 +0100
commitb02f39fa9d3f0fcf6e4a6c1c4db6f0d7f10b15fe (patch)
tree01b4856552140b1562150c360da7e173c3ed0ef1 /sys/nixpkgs/pkgs
parentfeat(sys/nixpkgs/pkgs/yt): Merge ytc and the rewritten ytc (diff)
downloadnixos-config-b02f39fa9d3f0fcf6e4a6c1c4db6f0d7f10b15fe.tar.gz
nixos-config-b02f39fa9d3f0fcf6e4a6c1c4db6f0d7f10b15fe.zip
fix(sys/nixpkgs/pkgs/yt): Don't remove path as 'yt' and 'yts' need nvim
Diffstat (limited to 'sys/nixpkgs/pkgs')
-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]}
   '';
 }