From dcae0f9c8a94f05bf55cf9b6fbc773502ab5784f Mon Sep 17 00:00:00 2001 From: V Date: Sat, 14 Aug 2021 03:10:08 +0200 Subject: ripple/nix: build everything with naersk Yes, it really is that simple. Naersk is great! Change-Id: I183f5bd0d2547a368f32bbc42fddf03e7cb03331 --- ripple/nix/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ripple/nix/default.nix') diff --git a/ripple/nix/default.nix b/ripple/nix/default.nix index cf4273b..590aec6 100644 --- a/ripple/nix/default.nix +++ b/ripple/nix/default.nix @@ -5,6 +5,9 @@ let sources = import ./sources.nix {}; in import sources.nixpkgs { overlays = [ (final: prev: { + # This was not available in nixpkgs at the time of writing. + naersk = final.callPackage sources.naersk {}; + rustfmt = prev.rustfmt.overrideAttrs ({ patches ? [], ... }: { patches = patches ++ [ # Adds an option variant that merges all use statements into a single block. -- cgit 1.4.1