From 9ad46075a04922fd4efd24b535a78bcde903b0ba Mon Sep 17 00:00:00 2001 From: divanorama Date: Sat, 8 May 2021 13:28:59 +0200 Subject: idrisPackages.sdl2: fix sources sha256 This is weird b7ddbd52bd1ab9365436573c0c5b6d1edcc1919f replaced idris-modules/sdl2.nix hash with that of pkgs/applications/networking/instant-messengers/quaternion/default.nix Build log says [sdl2.ipkg](https://github.com/steshaw/idris-sdl2/blob/0.1.1/sdl2.ipkg) isn't found, which is kind of correct message for using wrong archive https://hydra.nixos.org/build/142426623/nixlog/2 How do we make sure all other replaced hashes are correct? Also move pkg-config dependency to nativeBuildInputs ZHF: #122042 --- pkgs/development/idris-modules/sdl2.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/development/idris-modules') diff --git a/pkgs/development/idris-modules/sdl2.nix b/pkgs/development/idris-modules/sdl2.nix index 943db9e87a0..2e06b036825 100644 --- a/pkgs/development/idris-modules/sdl2.nix +++ b/pkgs/development/idris-modules/sdl2.nix @@ -12,8 +12,11 @@ build-idris-package rec { idrisDeps = [ effects ]; - extraBuildInputs = [ + nativeBuildInputs = [ pkg-config + ]; + + extraBuildInputs = [ SDL2 SDL2_gfx ]; @@ -24,7 +27,7 @@ build-idris-package rec { owner = "steshaw"; repo = "idris-sdl2"; rev = version; - sha256 = "0hqhg7l6wpkdbzrdjvrbqymmahziri07ba0hvbii7dd2p0h248fv"; + sha256 = "1jslnlzyw04dcvcd7xsdjqa7waxzkm5znddv76sv291jc94xhl4a"; }; meta = { -- cgit 1.4.1