summary refs log tree commit diff
path: root/pkgs/applications/version-management/fossil
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-01-20 20:50:58 +0000
committerGitHub <noreply@github.com>2023-01-20 20:50:58 +0000
commitfb95bbd0b9f0cb3426f66ea4a319cac1544e4d0d (patch)
treef5c800d0605f92fe372ce47630eee0f09377f1f9 /pkgs/applications/version-management/fossil
parent204168e060f02b3a4611061621768d0929eadba5 (diff)
fossil: fix cross
Co-authored-by: Artturi <Artturin@artturin.com>
Diffstat (limited to 'pkgs/applications/version-management/fossil')
-rw-r--r--pkgs/applications/version-management/fossil/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix
index ea06107ed7ca8..174094dedea4c 100644
--- a/pkgs/applications/version-management/fossil/default.nix
+++ b/pkgs/applications/version-management/fossil/default.nix
@@ -3,6 +3,7 @@
 , tcl
 , libiconv
 , fetchurl
+, buildPackages
 , zlib
 , openssl
 , readline
@@ -23,6 +24,9 @@ stdenv.mkDerivation rec {
     sha256 = "1knff50rr8f39myxj50fprb9ya87cslmwz7zzfya56l33r7i7jh3";
   };
 
+  # required for build time tool `./tools/translate.c`
+  depsBuildBuild = [ buildPackages.stdenv.cc ];
+
   nativeBuildInputs = [ installShellFiles tcl tcllib ];
 
   buildInputs = [ zlib openssl readline which ed ]