fix: fetchFromGameBanana: Default name to "source"

This commit is contained in:
Madeleine Sydney
2025-04-11 11:23:00 -06:00
parent 1177355d5b
commit 1670cc3054
2 changed files with 2 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ let
fetchFromGameBanana =
{ id
, hash
, name ? null
, name ? "source"
}:
pkgs.fetchzip {
url = "https://gamebanana.com/dl/${id}";

View File

@@ -5,6 +5,7 @@
pname = "improved-crosshairs";
custom = [
(fetchFromGameBanana {
name = "improved-crosshairs";
id = "1047153";
hash = "sha256-ULcSfxuiGY1YCE1zQ693183F7ZRC11tYhvDMJKyzL1A=";
})