evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
kenjis1 has joined #nixos-dev
<nh2>
can anybody explain me Hydra output? In https://hydra.nixos.org/eval/1566019#tabs-now-fail it shows 146 packages as "Newly failing jobs", most as "Dependency failed". The failed dependency is `webkitgtk`. But that itself is not in "Newly failing jobs". How can that be?
<andi->
nh2: my guess would be that webkitgtk is not a direct target of the jobset but just pulled in by others
<nh2>
andi-: ah, that didn't occur to me that it would then not be shown, this would explain it
kenjis1 has quit [Ping timeout: 248 seconds]
kenjis1 has joined #nixos-dev
avn has quit [Read error: Connection reset by peer]
<samueldr>
looks like it's for testing *the firmware*
psyanticy has quit [Quit: Connection closed for inactivity]
<worldofpeace>
Should git be in the minimal install media?
Synthetica has quit [Quit: Connection closed for inactivity]
<gchristensen>
imo no
<bennofs>
it's quite useful to clone your versioned config though
<gchristensen>
good thing we have nix-shell and nix-env :)
<worldofpeace>
My workflow is always cloning some repo, and you can't use builtins.fetchGit and some people's configs use this
<bennofs>
right, git needs network anyway, so you might as well just install git?
<gchristensen>
yep
<worldofpeace>
I think I might PR it because it's always annoying me
<gchristensen>
you're of course to PR it, but I don't think it should merge
<__monty__>
Does minimal include X?
<gchristensen>
no
<ajs124>
Seeing how easy it is to customise the iso, I'd always vote for keeping it. If you really need something on there, just build your own.
Synthetica has joined #nixos-dev
<worldofpeace>
I just think it's terrible that you can't just use a part of nix's builtins without some step of nix-env'ing git. I wonder how many other minimal linux distro images include git
<gchristensen>
then we would also need to include mercurial
drakonis1 is now known as drakonis
<qyliss>
Minimal distro images are different to minimal installer images, also
<simpson>
To me, git is a lot like curl/wget; it's important enough to be worth the few MiB it might take up.
<qyliss>
If this was an image people were actually supposed to be using for more than just installation we'd probably have different things
<worldofpeace>
qyliss: if you define it as just an installer image and you can't realize a config with fetchGit then I see no reason it shouldn't be there
<gchristensen>
it doesn't seem onerous to me for someone to need to run nix-env -iA git
<gchristensen>
if they don't want to, they could fetch the not minimal
<gchristensen>
or make their own
<qyliss>
Is it likely that anybody is fetchGit-ing their configurations in the installer? That sounds like a bad experience regardless of whether you have to install Git first.
<worldofpeace>
gchristensen: "if they don't want to, they could fetch the not minimal" that makes it sound like it's in the graphical, I don't think it is
<gchristensen>
let's put it in there :)
<ajs124>
TIL: those isos include screen. And here I am "nix-shell -p tmux"ing on them, if I don't have my own, every time.
<{^_^}>
#78127 (by snicket2100, 1 day ago, open): `nixos-install` from the installation media unable to handle `builtins.fetchGit`
<gchristensen>
I wonder what happened when they ran it. what the error was, for example
<worldofpeace>
ajs124: I don't think that's analogous to what I've mentioned?
<qyliss>
okay, that's convinced me
<gchristensen>
I'm not convinced yet, but seeing the user's report is persuasive
<qyliss>
as long as we also include mercurial, and the installer size doesn't balloon too much
<gchristensen>
I would rather fix this with improved error handling (why I wonder what their experience was.) concretely: can we notice it failed because of git, and tell them how to install git?
<worldofpeace>
gchristensen: I suppose you're suggesting it could error out helpful to use nix tools to access it? I think that's terrible UX for an installer image to not be able to use all the features of nix already
<qyliss>
and any other tool required my
<worldofpeace>
a good error should exist though
<qyliss>
*by some Nix functionality
<__monty__>
Fwiw, "minimal" suggests to me something that might be suited as a base image for deploys at scale. Which I suppose you might want to keep as small as possible to avoid redundant network traffic.
<gchristensen>
Nix not having Git and Mercurial as dependencies is an intentional choice, and adding git to the installer is practically one we can never undo
<worldofpeace>
true
<qyliss>
I would like to know how much bigger it would make the installer
<worldofpeace>
I can try it out to see qyliss
<gchristensen>
I *don't* think it is a terrible UX to have optionally-enabled features, as long as using them when they're not available gives a reasonable UX on how to do so
<simpson>
Could we undo having fetchGit in builtins? Kind of misleading to call it "builtins" under these circumstances.
<ajs124>
gchristensen: why can't it be undone?
<__monty__>
Does fetchTarball get the same treatment may be another consideration.
<qyliss>
how much with just git, and how much with git and mercurial
<gchristensen>
simpson: only by providing the ability for a Nix expression to execute programs as the evaluating user
<aanderse>
niksnut: random question: attribute sets don't store context in their keys, just values. i can't say { "${pkgs.foo}" = "bar"; }. i assume that is never going to change, even if i ask nicely? :-)
<gchristensen>
:thinking:
<niksnut>
aanderse: I think that would be pretty hard/expensive to implement
<niksnut>
since attrset keys are not strings but symbols
<aanderse>
niksnut: yeah i figured as much... :-(
<aanderse>
thanks for confirming though!
lovesegfault has quit [Ping timeout: 272 seconds]
lovesegfault has joined #nixos-dev
lovesegfault has quit [Client Quit]
orivej has quit [Ping timeout: 260 seconds]
kenjis2 has quit [Ping timeout: 260 seconds]
capisce_ is now known as capisce
pie_ has joined #nixos-dev
pie_[bnc] has quit [Quit: No Ping reply in 180 seconds.]
pie_[bnc] has joined #nixos-dev
pie_ has quit [Quit: pie_]
kreisys has quit [Read error: No route to host]
ixxie has joined #nixos-dev
__monty__ has quit [Quit: leaving]
Synthetica has quit [Quit: Connection closed for inactivity]