about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-03-18 09:18:54 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-03-23 08:14:57 +0000
commit13c1938593e9a5243c06c4f71408a99bff2d2fa6 (patch)
tree82fb5878eae2ccb6e612997e3169f1bff98c5ec1
parent4be2b7e82654782b908ab650f9587eb4ebbcfb7f (diff)
downloadnixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.tar
nixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.tar.gz
nixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.tar.bz2
nixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.tar.lz
nixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.tar.xz
nixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.tar.zst
nixlib-13c1938593e9a5243c06c4f71408a99bff2d2fa6.zip
localetime: fix build with strict deps
-rw-r--r--pkgs/tools/system/localtime/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/system/localtime/default.nix b/pkgs/tools/system/localtime/default.nix
index 39e1bc7b6e7d..a12d70315d91 100644
--- a/pkgs/tools/system/localtime/default.nix
+++ b/pkgs/tools/system/localtime/default.nix
@@ -9,13 +9,14 @@ buildGoPackage rec {
     rev = "2e7b4317c723406bd75b2a1d640219ab9f8090ce";
     sha256 = "04fyna8p7q7skzx9fzmncd6gx7x5pwa9jh8a84hpljlvj0kldfs8";
   };
+
   goPackagePath = "github.com/Stebalien/localtime";
 
-  buildInputs = [ m4 ];
+  nativeBuildInputs = [ m4 ];
 
-  makeFlags = [ 
-    "PREFIX=${placeholder "out"}" 
-    "BINDIR=${placeholder "bin"}/bin" 
+  makeFlags = [
+    "PREFIX=${placeholder "out"}"
+    "BINDIR=${placeholder "bin"}/bin"
   ];
 
   buildPhase = ''