gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
adisbladis has joined #nixos-chat
ivan has quit [Remote host closed the connection]
ivan has joined #nixos-chat
hl has quit [Ping timeout: 246 seconds]
hl has joined #nixos-chat
dmc has quit [Quit: WeeChat 2.2]
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
dmc has joined #nixos-chat
jtojnar_ has quit [Remote host closed the connection]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
jtojnar has joined #nixos-chat
__monty__ has joined #nixos-chat
__Sander__ has joined #nixos-chat
__Sander__ has quit [Ping timeout: 244 seconds]
__Sander__ has joined #nixos-chat
<ekleog> hmm… how would you go to get a gdb with a custom targetPlatform? before there was a targetPlatform accepted by the gdb derivation, but with the recent changes to cross-building I'm a bit lost
__Sander__ has quit [Ping timeout: 252 seconds]
Guanin_ has joined #nixos-chat
__Sander__ has joined #nixos-chat
__Sander__ has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nixos-chat
<ekleog> so, noone knows how to override the targetPlatform for a single package? :/
<srhb> ekleog: I would expect that you feed it a stdenv with an overridden targetPlatform, but isn't using targetPlatform almost always subtly wrong?
<ekleog> srhb: well, I'm looking for a gdb that works for debugging a remote risc-v processor, so… :) (basically like gcc-arm-embedded, except gcc-arm-embedded is a separate codebase, and I'm currently hoping gdb master codebase actually has risc-v support)
<ekleog> hmm, sounds like this fails too :'( but with a better error message than before :)
<ekleog> … ok, it's just that the attribute set for risc-v doesn't have an option required for gdb
<ekleog> srhb: oh with my brain actually turned on it looks like it's at least compiling gdb, thanks! for the record, using this: nix-build -I nixpkgs=channel:nixos-unstable -p 'gdb.override { stdenv = (import <nixpkgs> {}).stdenv.override { targetPlatform = (import <nixpkgs> {}).lib.systems.examples.riscv32; }; }'
<srhb> ekleog: Great. :)
ekleog has quit [Quit: back soon]
<srhb> That's a lot of nixpkgs... :D
<sphalerite> hm I don't think any of the extra ones are necessary
<srhb> Nope.
<sphalerite> ,tell ekleog you don't need to do all the reimporting: nix-shell -I nixpkgs=channel:nixos-unstable -p 'gdb.override {stdenv = stdenv.override { targetPlatform = lib.systems.examples.riscv32; };}'
<{^_^}> sphalerite: I'll pass that on to ekleog
ekleog has joined #nixos-chat
<sphalerite> oh back alraedy lol
<sphalerite> ekleog: {^_^} has a message for you
__Sander__ has quit [Ping timeout: 272 seconds]
<ekleog> yeah, just upgrading my bouncer :°
<{^_^}> ekleog: 1 minute, 21 seconds ago <sphalerite> you don't need to do all the reimporting: nix-shell -I nixpkgs=channel:nixos-unstable -p 'gdb.override {stdenv = stdenv.override { targetPlatform = lib.systems.examples.riscv32; };}'
<ekleog> oh, that's nice :) didn't notice that it actually took all of nixpkgs into scope, guess it's a with (import <nixpkgs> {})
<ekleog> sphalerite: thanks!
<sphalerite> ye[
<sphalerite> yep*
<ekleog> (well, I've got a bad news for riscv-gdb: it segfaults when being started -- and the build of it actually fails with `error: build of '/nix/store/4mdxg2fsvfl8qb2prcgy3zp9b112zpnm-shell.drv' failed`, although it did produce a `riscv32-unknown-linux-gnu-gdb` binary into another store output)
<ekleog> http://ekleog.xelpaste.net/dDWrRH gdb trying to be helpful
<ekleog> (did not press a single button here)
__Sander__ has joined #nixos-chat
<ekleog> I guess upstream gdb doesn't support riscv yet, and I'd have to package the fork made by riscv, then
obadz has quit [Ping timeout: 240 seconds]
obadz has joined #nixos-chat
__Sander__ has quit [Ping timeout: 272 seconds]
__Sander__ has joined #nixos-chat
__Sander__ has quit [Quit: Konversation terminated!]
__monty__ has quit [Read error: Connection reset by peer]
__monty__ has joined #nixos-chat
__monty__ has quit [Remote host closed the connection]
__monty__ has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-chat
rawtaz has joined #nixos-chat
<rawtaz> didnt know there was a fancy chat channel to the distro
<sphalerite> we have waaaaay too many channels for nix/nixos
<sphalerite> #carnix #nix-core #nix-darwin #nix-lang #nixos-aarch64 #nixos-blah #nixos-borg #nixos-chat #nixos-dev #nixos-de #nixos-fr #nixos-nur #nixos-on-your-router #nixos-p2p #nixos-security #nixos #nixos-wiki
<sphalerite> wait #carnix doesn't exit
<sphalerite> s/exit/exist/
<samueldr> TIL nix-p2p ?
<sphalerite> I think #nixos-p2p is dead too
<rawtaz> hahaha
<rawtaz> yeah thats a bit too many
<sphalerite> samueldr: it's what came before #nixos-chat
<sphalerite> same for #nixos-blah
<samueldr> ah
<sphalerite> some troll was talking about p2p nix
<sphalerite> and about how it's not p2p if it can't saturate a 10Gb link or something
<sphalerite> quality banter
<samueldr> while it's a bunch of channels, some are spuriously useful, without saturating the general chat
<sphalerite> wait no, gigabit link
<LnL> aaah, stop making channels :p
<sphalerite> LnL: ikr?
<sphalerite> I feel like I discover a new one almost every day
<sphalerite> most recently, #nixos-nur and #nix-lang
<sphalerite> I've spun up 5 scaleway C1s for distributed builds of armv7 stuff. Not sure it's helped significantly xP
<andi-> sphalerite: now I joined carnix just to read it doesn't exist :(
<sphalerite> andi-: oops
<andi-> I had high hopes to find soulmates with the same pain
<sphalerite> andi-: yeah I just listed my logs, which include channels I joined to see if they exist >_>
<andi-> I'll stay in there anway. can rant on for myself :-)
<sphalerite> lol
<andi-> It's like keeping a log of thoughts sorted by topic..
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
__monty__ is now known as toonn
nckx has joined #nixos-chat
toonn has quit [Read error: Connection reset by peer]
joepie91 has quit [Ping timeout: 252 seconds]
toonn has joined #nixos-chat
toonn has quit [Remote host closed the connection]
toonn has joined #nixos-chat
joepie91 has joined #nixos-chat
Guanin_ has quit [Ping timeout: 252 seconds]
toonn has quit [Quit: leaving]
<infinisil> sphalerite: Perhaps you meant #cachix
<infinisil> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<sphalerite> infinisil: no I didn't