about summary refs log tree commit diff
path: root/pkgs/games/humblebundle/bastion.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-15 10:29:26 +0200
committeraszlig <aszlig@nix.build>2018-07-15 10:34:09 +0200
commit8005779640207a46089476721ce1a5441b579478 (patch)
treee991adf30b8d756f1ddf4afc16ba25125b3c6c41 /pkgs/games/humblebundle/bastion.nix
parent753d37c21993283ac93352adb0c01a0cddce186d (diff)
fetchHumbleBundle: Fix subproduct name collision
Every HumbleBundle purchase has a list of subproducts and those have
so-called 'machine_name' attributes which are unique. However in our
fetcher we used the 'human_name' as a unique key, which isn't really
unique and in case of bastion the soundtrack subproduct is has the
human_name "Bastion" and the actual game has the *same* name as well.

Using the machine_name as the unique key now solves the problem that
certain games couldn't be found if you for example also have the
soundtrack.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/humblebundle/bastion.nix')
0 files changed, 0 insertions, 0 deletions