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
ixxie has quit [Ping timeout: 240 seconds]
lopsided98 has joined #nixos-dev
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 260 seconds]
tilpner_ is now known as tilpner
leungbk has quit [Ping timeout: 260 seconds]
leungbk has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
tokudan[m] has quit [Ping timeout: 244 seconds]
Irenes[m] has quit [Ping timeout: 244 seconds]
Ericson2314 has quit [Ping timeout: 260 seconds]
doronbehar has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 246 seconds]
Valodim[m] has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
Irenes[m] has joined #nixos-dev
Valodim[m] has joined #nixos-dev
tokudan[m] has joined #nixos-dev
Ericson2314 has joined #nixos-dev
jtojnar has joined #nixos-dev
doronbehar has joined #nixos-dev
leungbk has quit [Ping timeout: 260 seconds]
leungbk has joined #nixos-dev
Irenes[m] has quit [Ping timeout: 244 seconds]
Valodim[m] has quit [Ping timeout: 244 seconds]
doronbehar has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
drakonis has joined #nixos-dev
Irenes[m] has joined #nixos-dev
Valodim[m] has joined #nixos-dev
doronbehar has joined #nixos-dev
orivej_ has quit [Ping timeout: 240 seconds]
<colemickens> but for real, I've been working with flakes daily for a week and I still can't figure out how to get #.... and the actual outputs to line up
orivej has joined #nixos-dev
<colemickens> I swear, every single time I try to do something with it or think I know the flake fragment to use, nope it doesn't work, or the coercion rules don't apply as I expect
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
das_j has joined #nixos-dev
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
leungbk has quit [Ping timeout: 244 seconds]
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
leungbk has joined #nixos-dev
leungbk has quit [Ping timeout: 260 seconds]
evanjs has quit [Ping timeout: 256 seconds]
evanjs has joined #nixos-dev
alp has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
<Mic92> colemickens: what specifically?
alp has joined #nixos-dev
<garbas> colemickens: could you write a gist with examples what are you trying to do, what is the result and what you would expect to be. i think niksnut would really like this kind of feedback. UX is 70% trying to figure out the context your users are coming from :)
<colemickens> Yeah, I'm sorry, I've been trying to hold off on that sort of feedback for something more comprehensive and I've been trying to get to a certain milestone to feel like I've properly given a good try.
<colemickens> I will for sure come up with more concrete feedback and will likely write a small something about my experiences so far and/or file bugs for concrete things.
<colemickens> (I've said it other places but I do want to say since I complained, I really am overall enjoying flakes a lot)
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<manveru> abathur: so curiously just doing a `nix build ./source#nixosConfigurations.atala-testnet-client-t3a-medium.config.system.build.toplevel` before doing the `nixos-rebuild` works around the issue
<manveru> i really think nixos-rebuild has some very strange behaviour with flakes, but i can't figure out why...
<manveru> also when i try to `nixos-rebuild --target-host`, it will just not copy the required closure, so i have to `nix copy` before
<manveru> i assume `nix-copy-closure` just doesn't work properly with flakes
<manveru> there really should be a `--verbose` tag for `nixos-rebuild` that just does `set -x` :)
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
<infinisil> manveru: I believe `bash -x nixos-rebuild` works!
<infinisil> Since it's just a bash script :)
alp has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
<qyliss> bash -x $(command -v nixos-rebuild) :)
<qyliss> the -x won't propagate to the subprocess
<infinisil> Which subprocess? (Can't check rn, on my phone)
<qyliss> bash -x nixos-rebuild will run a bash process, which will run nixos-rebuild. Running nixos-rebuild starts a second bash process, which then interprets the nixosn-rebuild script
orivej has quit [Quit: No Ping reply in 180 seconds.]
<qyliss> One bash comes from the command line, and the other bash comes from the nixos-rebuild shebang
<infinisil> Ahh I see
<infinisil> So the command -v is needed for the -x to apply
<qyliss> Yes, because it skips the second bash
orivej has joined #nixos-dev
<qyliss> You're just telling bash to interpret a script, rather than running a command
<qyliss> so there's only a single bash process
<infinisil> I see, I'll have to try this out on my pc later
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
__monty__ has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
noonien has joined #nixos-dev
alp has joined #nixos-dev
alp_ has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
Jackneill has quit [Ping timeout: 265 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
Jackneill has joined #nixos-dev
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
alp_ has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
<clever> output '/nix/store/8g5cafxqbb0lygz2zia2m2g8hgs0mxfg-ext4-fs.img.zst-armv7l-unknown-linux-gnueabihf' of '/nix/store/85r0xkhyiaxjipkdv4dcdclljwsf2sir-ext4-fs.img.zst-armv7l-unknown-linux-gnueabihf.drv' differs from '/nix/store/8g5cafxqbb0lygz2zia2m2g8hgs0mxfg-ext4-fs.img.zst-armv7l-unknown-linux-gnueabihf.check' from previous round
<clever> /nix/store/8g5cafxqbb0lygz2zia2m2g8hgs0mxfg-ext4-fs.img.zst-armv7l-unknown-linux-gnueabihf: Zstandard compressed data (v0.8+), Dictionary ID: None
<clever> gchristensen: the filesizes dont even match! :O
<gchristensen> hmm probably not too surprising, if something is a bit differently ordered the compression could be better/worse
<clever> ah, so your thinking diff the uncompressed version first
<gchristensen> yeah give that a go
<gchristensen> ideally diffoscope already knows how to unpack zstd compressed files, and then .img files
<clever> sdImage.compressImage = false; ...
<clever> diffoscope spent several minutes seeming to do nothing on the files
<gchristensen> hehe
<clever> still compressed!? lol
<clever> yeah, after manually uncompressing, sizes are identical
<clever> AttributeError: 'FsImageContainer' object has no attribute 'g'
<clever> and diffoscope fails hard
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
alp_ has joined #nixos-dev
<clever> gchristensen: https://gist.github.com/cleverca22/40c4607d239e72f7393de89be449df1f definitely some differences within the ext4 image
<clever> gchristensen: oh!
<clever> check the 2nd file on the gist
<gchristensen> ah ha!
<clever> just going to --option repeat 0 for now, but the cause has been narrowed down
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
dongcarl has joined #nixos-dev
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
dongcarl has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
alp_ has quit [Ping timeout: 260 seconds]
<matthewbauer> Hey, I was wondering if anyone had any input on this project I've made for use with flakes:
<matthewbauer> The idea is to improve the "mkDerivation" that we have in Nixpkgs for use with flakes. It does some things that we've wanted for a while like: type checking of arguments, parallel by default, run checks by default, separate debug info, stricter deps. On top of that it has a little bit of sugar to make flakes easier.
<gchristensen> hot!
<gchristensen> all that type checking you do is going to definitely need the Nix evaluation cache :D
<gchristensen> niksnut: what would you think about a builtin which lets you map over a closure?
<gchristensen> oh I guess the evaluator doesn't know the run-time closure so it can't really happen
<gchristensen> wish it did :P nevermind!
justanotheruser has joined #nixos-dev
MichaelRaskin has joined #nixos-dev
<infinisil> matthewbauer: Neat!
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #nixos-dev
<matthewbauer> gchristensen: yeah eval cache makes it much easier to do those checks
<matthewbauer> It's a little bit of a black box in terms of what is being cached. It's not terrible without caching since you're just mapping over some errors.
<gchristensen> yeaoh just thinking `hello` is already like 125k function calls and I wonder how much this wouldadd if used everywhere
<samueldr> quick: is there a darwin-only package on nixpkgs you know off the top of your head?
<cole-h> Security
<matthewbauer> gchristensen: yeah it should use builtins pretty heavily, so it may not be as bad as nixpkgs actually
<cole-h> > pkgs.darwin.Security # samueldr
<{^_^}> "<derivation /nix/store/984r0fh7cd5a2zk02id7gs75mam53acd-Security-osx-10.9.5.drv>"
<samueldr> thanks cole-h++
<{^_^}> cole-h's karma got increased to 85
<cole-h> samueldr: And probably every other package under darwin.*
<LnL> there's stuff under darwin that only builds on linux :D
<cole-h> Really? lol
<samueldr> oops, hard mode: it needs to be recursed into for the packages listing
<samueldr> (or at the root level of the namespace)
<cole-h> > recurseIntoAttrs pkgs.darwin
<{^_^}> { CF = <CODE>; CarbonHeaders = <CODE>; CommonCrypto = <CODE>; CoreSymbolication = <CODE>; Csu = <CODE>; DarwinTools = <CODE>; ICU = <CODE>; IOKit = <CODE>; Libc = <CODE>; Libinfo = <CODE>; Libm = <COD...
<LnL> some things used for darwin/ios cross builds
<samueldr> yeah, I mean, it needs to already be so the indexes are built
<cole-h> Oh, I see
<samueldr> checking a possible issue on the packages listing
<LnL> samueldr: skhd
<samueldr> thanks LnL++
<{^_^}> LnL's karma got increased to 75
<cole-h> samueldr: yabai
<samueldr> (I found hfsevents from haskell during that time, too)
<samueldr> and good, no issue AFAICT
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp_ has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
taktoa[c] has joined #nixos-dev
<jtojnar> worldofpeace I would like to rename the GH label "6.topic: gnome3" to "6.topic: GNOME"
orivej has quit [Ping timeout: 256 seconds]
<worldofpeace> Jan Tojnar: sounds good to me. We'd also have to change it in the autolabel thing in ofborg
<cole-h> jtojnar: Please cc me if/when that happens so I can make the according change to ofborg.
<cole-h> Yep :P
orivej has joined #nixos-dev
<cole-h> You can also submit a PR changing https://github.com/NixOS/ofborg/blob/f1d34ee2429638b6a4b2fcffc3335832c4a59b16/config.public.json#L140 and cc me there, as well. If I don't get to it in time, one of the others will.
<cole-h> Whichever is easier :)
<jtojnar> cole-h should that be agains the released branch?
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
primeos has quit [Quit: WeeChat 2.8]
primeos has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
<cole-h> jtojnar: Correct, thank you.
alp_ has quit [Ping timeout: 260 seconds]
<cole-h> jtojnar: OK, deployed successfully. Feel free to rename the label.
<cole-h> and/or worldofpeace
<jtojnar> cole-h done, thank
__monty__ has quit [Quit: leaving]
<cole-h> jtojnar: If you notice it not labeling GNOME PRs as expected -- can't see why it wouldn't, but just in case -- ping me and I'll look at the logs when I get a chance (if I'm not on IRC, a GitHub @ will suffice, or email if you're feeling daring)
<jtojnar> thanks, hopefully there wll be no issues, going to bed now 😴️
<cole-h> o/
cole-h has quit [Quit: Goodbye]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
<julm> Oh no, looks like one cannot overrides instances of systemd template services with NixOS, ie. create a file like /etc/systemd/system/user-runtime-dir@0.service.d/override.conf because /etc/systemd/system is a symlink to the a derivation built by generateUnits
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<julm> or maybe by passing through systemd.packages
<julm> yes, neat
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev