worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
Graypup_ has joined #nixos-dev
teto has quit [Quit: WeeChat 2.9]
{`-`} has joined #nixos-dev
{`-`} has joined #nixos-dev
{`-`} has joined #nixos-dev
rajivr has joined #nixos-dev
evils has quit [Ping timeout: 240 seconds]
evils has joined #nixos-dev
AlwaysLivid has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
confusus has joined #nixos-dev
jonringer has quit [Ping timeout: 244 seconds]
justanotheruser has joined #nixos-dev
sascha has joined #nixos-dev
sascha is now known as Guest66578
confusus has quit [Remote host closed the connection]
Guest66578 has quit [Client Quit]
sgrunert has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
alp has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
sgrunert has quit [Remote host closed the connection]
sgrunert has joined #nixos-dev
alp has joined #nixos-dev
<manveru> Ericson2314: like a fixed output derivation?
orivej has joined #nixos-dev
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
AlwaysLivid has joined #nixos-dev
ris has quit [Ping timeout: 246 seconds]
lopsided98 has joined #nixos-dev
teto has joined #nixos-dev
<manveru> niksnut: is there any way to have git with submodules as a flake input?
<niksnut> manveru: haven't tried, but I think you should be able to add ?submodules=true to a git input
<niksnut> not github
<niksnut> or "submodules = true;" if you're using the attrset input notation
<manveru> it works with the query param, not the attr it seems, thanks :)
AlwaysLivid has quit [Quit: We are a collection of 7 billion codependent atoms. Stop hating based on constructs and come along for the ride.]
alp has quit [Ping timeout: 272 seconds]
<manveru> niksnut: sorry, i spoke too soon... even in the url it was ignored, and as attr it causes a schizophrenic error :)
<niksnut> eh
<manveru> if i set `submodules = true;`, it's `flake input attribute 'submodules' is a Boolean while a string is expected`, when i set `submodules = "true";` it's `input attribute 'submodules' is not a Boolean`
<niksnut> doh
alp has joined #nixos-dev
<manveru> seems like it's not extracted from the url either at https://github.com/NixOS/nix/blob/master/src/libfetchers/git.cc#L45
<manveru> only rev/ref/shallow are for some reason :)
<manveru> actually `shallow` is also broken
<manveru> hm, i don't get how this is working...
<manveru> tried adding submodules/shallow to FlakeInput, but it seems like it is unable to parse the lock still
<manveru> debugging nix takes ages... really wish we had recursive nix for that :|
<hexa-> worldofpeace: are you still planning to look at #91790?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/91790 (by piegamesde, 9 weeks ago, open): make-desktopitem: refactoring, documentation and improvement
orivej has quit [Ping timeout: 260 seconds]
<worldofpeace> hexa-: I'm super tight on time these days, so I probably shouldn't promise anything 😸
<hexa-> noted
<niksnut> manveru: hm, why does it take ages?
<manveru> building C++ isn't known for being fast :P
<clever> niksnut: 20mins to build nix, and nix-shell builds fail due to /usr/local not existing
<niksnut> recursive nix won't help with that
<clever> recursive nix would let the normal `nix-build` cache each .o seperately
<niksnut> but I hope you're not doing an edit-compile-debug cycle using nix-build, that would be excruciatingly painful
<manveru> well, that's what i did :)
<clever> because nix-shell failed due to /usr/local not existing
<niksnut> clever: pass --prefix to configure
<clever> we just did that, and its building again
<niksnut> or call configurePhase, Nix has a shellHook that sets a prefix under $(pwd)
<clever> we checked for `echo "$configurePhase"` and it didnt exist
<niksnut> are you using bash?
<clever> yeah
<manveru> zsh
<manveru> though i tried `nix-shell` as well, which should be bash
<clever> nix-shell launched a bash under the zsh
<manveru> but `nix develop` is zsh
<niksnut> configurePhase is not a variable but a function btw
<niksnut> btw you can now use nix develop [--configure|--install|--installcheck]
<niksnut> instead of running make in a subshell
<manveru> oh, it takes arguments?
<niksnut> since last friday
<niksnut> also worth mentioning that it now installs into $(pwd)/outputs/{out,dev,doc}
<gchristensen> neat
<Ericson2314> manveru: but at eval time
<Ericson2314> worked around it so it's fine
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
teto has quit [Quit: WeeChat 2.9]
<worldofpeace> omg niksnut that's cooollllll!
jonringer has joined #nixos-dev
jonringer has quit [Ping timeout: 240 seconds]
ScottHDev has left #nixos-dev ["The Lounge - https://thelounge.chat"]
alp has quit [Ping timeout: 246 seconds]
sgrunert has quit [Remote host closed the connection]
jonringer has joined #nixos-dev
alp has joined #nixos-dev
sascha has joined #nixos-dev
sascha is now known as Guest48841
Guest48841 has quit [Client Quit]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
jonringer has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
bennofs_ has joined #nixos-dev
bennofs__ has quit [Ping timeout: 260 seconds]
cole-h has quit [*.net *.split]
evils has quit [*.net *.split]
Graypup_ has quit [*.net *.split]
clever has quit [*.net *.split]
drakonis has quit [*.net *.split]
lassulus has quit [*.net *.split]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
Graypup_ has joined #nixos-dev
evils has joined #nixos-dev
cole-h has joined #nixos-dev
clever has joined #nixos-dev
lassulus has joined #nixos-dev
drakonis has joined #nixos-dev
evanjs has joined #nixos-dev
ris has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
<colemickens> So, about 1/5-1/6 of my cloud images is Python3 just for systemd-boot-builder. Is it worth a RIIR (I'm volunteering)?
<gchristensen> nice
<gchristensen> cc Mic92
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
alp_ has joined #nixos-dev
alp has quit [Ping timeout: 260 seconds]
AlwaysLivid has joined #nixos-dev
justanotheruser has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos-dev
<infinisil> garbas: Did you discuss the things with mboes we talked about regarding rfcs#72?
<{^_^}> https://github.com/NixOS/rfcs/pull/72 (by mboes, 7 weeks ago, open): [RFC 0072] Switch to CommonMark for documentation
<garbas> infinisil: yeah. i +1 the RFC and propose to move to FCP
<worldofpeace> Mic92: can you rename https://github.com/orgs/NixOS/teams/nixpkgs-committers-emeritus per the RFC?
<infinisil> garbas: Got it
<Mic92> worldofpeace: I can't
<worldofpeace> oh, so I guess that has to be an admin
<worldofpeace> "Retired Nixpkgs Contributors"
<niksnut> done
<garbas> worldofpeace: give me a minute
* garbas is too slow :)
<worldofpeace> lol
<garbas> gchristensen: it is so nice to see you back online :)
<cole-h> +1
<worldofpeace> niksnut: In the rfc I said "team" at the end but it's actually just trying to specific. So can you drop "team" at the end?
<worldofpeace> * trying to be specific in the rfc as to what's being talked about
<samueldr> garbas: transient issue with the backend at bonsai? "type":"index_not_found_exception","reason":"no such index [latest-12-nixos-20.03]"
<samueldr> oh...
* garbas checks
<samueldr> no
<samueldr> channel attribute somehow is "nixos-20.03" in their link
<garbas> oh probably that is an old link (from 2 months ago)
<samueldr> :(
<samueldr> though at least it wasn't public yet
<garbas> it wasn't announced anywhere.
<samueldr> yeah
<garbas> but I should display that wrong channel is selected. can you create an issue
<niksnut> worldofpeace: sorry, fixed
<worldofpeace> niksnut: no problem. thanks ❤️
AlwaysLivid has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
bennofs[m] has joined #nixos-dev
noonien has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
<ris> is the idea of passthru.tests to slowly supplant checkPhase?
<ivan> nixpkgs hydra is incompatible with nix again
cole-h has quit [Quit: Goodbye]
AlwaysLivid has quit [Read error: Connection reset by peer]
cole-h has joined #nixos-dev
<jtojnar> ris chackPhase is still the right place for package's own checks (e.g. `make check`)
<ris> fair enough - but passthru.tests has clear advantages in that changes to its inputs don't cause a rebuild of reverse dependencies
<jtojnar> right, but `make check` typically requires build artefact that are not installed so it cannot be moved to a separate derivation without extracting them somehow
<jtojnar> there are some calls for separate derivations per phase, or even recursive nix but that is mostly orthogonal
<jtojnar> and far from implementation
<ris> yup absolutely
<ris> i only just learned the other day that checkInputs aren't only injected in the checkPhase
<ris> which worried me
<jtojnar> yeah, that is hard to fix in shell
<jtojnar> I am not the only one who dreams of generic builder written in a proper programming language