summaryrefslogtreecommitdiffstats
path: root/pkgs/games
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-01-20 07:20:11 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-01-20 09:11:11 +1000
commit31f5dd3f3655fbedac19f64f77844aa5ed79501c (patch)
treec2a0358e4cd260c2e616c3478f0c4c93ab7634de /pkgs/games
parent33fdfd07d292e911683706640107ae6a15537a92 (diff)
treewide: editorconfig fixes
- remove trailing whitespace - use spaces for indentation
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix4
-rw-r--r--pkgs/games/dwarf-fortress/legends-browser/default.nix2
-rw-r--r--pkgs/games/dwarf-fortress/wrapper/default.nix2
-rw-r--r--pkgs/games/frogatto/data.nix4
-rw-r--r--pkgs/games/globulation/default.nix6
-rw-r--r--pkgs/games/rimshot/default.nix2
-rw-r--r--pkgs/games/snake4/default.nix2
7 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix
index 6871a611784c..bd75a66b4879 100644
--- a/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix
+++ b/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix
@@ -6,10 +6,10 @@ let
inifile = "linux/v0.${dwarf-fortress.baseVersion}.${dwarf-fortress.patchVersion}_${platformSlug}.ini";
in
-
+
stdenv.mkDerivation {
name = "dwarf-therapist-${dwarf-therapist.version}";
-
+
wrapper = ./dwarf-therapist.in;
paths = [ dwarf-therapist ];
diff --git a/pkgs/games/dwarf-fortress/legends-browser/default.nix b/pkgs/games/dwarf-fortress/legends-browser/default.nix
index 6da6d97ff244..1efae4d2802a 100644
--- a/pkgs/games/dwarf-fortress/legends-browser/default.nix
+++ b/pkgs/games/dwarf-fortress/legends-browser/default.nix
@@ -8,7 +8,7 @@ let
url = "https://github.com/robertjanetzko/LegendsBrowser/releases/download/${version}/legendsbrowser-${version}.jar";
sha256 = "05b4ksbl4481rh3ykfirbp6wvxhppcd5mvclhn9995gsrcaj8gx9";
};
-
+
script = writeShellScriptBin "legends-browser" ''
set -eu
BASE="$HOME/.local/share/df_linux/legends-browser/"
diff --git a/pkgs/games/dwarf-fortress/wrapper/default.nix b/pkgs/games/dwarf-fortress/wrapper/default.nix
index 79b63e3ce9ee..73288ab659f3 100644
--- a/pkgs/games/dwarf-fortress/wrapper/default.nix
+++ b/pkgs/games/dwarf-fortress/wrapper/default.nix
@@ -60,7 +60,7 @@ let
'' + lib.optionalString enableTWBT ''
substituteInPlace $out/data/init/init.txt \
--replace '[PRINT_MODE:2D]' '[PRINT_MODE:TWBT]'
- '' +
+ '' +
lib.optionalString enableTextMode ''
substituteInPlace $out/data/init/init.txt \
--replace '[PRINT_MODE:2D]' '[PRINT_MODE:TEXT]'
diff --git a/pkgs/games/frogatto/data.nix b/pkgs/games/frogatto/data.nix
index a077d01f3b65..e911709dffcc 100644
--- a/pkgs/games/frogatto/data.nix
+++ b/pkgs/games/frogatto/data.nix
@@ -1,9 +1,9 @@
{ lib, stdenv, fetchFromGitHub }:
-
+
stdenv.mkDerivation {
pname = "frogatto-data";
version = "unstable-2018-12-18";
-
+
src = fetchFromGitHub {
owner = "frogatto";
repo = "frogatto";
diff --git a/pkgs/games/globulation/default.nix b/pkgs/games/globulation/default.nix
index f25b1084b852..9150541afd08 100644
--- a/pkgs/games/globulation/default.nix
+++ b/pkgs/games/globulation/default.nix
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
patches = [ ./header-order.patch ./public-buildproject.patch
(fetchpatch {
- url = "https://bitbucket.org/giszmo/glob2/commits/c9dc715624318e4fea4abb24e04f0ebdd9cd8d2a/raw";
- sha256 = "0017xg5agj3dy0hx71ijdcrxb72bjqv7x6aq7c9zxzyyw0mkxj0k";
- })
+ url = "https://bitbucket.org/giszmo/glob2/commits/c9dc715624318e4fea4abb24e04f0ebdd9cd8d2a/raw";
+ sha256 = "0017xg5agj3dy0hx71ijdcrxb72bjqv7x6aq7c9zxzyyw0mkxj0k";
+ })
];
postPatch = ''
diff --git a/pkgs/games/rimshot/default.nix b/pkgs/games/rimshot/default.nix
index 381d00bf992c..e7f2f2e781a4 100644
--- a/pkgs/games/rimshot/default.nix
+++ b/pkgs/games/rimshot/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
unpackPhase = ''
unzip -j $src
- '';
+ '';
installPhase =
''
diff --git a/pkgs/games/snake4/default.nix b/pkgs/games/snake4/default.nix
index e5419cef249e..c0cad5f05d33 100644
--- a/pkgs/games/snake4/default.nix
+++ b/pkgs/games/snake4/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
--replace "-o \$(OWNER) -g \$(GROUP)" "" \
--replace "4755" "755"
'';
-
+
installFlags = [ "INSTLIBDIR=$(out)/lib"
"INSTBINDIR=$(out)/bin"
"INSTMANDIR=$(out)/man" ];