Skip to content

Commit

Permalink
cyberdrop-dl: drop use of pipe-operator
Browse files Browse the repository at this point in the history
Can't work with nix-update without Mic92/nix-update#316
  • Loading branch information
msfjarvis committed Jan 8, 2025
1 parent 2807892 commit aad3fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cyberdrop-dl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python3.pkgs.buildPythonApplication rec {
sed = lib.getExe gnused;
# Convert python3.12-aiohttp-3.11.9 to aiohttp
mkRealName =
pkg: pkg.pname |> lib.removePrefix "${python3.libPrefix}-" |> lib.removeSuffix "-${pkg.version}";
pkg: lib.removePrefix "${python3.libPrefix}-" (lib.removeSuffix "-${pkg.version}" pkg.pname);
mkPatch =
pkg:
''${sed} -i 's/${mkRealName pkg} = ".*"/${mkRealName pkg} = "^${pkg.version}"/' pyproject.toml'';
Expand Down

0 comments on commit aad3fef

Please sign in to comment.