nimPackages.atlas: fix building against nim2

This commit is contained in:
Marcus Ramberg 2023-10-05 00:21:58 +02:00 committed by Emery Hemingway
parent 275432f576
commit c3a6a37ed2

View file

@ -1,4 +1,4 @@
{ lib, buildNimPackage, fetchFromGitHub }:
{ lib, buildNimPackage, fetchFromGitHub, openssl }:
buildNimPackage (final: prev: {
pname = "atlas";
@ -10,6 +10,7 @@ buildNimPackage (final: prev: {
rev = "ab22f997c22a644924c1a9b920f8ce207da9b77f";
hash = "sha256-TsZ8TriVuKEY9/mV6KR89eFOgYrgTqXmyv/vKu362GU=";
};
buildInputs = [ openssl ];
prePatch = ''
rm config.nims
''; # never trust a .nims file