diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-11-30 11:42:24 +0200 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-12-10 09:26:02 +0000 |
commit | c3b531d8aa5d05e0abf27d84007593e74f5956b5 (patch) | |
tree | a14568570a09995b3041acf5a0367d49504dd0d1 /pkgs/top-level/nim-overrides.nix | |
parent | 6fb94a8e0f02696c831a6c161b0ba7cd6375c742 (diff) |
nimOverrides: warn on bad version of hashlib
Diffstat (limited to 'pkgs/top-level/nim-overrides.nix')
-rw-r--r-- | pkgs/top-level/nim-overrides.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/top-level/nim-overrides.nix b/pkgs/top-level/nim-overrides.nix index 910f5c8bcae41..34db79a6a4ead 100644 --- a/pkgs/top-level/nim-overrides.nix +++ b/pkgs/top-level/nim-overrides.nix @@ -32,6 +32,14 @@ buildInputs = buildInputs ++ [ getdns ]; }; + hashlib = lockAttrs: + lib.trivial.warnIf + (lockAttrs.rev == "84e0247555e4488594975900401baaf5bbbfb531") + "the selected version of the hashlib Nim library is hardware specific" + # https://github.com/khchen/hashlib/pull/4 + # remove when fixed upstream + (_: _: { }); + nimraylib_now = lockAttrs: finalAttrs: { buildInputs ? [ ], ... }: { buildInputs = buildInputs ++ [ raylib ]; |