Skip to content

Commit

Permalink
pkgsMusl.connman: use fetchurl for patch
Browse files Browse the repository at this point in the history
This patch is a static file, so we don't need all the complex
machinery of fetchpatch.
  • Loading branch information
alyssais committed Sep 14, 2023
1 parent 90b23c4 commit 2ed69f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/networking/connman/connman/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ stdenv.mkDerivation rec {
./create-libppp-compat.h.patch
] ++ optionals stdenv.hostPlatform.isMusl [
# Fix Musl build by avoiding a Glibc-only API.
(fetchpatch {
(fetchurl {
url = "https://git.alpinelinux.org/aports/plain/community/connman/libresolv.patch?id=e393ea84386878cbde3cccadd36a30396e357d1e";
hash = "sha256-gzQUkUEunqTuSE78K0Ujvre/rx1KP1igQKy3e2i14s0=";
hash = "sha256-7Q1bp8rD/gGVYUqnIXqjr9vypR8jlC926p3KYWl9kLw=";
})
];

Expand Down

0 comments on commit 2ed69f9

Please sign in to comment.