Received: from box.euandre.org (box.euandre.org [46.101.160.115]) by mail-b.sr.ht (Postfix) with ESMTPS id 9ED40FF107 for <~euandreh/public-inbox@lists.sr.ht>; Tue, 6 Oct 2020 09:09:48 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=pass (2048-bit key) header.d=euandre.org header.i=@euandre.org header.b=sXxvO0HC Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id DF0A2FC991; Tue, 6 Oct 2020 06:09:45 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1601975387; bh=R37p/WxSUhw6s3+NsQXWU1P6/NnfwRrO7khrmNnifPs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=sXxvO0HCnYXM8ovt5uOk5bZ/3ZTzOR9HVWXgURy/MicF6fwxTJJfOMCC4+b/ZanpX hcQc+ZSsiOgevD6oR8MZE630bHDpXNs/FskZFM0gRAwG68dfJ/lpj2ogo5GQ9fEbKy oH0MD7Yd2suVGevV9oULcadlt5g8Y75Yuazzwx0HOoF12A4BQWtRrBsBV/Qp7yNoZm xjNIf9MwbD2MsEWlF/K9JeDEdsHazcpQh2RiVd1/G497B9F4yEbE5HmkOP5aGP5jUv yudSn0cBCWQ7S/FXeHXUyhZeebiQnFWkpJeIfUSEhGSOoim1GE/gMi1U7rA1qsWaoy jVVWomlh//r5w== From: EuAndreh To: andi@notmuch.email, ~euandreh/public-inbox@lists.sr.ht Cc: Subject: Re: crate2nix In-Reply-To: <20201006075258.52tz5u5a36fpbfwy@wrt> References: <20201006075258.52tz5u5a36fpbfwy@wrt> Date: Tue, 06 Oct 2020 06:09:27 -0300 Message-ID: <87r1qbafg8.fsf@euandre.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable andi@notmuch.email writes: > Hi, Hi there! > Just saw your crate2nix code and it looks very nice and clean! =E2=98=BA=EF=B8=8F > Just a heads-up, since you might not aware of all the alternatives out > there, there is a version from Eelco that basically does the same as > yours but also handles git dependencies. I did blog about that briefly > last month [1]. I wasn't aware of it. At a first glance, it looks remarkably similar! Maybe I'm on to something =F0=9F=98=AC. I'll try it later, thanks for the l= inks. > I am curious if you were aware of that and/or naersk [2] as both of them > also come with the promise of no generated files and no *2nix commands > to execute. I did try naersk. It was the best one I found, in fact. It does use Cargo under the hood to drive things, but it doesn't expose the environment it builds. With it you can parameterize the Cargo commands, but not run it by yourself. In fact, there's a snippet that I copied directly from naersk[0]. I didn't mention it on the README, only on the commit log. [0]: https://git.euandreh.xyz/cargo2nix/commit/?id=3Dc75e7e2d3ee7f7e074ea9f= 8e5b959d6395338acc