summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2022-08-12 17:41:10 -0700
committerGitHub <noreply@github.com>2022-08-12 17:41:10 -0700
commit83bcf0cef149dda31307be53e6ab001a9ef74417 (patch)
tree8e6ce492975e11cfaee6cc8772387ccd31c8c1b7
parentbf0da39f9279f1bd215df04730abb1d28d433111 (diff)
parent0848d3c8ab771501b1846e4336de2b39c5cdc172 (diff)
Merge pull request #186336 from kira-bruneau/localtime
-rw-r--r--pkgs/tools/system/localtime/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/system/localtime/default.nix b/pkgs/tools/system/localtime/default.nix
index b8f2b4605289..ee2a25bdf79d 100644
--- a/pkgs/tools/system/localtime/default.nix
+++ b/pkgs/tools/system/localtime/default.nix
@@ -19,6 +19,14 @@ buildGoModule {
nativeBuildInputs = [ m4 ];
+ buildPhase = ''
+ runHook preBuild
+ make PREFIX="$out"
+ runHook postBuild
+ '';
+
+ doCheck = false; # no tests
+
installPhase = ''
runHook preInstall
make PREFIX="$out" install