From be80103bd659e922569deb9c52982a8c081fb698 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 17 Jul 2018 08:23:23 +0200 Subject: monogame-patcher: Use cleanSource for the src attr While there won't be any .git directories within ./src, I still create Vim swap files all the time when editing stuff. So let's make sure that those swap files are not included in the src input of the derivation. Signed-off-by: aszlig --- pkgs/games/build-support/monogame-patcher/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games') diff --git a/pkgs/games/build-support/monogame-patcher/default.nix b/pkgs/games/build-support/monogame-patcher/default.nix index bd7b8c9c..2d5a2b4a 100644 --- a/pkgs/games/build-support/monogame-patcher/default.nix +++ b/pkgs/games/build-support/monogame-patcher/default.nix @@ -1,10 +1,10 @@ -{ buildDotnetPackage, fetchNuGet }: +{ lib, buildDotnetPackage, fetchNuGet }: buildDotnetPackage { baseName = "monogame-patcher"; version = "0.1.0"; - src = ./src; + src = lib.cleanSource ./src; buildInputs = [ (fetchNuGet { -- cgit 1.4.1