diff options
author | zimbatm <zimbatm@zimbatm.com> | 2017-07-04 23:29:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-04 23:29:23 +0100 |
commit | 4d545297d85c8f32f7ab496d0759f40d881bd61d (patch) | |
tree | c3309bda805bce2028f2fe53b6662bd4a3352936 /pkgs/games/uqm | |
parent | a0fa61788b930b05afc475b61a9963655e969ef9 (diff) | |
download | nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.tar nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.tar.gz nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.tar.bz2 nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.tar.lz nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.tar.xz nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.tar.zst nixpkgs-4d545297d85c8f32f7ab496d0759f40d881bd61d.zip |
lib: introduce imap0, imap1 (#25543)
* lib: introduce imap0, imap1 For historical reasons, imap starts counting at 1 and it's not consistent with the rest of the lib. So for now we split imap into imap0 that starts counting at zero and imap1 that starts counting at 1. And imap is marked as deprecated. See https://github.com/NixOS/nixpkgs/commit/c71e2d42359f9900ea2c290d141c0d606471da16#commitcomment-21873221 * replace uses of lib.imap * lib: move imap to deprecated.nix
Diffstat (limited to 'pkgs/games/uqm')
-rw-r--r-- | pkgs/games/uqm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix index d6bcb787d60..d1416b0685a 100644 --- a/pkgs/games/uqm/default.nix +++ b/pkgs/games/uqm/default.nix @@ -18,7 +18,7 @@ let inherit stdenv requireFile writeText fetchurl haskellPackages; }; - remixPacks = imap (num: sha256: fetchurl rec { + remixPacks = imap1 (num: sha256: fetchurl rec { name = "uqm-remix-disc${toString num}.uqm"; url = "mirror://sourceforge/sc2/${name}"; inherit sha256; |