ryantrinkle has joined #nixos-aarch64
orivej has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos-aarch64
lovesegfault has joined #nixos-aarch64
njd has quit [Ping timeout: 252 seconds]
njd has joined #nixos-aarch64
ryantrinkle has quit [Remote host closed the connection]
ryantrinkle has joined #nixos-aarch64
ryantrinkle has quit [Remote host closed the connection]
ryantrinkle has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 258 seconds]
ryantrinkle has joined #nixos-aarch64
orivej has quit [Ping timeout: 255 seconds]
zupo has joined #nixos-aarch64
sphalerite has quit [Quit: WeeChat 2.6]
sphalerite has joined #nixos-aarch64
sphalerite has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sphalerite has joined #nixos-aarch64
sphalerite has quit [Client Quit]
sphalerite has joined #nixos-aarch64
CrystalGamma[m] has quit [Quit: Idle for 30+ days]
vcunat has joined #nixos-aarch64
vcunat has left #nixos-aarch64 [#nixos-aarch64]
wavirc22 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Error from remote client"]
wavirc22 has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
wavirc22 has joined #nixos-aarch64
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 258 seconds]
evils has quit [Ping timeout: 265 seconds]
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22_ has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wavirc22_ has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-aarch64
Willi_Butz has quit [Remote host closed the connection]
WilliButz has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
orivej has quit [Ping timeout: 255 seconds]
t184256 has joined #nixos-aarch64
bennofs[m] has quit [Ping timeout: 240 seconds]
hsngrmpf[m] has quit [Ping timeout: 256 seconds]
dtz has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
hsngrmpf[m] has joined #nixos-aarch64
zupo has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
lovesegfault has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lovesegfault has joined #nixos-aarch64
wavirc22 has quit [Ping timeout: 258 seconds]
zupo has joined #nixos-aarch64
<blackriversoftwa> flokli: I'm test-building a PR with that subst-by-var hack right now
<blackriversoftwa> We'll see if they are OK with it
Thra11 has quit [Ping timeout: 272 seconds]
<{^_^}> #81317 (by eamsden, 12 minutes ago, open): [nix] Patch config.nix.in to reference host platform binaries
<flokli> blackriversoftwa: dropped some comments. also, eval fails
<blackriversoftwa> @flokli yeah just saw, it breaks the non-cross-compiled build. Need to make the hack only apply when `buildSystem != hostSystem`
<blackriversoftwa> Also need to hook my Pi back up and actually test it
Thra11 has joined #nixos-aarch64
<flokli> blackriversoftwa: just to make sure I understand correctly
<flokli> The pi is using some native-built image, and you nix-copy-closure the cross one over?
<flokli> s/one/nix/
<blackriversoftwa> flokli no I have a local nix expression that builds the nix installer tarball the same way that `release.nix` from the nix repo does
<blackriversoftwa> So I make a tarball of the cross-built nix and the installer script, copy that over to the pi, and run it
<blackriversoftwa> and it fails (before this patch) at the step of adding nix channels, because when nix-channel tries to fetch it uses the tools from config.nix
<flokli> blackriversoftwa: and you can still crosscompile all of that?
<blackriversoftwa> Yes
<flokli> I assume there's many more bugs after that...
<blackriversoftwa> Haven't hit any so far
<blackriversoftwa> have been using nix successfully
<blackriversoftwa> just had to disable the channel-adding stuff in the installer script
<flokli> I tried crosscompiling some armv7l nixos systems, and ran into annoying bugs
<blackriversoftwa> and not use channels
<blackriversoftwa> I'm sure there are more bugs with nixos
<blackriversoftwa> Also on Ubuntu 18.04 for the pi, the kernel wasn't built with user namespaces
<blackriversoftwa> so single-user installs only
<samueldr> flokli: I thought armv7l cross in staging/unstable still needed the bootstrap to be fixed, doesn't it?
<flokli> samueldr: puh, yeah, that one too probably
<blackriversoftwa> samueldr: at my $DAYJOB we are cross-compiling Haskell to armv7l with nixpkgs-19.09 and haskell.nix
<flokli> I got sidetracked by wayy to many other things last weeks
<samueldr> though, for the subset described in cross-system, armv7l needed no more hacks than aarch64 https://github.com/samueldr/cross-system
<flokli> blackriversoftwa: that sounds cool :-)
evils has joined #nixos-aarch64
<blackriversoftwa> flokli: thus my work on cross-compiling nix for these things, we want to be able to closure-copy to them instead of airdropping tarballs
<flokli> bl
<blackriversoftwa> flokli: what are you wanting with the indentation btw? I was kind of guessing because it's a bit of a complicated expression
<flokli> blackriversoftwa: how sweet would be if you could just nix-copy-closure the whole nixos system over ;-)
<blackriversoftwa> flokli: I agree, however that's not on the table at this time for very good reasons
<blackriversoftwa> this is a good incremental step tho
<flokli> yeah :-)
<flokli> let's simply say I'd be interested in that too, for my router setups at home
<flokli> let me know when you're tackling that - I might help out ;-)
<blackriversoftwa> heh ok. I'm uconvinced that the nixos closure can be made small enough for routers
<blackriversoftwa> unless you have really beefy routers at home
<blackriversoftwa> I have thought about using the module system to generate e.g. Microtik config scripts tho
<blackriversoftwa> samueldr: right he builds an image that does not have a closure
<flokli> Somewhat - these boards can use a nvme ssd for storage
<samueldr> right
<flokli> and tbh, i'd like to have systemd, watchdog stuff and all the nixos module system provides on that system
<blackriversoftwa> flokli: Oh...well then :P
<samueldr> flokli: what's missing for your router and cross-compilation?
<samueldr> I'm really curious what other issues with armv7l for a basic system you faced, other than maybe that new bootstrap
<samueldr> I should verify cross-system on 20.03
<flokli> samueldr: last time I tried, I ran into https://github.com/NixOS/nixpkgs/pull/73344#issuecomment-562714596
<samueldr> ah, so something was bringing in font stuff in your config
<flokli> yes
<samueldr> I must assume you did not have armv7l issues, but cross-compilation issues, mainly
<samueldr> (which is good! it means more universal fixes!)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<flokli> hah, yes
zupo has joined #nixos-aarch64
<blackriversoftwa> samueldr: how does buildInputs vs nativeBuildInputs work? Nixpkgs manual explains how to use them (roughly) but not how they work
<samueldr> 1000' overview: at some point during the evaluation, "splicing" happens, it's a step where during callPackage nixpkgs gets the native variant of of packages for nativeBuildInputs
<samueldr> I don't exactly know how it works
<samueldr> but the keyword is "splicing"
<flokli> pkgs/top-level/splice.nix
<samueldr> it only works for callPackage invocations, so if you stdenv.mkDerivation in another context, it won't work, IIRC
<blackriversoftwa> i c
<blackriversoftwa> odd
<samueldr> ugh!
<samueldr> I forgot to unplug `system`(exec) from the command running thing from the boot gui simulator... so I rebooted my main machine rather than just print "reboot" in the console :|
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.7]
zupo has quit [Ping timeout: 255 seconds]
zupo has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 258 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]