fix: remove explicit git from nix profile install to resolve packinfo.pl conflict with git-minimal
yt-dlp already pulls git-minimal as a transitive dependency. Adding git explicitly causes a file conflict on packinfo.pl. Removing git from the install list resolves this since git-minimal provides all git functionality needed for CI builds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
4e7be14efe
commit
65d5306764
+2
-1
@@ -5,12 +5,13 @@ SHELL ["/bin/sh", "-c"]
|
||||
ENV NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
|
||||
# Install the runtime and build dependencies through Nix instead of apt.
|
||||
# Note: git is pulled transitively by yt-dlp as git-minimal; adding git
|
||||
# explicitly causes a file conflict (packinfo.pl) so we omit it here.
|
||||
RUN nix profile install \
|
||||
github:NixOS/nixpkgs/nixos-unstable#nodejs_22 \
|
||||
github:NixOS/nixpkgs/nixos-unstable#ffmpeg \
|
||||
github:NixOS/nixpkgs/nixos-unstable#python3 \
|
||||
github:NixOS/nixpkgs/nixos-unstable#cacert \
|
||||
github:NixOS/nixpkgs/nixos-unstable#git \
|
||||
github:NixOS/nixpkgs/nixos-unstable#gnumake \
|
||||
github:NixOS/nixpkgs/nixos-unstable#gcc \
|
||||
github:NixOS/nixpkgs/nixos-unstable#pkg-config \
|
||||
|
||||
Reference in New Issue
Block a user