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
LnL has quit [Quit: exit 1]
LnL has joined #nixos-dev
LnL has joined #nixos-dev
LnL has quit [Changing host]
LnL- has joined #nixos-dev
LnL has quit [Ping timeout: 258 seconds]
LnL has joined #nixos-dev
LnL has joined #nixos-dev
LnL has quit [Changing host]
LnL- has quit [Ping timeout: 240 seconds]
LnL- has joined #nixos-dev
LnL- has quit [Changing host]
LnL- has joined #nixos-dev
LnL has quit [Ping timeout: 258 seconds]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
orivej has quit [Ping timeout: 240 seconds]
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
ajs124 has joined #nixos-dev
cole-h has joined #nixos-dev
leungbk has joined #nixos-dev
hexa- has quit [Quit: WeeChat 2.7.1]
hexa- has joined #nixos-dev
leungbk has quit [Quit: ERC (IRC client for Emacs 27.1)]
evanjs has quit [Ping timeout: 264 seconds]
evanjs has joined #nixos-dev
justanotheruser has quit [Ping timeout: 272 seconds]
angerman has quit [Ping timeout: 240 seconds]
angerman has joined #nixos-dev
claudiii has quit [Ping timeout: 240 seconds]
sgrunert has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
claudiii has joined #nixos-dev
georgyo has quit [Ping timeout: 260 seconds]
georgyo has joined #nixos-dev
__monty__ has joined #nixos-dev
<ehmry> drakonis: the non-linux nixos stuff
grw1 has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
alp has joined #nixos-dev
ris has quit [Ping timeout: 240 seconds]
<ivan> removing rsync from systemPackages in 20.09 is a bad idea, rsync is pretty essential to copying things between servers and some people's things will explode because the remote will lack it
<ivan> I oppose strace removal too but the collateral damage is just annoying the operator rather than getting into a bad situation
saschagrunert has joined #nixos-dev
sgrunert has quit [Ping timeout: 258 seconds]
<niksnut> strace removal? :o
<ma27[m]> niksnut: it's only removed from the default systemPackages that are available on each NixOS, the package is still there %)
<clever> ivan: id say if rsync has to be installed by default, make it something like programs.rsync.enable = mkDefault true; so you can still choose to get rid of it, without having to override rsync = null;
<ivan> sure
<clever> ivan: removing things from a list option is rather difficult, and mkForce just makes systemPackages even worse
<niksnut> ma27[m]: I don't like that, strace to me is an indispensable debugging tool
justanotheruser has quit [Ping timeout: 260 seconds]
<niksnut> it gives off macOS vibes to make the system undebuggable by default
<ma27[m]> niksnut: feel free to open a PR that re-adds it, I'm not the author of this change (and don't have a strong opinion about this), just wanted to make sure there's no confusion :-)
rajivr has joined #nixos-dev
FRidh has joined #nixos-dev
lopsided98 has quit [Ping timeout: 260 seconds]
lopsided98 has joined #nixos-dev
ky0ko has quit [Quit: killed]
ky0ko has joined #nixos-dev
<Mic92> macos had strace?
<Mic92> I thought they had something dtrace-based.
orivej has joined #nixos-dev
<infinisil> I'm in favor of strace removal because it's really not essential for a normal user
<infinisil> #91213 was the PR btw
<{^_^}> https://github.com/NixOS/nixpkgs/pull/91213 (by davidak, 9 weeks ago, merged): nixos/systemPackages: clean up
orivej has quit [Ping timeout: 258 seconds]
LnL- has quit [Quit: exit 1]
LnL has joined #nixos-dev
LnL has quit [Changing host]
LnL has joined #nixos-dev
LnL has quit [Remote host closed the connection]
LnL has joined #nixos-dev
LnL has joined #nixos-dev
LnL has quit [Changing host]
orivej has joined #nixos-dev
andi- has quit [Ping timeout: 260 seconds]
andi- has joined #nixos-dev
andi- has quit [Ping timeout: 260 seconds]
v0|d has joined #nixos-dev
das_j has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
andi- has joined #nixos-dev
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
andi- has quit [Excess Flood]
andi- has joined #nixos-dev
<Mic92> infinisil: would it be useful for the installer though?
<infinisil> Mic92: Probably yeah, could maybe add it there by default
<Mic92> Sometimes one needs pre-network debugging so downloading strace is not feasible.
<Mic92> I will add it.
<adisbladis> evils: Nope
<adisbladis> I mostly forgot about it
janneke has quit [Ping timeout: 265 seconds]
janneke has joined #nixos-dev
<evils> adisbladis: the performance impart was significant though, right?
<evils> s/impart/impact/
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
LnL has joined #nixos-dev
LnL has joined #nixos-dev
LnL has quit [Changing host]
saschagrunert has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos-dev
alp has quit [Ping timeout: 244 seconds]
LnL- has joined #nixos-dev
LnL- has joined #nixos-dev
LnL- has quit [Changing host]
LnL has quit [Ping timeout: 246 seconds]
LnL has joined #nixos-dev
<infinisil> garbas: Are you available for the rfcs#72 meeting today at 17:00 UTC (`date -d@1598295600`)?
<{^_^}> https://github.com/NixOS/rfcs/pull/72 (by mboes, 6 weeks ago, open): [RFC 0072] Switch to CommonMark for documentation
saschagrunert has joined #nixos-dev
ScottHDev7 has joined #nixos-dev
angerman_ has joined #nixos-dev
Mic92_ has joined #nixos-dev
ScottHDev has quit [Ping timeout: 240 seconds]
angerman has quit [Ping timeout: 240 seconds]
jared-w has quit [Ping timeout: 240 seconds]
Mic92 has quit [Ping timeout: 240 seconds]
teozkr_ has quit [Ping timeout: 240 seconds]
ScottHDev7 is now known as ScottHDev
angerman_ is now known as angerman
jared-w has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
teozkr_ has joined #nixos-dev
davidtwco has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
davidtwco has joined #nixos-dev
janneke has quit [Ping timeout: 240 seconds]
janneke has joined #nixos-dev
justanotheruser has joined #nixos-dev
Emantor has quit [Ping timeout: 240 seconds]
Emantor_ has joined #nixos-dev
LnL has quit [*.net *.split]
rajivr has quit [*.net *.split]
kraem has quit [*.net *.split]
claudiii has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
colemickens has quit [*.net *.split]
cstrahan has quit [*.net *.split]
feepo has quit [*.net *.split]
stew has quit [*.net *.split]
manveru has quit [*.net *.split]
zowoq[m] has quit [*.net *.split]
codyopel has quit [*.net *.split]
theotherjimmy[m] has quit [*.net *.split]
michaelpj has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
puzzlewolf has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
gleber has quit [*.net *.split]
cbarrett has quit [*.net *.split]
nbp has quit [*.net *.split]
aria has quit [*.net *.split]
sdier has quit [*.net *.split]
nh2 has quit [*.net *.split]
prusnak has quit [*.net *.split]
abbe has quit [*.net *.split]
nbp has joined #nixos-dev
roberth has quit [Ping timeout: 244 seconds]
zimbatm has quit [Ping timeout: 264 seconds]
elvishjerricco has joined #nixos-dev
zimbatm has joined #nixos-dev
roberth has joined #nixos-dev
colemickens has joined #nixos-dev
rajivr has joined #nixos-dev
kraem has joined #nixos-dev
Ericson2314 has joined #nixos-dev
claudiii has joined #nixos-dev
LnL has joined #nixos-dev
feepo has joined #nixos-dev
stew has joined #nixos-dev
cstrahan has joined #nixos-dev
worldofpeace has joined #nixos-dev
gleber has joined #nixos-dev
michaelpj has joined #nixos-dev
matthewbauer has joined #nixos-dev
cbarrett has joined #nixos-dev
puzzlewolf has joined #nixos-dev
codyopel has joined #nixos-dev
zowoq[m] has joined #nixos-dev
theotherjimmy[m] has joined #nixos-dev
manveru has joined #nixos-dev
abbe has joined #nixos-dev
prusnak has joined #nixos-dev
aria has joined #nixos-dev
nh2 has joined #nixos-dev
sdier has joined #nixos-dev
worldofpeace has joined #nixos-dev
worldofpeace has quit [Changing host]
klys has quit [Ping timeout: 265 seconds]
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
orivej has quit [Ping timeout: 265 seconds]
lopsided98 has joined #nixos-dev
lopsided98 has quit [Ping timeout: 240 seconds]
lopsided98 has joined #nixos-dev
saschagrunert has quit [Remote host closed the connection]
<sphalerite> Anybody well-versed in IPv6 wizardry (especially prefix delegation matters): I'd appreciate input on #96188 :)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/96188 (by lheckemann, 1 minute ago, open): test systemd-networkd-ipv6-prefix-delegation broken
<sphalerite> (it's a channel blocker)
orivej has joined #nixos-dev
alp has quit [Ping timeout: 246 seconds]
eyJhb has quit [Quit: Clever message]
eyJhb has joined #nixos-dev
eyJhb has joined #nixos-dev
eyJhb has quit [Changing host]
ris has joined #nixos-dev
sgrunert has joined #nixos-dev
urkk_ has joined #nixos-dev
urkk_ is now known as urkk
alp has joined #nixos-dev
<urkk> why /dev/ptmx has 000 perm in the sandbox? cntr fails with -EACCES at openat()
ScottHDev has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
sgrunert has quit [Remote host closed the connection]
sgrunert has joined #nixos-dev
niksnut has quit [Remote host closed the connection]
sgrunert has quit [Remote host closed the connection]
sgrunert has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
sgrunert has quit [Remote host closed the connection]
grw1 has joined #nixos-dev
<sphalerite> urkk: it shouldn't be, as far as I can tell: https://github.com/NixOS/nix/blob/master/src/libstore/build.cc#L3270-L3272
<sphalerite> urkk: oh, though the conditions might prevent that from happening..?
<sphalerite> urkk: nix-build -E 'with import <nixpkgs> {}; runCommandNoCC "testptmx" {} "stat -L /dev/ptmx"' ← this shows me that for me, its permissions are 0666
<sphalerite> which kernel are you using?
niksnut has joined #nixos-dev
<clever> Ericson2314: i think i need gcc to build its libstdc++.a with -mlongcall, how would i properly route that thru the cross-compile framework?
<clever> Ericson2314: it may be better to just have it apply to every build
<Ericson2314> clever: sorry, as this the thing you mentioned earlier?
<clever> Ericson2314: yeah, esp32 support
<clever> i think without -mlongcall, libstdc++.a cant properly link to newlib's libc.a, due to the binaries being too big
alp has joined #nixos-dev
<Ericson2314> clever: i this -mlongcall analogous to like 8286 long calls?
<clever> i think its to decide between 8bit relative or full 32bit addressing
<Ericson2314> ok
<Ericson2314> I suppose you could just NIX_LDFLAGS_FOR_TARGET it in gcc
<clever> ah, its using indirect, 32bit load from a literal within .text, then call to reg
<clever> is there a simple way to set that, for every derivation in the cross setup?
<adisbladis> evils: Yes, around half the number of calls to stat for `git status` iirc
justanotheruser has quit [Ping timeout: 260 seconds]
<clever> because any library compiled would also have the same issue
<adisbladis> It wouldn't have any impact for eval right now though, that would require a change in Nix.
<clever> Ericson2314: i think i want pkgs/development/compilers/gcc/common/extra-target-flags.nix
<Ericson2314> clever: yeah that looks good oto me
<Ericson2314> good finding it
justanotheruser has joined #nixos-dev
<Ericson2314> clever: did you override src for vc4 or what?
<Ericson2314> I forget
<clever> yeah, vc4 overrode src for both binutils and gcc, same as esp32
<clever> via if statements
<clever> and yes, it is getting a big ugly, every time a new platform gets added
<samueldr> (I can attest, with or1k)
<eyJhb> Trying here, how can I import a specific file from nixpkgs? `import <nixpkgs>/path/to/file.nix;` does not seem to work
<clever> eyJhb: <nixpkgs/path/to/file.nix>
<clever> the same as #include in c/c++
<clever> and just like gcc, it will check each thing in -I until it finds the file you specified
<eyJhb> clever: I made a spelling mistake, actually tried that as well
evanjs has quit [Ping timeout: 258 seconds]
<eyJhb> But I spelled default.nix defaul.nix
<clever> ah
<clever> i dont know why, but docker almost always comes out as docket, lol
<clever> i make the same typo almost every single time, if i'm not actively thinking about it
<eyJhb> That happens for me as well, or currently with Android, where I stumble acress all the letters and hope for the best
<pie_> services.nginx.virtualHosts is listed in the middle of services.httpd.virtualHosts.<name>.* -s
<pie_> *issue
<samueldr> exactly
<samueldr> pie_: there is an ordering <select> if it helps you
evanjs has joined #nixos-dev
<pie_> samueldr: oh pfff i didnt even _see_ the sort dropdown on the right
<pie_> i just assumed it was alphabetical but it was by relevance
<pie_> PEBKAC
<samueldr> still, if you have comments about the relevance order, like see "obvious issues" in the relevance do share (on the issue tracker)
<clever> Ericson2314: yep, -mlongcalls fixed it
<clever> sphalerite: do you have any esp32 code public, that i could try to build?
<eyJhb> ANyone on IRC who are into Android env?
cole-h has joined #nixos-dev
<Ericson2314> clever: nice!
<clever> Ericson2314: https://github.com/cleverca22/esp-idf.nix this can now build 2 of the example projects, down to a .bin file ready for flashing
<clever> main problem, is that the entire esp-idf library, gets built in the same derivation as the final app
<clever> need to break things up into seperate derivations
<Ericson2314> clever: still, that's comparatively easy :)
<clever> Ericson2314: maybe you havent seen the esp-idf build system yet...
<taktoa[c]> lmao
<taktoa[c]> esp-idf is sick and wrong
<taktoa[c]> two build systems, a smattering of kconfig, and a big pile of python (which has bugs on the latest versions of its dependencies)
<pie_> domenkozar[m]: woudl it be possible to have fetchers for cachix to use cachix without actually needing to add it to trusted users?
<pie_> or maybe we already have something like that?
<domenkozar[m]> fetchers for cachix?
<pie_> domenkozar[m]: i mean something that will download stuff from cachix, like fetchGit or such, and extract it into an output directory
<cole-h> Doesn't cachix really only host outputs anyways? I don't see it being used as a general file store
<domenkozar[m]> not really, that's an api inside Nix
<pie_> i always mix up wether its fetchGit of fetchgit
<pie_> ok fine, so fetchfromgithub or whatever
__monty__ has quit [Quit: leaving]
<Ericson2314> clever: :D yes I know nothing about this stuff
tazjin has quit [Remote host closed the connection]
tazjin has joined #nixos-dev
eyJhbV2 has joined #nixos-dev
eyJhbV2 is now known as eyJhb
orivej has quit [Ping timeout: 244 seconds]
eyJhb has joined #nixos-dev
eyJhb has quit [Changing host]
orivej has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
<sorear> (what's the scope of the esp32 and or1k things?)
<samueldr> the or1k thing for me is mostly about building crust, a firmware that can be used on allwinner platforms, the main interesting one being the pinephone
<samueldr> (it doesn't work, yet, it might be needing the next binutils bump, or something else)
<clever> sorear: we now have an esp32 spinning up an example access-point, using firmware built entirely by nix, using a gcc built by nix
<taktoa[c]> the goal of the esp32 project is to make it as easy to develop for the esp32 as it is to just write a normal C library
<taktoa[c]> and maybe to get a rust toolchain working afterwards
<sorear> so it's just a couple of toolchains?
<taktoa[c]> right now, I have a PR out adding a Nix cross compile toolchain for the xtensa/esp32 platform
<taktoa[c]> and we are currently working on making a package for esp-idf
<taktoa[c]> which is a framework for making esp32 apps that use RTOS, wifi, bluetooth, etc.
<taktoa[c]> the key thing is that esp-idf is really set up as a framework
<taktoa[c]> whereas we want to turn it into just a bunch of libraries
<taktoa[c]> that you can easily link against in C or other languages
<taktoa[c]> without using their build system, their deployment tools, etc.