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
ris has quit [Ping timeout: 256 seconds]
<cole-h> Update: eval-3 is back. We're still down one eval, but the queue is slowly shrinking.
kalbasit has quit [Ping timeout: 260 seconds]
Jackneill has quit [Ping timeout: 246 seconds]
Jackneill has joined #nixos-dev
rajivr has joined #nixos-dev
kalbasit has joined #nixos-dev
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
<kalbasit> using nixFlakes from the latest master. nixos-rebuild test is crashing with segmentation fault
<kalbasit> it happens only if I run it as root
<kalbasit> it crashes on this step: nix-build '<nixpkgs/nixos>' -A system -k -I nixos-config=/path/to/configuration.nix
<kalbasit> debugging with gdb (I do not have symbols): https://gist.github.com/6c1dd0540f0fc3c1ef1834c4d7286866
<kalbasit> it seems to be related to this bug: https://bugs.archlinux.org/task/64681
<kalbasit> how can I debug further? I need access to a gcc with symbols, not sure how to get that
<kalbasit> s/gcc/nix
<samueldr> kalbasit: still haven't got to trying this, but try this https://github.com/edolstra/dwarffs
<kalbasit> samueldr: oh interesting. Let me try that, thanks
kalbasit has quit [Remote host closed the connection]
<drakonis> hmm, i have to say
<drakonis> the new flakes cli is better than the previous one
<worldofpeace> drakonis: I've been playing with flakes experimentally and I feel very happy with what I've been able to do with it and see
<worldofpeace> very excited for the future
<abathur> avoiding it so far, but similarly excited? :)
<drakonis> i'm very excited
<drakonis> i'm extremely excited to see nixpkgs migrate to it over time
<drakonis> whenever that happens though
<cole-h> With flakes, since we're moving away from channels, what is the equivalent of `nix repl <nixpkgs>`?
<samueldr> <...> is not strictly about channels :)
<samueldr> you could `nix repl path/to/a/nixpkgs/checkout`
<samueldr> or have NIX_PATH points its nixpkgs to the nixpkgs used by your system
<samueldr> (wow I screwed that last sentence up)
<cole-h> Sorry. Since flakes seems to be a good way to do away with NIX_PATH and its impurities, what would be a good shorthand for accessing the flake's nixpkgs?
<samueldr> I don't use the nix channels in the usual method, but my NIX_PATH has a nixpkgs entry to make `<nixpkgs>` work
<cole-h> ^ is what I really meant to ask :P
<worldofpeace> cole-h: I still use nix path with flakes, but like "nixpkgs=${pkgs.${platform}.path}"
<worldofpeace> that way you get nixpkgs in nixPath as a nix store path
<samueldr> imo, nix repl is never going to be "pure" in a useful way, so it wouldn't matter to rely on NIX_PATH
<samueldr> ah, maybe your system can add a `nix-repl-with-system-nixpkgs` wrapper :)
<cole-h> I really wish we could fetch git history for a flake's nixpkgs instead of a tarball x)
<samueldr> oh, maybe nix repl github:NixOS/nixpkgs at some point will work?
<samueldr> (or through the registry?)
<samueldr> maybe I should play more with flakes before continuing to talk about them :)
<abathur> OT, but anyone aware of a simple/quick way to get a cross-platform sandbox + programmable FUSE?
tilpner_ has joined #nixos-dev
<worldofpeace> samueldr: I good way is to just force yourself
<worldofpeace> like cripple yourself with flakes
<samueldr> yeah, at some point I'll do it, but not right now
<worldofpeace> (tbh, that's how it's like learning Nix in the first place, so this is like a second coming)
<samueldr> and I kinda like not being flake-enabled as I can keep ourself honest in not relying on them
<samueldr> right, I had in mind that it reminded me of something, but couldn't place my finger on it... yes, like learning nix and nixos at first ;)
<worldofpeace> 🤣 it gives off sudden noob vibes for sure
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
<worldofpeace> samueldr: I think it's honest to evaluate them as a developer in the nix community by figuring out how they will be most useful to you. tbh, as far as configuring a system, it has been every check on the checklist. but there's probably other things that need to be explored.
<samueldr> oh, sure, I'm not saying it's dishonest to use them, but not being able to use them sure makes it obvious if it accidentally becomes a dependency
hplar has quit [Ping timeout: 240 seconds]
<abathur> quit
<abathur> ack
abathur has quit [Quit: abathur]
<drakonis> ahhh it is so nice to use flakes
<drakonis> its so smooth
kalbasit has joined #nixos-dev
<kalbasit> samueldr: how to use https://github.com/edolstra/dwarffs from a configuration.nix not using flakes?
<samueldr> I believe the imports = []; thing is just that
<samueldr> though I couldn't say for sure because I haven't used it yet
<samueldr> kalbasit: I'm talking about the first example here https://github.com/edolstra/dwarffs#nixos
<samueldr> that isn't flakes AFAIK
<samueldr> especially considering the README's last been touched 2 years ago :)
<kalbasit> samueldr: but there's no module.nix anymore
<samueldr> oh :/
<kalbasit> I tried using an older version that did contain module.nix but the build failed
<samueldr> that's the last version with a module.nix AFAICT https://github.com/edolstra/dwarffs/commit/8262a00424e646493c809e1bf0a5434940590fb3
<samueldr> ah
<kalbasit> oh cool, you got the same one I got
<samueldr> niksnut, once timezone allows, might have guidance
<samueldr> oof, look at the two issues :)
<kalbasit> oh :-) :facepalm:
<samueldr> oh neat, emilazy++ has a solution https://github.com/edolstra/dwarffs/issues/8#issuecomment-573243115
<{^_^}> emilazy's karma got increased to 2
<samueldr> hopefully 8 months later it still works just as good
<kalbasit> samueldr: trying it now, thanks!
<samueldr> I'm just clicking around, doing the bare minimum
<kalbasit> it half worked, the flake file now requires access to the nix attr, also expects lastModifiedDate to be present in self
<kalbasit> but it did not work though, the build failed
<samueldr> maybe whatever commit around jan 10 works?
<kalbasit> testing rev 47218f1b8f971925241b1b307a1e770a7c220b5e
<regnat> kalbasit: You can use https://github.com/edolstra/flake-compat for that
<kalbasit> interesting, thanks regnat
<regnat> Something like (import <path-to-flake-compat> { src = <path-to-dwarffs>; }).defaultNix.nixosModules.dwarffs
<kalbasit> this worked: dwarffs = (import shabka.external.edolstra.flake-compat.path { src = shabka.external.edolstra.dwarffs.path; }).defaultNix;
<kalbasit> but the built is still failing
<kalbasit> dwarffs.cc:7:10: fatal error: filetransfer.hh: No such file or directory
<kalbasit> regnat: what I import is exactly what you mentioned
<kalbasit> latest master of dwarffs
<regnat> kalbasit: Oh that rings a bell, let me check
<regnat> Yep', that's because since https://github.com/edolstra/dwarffs/commit/d11b181af08bfda367ea5cf7fad103652dc0409f it requires Nix master
<regnat> But you can use https://github.com/edolstra/dwarffs/commit/83c13981993fa54c4cac230f2eec7241ab8fd0a9 which is the commit just before
<regnat> (There hasn't been any notable update since anyways)
<kalbasit> I'll check with 83c13981993fa54c4cac230f2eec7241ab8fd0a9
<kalbasit> yep that worked!
<kalbasit> thank you!
kalbasit has quit [Remote host closed the connection]
kalbasit has joined #nixos-dev
<kalbasit> ... and of course I can't reproduce the segfault anymore :(
kalbasit has quit [Ping timeout: 240 seconds]
<kini> Is anyone able to restart the x86_64-darwin builder for ofborg? It seems to have been down for a couple of days now.
orivej has quit [Ping timeout: 256 seconds]
xwvvvvwx has quit [Ping timeout: 256 seconds]
xwvvvvwx has joined #nixos-dev
alp has joined #nixos-dev
orivej has joined #nixos-dev
<Mic92> It is operated by LnL afaik
<cole-h> Yep.
orivej has quit [Quit: orivej]
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
FRidh has joined #nixos-dev
glowpelt has joined #nixos-dev
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 244 seconds]
alp has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
FRidh has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 265 seconds]
alp has joined #nixos-dev
orivej has joined #nixos-dev
ehmry_ has joined #nixos-dev
ris has joined #nixos-dev
justanotheruser has joined #nixos-dev
FRidh has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
__monty__ has joined #nixos-dev
cole-h has joined #nixos-dev
evanjs- has joined #nixos-dev
evanjs- has quit [Client Quit]
evanjs- has joined #nixos-dev
evanjs has quit [Ping timeout: 256 seconds]
ehmry_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
evanjs- has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-dev
alp has joined #nixos-dev
cole-h_ has joined #nixos-dev
cole-h has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 260 seconds]
abathur has joined #nixos-dev
cole-h_ has quit [Quit: Goodbye]
alp has joined #nixos-dev
justanotheruser has quit [Ping timeout: 244 seconds]
FRidh has quit [Quit: Konversation terminated!]
burkelibbey_ has joined #nixos-dev
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
alp has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 244 seconds]
drakonis has joined #nixos-dev
__monty__ has quit [Quit: leaving]
burkelibbey_ has quit [Quit: Connection closed for inactivity]
ehmry_ has joined #nixos-dev
b42 has quit [Quit: WeeChat 2.7.1]
hplar has joined #nixos-dev
alp has joined #nixos-dev