worldofpeace changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.09 RMs: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
MichaelRaskin has quit [Quit: MichaelRaskin]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
rajivr has joined #nixos-dev
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
lukegb has quit [Quit: ~~lukegb out~~]
lukegb has joined #nixos-dev
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-dev
ris has quit [Ping timeout: 260 seconds]
teto has quit [Quit: WeeChat 2.9]
leungbk has joined #nixos-dev
m1cr0man has quit [Ping timeout: 240 seconds]
m1cr0man has joined #nixos-dev
leungbk has quit [Ping timeout: 264 seconds]
kalbasit has joined #nixos-dev
<cole-h> lol
leungbk has joined #nixos-dev
<cole-h> It wouldn't be too bad if GitHub made it easy to do so :)
leungbk has quit [Ping timeout: 256 seconds]
Taneb has quit [Quit: I seem to have stopped.]
Taneb has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
<bk1603[m]> Super noob question, how do I test out the changes I made to systemd on nixos? Is it possible to start nixos containers with a local copy of systemd? (I've never worked on systemd before, and I am still very new to nixos, if there is some doc that I missed, just point me to that and I'll read it up :)
kalbasit has quit [Ping timeout: 256 seconds]
danderson has quit [Remote host closed the connection]
danderson has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
jonringer has quit [Ping timeout: 264 seconds]
justanotheruser has quit [Ping timeout: 268 seconds]
justanotheruser has joined #nixos-dev
niksnut has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
AlwaysLivid has quit [Quit: We are a collection of 7 billion codependent atoms. Stop hating based on constructs and come along for the ride.]
<symphorien[m]> you can use nixos-rebuild build-vm I think
saschagrunert has joined #nixos-dev
<bk1603[m]> Oh let me check that out.
alp has joined #nixos-dev
FRidh has joined #nixos-dev
sgrunert has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
saschagrunert has quit [Ping timeout: 246 seconds]
alp has joined #nixos-dev
<Mic92> bk1603[m]: you can also use systemd.package to avoid having to rebuild the whole world
<Mic92> It's a nixos config option. This way you can use a new systemd deamon but all packages requiring libudev/libsystemd will use the old version
cole-h has quit [Ping timeout: 240 seconds]
FRidh has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos-dev
Jackneilll has joined #nixos-dev
Jackneill has quit [Read error: Connection reset by peer]
tilpner has quit [Quit: tilpner]
__monty__ has joined #nixos-dev
<siraben> I have a cross compilation toolchain https://github.com/toltec-dev/toolchain/tree/master/base , what would be a good way to go about porting this to Nix? It seems pretty involved and I'm not a crosstool-ng/Docker expert.
<siraben> Usually this is handled by putting the appropriate info in lib/examples.nix, lib/systems.nix and so on.
<siraben> The base wasn't so hard to do, however I need to add a closed source Qt library as well, https://github.com/toltec-dev/toolchain/blob/master/qt/Dockerfile
<ehmry> siraben: this is a gcc or llvm toolchain?
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos-dev
<siraben> ehmry: gcc
<{^_^}> #102503 (by siraben, 6 days ago, open): Initial implementation of remarkable1 cross-compile
page has quit [Quit: leaving]
<siraben> I think these lines are the ones that matter; https://github.com/toltec-dev/toolchain/blob/4702adfacd9b8e59da1e63ed75f9b436def3ff38/qt/Dockerfile#L55-L60 because I've managed to cross-compile programs in C, Rust and Go but third party apps that need the `epframebuffer.h` header files.
<siraben> header files do not compile*
<ehmry> that wouldn't need to be part of the toolchain though
orivej has joined #nixos-dev
<ehmry> oh, thats the qt port
alp has quit [Ping timeout: 246 seconds]
<siraben> Maybe I need to dig up old PRs adding other cross systems that needed custom headers
alp has joined #nixos-dev
page has joined #nixos-dev
<Mic92> siraben: fhs user env
<Mic92> if it is pre-compiled
<siraben> Mic92: fhs user env?
<Mic92> if you can build from source, this is the way to go
<Mic92> siraben: this is what I used to package a propritary SDK: https://github.com/Mic92/scone-nix/blob/master/scone/default.nix
<siraben> Thanks!
<Mic92> It was even worse because I had to unpack docker containers
<Mic92> but it give you hints to construct your compiler wrapper
<Mic92> Here we talked more about nixpkgs/stdenv: https://www.twitch.tv/videos/786561720
<gchristensen> :( we can't create systemd units with 5,000 dependencies
<andi-> whats failing?
<andi-> systemd?
<andi-> I think it has a line lenght issue
<gchristensen> yea :) argv
<gchristensen> could switch to passAsFile if it were a real thing
AlwaysLivid has joined #nixos-dev
<siraben> Mic92: I've got the cross toolchain working, but it seems to build dynamic executables. Is there a way to transfer the binary and dependencies to the target/should I specify in lib/examples.nix to build things statically?
<das_j> Hmm who decides on the nix antipatterns btw? Can I just create a PR in that repo for something I don't like and then it's an antipattern?
<gchristensen> pretty much
alp has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
<Mic92> siraben: have a look at pkgs/top-level/static.nix
<Mic92> siraben: you will need a static libc
<siraben> `nix-build . --argstr system "x86_64-linux" -A pkgs.pkgsStatic.pkgs.pkgsCross.remarkable1.hello` should work as well, right?
<Mic92> siraben: maybe :) I don't know how well these things compose.
<das_j> gchristensen: So I'm not a huge fan of `let` ;)
<Mic92> What is the alternative?
alp has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
<das_j> Nothing. It was just a lame troll attempt
<das_j> I'm not really a fan of the antipattern concept tbh
<siraben> das_j: are you referring to the anti-patterns listed in nix.dev?
<das_j> yes
<siraben> Yeah it seems somewhat opinionated to me.
tilpner has joined #nixos-dev
kalbasit has joined #nixos-dev
leungbk has joined #nixos-dev
justanotheruser has joined #nixos-dev
leungbk has quit [Ping timeout: 264 seconds]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos-dev
das_j has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
leungbk has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
leungbk has quit [Ping timeout: 260 seconds]
leungbk has joined #nixos-dev
<das_j> Is it possible that the test runner doesn't verify types?
<das_j> ah, my mistake…
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-dev
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
teto has joined #nixos-dev
sgrunert has quit [Quit: Leaving]
cole-h has joined #nixos-dev
AlwaysLivid has quit [Read error: Connection reset by peer]
kloenk has quit [Ping timeout: 272 seconds]
kloenk has joined #nixos-dev
<qyliss> We can probably drop the hacktoberfest tag now?
tilpner has quit [Quit: tilpner]
alp has quit [Ping timeout: 264 seconds]
ris has joined #nixos-dev
<siraben> Indeed. It's no longer October
<qyliss> niksnut: ^ (IIRC you added it?)
tilpner has joined #nixos-dev
alp has joined #nixos-dev
julm has quit [Remote host closed the connection]
julm has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
<niksnut> qyliss: I've removed them
<qyliss> cool :)
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
leungbk has quit [Ping timeout: 260 seconds]
leungbk has joined #nixos-dev
<eyJhb> adisbladis: Was there ever an alternative to vgo2nix? I am getting the same weird error , when tags contains slashes
<samueldr> Ericson2314: it's still binutils 2.31 on master and staging, am I missing something?
<Ericson2314> samueldr: ah sorry i missed a revert
<samueldr> ah, no worries, will wait until that's ready I guess :)
<Ericson2314> samueldr: feel free to make binutils src conditional as was does for vc4
<Ericson2314> * samueldr: feel free to make binutils src conditional as was done for vc4
<eyJhb> adisbladis: sorry, it works, I tried the nix-community one. :)
alp has quit [Ping timeout: 246 seconds]
alp has joined #nixos-dev
__monty__ has quit [Quit: leaving]
<gchristensen> does it seem weird that waybar is compiled without pulesaudio support by default?
leungbk has quit [Ping timeout: 246 seconds]
abathur has quit [Quit: abathur]
<qyliss> I don't use waybar but that seems weird to me
<qyliss> especially since Nixpkgs has a global config option for pulseaudio support
<endocrimes> Iirc polybar has some weirdness like that too
leungbk has joined #nixos-dev
<endocrimes> Yeah - polybar defaults to having alsa and nl by default, but not pulse etc