| 29 May 2024 |
isabel | I'm still completely lost with this issue even setting verbosity = lvlInfo; as the only thing in this diff fixes it for me. absolutely insane. | 07:34:47 |
jade_ | are you sure it's not that you're getting gaslit by --refresh or so | 07:37:42 |
jade_ | * are you sure it's not that you're getting gaslit by --refresh or so? | 07:37:43 |
jade_ | hm, no | 07:37:57 |
jade_ | that shouldn't be it | 07:37:59 |
jade_ | does nix flake metadata behave differently? | 07:38:06 |
isabel | hum no, it seems im getting gaslight by my terminal it seems to always go down the `isatty` route | 08:08:25 |
isabel | In reply to @isabel:isabelroses.com I'm still completely lost with this issue even setting verbosity = lvlInfo; as the only thing in this diff fixes it for me. absolutely insane. this actually didn't work with a different url | 08:08:58 |
puck | fetcher cache? | 10:09:12 |
isabel | If that's goes to `~/. cache/nix` I cleared it on each run | 10:11:35 |
puck | ah, hmm | 10:17:31 |
Grimmauld (moving to @grimmauld:grapevine.grimmauld.de) | I might give it a poke, seems there is a repro and all. Will be slow eating all the compiles but oh well. | 10:34:41 |
isabel | Yeah... I complied it about 10 times to track down the commit. Since the only known working commit I was working with was the one that added it. | 10:46:16 |
| Ash joined the room. | 12:51:57 |
| tauphi changed their profile picture. | 16:44:12 |
| tauphi changed their profile picture. | 16:46:52 |
| raitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 7248). | 17:09:28 |
@irenes:matrix.org | wow this link think | 23:07:31 |
@irenes:matrix.org | I'm read in on it now | 23:07:35 |
@irenes:matrix.org | *thing | 23:07:38 |
| 30 May 2024 |
delroth | Qyriad: I'm curious, any details and/or wip CL showing how you're fixing the static builds? I'm sad I must have missed a less complex way to fix them when I tried a few weeks ago :p | 01:08:12 |
Qyriad | I'm just applying link_whole : where relevant conditional on get_option('default_library') == 'static' | 01:09:44 |
Qyriad | Plus some other stuff in the derivation that wasn't right for static builds | 01:09:57 |
delroth | oh, I couldn't get this to work because then stuff linking with libexpr would break due to libexpr link_whole-ing libstore but meson not passing the transitive dependencies of libstore to the builds | 01:10:59 |
delroth | must have missed something when I tried | 01:11:05 |
delroth | cool that this does end up working | 01:11:12 |
Qyriad | the trick is to only link_whole : on executables | 01:18:01 |
Qyriad | liblixexpr = declare_dependency(
include_directories : include_directories('.'),
link_with : libexpr,
)
if is_static
liblixexpr_mstatic = declare_dependency(
include_directories : include_directories('.'),
link_whole : libexpr,
)
else
liblixexpr_mstatic = liblixexpr
endif
and then
nix = executable(
'nix',
….
dependencies : [
liblixcmd,
liblixutil,
liblixstore_mstatic,
liblixexpr_mstatic,
liblixfetchers_mstatic,
liblixmain,
boehm,
nlohmann_json,
],
)
| 01:19:55 |
Qyriad | liblixexpr = declare_dependency(
include_directories : include_directories('.'),
link_with : libexpr,
)
if is_static
liblixexpr_mstatic = declare_dependency(
include_directories : include_directories('.'),
link_whole : libexpr,
)
else
liblixexpr_mstatic = liblixexpr
endif
and then
nix = executable(
'nix',
…
dependencies : [
liblixcmd,
liblixutil,
liblixstore_mstatic,
liblixexpr_mstatic,
liblixfetchers_mstatic,
liblixmain,
boehm,
nlohmann_json,
],
)
| 01:20:11 |
delroth | ugh, hacky | 01:22:12 |