<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.
<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?