From e14d62088740beae372fc0df42db510d5a2dbeef Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Wed, 26 Nov 2025 16:14:25 -0800 Subject: [PATCH] remove comments, not needed --- default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/default.nix b/default.nix index 3ef8cf3..f07c9f8 100644 --- a/default.nix +++ b/default.nix @@ -8,9 +8,7 @@ let cmakeContent = builtins.readFile ./CMakeLists.txt; cmakeLines = lib.splitString "\n" cmakeContent; - # Find the line containing set(KE_VERSION "...") versionLine = lib.findFirst (l: builtins.match ".*set\\(KE_VERSION \".+\"\\).*" l != null) (throw "KE_VERSION not found in CMakeLists.txt") cmakeLines; - # Extract the version number version = builtins.head (builtins.match ".*set\\(KE_VERSION \"(.+)\"\\).*" versionLine); in stdenv.mkDerivation {