about summary refs log tree commit diff
path: root/pkgs/tools/system/setserial
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-07-19 21:21:25 -0700
committerAdam Joseph <adam@westernsemico.com>2022-07-19 23:12:09 -0700
commitcb78371557f9f155c6ed5fc8e679e4f9df4fd497 (patch)
treea5a911d3f8693bb17c4bc197b4debb7054c6509a /pkgs/tools/system/setserial
parent7bc6fbcd8b3d4bb8eaa15ea7dc18b6d9fbf6fdf6 (diff)
downloadnixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.tar
nixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.tar.gz
nixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.tar.bz2
nixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.tar.lz
nixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.tar.xz
nixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.tar.zst
nixlib-cb78371557f9f155c6ed5fc8e679e4f9df4fd497.zip
setserial: fix cross compilation
The setserial derivation uses nroff at compile time, so groff should
be in nativeBuildInputs rather than buildInputs.
Diffstat (limited to 'pkgs/tools/system/setserial')
-rw-r--r--pkgs/tools/system/setserial/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/setserial/default.nix b/pkgs/tools/system/setserial/default.nix
index da5d3b2a0d11..be4ffa3388e7 100644
--- a/pkgs/tools/system/setserial/default.nix
+++ b/pkgs/tools/system/setserial/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "0jkrnn3i8gbsl48k3civjmvxyv9rbm1qjha2cf2macdc439qfi3y";
   };
 
-  buildInputs = [ groff ];
+  nativeBuildInputs = [ groff ];
 
   installFlags = [ "DESTDIR=$(out)" ];