about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/c2ffi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/c2ffi/default.nix')
-rw-r--r--pkgs/development/tools/misc/c2ffi/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/c2ffi/default.nix b/pkgs/development/tools/misc/c2ffi/default.nix
index a66ae2aa35ea0..56dbcb06a12ce 100644
--- a/pkgs/development/tools/misc/c2ffi/default.nix
+++ b/pkgs/development/tools/misc/c2ffi/default.nix
@@ -24,6 +24,9 @@ llvmPackages.stdenv.mkDerivation {
   passthru.updateScript = unstableGitUpdater {
     url = "https://github.com/rpav/c2ffi.git";
     branch = c2ffiBranch;
+    # Tags only exist for older LLVM versions, so they would result in nonsense names
+    # like: c2ffi-llvm-16.0.0-11.0.0.0-unstable-YYYY-MM-DD
+    hardcodeZeroVersion = true;
   };
 
   nativeBuildInputs = [
@@ -49,7 +52,7 @@ llvmPackages.stdenv.mkDerivation {
 
   meta = with lib; {
     homepage = "https://github.com/rpav/c2ffi";
-    description = "An LLVM based tool for extracting definitions from C, C++, and Objective C header files for use with foreign function call interfaces";
+    description = "LLVM based tool for extracting definitions from C, C++, and Objective C header files for use with foreign function call interfaces";
     mainProgram = "c2ffi";
     license = licenses.lgpl21Only;
     maintainers = with maintainers; [ ];