-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlite{,-analyzer}: use the same src #40945
Conversation
|
||
configureFlags = [ "--enable-threadsafe" ] ++ optional interactive "--enable-readline"; | ||
configureFlags = [ | ||
"--disable-tcl" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this contradict nativeBuildInputs = [ tcl ];
that you added just a few lines above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, tcl
is required anyway. This flag is used to decide whether to build libtclsqlite.so
or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like it could use a comment.
@GrahamcOfBorg build sqlite sqlite-analyzer |
Success on aarch64-linux (full log) Attempted: sqlite, sqlite-analyzer Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: sqlite, sqlite-analyzer Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: sqlite, sqlite-analyzer Partial log (click to expand)
|
configureFlags = [ | ||
"--disable-tcl" | ||
"--enable-threadsafe" | ||
(optional interactive "--enable-readline") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This produces nested lists like:
[ "--disable-tcl" "--enable-threadsafe" [] ]
or
[ "--disable-tcl" "--enable-threadsafe" ["--enable-readline"] ]
In the end when converted to shell environment variables the result is the same, but it's a bit confusing IMO.
Neat, thank you! |
LGTM. Much cleaner now. |
This reverts commit e28a586.
This reverts commit e28a586.
Revert "sqlite{,-analyzer}: use the same src (#40945)"
cc @dtzWill @dezgeg