about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-17 08:23:23 +0200
committeraszlig <aszlig@nix.build>2018-07-19 06:35:22 +0200
commitbe80103bd659e922569deb9c52982a8c081fb698 (patch)
treef9d421afca9b0c689e83b95ea30eb9bf6d2f2849 /pkgs/games
parentcf243359e3b0a607a74cbc2cf7c7eb268a46b945 (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/build-support/monogame-patcher/default.nix4
1 files changed, 2 insertions, 2 deletions
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 {