remove comments, not needed

This commit is contained in:
2025-11-26 16:14:25 -08:00
parent db38266849
commit e14d620887

View File

@@ -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 {