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
_e has quit [Quit: WeeChat 2.7.1]
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 265 seconds]
tilpner_ is now known as tilpner
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
teto has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
_e has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
<emily> jtojnar: yes, you need --recreate-lock-file to update everything
<emily> jtojnar: (I don't understand why either, but it seems pretty intentional from docs)
<emily> nix flake update just does what nix build would do by itself, aiui
pat_h has joined #nixos-dev
pat_h has quit [Quit: Connection closed]
drakonis has quit [Quit: WeeChat 2.8]
<srhb> How does status.nixos.org update? Channels have bumped, but the data shown on the page is stale.
<srhb> Ah, I guess some updates failed.
alp has joined #nixos-dev
lovesegfault has quit [Quit: WeeChat 2.8]
lovesegfault has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-dev
teto has joined #nixos-dev
FRidh has joined #nixos-dev
__monty__ has joined #nixos-dev
<evils> i'm running out of straws to clutch at; does "no module named 'setuptools'" in buildPythonPackage ring a bell here? https://dpaste.org/3VFH
arcnmx has quit [Quit: Idle for 30+ days]
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-dev
jamiemagee has left #nixos-dev ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
masaeedu[m] has left #nixos-dev ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
PkmX[m] has quit [Quit: Idle for 30+ days]
<FRidh> evanjs: one cannot provide much help without you sharing the nix expression
<FRidh> oops, was meant for evils
<evils> i need to go afk, thanks for taking a look, i'll be back
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
ckauhaus has joined #nixos-dev
<puck> .. nix-prefetch-url expects unzip and tar to be in $PATH
<Valodim> how unnix
<evils> puck: seem so work without them, they're only needed if you `--unpack`?, that's probably to reduce the closure size, seems like it also doesn't do TLS by itself
<puck> evils: okay, but
<puck> there's already a library capable of decompressing basically any file you could throw at it
<puck> in the same binary
<infinisil> puck: Nix also has a runtime dep on git which is not declared..
<puck> well, even more room for improvement, i'd say
<infinisil> Maybe we should have pkgs.nixFull or so which is wrapped with all runtime deps
<puck> why .. not just use libarchive for nix-prefetch-url instead of wrapping nix for GNU tar and unzip
<infinisil> > :p (import <nix/config.nix>)
<{^_^}> { bzip2 = "/nix/store/hgp00a1rgwqxjcrkqhbjrfb5df7wjhl5-bzip2-1.0.6.0.1-bin/bin/bzip2"; chrootDeps = [ "/nix/store/qhdzpmi0xgxdbdfs4fn5vf11alwmrmb2-nix-2.3.4" ]; coreutils = "/nix/store/ca9mkrf8sa8md8p...
<infinisil> > (import <nix/config.nix>)
<{^_^}> { bzip2 = "/nix/store/hgp00a1rgwqxjcrkqhbjrfb5df7wjhl5-bzip2-1.0.6.0.1-bin/bin/bzip2"; chrootDeps = <CODE>; coreutils = "/nix/store/ca9mkrf8sa8md8pv61jslhcnfk9mmg4p-coreutils-8.31/bin"; gzip = "/nix/s...
<infinisil> > attrNames (import <nix/config.nix>)
<{^_^}> [ "bzip2" "chrootDeps" "coreutils" "gzip" "nixBinDir" "nixLibexecDir" "nixLocalstateDir" "nixPrefix" "nixStoreDir" "nixSysconfDir" "shell" "tar" "tarFlags" "tr" "xz" ]
<infinisil> There is tar in there! Maybe prefetch could use that
<puck> except! i was trying to download a zip file!
<infinisil> Can gzip handle that?
<domenkozar[m]> puck: there's a libarchive PR
<domenkozar[m]> I hope it would be ready to be merged :)
<{^_^}> nix#3333 (by yorickvP, 17 weeks ago, open): Use libarchive for all decompression (except brotli)
<domenkozar[m]> and I think this part was already rewritten in Nix master
<puck> domenkozar[m]: guess who's on the cc here
<domenkozar[m]> ah :)
orivej has joined #nixos-dev
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
ckauhaus has quit [Quit: WeeChat 2.7.1]
<Ericson2314> niksnut: there is a TODO about removing addToStoreFromDump. Mind a PR doing just that?
<jtojnar> emily then it is weird `nix flake update --update-input nixpkgs` updates the lock file without `--recreate-lock-file`
<emily> jtojnar: I mean, --recreate-lock-file is like --update-input for all the inputs
<emily> --update-input is to bump one specific dep
<jtojnar> what docs do you have in mind, the help page just says "Summary: update flake lock file."
<emily> not sure
<emily> I thought it was the rfc but doesn't seem so
<emily> oh, the rfc got stripped down I guess, maybe it was in a previous version
<jtojnar> I also do not understand "nix flake update just does what nix build would do by itself, aiui"
<jtojnar> do you mean it will only "update" lock file when there is no lock file yet?
<jtojnar> that is the only lockfile related functionality I have seen
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 265 seconds]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-dev
<emily> jtojnar: if you add new stuff to flake.nix, or change the branch, or whatever, then it updates, I think
<emily> (not sure about the branch part actually, but definitely for adding new stuff it gets automagically added by nix flake update/nix build)
<emily> IMO nix flake update without arguments is pretty useless and it should default to --recreate-lock-file
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<Profpatsch> definitely
orivej has joined #nixos-dev
teto has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
b42 has quit [Ping timeout: 244 seconds]
alp has quit [Remote host closed the connection]
justanotheruser has joined #nixos-dev
alp has joined #nixos-dev
b42 has joined #nixos-dev
teto has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser 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
__monty__ has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
__monty__ has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
<Ericson2314> does anyone know why ValidPathInfo requires a nar hash even when it has an output CA?
<Ericson2314> (ca field)
<Ericson2314> it seems like we should relax teh elax the schema so either one is sufficient
<LnL> fixed output paths required a signature until a few releases back
<LnL> probably historical
<Ericson2314> execellent
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
<LnL> sounds like something tricky to transition, but I'm guessing you're just prototyping
<Ericson2314> Doubt it, because it is fine with both are there
<LnL> the client didn't negotiate with the daemon whether to include signatures for ca paths resulting is issues when using a newer client for example
<Ericson2314> LnL: you mean there is already a problem from the signature transition?
<LnL> yeah, there where problems while upgrading with that
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
__monty__ has quit [Ping timeout: 240 seconds]
__monty__ has joined #nixos-dev
<Ericson2314> LnL: and they were never resolved?
<LnL> don't think so
<LnL> only happened for people on nixos that use IFD in their config
<LnL> since that builds the configuration using the target nix version by default
alp has quit [Read error: Connection reset by peer]
alp has joined #nixos-dev
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos-dev
lukegb is now known as nijzat
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
<Ericson2314> LnL: gotcha
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
calbrecht has quit [Remote host closed the connection]
calbrecht has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
sphalerite has quit [Quit: WeeChat 2.6]
sphalerite has joined #nixos-dev
orivej has joined #nixos-dev
<samueldr> (not exactly dev) it's been brought to my attention that the subreddit has been cordoned off to "approved users"
<samueldr> the subreddit has AFAIK never been in control by users of NixOS, but rather a user that registered subreddits in mass
orivej has quit [Ping timeout: 264 seconds]
<abathur> hmm
<Ericson2314> fishy indeed
<samueldr> fishy not really, it's always been that way, but what I'm trying to bring up is that it's not ideal that no one in the community owns this
<samueldr> and now that submissions are limited, it looks like it's being moderated in good faith
<alexarice[m]> samueldr: do you mean that it's no longer possible to post to it?
<samueldr> though I've been told that on the new reddit interface there is a way to "request to post"
<samueldr> indeed there is
<samueldr> not good considering it blocks off old reddit users
<samueldr> and I don't think it's in the mindset of this community to "restrict" posting first ask questions later
<alexarice[m]> it's not good anyway, I expect a lot of people who are unaware of irc and new to nixos may try to post there for help
<samueldr> in fact it's been brought to my attention because a user said they couldn't post so they've gone to IRC
<samueldr> there's also other issues I've been seeing
<samueldr> like a pinned post for a matrix channel, rather than the official freenode channel or bridge to it
<alexarice[m]> I feel it is strange that there is a separate matrix channel
__monty__ has quit [Quit: leaving]
<alexarice[m]> I don't really know what the solution is though, especially if we don't know who has control of it
<abathur> add greater and greater amounts of telemetry until we catch them in the act?
justanotheruser has quit [Ping timeout: 256 seconds]
lightbulbjim has joined #nixos-dev
<hexa-> > General discussion related to Nix, NixOS, NixOps and related projects. | https://nixos.org/ | Freenode IRC: https://vector.im/beta/#/room/#freenode_#nixos:matrix.org
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):313:34
<hexa-> that's the matrix rooms topic
<hexa-> so it's not a bridge to irc either :<
<hexa-> roughly 1050 users in there
<alexarice[m]> I expect a lot of the matrix users are also in the irc channel though
orivej has joined #nixos-dev
<hexa-> yeah, lots of familiar faces
justanotheruser has joined #nixos-dev
nijzat is now known as lukegb
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev