From c9894ab68a14e59d256f1774d656e2b4fa96d1d1 Mon Sep 17 00:00:00 2001 From: shimun Date: Fri, 30 Oct 2020 16:23:49 +0100 Subject: [PATCH] filter result --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index c6d172a..b31c5c7 100644 --- a/default.nix +++ b/default.nix @@ -9,7 +9,7 @@ in with pkgs; stdenv.mkDerivation { name = "solo"; outputs = [ "out" ]; - src = with lib; builtins.filterSource (path: type: !(hasSuffix path "hex" || hasSuffix path "sha256")) src; + src = with lib; builtins.filterSource (path: type: !(hasSuffix path "hex" || hasSuffix path "sha256" || baseNameOf path == "result")) src; buildInputs = [ gnumake gcc gcc-arm-embedded-8 git python-with-my-packages ]; phases = [ "unpackPhase" "configurePhase" "buildPhase" "installPhase" ]; installPhase = ''