<Ericson2314>
Jtojnar I think there some sort of autoconf change I've seen it in other packages too
<Ericson2314>
Gaelan checking
<Ericson2314>
No idea about libc in particular
<Ericson2314>
Gaelan the libc bin could well be a holdover from earlier era. I'm not sure people user install the wrapped tools much, and they can always manually install libc for binaries of they like
<Gaelan>
alright, i'll remove it and see if it breaks anything
<Gaelan>
(which means rebuilding stdenv for the god-knows-how-manyth time in the past week…)
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
<Gaelan>
Ericson2314++ btw
<{^_^}>
Ericson2314's karma got increased to 6
<Ericson2314>
Gaelan++ for rebuilding stdenv
<{^_^}>
Gaelan's karma got increased to 2
<Gaelan>
lol
<Ericson2314>
When you take things off my to-do list, or discoverer things I never knew to put on in the first place, it's very satisfying :)
<clever>
about producing a list of drv's like this for automated consumption
<clever>
i'm thinking stdout is already in use by things like nix-build and nix-instantiate
<clever>
stderr is filled with trace statements and other stuff
<clever>
so where is it best to log it all? maybe to a file, like $IFD_LOG_PATH ?
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-dev
orivej has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
pat_h has joined #nixos-dev
cole-h_ has quit [Quit: Goodbye]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
pat_h has quit [Quit: Connection closed]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
bgamari_ has joined #nixos-dev
chrisaw has quit [Ping timeout: 252 seconds]
cbarrett has quit [Ping timeout: 252 seconds]
bgamari has quit [Ping timeout: 252 seconds]
cbarrett has joined #nixos-dev
chrisaw has joined #nixos-dev
nschoe has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
<bennofs[m]>
Hydra.nixos.org question: I watched the build output of an in-progress build. Immediately after the build ended, I get "log file is not available". Why would that happen?
<bennofs[m]>
Ah, it's a hydra bug: if the package name contains a +, that is not URL encoded so the s3 log URL is wrong
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
__monty__ has joined #nixos-dev
teto has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos-dev
<alexarice[m]>
Does anyone know how much memory hydra has available for builds. I have a package that needs about 10GB of RAM to build and is currently told not to build on hydra though I'm wondering if this is necessary?
<MichaelRaskin>
I would assume it is also about the package being very large when built (and not popular enough)
<alexarice[m]>
the resulting package is very small though you are correct that it is likely not popular enough
<MichaelRaskin>
Hmm. What package it is?
<clever>
alexarice[m]: which package is it?
<alexarice[m]>
`agda-categories`
<alexarice[m]>
currently broken but I'm going to try to update the version
<MichaelRaskin>
Oh oh oh
<MichaelRaskin>
That probably counts as disproportionately CPU-expensive
<das_j>
But why? I thought only <> was using __nixPath, and import only imports the path it gets from <>
ris has joined #nixos-dev
<clever>
das_j: when you use scopedImport, it messes with the scope, and changes assumtions that where made at parse time
<clever>
das_j: when nix parses a file, and it comes across `import`, and there are no variables named such, and no with statements, it immediately wires that keyword up to the primop
<clever>
das_j: but when you scopedImport, you can change what `import` means, and that screws with how it parsed the file
<clever>
das_j: so nix has to re-parse it for your given overrides
<clever>
and there is no way to compare 2 sets recursively, so it cant know if you gave the same set twice
<clever>
so all caching on import is disabled
orivej has joined #nixos-dev
orivej_ has quit [Read error: Connection reset by peer]
evils has quit [Quit: Lost terminal]
evils has joined #nixos-dev
teto has joined #nixos-dev
drakonis1 has quit [Ping timeout: 246 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
drakonis1 has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
bridge[evilred] has quit [Remote host closed the connection]
<Gaelan>
So for some reason, building a darwin->linux cross gcc attempts to invoke ldconfig at build time
bridge[evilred] has joined #nixos-dev
red[evilred] has joined #nixos-dev
<Gaelan>
is there any reason that's necessary, or could i just patch it out and/or give it a dummy ldconfig?
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
<clever>
Gaelan: ldconfig will never work under nix, so you should just disable it
<Gaelan>
alright
<Gaelan>
now just need to figure out how to do that
<clever>
Gaelan: writeShellScriptBin "ldconfig" "exit 0" is a cheap way, then add it to nativeBuildInputs
<Gaelan>
santa will now run clever at lower priority, i guess
<cole-h>
It didn't say *where* on the nice list, though...
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
teto has quit [Ping timeout: 252 seconds]
Jackneill has quit [Ping timeout: 258 seconds]
alp has quit [Ping timeout: 256 seconds]
Jackneill has joined #nixos-dev
alp has joined #nixos-dev
teto has joined #nixos-dev
drakonis1 has quit [Ping timeout: 260 seconds]
drakonis1 has joined #nixos-dev
pat_h has joined #nixos-dev
pat_h has quit [Client Quit]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<matthewbauer>
@niksnut Does pure-eval disallow imports from /all/ paths? I was trying to build my nixos configuration with pure-eval, but can't out how to import's. Maybe i just want restrict-eval?
<matthewbauer>
I'm intentionally avoiding using flakes as of now, but that might be the only true fix
<gchristensen>
you have to use a builtins fetcher to get the path
phreedom has quit [Ping timeout: 240 seconds]
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
phreedom has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
<matthewbauer>
gchristensen: so that requires commiting & pushing everything right? I'd like a way to build the working tree as well
<gchristensen>
builtins.fetchGit { url = ./.; } or something works okay
<gchristensen>
but yeah pure mode is super intense and not conducive to iterating
<matthewbauer>
yeah i think restrict-eval is a little bit smaller step
<matthewbauer>
although iirc only pure eval can make use of caching?
<gchristensen>
probably yes
<niksnut>
only flakes can use caching
<matthewbauer>
hmm...
<matthewbauer>
i was under the impression flakes was just pure-eval + sugar, but it sounds like there is more to it
<matthewbauer>
(from a nix language perspective that is)
__monty__ has quit [Quit: leaving]
<emily>
hm? you can do (import ./foo.nix) fine, unless I'm misunderstanding?
<emily>
I do that in my flakes system config at least
<emily>
oh, I guess pure-eval is more restricted
justanotheruser has quit [Ping timeout: 246 seconds]
<matthewbauer>
yeah i think flakes has something to handle paths within the flake
page has quit [Quit: leaving]
<Gaelan>
anyone happen to have successfully built a darwin->linux cross gcc? i'd like to know if it ever worked so i can do a bisect
<Gaelan>
btw, matthewbauer, I just realized that #87724 is a complete mis-diagnosis. Gulp. I'll be opening a new issue shortly