Skip to content

Commit

Permalink
fetchers: Fix netrc path filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Oct 26, 2023
1 parent c27bc83 commit 13db812
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions fetchers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,7 @@ lib.mapAttrs (_: func: lib.makeOverridable func) {
,
}:
let
pathParts =
filter
({ prefix
,
}:
"NETRC" == prefix)
nixPath;
pathParts = filter ({ prefix, path }: "NETRC" == prefix) nixPath; # deadnix: skip
netrc_file =
if (pathParts != [ ])
then (head pathParts).path
Expand Down

0 comments on commit 13db812

Please sign in to comment.