worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<emily> elvishjerricco: my OpenPGP key exists on two yubikey tokens and an extremely long two-page handwritten paper dump and nowhere else
<emily> don't need to worry about backing it up if you make not having the ability to back it up part of your seucrity model [taps forehead]
jbrock has quit [Client Quit]
<niso> emily: i assume linked repos havn't been audited?
* cole-h is still waiting for SoloKeys rev2 to get on the security key hype train
jbrock has joined #nixos
<rotaerk> notgne2, okay, nm; if I just run firefox, without nvidia-offload, about:support doesn't seem to have errors (aside from notes that certain things are disabled, like HW_COMPOSITING, OPENGL_COMPOSITING, GPU_PROCESS, etc), but all the WebGL lines seem fine. However, the WebGL 1 and 2 Driver Renderer lines say "Mesa Intel" is what's being used
<emily> niso: I don't think minisign or age have been audited (perhaps OpenBSD's signify that minisign is based on has been?), but they're simple codebases based on established crypto written by Real™ cryptographic engineers. tbh if you "audit" gnupg you will find that it's a colossal broken mess
<rotaerk> but if I `nvidia-offload firefox`, suddenly I just get errors in that section
<energizer> emily: why handwritten??
<emily> niso: there's plenty of flaws in pgp that are just part of the fundamental design and will never be fixed. it relies on SHA-1 pervasively. "short key IDs" are totally broken, but so are "long key IDs"
<gchristensen> (rip)
<energizer> agree `age` is nice
<emily> niso: long-term unrotated keys are insecure but pgp's entire model is based on them (subkeys are a bad hack on top and rotating them regularly is a pain). key servers are fundamentally broken. the web of trust is a practical non-starter for a bunch of reasons
<gchristensen> emily: I wish there was an alternative to gpg signing commits
<elvishjerricco> emily: Kinda disappointed the repos you linked don't do both signing and encryption in one tool
<emily> niso: openpgp is just a mess all the way up, from the crypto it's based on to the protocol on top to the software that implements it to the general culture of use it promotes. you can see a lot of ~thinkpieces~ about this from famous crypto-y people like https://moxie.org/blog/gpg-and-me/ https://blog.filippo.io/giving-up-on-long-term-pgp/
<energizer> gchristensen: minisign has been proposed
vanillaicecream has joined #nixos
<elvishjerricco> gchristensen: I wonder if that's just a matter of someone doing the work to implement another signing mechanism
<emily> but yeah, no github/etc. support
* camlriot42 uploaded an image: Screenshot_20200427_053248.png (378KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/VWiyjtONtZDSYrkjNFtlCRrX >
<niso> emily: alright, thanks, i'll read into it :)
<emily> gchristensen: fun fact: there's nothing stopping you using the openpgp smart card protocol to produce minisign/signify signatures from a hardware token. I have vague plans to implement this sans gnupg code at some point
<camlriot42> Cole Mickens: I removed the videoDriver line. Its back to its previous display resolution
<gchristensen> nice
<emily> I think there's also nothing stopping you doing the same for age or similar
<camlriot42> Cole Mickens: screenshot attached.
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/e6d222fc0dd (from 30 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<emily> I think the main caveat for signing is that you'd need to use an openpgp "Authentication" key because signing ones have restrictions on the kind of blob they can sign
<emily> but I'm not actually sure if that is implemented in software or the protocol
<vanillaicecream> manveru: I was already running `nixos-unstable` (this is back to Crystal). The issue was that the Crystal compiler was using `pkg-config` to try to resolve which version to link against, and defaulted to using symbols from `openssl-1.0.2`, which were absent from `openssl-1.1.0`. I added `pkg-config` as a build input and the Crystal compiler was
<vanillaicecream> able to properly detect the required `openssl` version, so that was that. I'm going to write all of this up
<niso> semi related question: when it comes to hardware-keys i've noticed yubikey is mentioned a lot, however they seem to be proprietary. How do open solutions compare? do they share an interface, or will each key need it's own driver (or something like that)?
<emily> and if you only publish it as a minisign/signify/... key, then it doesn't really matter what your openpgp card thinks of it as
<emily> niso: the protocols are generally standardized. the ones you're likely to care about are u2f/fido2 (for use in browsers and SSH), openpgp, and pkcs#11
<elvishjerricco> emily: I'm curious. Is it just gnupg that's bad, or the entire openpgp standard?
<emily> niso: solokeys and nitrokey are two "open" solutions worth investigating. neither of them have as good hardware security as yubikeys
<emily> unfortunately, "good cryptographic enclave chip" generally implies "annoying NDA"
<niso> emily: what's the metric of "godo hardware security"?
<emily> right, it depends heavily on your threat model
<niso> emily: alright, thus security by obvuscation?
<colemickens> camlriot: and you have the right option selected in the virt-viewer window? (Sorry not sure how familiar you are with virt-manager)
<emily> niso: like, for some of these it's "if you hand me a security token implemented with simple persistent storage and a microcontroller I can exfiltrate your private key in a few minutes"
<emily> niso: for a yubikey it's many orders of magnitude harder
<camlriot42> Cole Mickens: yes I am newbie to virt-manager.
<emily> honestly, I think the main useful property in practice is just tamper-evidence: it'd be hard to get anything out of a yubikey without visibly destroying it
<camlriot42> Cole Mickens: What option to choose?
<emily> protecting against key compromise once you lose the hardware in the long-run is kind of hopeless. but many people spend a few hours away from their hotel room and assume their security token didn't get jacked
<colemickens> camlriot: :/ I think its the one that size "Auto resize VM to window"
<emily> niso: it's not just obfuscation but also the amount of code, hardware, etc. that has physical access to the key
<colemickens> camlriot: sometimes I also have to resize the virt-viewer window to trigger it?
<emily> niso: if you don't care about hardware security I would say the main disadvantage of solokeys/nitrokey is just that afaik there's nothing that gets you fido2 + openpgp in one device like yubikey has
<emily> niso: you might also be interested in trezor and ledger, which are varying degress of open but generally more more flexible (because they're designed around the cryptocurrency wallet case which is a bit more elaborate than a simple authentication token like u2f)
<niso> emily: kinda makes me wonder if there is some open source project i can just flash on some random fpga - coat it in epoxy and call it a day :P
<emily> elvishjerricco: the protocol and formats are unfixably broken too
<camlriot42> Cole Mickens: donesnt work. it just resized to the wallpaper size. tried to change the kde settings for display resolution. but it again got back to its original size
<emily> niso: sadly I think all the turnkey stuff like that is microcontroller-based rather than fpga. a pure fpga u2f token would be cool
<colemickens> camlriot: you chose the checkbox and not "Resize to VM" right?
<niso> oh realy? i assumed they moved to fpgas due to security reasons
<emily> niso: if you want to go down that route there's tomu (and the fpga version fomu). tbh the only thing that hardware is good for with its complete lack of IO is implementing the world's most insecure security tokens, so it's at least making good use of the hw :p
<camlriot42> Cole Mickens: yes
<colemickens> we publish virtualbox images and not pre-installed qemu images?
<evelyn> trezor's openpgp thing is a steaming pile of dung
<colemickens> surely this can't be
<emily> elvishjerricco: I don't know if all parts of it are as bad as the rest, I was hoping that the smartcard protocol might be okay so I wouldn't have too much of a horrible time implementing it,
<evelyn> it's not a generic openpgp device, they have their own ad-hoc agent thing
<emily> elvishjerricco: but let's just say: they added KDF-based password stretching to the standard within the last few years, but it looks like, uh, this: https://github.com/Yubico/yubikey-manager/pull/325/files#diff-b780a8a77443ede39bae6ba812fe1674R274-R284
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<emily> not even iterated SHA-2, just "repeat the source a bunch and shove it into SHA-2", and also, the way they specify the amount to repeat it by is ridiculous and means that longer keys get stretched less, and there's a few special cases I didn't even implement there, and,
<camlriot42> Cole Mickens: sorry I chose the resize to VM.
<emily> elvishjerricco: the unfortunate reality is that the only people who invest significant amounts of effort into openpgp/gnupg at this point are true believers, because everyone else sees enough and nopes out
jbrock has quit [Client Quit]
jbrock has joined #nixos
<qyliss> there are plenty of extremely heavily-invested non true believers
<camlriot42> Cole Mickens: It works! with Autoresize window with VM checkbox ticked.
<evelyn> the trezor thing is an order of magnitude worse than gnupg itself and that's saying something
<colemickens> camlriot: excellent, happy to hear it!
<camlriot42> thanks!
<qyliss> like, when you get close enough to see what a shit show development of it is
<emily> evelyn: it's all python, right? doesn't inspire confidence
<evelyn> I mean check this shit out: https://pypi.org/project/trezor-gpg/
<colemickens> emily: my understanding is that solokeys v2 will be oss and do fido2+pkcs11+piv
<emily> colemickens: cool. do you know if they have any plans to use any kind of secure element/tpm/hsm/... chip? there are non-NDA'd options out there that can do ecc incl ed25519
<evelyn> it both manages to be worse than gpg and also not compatible with all the stuff that's already out there
<emily> not great options, though
<emily> (think "designed to be a laptop EC chip", and those tend to not have great security standards, hence Google and Apple making their own)
<evelyn> for open source pgp cards, there has been gnuk for years and that is not that unreasonable, and it's super fast for ed25519 operations
<emily> evelyn: oh this doesn't even implement pgp on the card
<evelyn> it's the only OSS ed25519 pgp card I know of and it's really great
<emily> it's just using it as a weird passphrase store I guess?
<colemickens> emily: I definitely don't know that level of detail. in fact, discussion of security is absent from the v2 blog post where they outline new features.
<evelyn> yeah it's not an openpgp card at all, it's just python hacks
<emily> right, I meant to link gnuk
<emily> otoh I just feel bad recommending it, because, well, it's openpgp and nothing else
<emily> unless someone implemented fido2
<evelyn> it's really fast, and the developer designed the fst-01 USB token too
<evelyn> (it = gnuk not trezor)
<evelyn> and it's in nixpkgs!
<evelyn> gnuk
<colemickens> fido2 emulator backed by openpgp protected something something something...?
* colemickens is full of good ideas today
<evelyn> that is a bad idea, because it introduces openpgp into a new project
reallymemorable has joined #nixos
<evelyn> if you do that, you may go insane
<colemickens> I guess I'll got to #nixos-chat, but I have a question about gpg-less hardware token auth stuff
reallymemorable has quit [Client Quit]
<elvishjerricco> Is there an option to have Nix ONLY start fetching from substituters, and stop before doing any local building?
<energizer> elvishjerricco: -j0
<elvishjerricco> energizer: I believe that's equivalent to --max-jobs 0, which I just tried and it won't even do fetching
<elvishjerricco> `error: 130 derivations need to be built, but neither local builds ('--max-jobs') nor remote builds ('--builders') are enabled`
<energizer> you dont want to do any building, local or remote?
tobeportable has quit [Remote host closed the connection]
<elvishjerricco> Right. I just want it to download prerequisite dependencies from cache.nixos.org before starting any manual builds
<MichaelRaskin> I think --option build-max-jobs 0 fetches but does not build
<elvishjerricco> MichaelRaskin: I don't see that option in `nix --help-config`... I'll give it a shot
<elvishjerricco> Well I didn't get warning: unknown setting
<elvishjerricco> Same issue
<elvishjerricco> `error: 130 derivations need to be built, but neither local builds ('--max-jobs') nor remote builds ('--builders') are enabled`
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfqJl
<MichaelRaskin> elvishjerricco: Are you sure there is anything to fetch from cache?
<elvishjerricco> MichaelRaskin: Yes. --dry-run tells me like a hundred derivations will be fetched
<MichaelRaskin> Hm. For me it does fetch and does not build
<MichaelRaskin> So does -j 0
<elvishjerricco> MichaelRaskin: I'm on a slightly old version of nix. 2.3, and nixos 19.09. Maybe it's changed
<MichaelRaskin> Maybe add -k ?
<elvishjerricco> Interesting idea
<MichaelRaskin> (to tell you want to go as far as possible even if failure is known earlier)
<elvishjerricco> Did not work
<elvishjerricco> MichaelRaskin: What version of nix do you have?
<MichaelRaskin> I now understand that I tested fetching on things where top-level derivation is also fetchable
<MichaelRaskin> 2.3.3
virus_dave has quit [Quit: virus_dave]
reis-r has quit [Read error: Connection reset by peer]
reis-r has joined #nixos
<{^_^}> [nixpkgs] @CohenCyril opened pull request #86088 → Updating coqPackages coqPackages_8_10 coqPackages_8_11 → https://git.io/JfqJd
<elvishjerricco> Onto other problems... `error: anonymous function at /nix/store/973xp5ri36ldji0vmd0d33d1jzc00nsm-source/pkgs/top-level/default.nix:20:1 called with unexpected argument 'initialSystem', at /nix/store/973xp5ri36ldji0vmd0d33d1jzc00nsm-source/pkgs/top-level/impure.nix:84:1` wtf
reallymemorable has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [Ping timeout: 244 seconds]
m0rphism has quit [Ping timeout: 260 seconds]
reis-r has quit [Remote host closed the connection]
<bqv> oh!
smatting_ has joined #nixos
<bqv> you can't use derivations directly in runCommand?
<bqv> how are you meant to use them?
<elvishjerricco> bqv: Course you can
<bqv> i'm trying to interpolate
<elvishjerricco> That would be how to do it, yes
<bqv> e.g. runCommand "" {} '' ${boost.out} ''
<bqv> this fails as soon as i add the ${boost} part
<bqv> so clearly that's an issue
<elvishjerricco> bqv: Wouldn't the commands be in `${boost.out}/bin`?
<bqv> i'm not after the commands, that's just a mini example of what i'm trying to do
<bqv> regardless, it fails at the *evaluation* step not execution
<cole-h> Unless that was just for an example, you definitely need a name for the derivation lol
<elvishjerricco> bqv: I'll have to see a more concrete example.
<cole-h> > runCommand "a" {} '' ${boost.out} ''
<{^_^}> "<derivation /nix/store/fniasv63d0hxs8755x3sh729bp6asxqr-a.drv>"
<cole-h> > runCommand "" {} '' ${boost.out} ''
<{^_^}> "<derivation /nix/store/xg53bssdhy1356ahwi2m0mpyinwkp4d7-unknown.drv>"
<cole-h> Oh cool, it sanitizes lol
<bqv> > "${runCommand "a" {} '' ${boost.out} ''}"
<{^_^}> "/nix/store/2r0xfzk2mlrz0lmbrf756fc7sfj4ski8-a"
proofofkeags has joined #nixos
<bqv> huh, that does work
smatting has quit [Ping timeout: 246 seconds]
c382feb92 has quit [Ping timeout: 244 seconds]
<bqv> just checking, nesting ${}s is always supported, right?
<cole-h> > "${"${"${"${"a"}"}"}"}"
<{^_^}> "a"
pingiun has joined #nixos
<bqv> oh good god
<bqv> i figured out my issue
<bqv> i was using "with" with a list
<bqv> pebcak as usual, i should actually read error messages
<cole-h> :D
{^_^} has quit [Remote host closed the connection]
chagra_ has quit [Ping timeout: 260 seconds]
{^_^} has joined #nixos
<mvnetbiz_> error: attribute 'npm' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/programs/npm.nix:19:19
<mvnetbiz_> I get this error when I nixos-rebuild switch
<mvnetbiz_> But I can still do nix-build "<nixos>" -A pkgs.nodePackages.npm
jbrock has quit [Quit: jbrock]
cyraxjoe has joined #nixos
jbrock has joined #nixos
<cole-h> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
MightyJoe has quit [Ping timeout: 260 seconds]
<bqv> mvnetbiz_: pretty sure npm is just part of nodeJs
<cole-h> ,locate bin npm
<{^_^}> Found in packages: nodejs, nodejs-12_x, nodejs-13_x
<bqv> nailed it
<cole-h> Wrong, you capitalized the J
<bqv> oh shoo
<cole-h> It's `nodejs`, not `nodeJs` >:)
<mvnetbiz_> It errors evaluating this attribute
<cole-h> What errors? Can you paste the error somewhere?
<mvnetbiz_> error: attribute 'npm' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/programs/npm.nix:19:19
vanillaicecream has quit [Ping timeout: 240 seconds]
<mvnetbiz_> I guess I can just set the package to something else but I don't think that will even help becaues the error is when it is evaluating the options in that module.
<bqv> what channel are you on?
<cole-h> Is this a new install?
<mvnetbiz_> unstable and no.
kugal has joined #nixos
<bqv> > pkgs.nodePackages.npm.version
<{^_^}> "6.14.4"
<bqv> sumting wrong
<bqv> but i've never used that option and i don't know anyone that does
<mvnetbiz_> I don't use it either
<bqv> well, you do, transitivtely, by having programs.npm.enable = true
<mvnetbiz_> $ nixos-option programs.npm.enable
<mvnetbiz_> Value:
<mvnetbiz_> false
<bqv> oh christ
horek has quit [Ping timeout: 246 seconds]
<mvnetbiz_> What? haha
<bqv> something's very wrong then
<mvnetbiz_> Yeah I think its do to a recent change in lib/modules.nix maybe
<bqv> that package option shouldn't even be evaluated if that's false
kugal has quit [Remote host closed the connection]
<mvnetbiz_> How do I tell what git commit my channel comes from?
kugal has joined #nixos
<bqv> i don't use channels, but probably easiest to just update again and check github at the same time
<bqv> that said, my gut instinct is just to exorcise your machine
sigmundv_ has quit [Ping timeout: 260 seconds]
<kalbasit> does `nix-instantiate shell.nix` download everything a `nix-shell` needs?
<mvnetbiz_> bqv, Do you use a local git repo or do you do a fetchGit in your config?
<cole-h> No, it just generates a .drv with that information, IIRC kalbasit
<cole-h> `nix-instantiate -E 'with import <nixpkgs> {}; gtk3'` didn't do any downloading for me
<kalbasit> I always thought it does 🤔
<bqv> mvnetbiz_: huh? for what?
<mvnetbiz_> You said you don't use channels. maybe you don't use nixos you just use nixpkgs?
Fare has quit [Ping timeout: 244 seconds]
<cole-h> They use flakes instead of channels
<bqv> oh, no, i use nixos, just ^
<bqv> experimental alternative to flakes
<bqv> experimental alternative to channels *
<rotaerk> sounds flakey to me
<mvnetbiz_> oh ok.
<mvnetbiz_> you scared me when you said experimental alternate to flakes
<bqv> an experimental alternative to an experiment
<bqv> i'm in
<pjt_014> experimental is the best kind of anything
<pjt_014> especially music
<bqv> oh another schoenberg fan?
<pjt_014> If that's not experimental rap/rock/metal or John Cage I probably don't know them
<bqv> was a joke, but it probably won't hit unless you google the name
h0m1 has quit [Ping timeout: 244 seconds]
<pjt_014> oh, hmm
peelz_ has quit [Quit: Leaving]
<pjt_014> atonal--good keyword off that bat.
<mvnetbiz_> I think I watched a youtube documentary on him or something
h0m1 has joined #nixos
<pjt_014> here's a fun experimental thing: https://www.youtube.com/watch?v=UZzYxGZ7Hmc
<pjt_014> :D
<cole-h> Probably -> #nixos-chat if you want to continue ;)
<pjt_014> nah it was just that that I wanted to share
<pjt_014> speaking of on topic, do you have merge permissions? there's a Pr that is ready to be merged in that's on the 20.03 milestone list
<cole-h> I do not. Which one?
<{^_^}> #70207 (by NeQuissimus, 29 weeks ago, open): kafka: Remove old versions
<pjt_014> Most of the issues in the milestone I can't help with, getting an adult to use the ol' rubber stamp on this is the least I can do
<pjt_014> Is there a list of them somewhere? I only know one such person by name and they might be unavailable at the moment
reallymemorable has quit [Quit: reallymemorable]
rogue_koder has quit [Ping timeout: 240 seconds]
rogue_koder has joined #nixos
<cole-h> Well, considering Neq has the write bit themself, I wouldn't worry about it.
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @droyo opened pull request #86089 → ocamlPackages.tsdl: 0.9.4 -> 0.9.7 → https://git.io/JfqTH
<{^_^}> [nixpkgs] @amiloradovsky opened pull request #86090 → coq-zorns-lemma: 8.9.0 -> 8.11.0 → https://git.io/JfqTQ
AliciaAway has joined #nixos
Fare has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
jbrock has quit [Client Quit]
jbrock has joined #nixos
AliciaAway has quit [Client Quit]
rogue_koder has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
rogue_koder has joined #nixos
jbrock has joined #nixos
das_j has quit [Quit: killed]
mrpi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
<{^_^}> [nixpkgs] @marsam opened pull request #86091 → gitAndTools.delta: 0.0.18 -> 0.1.1 → https://git.io/Jfqkf
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
das_j has joined #nixos
mrpi has joined #nixos
felixfoertsch23 has joined #nixos
rsa has joined #nixos
jbrock has quit [Quit: jbrock]
reallymemorable has joined #nixos
felixfoertsch has quit [Ping timeout: 240 seconds]
felixfoertsch23 is now known as felixfoertsch
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
reallymemorable has quit [Client Quit]
jbrock has joined #nixos
drakonis has joined #nixos
xO1 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
smatting_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @MetaDark opened pull request #86093 → pythonPackages.vdf: 3.2 -> 3.3 → https://git.io/JfqkX
<freeman42x[m]> anyone know what the Nix package for VLC player is?
<drakonis> vlc
<drakonis> > vlc.meta
<{^_^}> { available = <CODE>; description = "Cross-platform media player and streaming server"; homepage = "http://www.videolan.org/vlc/"; license = <CODE>; name = <CODE>; outputsToInstall = <CODE>; platforms...
aw has quit [Quit: Quitting.]
spacefrogg_ has quit [Quit: Gone.]
<elvishjerricco> What's the right way to manage emacs config declaratively with NixOS these days?
aw has joined #nixos
nwspk has quit [Quit: nwspk]
andi- has quit [Remote host closed the connection]
spacefrogg has joined #nixos
<energizer> ,locate bin/vlc
<{^_^}> Found in packages: libsForQt5.vlc
<energizer> freeman42x[m]: ^
rogue_koder has quit [Ping timeout: 244 seconds]
<energizer> wait really?
<energizer> that seems wrong
<{^_^}> [nixpkgs] @eadwu opened pull request #86094 → [20.03] nvidia prime render offload → https://git.io/Jfqk9
andi- has joined #nixos
<energizer> it's just vlc
nwspk has joined #nixos
<freeman42x[m]> drakonis: thank you, I just tried `vlc`, could not find it in search though... drakonis++
<{^_^}> drakonis's karma got increased to 9
<energizer> nix-locate doesn't work very well does it
jkachmar has joined #nixos
<aleph-> Hmm don't suppose anyone has working openstack modules? I know they were sorta a thing at one time
<aleph-> Looking at setting up a VM cluster over nixOS. So if the work is done already that'd be gret
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
rogue_koder has joined #nixos
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
turona has quit [Ping timeout: 265 seconds]
mzan has joined #nixos
<drakonis> cool beans
<drakonis> its probably something to do with the qt5 wrapper?
mvnetbiz_ has quit [Quit: Bye!]
mvnetbiz_ has joined #nixos
vanillaicecream has joined #nixos
<vanillaicecream> Wrote up what I had to do to get my Crystal project to build with Nix (I came here yesterday asking for help): https://danilafe.com/blog/crystal_nix_revisited/
<simpson> Cool.
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<energizer> ,locate bin vlc
<{^_^}> Found in packages: libsForQt5.vlc
turona has joined #nixos
yimmy149 has joined #nixos
<drakonis> wrapper bizniz
cgi has quit [Remote host closed the connection]
<djanatyn> i see "patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker)" in derivations a lot, but "${NIX_CC}" isn't part of my environment
<djanatyn> is that part of stdenv?
waleee-cl has quit [Quit: Connection closed for inactivity]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
rogue_koder has quit [Ping timeout: 240 seconds]
<clever> djanatyn: yes
<clever> djanatyn: if you do `nix-shell -p` youll get a $NIX_CC var
<energizer> why does nix-locate not find vlc?
justanotheruser has quit [Ping timeout: 240 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<simpson> > libsForQt5.vlc.meta
<{^_^}> { available = <CODE>; description = "Cross-platform media player and streaming server"; homepage = "http://www.videolan.org/vlc/"; license = <CODE>; name = <CODE>; outputsToInstall = <CODE>; platforms...
<simpson> energizer: Looks like it's working fine; some derivations are exposed under multiple names.
<freeman42x[m]> is there a Nix package for: https://mpv.io/ ?
<energizer> ,locate bin/mpv
<bqv> > pkgs.mpv.version
<cole-h> Yes
<clever> freeman42x[m]: pkgs.mpv
<{^_^}> "0.32.0"
<{^_^}> Found in packages: mpv, mpv-with-scripts
proofofkeags has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<cole-h> Why not just try `nix-shell -p <package>` instead of asking here? :P
<cole-h> 99% of the time, it'll find what you want.
<bqv> or better yet, `nix search mpv`!
<energizer> simpson: that's nice. i wonder why it doesn't show the alias
<energizer> > libsForQt5.vlc == vlc
<{^_^}> true
<bqv> wait, there's an equality operator over derivations?
<freeman42x[m]> cole-h: bqv I got bad memory, will remember this time since I tool note of how to search for a package. I was using the online search and that missed it. bqv++
<{^_^}> bqv's karma got increased to 5
<bqv> heh
<cole-h> Shows up just fine for me
<energizer> bqv: there's an equality operator over derivations, didn't we already know that from the fact that there's a cryptographic hash function over derivations?
<bqv> never seen it used, i'd no reason to expect it was a thing
<bqv> in terms of objects, derivations aren't equal, so it's a special case implementation that i just wasn't aware of
<energizer> aha
<emily> how does the flakes bootstrap story look like? hydra doesn't publish a standalone nixFlakes tarball or anything, so you either have to go through an existing nix or manually trace deps and extract NAR, right?
<emily> thinking about the CI usecase
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
vanillaicecream has quit [Ping timeout: 240 seconds]
slack1256 has joined #nixos
<djanatyn> it looks like "${NIX_CC}/nix-support/dynamic-linker" points to a 64bit package: /nix/store/v9j0bsl1bv7ngijmvnvnj9h3qrb1p3mf-glibc-2.30/lib/ld-linux-x86-64.so.2
<djanatyn> how can I find the equivalent 32bit ld-linux.so?
<djanatyn> nix-locate helped!
<clever> djanatyn: use a 32bit stdenv
<djanatyn> clever: thanks! :)
rogue_koder has quit [Ping timeout: 246 seconds]
user_0x58 has quit [Ping timeout: 240 seconds]
<davidak[m]> worldofpeace can you tag this as blocker? https://github.com/NixOS/nixpkgs/issues/86095 who is the maintainer of manual desktop file on plasma installer iso?
<emily> answer to my queestion: https://hydra.nixos.org/jobset/nix/flakes
<{^_^}> #86095 (by davidak, 2 minutes ago, open): 20.03 Installer: Manual opens in Editor
<{^_^}> [nixpkgs] @mjlbach opened pull request #86096 → libnvidia-container: 1.0.0 -> 1.0.6 → https://git.io/JfqLZ
yimmy149 has left #nixos [#nixos]
Acou_Bass has quit [Ping timeout: 256 seconds]
<djanatyn> clever: thanks to your example, i was able to get my first unpatched binary (Depression Quest) running on NixOS: https://gist.github.com/08886ef8d1243e8228b98d161d662168
rogue_koder has joined #nixos
<clever> djanatyn: nice
Acou_Bass has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #86097 → nixos/podman: add assertion for dockerCompat → https://git.io/JfqLg
<{^_^}> [nixpkgs] @mjlbach opened pull request #86098 → libnvidia-container: 1.0.0 -> 1.0.6 → https://git.io/JfqLa
domogled has quit [Quit: domogled]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #85949 → tut: 0.0.2 -> 0.0.7 → https://git.io/JfLKb
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfqLx
gxt has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #85935 → libcbor: Fix pkgconfig being placed correctly → https://git.io/JfLCQ
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to staging: https://git.io/JfqtY
nixy37179 has quit [Quit: The Lounge - https://thelounge.chat]
nixy37179 has joined #nixos
rail_ has quit [Quit: gone...]
rail_ has joined #nixos
kolbycrouch has joined #nixos
codygman has quit [Read error: Connection reset by peer]
kolbycrouch has left #nixos [#nixos]
shafox has joined #nixos
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
peelz has quit [Ping timeout: 258 seconds]
codygman has joined #nixos
peelz has joined #nixos
peelz has quit [Ping timeout: 244 seconds]
peelz has joined #nixos
mchasard has joined #nixos
Acou_Bass has quit [Ping timeout: 246 seconds]
drakonis has quit [Quit: WeeChat 2.8]
Acou_Bass has joined #nixos
shafox_ has joined #nixos
shafox has quit [Ping timeout: 240 seconds]
mchasard has quit [Quit: Leaving]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
est has joined #nixos
uwap has quit [Quit: ZNC 1.7.5 - https://znc.in]
uwap has joined #nixos
nek0 has quit [Remote host closed the connection]
nek0 has joined #nixos
est31 has quit [Ping timeout: 240 seconds]
aranea has quit [Ping timeout: 265 seconds]
immae has quit [Ping timeout: 265 seconds]
Scriptkiddi has quit [Ping timeout: 260 seconds]
ajs124 has quit [Ping timeout: 260 seconds]
das_j has quit [Ping timeout: 260 seconds]
joepie91 has quit [Ping timeout: 265 seconds]
hexa- has quit [Ping timeout: 265 seconds]
aranea has joined #nixos
f0x has quit [Ping timeout: 265 seconds]
immae has joined #nixos
shafox__ has joined #nixos
shafox_ has quit [Ping timeout: 246 seconds]
user_0x58 has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
hexa- has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
ajs124 has joined #nixos
eyenx has quit [Ping timeout: 260 seconds]
das_j has joined #nixos
Scriptkiddi has joined #nixos
jbox has joined #nixos
jkachmar has quit [Quit: Connection closed for inactivity]
palo1 has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9137f05564e (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
c382feb92 has joined #nixos
FRidh has joined #nixos
`_ has quit [Ping timeout: 240 seconds]
jbrock has quit [Quit: jbrock]
eyenx has joined #nixos
jbrock has joined #nixos
asheshambasta has joined #nixos
fabianhjr has quit [Quit: Leaving.]
slack1256 has quit [Remote host closed the connection]
c382feb92 has quit [Ping timeout: 260 seconds]
c382feb92 has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<{^_^}> [nixpkgs] @zowoq opened pull request #86099 → runc: remove hardeningDisable → https://git.io/Jfqq6
c382feb92 has quit [Read error: Connection reset by peer]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
mallox has joined #nixos
CMCDragonkai1 has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86099 → runc: remove hardeningDisable → https://git.io/Jfqq6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfqqh
CMCDragonkai has quit [Ping timeout: 240 seconds]
CMCDragonkai1 is now known as CMCDragonkai
<manveru> VanillaIceCream: ah, yeah, i thought the fix was merged already... Will have to check again
opthomasprime has joined #nixos
jbox has quit [Quit: WeeChat 2.8]
opthomasprime has quit [Remote host closed the connection]
orivej has joined #nixos
<Profpatsch> How do I import a module relative to pkgs.path? imports = [ "${nixpkgs.path}/nixos/…/amazon-image.nix" ]; is an infinite recursion.
<Profpatsch> infinisil: ^
<Profpatsch> I tried modulesPath, but that’s an infinite recursion as well.
<Profpatsch> Or does the lazy modules path thing change that?
<Profpatsch> (We’re still on 19.09 here, so that’s not in the nixpkgs version we use)
opthomasprime has joined #nixos
<cole-h> `(modulesPath + "nixos/.../amazon-image.nix")` doesn't work? (I think that might be slightly different than ${modulesPath})
<Profpatsch> Oh, toString might help
<makefu> or use <nixpkgs/nixos/.../amazon-image.nix>
<cole-h> Which only works if you actually have nixpkgs in your NIX_PATH (as a channel or otherwise)
<Profpatsch> makefu: Not an option, we’re pinning for a reason
<Profpatsch> cole-h: No, doesn’t work, neither + nor toString
<cole-h> :( Sorry
<makefu> okay
<cole-h> Maybe that lazy modules stuff does have something to do with it, then
<Profpatsch> I have a feeling infinisil’s changes help there, eys
<cole-h> inf*nisil, backport pls! :P
<Profpatsch> But we need to update to 20.03 first.
opthomasprime has left #nixos [#nixos]
<Profpatsch> don’t need a backport, it’s on the list of things to do anyway :)
orivej has quit [Ping timeout: 260 seconds]
wrunt has quit [Ping timeout: 265 seconds]
wrunt has joined #nixos
alexherbo2 has joined #nixos
wspthr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « coqPackages.equations: 1.2 → 1.2.1 »: https://git.io/JfqmK
<{^_^}> [nixpkgs] @max-wittig opened pull request #86100 → gitlab-runner: 12.10.0 -> 12.10.1 → https://git.io/Jfqmi
maddo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86045 → restic: use subPackages, installShellFiles → https://git.io/Jftot
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfqmX
rauno has joined #nixos
cole-h has quit [Quit: Goodbye]
Zer000 has quit [Ping timeout: 258 seconds]
shreyansh_k has joined #nixos
<srxl[m]> is it possible to install the nixpkgs manual locally, like with the nixos manual?
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
gagbo_ has joined #nixos
inf has joined #nixos
pingiun has joined #nixos
<{^_^}> [nixpkgs] @dkudriavtsev opened pull request #86101 → magic-vlsi: init at 8.3.5 → https://git.io/Jfqmj
<{^_^}> [nixpkgs] @Mic92 opened pull request #86102 → dqlite: 1.4.0 -> 1.4.1 → https://git.io/JfqYJ
user_0x58 has quit [Quit: Leaving]
pingiun has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7c399a4ee08 (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @cw789 opened pull request #86103 → elixir_1_10: 1.10.2 -> 1.10.3 → https://git.io/JfqYG
cr4y1 has joined #nixos
ebopp has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
m0rphism has joined #nixos
tobeportable has joined #nixos
lsix has joined #nixos
zupo has joined #nixos
<infinisil> Profpatsch: modulesPath *should* work by default
<infinisil> But it's (modulesPath + "/services/...")
<infinisil> So it's relative to nixos/modules
<Profpatsch> infinisil: before or after your changes?
<infinisil> I didn't change anything with that
<Profpatsch> infinisil: Ah, I have to import it as an argument
<Profpatsch> { modulesPath, ... } works
<infinisil> Ah yup
<{^_^}> [nixpkgs] @xaverdh opened pull request #86104 → treewide: add types to boolean / enable options → https://git.io/JfqYN
<Profpatsch> I tried config._args.modulesPath
<infinisil> Module arguments can be passed in different ways, so config._module.args doesn't actually have all arguments
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #86105 → librespot: init a 0.1.1 → https://git.io/JfqOf
cfricke has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @DamienCassou merged pull request #84286 → hashi-ui: init at 1.3.8 → https://git.io/JvbbI
<{^_^}> [nixpkgs] @DamienCassou pushed 3 commits to master: https://git.io/JfqOL
nschoe has joined #nixos
smatting_ has joined #nixos
konobi_ has quit [Ping timeout: 256 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
konobi has joined #nixos
bukkitgerman8608 has quit [Ping timeout: 256 seconds]
<betaboon> anyone has a good pointer for achieving the following: i want to be able to use specific extra-substituters within a project that is using lorri. (so i would like to be able to set extra-substitutes in the shell.nix)
<betaboon> Profpatsch: terraform-nix-provider ssh-problem seems solved :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e726e341c60 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fantoom[m] has joined #nixos
jbox has joined #nixos
<emmanuelrosa[m]> What is the proper attribute for accessing coreutils within a Nice overlay? For example, if I use super.coreutils then nix-build begins to compile coreutils, which suggests the real coreutils is under some other attribute.
bukkitgerman8608 has joined #nixos
civodul has joined #nixos
<srk> emmanuelrosa[m]: I think it's just pkgs.coreutils, does the overlay use the same nixpkgs as a system?
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #86107 → wireguard-compat: 1.0.20200413 -> 1.0.20200426 → https://git.io/JfqOA
<{^_^}> [nixpkgs] @knl opened pull request #86108 → oauth2_proxy: Backport security fix → https://git.io/Jfq3e
bukkitgerman8608 has quit [Ping timeout: 244 seconds]
alp has joined #nixos
fendor has joined #nixos
<emmanuelrosa[m]> @srk Yes, my overlay uses the same nixpkgs. That worked. Thank you :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Quit: knupfer]
<peelz> my keys sometimes gets stuck since I upgraded to 20.03. Does that happen to anybody else?
titaf has joined #nixos
knupfer has joined #nixos
<peelz> stuck as in the key repeats really quickly and doesn't release until I press it again
<hyper_ch> sounds more like a hardware problem
<peelz> it happens with random keys -- never happened before 20.03 upgrade
<peelz> or on any other OS
<etu> Did you spill soda while upgrading?
<peelz> no haha
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<srk> > xkcd 1172
<peelz> lol
<evils> infinisil++
<{^_^}> infinisil's karma got increased to 269
<{^_^}> [nixpkgs] @petabyteboy merged pull request #85623 → gitlab:12.8.8 -> 12.8.9 → https://git.io/JfTO2
<{^_^}> [nixpkgs] @petabyteboy pushed 5 commits to master: https://git.io/JfqsY
nschoe has quit [Quit: No Ping reply in 180 seconds.]
<srk> peelz: I would try debugging that with xev and dmesg -Hw
<{^_^}> [nixpkgs] @Mic92 opened pull request #86110 → PULL_REQUEST_TEMPLATE: try to simplify call-for-review → https://git.io/Jfqsn
<peelz> srk: right. it seems to happen infrequently though. I'll be typing in vim or my terminal and suddenlyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...
<peelz> not sure how to reproduce it
Avaq has joined #nixos
linarcx has joined #nixos
<srk> I'm getting infrequent [ +7.553053] usb 1-12: reset high-speed USB device number 7 using xhci_hcd
nschoe has joined #nixos
<srk> not sure which device it is since it's not keyboard/mouse or soundcard :D
<peelz> weird
<evils> just to add noise to that topic: i get key repeats if i do `key+compose`, but only in telegram-desktop
<evils> i haven't ruled out that being a feature...
DigitalKiwi has quit [Quit: quite.]
DigitalKiwi has joined #nixos
peelz has quit [Remote host closed the connection]
ashkitten has quit [Ping timeout: 272 seconds]
peelz has joined #nixos
ashkitten has joined #nixos
Avaq has quit [Quit: Leaving.]
thc202 has joined #nixos
<peelz> oh it just happened again, with spacebar this time though
Avaq has joined #nixos
<peelz> I let it continue and it stopped after a second or two
<Avaq> Hi folks! Something odd happened on one of my nixops manached machines, and now most nix commands error out with: "error: reading symbolic link '/nix/var/nix/profiles/system-31-link': Bad message"
<Avaq> Does anyone know how I might recover from this state? I am inclined just to remove the corrupted file, but fear that it might only make things worse.
<Avaq> I took a screenshot [https://uploadpie.com/PMHDrH] of my `ls -la /nix/var/nix/profiles` output where the first and last lines seem the most relevant.
<Avaq> Screenshot fixed link: https://uploadpie.com/PMHDrH
jdelStrother has joined #nixos
<ikwildrpepper> Avaq: not sure, but that looks like a file(system) corruptiom
<ikwildrpepper> -m+n
<ikwildrpepper> Avaq: as that file seems to be an old generation, you could try to remove it?
<Avaq> `rm: cannot remove 'system-31-link': Bad message` heh
<ikwildrpepper> :(
<shreyansh_k> Hello, It is possible to build `nix` with this command "nix build -f channel:nixos-unstable hello". How do I build `system` in a similar way? I'm trying to run "nix build -f channel:nixos-unstable system" but it gives me error: "error: expression does not evaluate to a derivation (or a set or list of those)". Thank you for your help.
<manveru> Avaq: can you read its inode?
<manveru> Avaq: using `ls -il`
<shreyansh_k> s/possible to build/possible to build a package with
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4a0df0ce263 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
sigmundv_ has joined #nixos
<Avaq> manveru: where should I look after issueing ls -il?
<manveru> Avaq: the first column is the inode
<Avaq> The number preceding each file? That's also listed as "?" for system-31-link.
<manveru> oh... great :P
<{^_^}> [nixpkgs] @Mic92 merged pull request #86102 → dqlite: 1.4.0 -> 1.4.1; fix build → https://git.io/JfqYJ
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JfqGW
<Avaq> Could it be a hardware problem? It is an SD card.
<manveru> possibly... what fs?
<Avaq> ext4 I believe
<manveru> you can try an fsck?
<Avaq> WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage.
<manveru> yeah, not mounted
<Avaq> :P
<manveru> you can plug it into another machine and fsck it there
<{^_^}> [nixpkgs] @mmahut merged pull request #85928 → cypress: 4.3.0 -> 4.4.1 → https://git.io/JfLnq
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JfqGR
<Avaq> manveru: Okay. That will take me some time. The machine is running my dhcp and dns servers - I'll get back to you.
<{^_^}> [nixpkgs] @xaverdh opened pull request #86111 → nixos/xserver: clean up the useXFS option → https://git.io/JfqGa
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86035 → buildGoPackage: use installShellFiles, update completions/manpages → https://git.io/Jft2h
<{^_^}> [nixpkgs] @Mic92 pushed 14 commits to master: https://git.io/JfqGS
<Avaq> manveru: fsck.ext4 comes back immediately with: "Superblock has an invalid journal (inode 8). Clear<y>?"
<{^_^}> [nixpkgs] @Mic92 opened pull request #86112 → kops: remove old versions → https://git.io/Jfqnz
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « coqPackages.coqhammer: 1.1.1 → 1.2 »: https://git.io/Jfqna
<manveru> sorry, can't really help you much more, got some work to do :)
<{^_^}> [nixpkgs] @colemickens opened pull request #86113 → nixos/azure-new: use local nixpkgs → https://git.io/JfqnV
<Avaq> manveru: Alright. Thanks for pointing me in the right direction though! :)
chloekek has joined #nixos
o1lo01ol1o has joined #nixos
cmacrae has joined #nixos
<hyper_ch> anyone using fail2ban on nixos?
<{^_^}> [nixpkgs] @bennofs closed pull request #74819 → ocamlPackages.bigstring: init at 0.2 → https://git.io/JeMcu
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @bennofs reopened pull request #74819 → ocamlPackages.bigstring: init at 0.2 → https://git.io/JeMcu
jbrock has quit [Client Quit]
jbrock has joined #nixos
<energizer> hyper_ch: what are you trying to prevent with fail2ban?
<hyper_ch> energizer: well, on debian fail2ban comes with a plethora of pre-configured jails (like ssh, apache, postifx and others). But my impression on nixos is, you have to create every jail yourself
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<ikwildrpepper> hyper_ch: I think the ssh jail is default on fail2ban
<hyper_ch> oh well, I'll just have to try it then
obadz has quit [Quit: WeeChat 2.8]
o1lo01ol1o has joined #nixos
<energizer> if you have password auth disabled i'm not sure i see the point of fail2ban for ssh
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/9137f05564e (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<Valodim> might still be useful to catch brute force attackers in the firewall instead of ssh, to 1) not give that info to attackers, and 2) save some system resources
<Valodim> update to markhor broke my gnupg :( it complains about "no pinentry" now
GuilloteauQ has joined #nixos
<Izorkin> hyper_ch: i use fail2ban
obadz has joined #nixos
<energizer> Valodim: to 1) not give that info to attackers | not give what info?
<Valodim> that you are unconcerned about password logins
o1lo01ol1o has quit [Ping timeout: 260 seconds]
zakkor has joined #nixos
GuilloteauQ has quit [Remote host closed the connection]
<hyper_ch> Izorkin: so are any jails preconfigured or do you need to do all on your own?
<zakkor> is it ok to change system.stateVersion from 19.09 to 20.03?
orivej has joined #nixos
<immae> Zakkor: you should read the release notes for that
<immae> (it will impact at least your postgresql install)
<hyper_ch> (just have a snapshot/backup before you change it)
<{^_^}> [nixpkgs] @Mic92 merged pull request #85727 → CONTRIBUTING.md: Improve backport instructions → https://git.io/JfkWU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfqcc
liff has quit [Quit: leaving]
liff has joined #nixos
<immae> note that if you change just that string and nothing rebuilds, then you’re probably fine. Otherwise you can look at what change and decide what to do of it
mrte has quit [Ping timeout: 240 seconds]
<zakkor> how were you able to figure out that "Postgresql for NixOS service now defaults to v11." means that a systemVersion might not work?
<zakkor> like why doesn't it apply to every version bump? 🤔
<Izorkin> hyper_ch: need configured individually. Example my config - https://pastebin.com/MWjqAFbM
<hyper_ch> Izorkin: thanks
<immae> Zakkor: habits, I admit it could have been specified on the release note
<Izorkin> hyper_ch: used nftables firewall
<zakkor> i'm asking because I also knew something about postgres and systemVersion, but that's pretty much it lol
<immae> Yes that’s it, I know that stateVersion affects postgres and when I read about the upgrade I "knew" it was that, but it’s not obvious as said in the release note
Fare has quit [Ping timeout: 240 seconds]
<immae> In any case, just changing the stateVersion and rebuilding should tell you everything that would change
Jackneill has quit [Ping timeout: 244 seconds]
<immae> (and as hyper_ch said, be super wary about postgresql in particular)
<{^_^}> [nixpkgs] @marsam merged pull request #86038 → etcd: 3.3.13 -> 3.3.20 → https://git.io/JftVL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfqcy
<{^_^}> [nixpkgs] @colemickens opened pull request #86115 → arc-theme: change fork, unmark as broken, v20190917 -> v20200416 → https://git.io/JfqcS
<zakkor> immae: thanks!
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jfqc7
fusion809 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti opened pull request #86116 → Update Haskell package set to LTS 15.10 (plus other fixes) → https://git.io/Jfqcb
zeenk has joined #nixos
__monty__ has joined #nixos
peelz has quit [Remote host closed the connection]
proofofkeags has joined #nixos
o1lo01ol1o has joined #nixos
pjt_014 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kampka closed pull request #85890 → kops_1_16: 1.16.0 -> 1.16.1 → https://git.io/JfId3
proofofkeags has quit [Ping timeout: 246 seconds]
Jackneill has joined #nixos
chloekek has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
pingiun has joined #nixos
rauno has quit [Remote host closed the connection]
alexherbo23 has joined #nixos
jdelStrother has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86104 → treewide: add types to boolean / enable options → https://git.io/JfqYN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfqCE
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo23 is now known as alexherbo2
rardiol has quit [Ping timeout: 244 seconds]
ozychhi has quit [Quit: WeeChat 2.7.1]
ozychhi has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #86117 → puredata: 0.49-0 -> 0.50-2 → https://git.io/JfqCa
<edcragg> qyliss: well, I got to the bottom of it in the end, it was simply that the project's cmake sets OPENSSL_USE_STATIC_LIBS by default, and there were no static libs available. grr...
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
pingiun has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/92d9d07c61d (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hyper_ch has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
chagra_ has joined #nixos
turlando has joined #nixos
<{^_^}> [nixpkgs] @bennofs merged pull request #74819 → ocamlPackages.bigstring: init at 0.2 → https://git.io/JeMcu
<{^_^}> [nixpkgs] @bennofs pushed commit from @alexfmpe to master « ocamlPackages.bigstring: init at 0.2 »: https://git.io/JfqWR
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
ptotter[m] has joined #nixos
<{^_^}> [nixpkgs] @xaverdh opened pull request #86118 → [20.03] treewide: add types to boolean / enable options → https://git.io/JfqWz
<alexbakker> hi, I'm trying to use the uid/gid of my user in my nixos config, but for some reason nix gives me this error: cannot coerce null to a string
<alexbakker> does this look correct?
linarcx has quit [Quit: WeeChat 2.8]
xantoz has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to staging « iana_etc: 20190731 -> 20200407 »: https://git.io/JfqWo
<immae> alexbakker: did you manually set config.users.users.alex.uid in your configuration?
<{^_^}> [nixpkgs] @mweinelt opened pull request #86119 → zsh-powerlevel10k: v1.5.0 → v1.6.0 → https://git.io/JfqW1
<alexbakker> immae, I did not
<immae> Then that’s why
<immae> at build time it’s null, and it cannot know what is the "current value" of it
linarcx has quit [Read error: Connection reset by peer]
<immae> can you say "uid=alex,group=users" instead maybe?
<immae> (I think "users" group is fine, but it may have the same issue)
chloekek has joined #nixos
iyzsong has joined #nixos
zupo has joined #nixos
<alexbakker> immae, I see, thanks, I'll just set it manually
<alexbakker> I think the users group is fine
<immae> it is indeed yes
<immae> Is it a problem for you to use "uid=alex" like that?
<alexbakker> I assumed that wasn't possible
<immae> Often it works fine, so it’s worth trying :p
turlando has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed 122 commits to haskell-updates: https://git.io/JfqlT
mchasard has joined #nixos
mchasard has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86119 → zsh-powerlevel10k: v1.5.0 → v1.6.0 → https://git.io/JfqW1
jbrock has quit [Quit: jbrock]
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jfql3
jbrock has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #86100 → gitlab-runner: 12.10.0 -> 12.10.1 → https://git.io/Jfqmi
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master « gitlab-runner: 12.10.0 -> 12.10.1 (#86100) »: https://git.io/JfqlC
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
rauno has joined #nixos
<bqv> oh no, it's midday! my derivations all just got garbage collected :(
xantoz has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #86107 → wireguard-compat: 1.0.20200413 -> 1.0.20200426 → https://git.io/JfqOA
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfqli
<{^_^}> [nixpkgs] @adisbladis pushed to master « emacs-packages: Expose manually packaged packages through emacsPackages.manualPackages »: https://git.io/Jfqly
<{^_^}> [nixpkgs] @zowoq opened pull request #86121 → buildGoPackage: use installShellFiles, {excluded,sub}Packages → https://git.io/JfqlQ
<{^_^}> [nixpkgs] @Ma27 pushed commit from @xwvvvvwx to release-20.03 « wireguard-compat: 1.0.20200413 -> 1.0.20200426 »: https://git.io/JfqlF
<{^_^}> [nixpkgs] @adisbladis pushed 5 commits to master: https://git.io/Jfq83
<{^_^}> [nixpkgs] @Mic92 merged pull request #86112 → kops: remove old versions → https://git.io/Jfqnz
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jfq8c
<mpickering> On nixos-rebuild I an seeing "error: executing 'git': No such file or directory"
<mpickering> This is a nearly pristine install
bukkitgerman8608 has joined #nixos
Darkmatter66_ has joined #nixos
<mpickering> seemed to come from builtins.fetchGit
Darkmatter66 has quit [Ping timeout: 260 seconds]
ottidmes_ has joined #nixos
ottidmes has quit [Ping timeout: 264 seconds]
jumper149 has joined #nixos
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/Jfq8P
cyris212 has joined #nixos
mchasard has joined #nixos
chagra_ has quit [Ping timeout: 265 seconds]
mchasard has quit [Client Quit]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #86122 → vscode-src: init at 1.44.2 → https://git.io/Jfq8S
Avaq has quit [Quit: Leaving.]
<clever> mpickering: pkgs.fetchgit would avoid that issue
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a8340a301aa (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
titaf has quit []
titaf has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ramez has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86113 → nixos/azure-new: use local nixpkgs → https://git.io/JfqnV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfq4g
<chloekek> There’s a package that depends on “llvm-config”, is it possible to specify which LLVM version it should use?
romildo has joined #nixos
<qyliss> chloekek: Yes. Look at the inputs to the package. Is it taking llvm, llvmPackages, or something else?
kugal has quit [Ping timeout: 260 seconds]
<chloekek> qyliss: It is taking llvm-config.
tpanum- has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86121 → buildGoPackage: use installShellFiles, {excluded,sub}Packages → https://git.io/JfqlQ
<{^_^}> [nixpkgs] @Mic92 pushed 8 commits to master: https://git.io/Jfq4h
<chloekek> Oh, but it also passes { llvm-config = null; } to callPackage. So it will probably do something else elsewhere.
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « slack: 4.4.{0,1} -> 4.4.2 »: https://git.io/JfqBt
<{^_^}> [nixpkgs] @Mic92 merged pull request #86117 → puredata: 0.49-0 -> 0.50-2 → https://git.io/JfqCa
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfqBs
tpanum has joined #nixos
chagra_ has joined #nixos
zarel has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #82313 → rescuetime: 2.14.5.2 -> 2.15.0.1 → https://git.io/JvKH7
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JfqBx
rauno has quit [Remote host closed the connection]
zarel has joined #nixos
leotaku_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<chloekek> qyliss: Nevermind, I switched to the latest Nixpkgs and now it happens to use the version I want. :)
leotaku has joined #nixos
obadz has quit [Quit: brb]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86044 → vimPlugins.coc-rust-analyzer: init at 2020-04-24 → https://git.io/JftrN
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JfqRO
<{^_^}> [nixpkgs] @flokli merged pull request #85879 → opencv4: 4.1.2 -> 4.3.0 → https://git.io/JfIy5
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/JfqR3
obadz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86086 → helm: 3.1.3 -> 3.2.0 → https://git.io/JfqeH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfqRZ
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli merged pull request #85951 → binutils: 2.31.1 -> 2.34 → https://git.io/JfLio
<{^_^}> [nixpkgs] @flokli pushed 4 commits to staging: https://git.io/JfqRV
<{^_^}> [nixpkgs] @doronbehar opened pull request #86124 → pistol: 0.0.5 -> 0.1 → https://git.io/JfqRr
zupo has joined #nixos
orbekk has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #85959 → neomutt: 20200417 -> 20200424 → https://git.io/JfLDO
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfqR9
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/61bea7bf4a2 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
alp has quit [Ping timeout: 265 seconds]
<zakkor> hi guys
<zakkor> i just upgraded to 20.03, and I'm getting really big lag whatever I do using a GUI
<zakkor> like opening a terminal could take 3 seconds, or switching worksapces could be instant or it could take 5 seconds
<zakkor> lag when typing too
jbrock has quit [Quit: jbrock]
<lukegb> bah
<lukegb> hydra.nixos.org isn't configured in a way that's compatible with netboot.xyz fwict
obadz has quit [Quit: brb]
alp has joined #nixos
obadz has joined #nixos
<zakkor> my lag was from picom
<manveru> Zakkor: anything eating your CPU?
<manveru> ah :)
<zakkor> i was using compton, it seems like it was changed to picom, and something is breaking
asdf1245 has joined #nixos
<manveru> yeah, because compton is abandonware i guess
<asdf1245> I have a game on nixos, and I'm trying to do `steam-run executable`, after I did `export LD_LIBRARY_PATH=./assets:$LD_LIBRARY_PATH`
<simpson> Not abandoned, but done. Its original authors are the Xorg folks.
<asdf1245> I get the error: ./StoneShard: relocation error: /nix/store/hbf36v96854fsv068m7f4jv7rpkgi2sj-gnutls-3.6.8/lib/libgnutls.so.30: symbol nettle_rsa_pss_sha384_sign_digest_tr version HOGWEED_4 not defined in file libhogweed.so.4 with link time reference
<asdf1245> which i think happens because I'm not using the gnutls file that's in the `asset` directory. Do you have any pointers on how to proceed?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zakkor> it was because of `backend = "glx"`, which used to work, but now creates lag
<manveru> asdf1245: i think you want the export inside the `steam-run`?
cosimone has joined #nixos
<asdf1245> manveru: how can I do that?
<simpson> Zakkor: Play around until you find a working backend. There is no one single answer, which is why compton et al. ship with so many backends.
<manveru> asdf1245: `steam-run bash`
<fgaz> Hi all. Could someone help me understand why this expression returns different results in `nix repl -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz` and `nix repl -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-20.03.tar.gz`:
<fgaz> Specifically, `submodules` is gone
<fgaz> `builtins.elemAt (import <nixpkgs/nixos> {}).options.users.users.type.getSubModules 0`
<fgaz> I already looked at the release noted, but I can't find anything
<{^_^}> [nixpkgs] @zimbatm merged pull request #85750 → srcOnly: fix invocation and document → https://git.io/JfkaS
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/Jfq0S
<asdf1245> manveru thanks that was it! now I miss libgssapi_krb5.so.2 but that's another issue
<freeman42x[m]> I am trying to isntall any version of `oraclejdk` but it seems they are broken: https://gist.github.com/razvan-flavius-panda/e4f37eb92c4ae851d3aa65f1e0d44ae5
<sphalerite> manveru: wait, compton is abandoned? Argh, why can't people just pass on maintainership rather than constantly making forks and renaming them xP
<manveru> sphalerite: apparently it wasn't, it was forked a long time ago, but they finally decided to change the name of the fork?
<sphalerite> so now we can confuse it with picocom :D
<sphalerite> projects should have uuids instead of names! :D
<fgaz> are you still using `e54d4c84-b694-414a-9dac-59b88986df9e`? You should switch to `6ed722b1-5607-41de-add3-1564e960b3aa`, it's miles ahead
<manveru> ,locate bin 05510a5f-85ec-42e3-9de7-25cb39669ef1
<{^_^}> Couldn't find in any packages
jbrock has joined #nixos
<fgaz> Regarding my problem, it may be because of the loaOf changes? users.users is loaOf after all
<fgaz> by the way, why is it still loaOf? isn't it deprecated?
<sphalerite> huh, good point
<sphalerite> fgaz: aah, using the list behaviour of loaOf is deprecated
<sphalerite> and then soon loaOf will be removed and replaced by attrsOf
<{^_^}> [nixpkgs] @marsam merged pull request #86076 → tmux: 3.0a -> 3.1 → https://git.io/Jftx3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfquk
evils has quit [Remote host closed the connection]
noonien has joined #nixos
<noonien> hello folks!
<noonien> i was wondering, how do you store your nixos secrets in public repos?
<srk> heya, in gitignored ./secrets folder :)
nschoe has quit [Ping timeout: 272 seconds]
<srk> you can try git-crypt as well
<infinisil> noonien: I use a git submodule for it
<noonien> hmm, actually, that's just as good as encrypting a nix config, and having a secret key that's gitignored and moved around
<fgaz> sphalerite: any way to get the equivalent of that submodules function?
<noonien> even less hassle
<noonien> infinisil: hmm, and where do you host it? on public servers?
<infinisil> My own server
<noonien> hmm, i see
<fgaz> or maybe I should actually understand the context of what I'm trying to do...
<clever> noonien: all of my config imports load-secrets.nix, which provides defaults for CI and other users to use as examples
<clever> noonien: the real secrets.nix is in .gitignore
<sphalerite> fgaz: yeah that sounds like some pretty internal details you're trying to get at, what are you trying to do? :)
<clever> so the config can still build if the secrets happen to be missing, it just wont do anything secret
<noonien> hmm, that makes sense, i'm not a big fan of having a layer of indirection though. is there a reason why you don't just have secrets.nix be a module?
<clever> noonien: some things like the github tokens for hydra arent proper options, they are mixed in with the extraConfig
<fgaz> sphalerite: basically trying to fix this https://github.com/nixcloud/nixcloud-webservices/issues/64
<{^_^}> nixcloud/nixcloud-webservices#64 (by leenaars, 10 weeks ago, open): Missing submodules in Nixos
<clever> noonien: same for the snmp stuff
<noonien> and for example, have `users.users.myuser.hashedPassword = "...";` in secrets.nix
<noonien> ah, i see
<clever> noonien: also, some of the secrets are used multiple times
<noonien> you could still have a module for that, no?
<clever> and that would make the secrets.nix contain a lot more config
<noonien> i see
<clever> and then i have complex state that i have to manage without git
<clever> though, i could make a custom nixos module, to manage secrets.token1 as a normal nixos option
<clever> and then do what you said
<noonien> yeah, that's what i'm thinking of doing
<fgaz> sphalerite: which at one point does `map (m: m.submodule) users.type.getSubModules`
avn has quit [Ping timeout: 244 seconds]
<fgaz> to define another type
<noonien> btw, are you guys using flakes today?
numkem has joined #nixos
<fgaz> sphalerite: the full thing is: `type = lib.types.submodule (map (m: m.submodule) nixos.options.users.users.type.getSubModules)`
avn has joined #nixos
obadz has quit [Quit: brb]
obadz has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #86127 → nixos/systemd-udev-trigger: don't restart on upgrades → https://git.io/JfqzU
<fgaz> qknight (IRC): any pointers? I don't really understand why the m.submodule is there or what it was supposed to do (shouldn't it work without it?) and the docs aren't helping much
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/694b4ca705f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
evils has joined #nixos
peanutbutter144 has quit [Quit: No Ping reply in 180 seconds.]
peanutbutter144 has joined #nixos
<{^_^}> [nixpkgs] @numkem opened pull request #86128 → tellico: init at 3.3.0 → https://git.io/Jfqzz
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
CMCDragonkai has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
nschoe has joined #nixos
numkem has quit [Ping timeout: 260 seconds]
<sphalerite> fgaz: qknight isn't here
yuken has quit [Quit: ZNC 1.8.x-git-unknown - https://znc.in]
<sphalerite> fgaz: in fact, hasn't been here since 2018
<{^_^}> [nixpkgs] @Mic92 merged pull request #85451 → teams: fixing pulseaudio access → https://git.io/JfJW2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfqzp
cfricke has quit [Quit: WeeChat 2.8]
yuken has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86115 → arc-theme: change fork, unmark as broken, v20190917 -> v20200416 → https://git.io/JfqcS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfqge
<{^_^}> [nixpkgs] @marsam merged pull request #86091 → gitAndTools.delta: 0.0.18 -> 0.1.1 → https://git.io/Jfqkf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfqgv
fabianhjr has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
corpix has quit [Ping timeout: 240 seconds]
corpix has joined #nixos
numkem has joined #nixos
asheshambasta has quit [Remote host closed the connection]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
jbox has quit [Ping timeout: 240 seconds]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #86129 → gotify-server: 2.0.4 -> 2.0.5 → https://git.io/Jfqg4
gustavderdrache has joined #nixos
zupo has joined #nixos
<fgaz> sphalerite: ow... I wonder why matrix says the opposite
<fgaz> anyway I ended up removing the map and it seems to somewhat work
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Elyhaka to release-20.03 « teams: fixing pulseaudio access »: https://git.io/JfqgA
jmeredith has joined #nixos
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 258 seconds]
jbrock has quit [Quit: jbrock]
<dmj`> Is there a way to combine haskell .env's like if we wanted both ghc and ghcjs packages lists in the same shell
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
<srk> dmj`: with shellFor possibly
<srk> dmj`: or you can take (native)BuildInputs of the packages, which is what shellFor does (I guess)
<srk> yeah, pretty much
nixbitcoin has joined #nixos
<nixbitcoin> hey, do you know how to setup an outgoing firewall with nix?
<nixbitcoin> I want to bind one user to localhost
fenedor has joined #nixos
yuken has quit [Quit: ZNC 1.8.x-git-unknown - https://znc.in]
jakobrs has joined #nixos
<xfix> i think `networking.firewall.extraCommands` may be useful for that purpose
<xfix> if your goal is to sandbox a program, you may consider using firejail
<jakobrs> If I create a derivation that, say, has utillinux in its nativeBuildInputs
fendor has quit [Ping timeout: 246 seconds]
<jakobrs> And I try to cross-compile it (using `crossSystem = "i686-linux";`)
<{^_^}> [nixpkgs] @Mic92 merged pull request #86108 → oauth2_proxy: Backport security fix (CVE-2017-1000070) → https://git.io/Jfq3e
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/Jfq2p
<jakobrs> It needs to rebuild the entire utillinux?
proofofkeags has joined #nixos
U-armin has joined #nixos
yuken has joined #nixos
<xfix> is it that surprising?
<jakobrs> I'd expect it to not need to rebuild util-linux
ddellacosta has joined #nixos
<jakobrs> since util-linux is only used for building
<jakobrs> hence why it's in nativeBuildInputs
<xfix> how can you know util-linux works identically on i686-linux?
<xfix> as far Nix is concerned, the input did change, so it is rebuilt
<nixbitcoin> xfix: I think I'll try `networking.firewall.extraCommands` before firejail, I'd rather not add the extra layer
<jakobrs> But utillinux is run by the builder on the build platform, not the target platform.
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<jakobrs> Looking at nix-diff, the difference seems to be that it depends on a different version of gdb
<jakobrs> One that's presumably cross-compiled for i686
<jakobrs> No actually
<jakobrs> It's just gdb-9.1 -> unknown-linux-gnu-gdb 9.1
<nixbitcoin> Another question: How do I not automatically start a systemd service? I want it to exist but only be started when I systemctl start it
<xfix> systemd.service.<name>.enable = false;
<jakobrs> I guess my question is less "this is surprising" and more "am I doing something wrong"
<xfix> although i don't think systemd services start by default
<{^_^}> [nixpkgs] @flokli merged pull request #85965 → make libusb1 dependencies explicit → https://git.io/JfL9v
<{^_^}> [nixpkgs] @flokli pushed 10 commits to master: https://git.io/Jfqaa
<jakobrs> What is the nix-command alternative to nix-store -q --deriver?
<gchristensen> probably in `nix path-info`?
<dmj`> srk: shellFor is exactly it it seems
<dmj`> srk: so if I have two packages (one ghc and ghcjs) how do I invoke shellFor? it seems like shellFor hangs off an existing derivation
<{^_^}> [nixpkgs] @markuskowa opened pull request #86132 → hpcg: init at 3.1 → https://git.io/JfqaM
<jakobrs> It doesn't seem like it is
<jakobrs> The only available flags to nix path-info are: --all --arg --argstr -SfhIrs --json and --sigs
cosimone has quit [Ping timeout: 244 seconds]
<srk> dmj`: shellFor = { packages, withHoogle ? false, ... } @ args: suggest it accepts multiple packages but I haven't used it yet
<dmj`> srk: ah it seems to be in pkgs.haskellPackages.shellFor
<srk> yeah :D
<srk> was about to post that ;)
* srk needs a repl right bellow irssi
<jakobrs> * srk learns about tmux /s
<srk> jakobrs: not my cup of tea due to xmonad :D
dingenskirchen has quit [Ping timeout: 244 seconds]
cosimone has joined #nixos
zeorin48 has joined #nixos
jakobrs has left #nixos ["WeeChat 2.8"]
<zeorin48> Hey all, I'm upgrading my system from 19.09 to 20.03 and I'm getting a deprecation warning for config.boot.initrd.luks.devices. It says to use a set instead of a list, because of a deprecated type.
cyris212 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<zeorin48> I made the change, and it still complains even though I've now got a set instead of a list. What's interesting is that before the change, the error showed me how to make the change, and it managed to include the names as keys in its suggestion, but after the change the same error shows up but it's suggestion is now to use an empty set instead of
<zeorin48> an empty list.
<zeorin48> I.E. it used to say `Do boot.initrd.luks.devices = { cryptkey = {...}; cryptroot = {...}; } instead of boot.initrd.luks.devices = [ { name = "cryptkey"; ...} { name = "cryptroot"; ...} ]`
<zeorin48> and now it says `Do boot.initrd.luks.devices = { } instead of boot.initrd.luks.devices = [ ]`
ambroisie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<immae> zeorin48: do you have it in a different place maybe?
<immae> (I mean: the same option boot.initrd.luks.devices defined in anothe rmodule)
cyris212 has joined #nixos
<nixbitcoin> What's wrong with iptables on nixos? I can't user `-m owner`
khumba has quit [Quit: Leaving]
ambroisie has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
<zeorin48> immae: no I don't think so, I did search for it.
jbrock has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
romildo has quit [Quit: Leaving]
<immae> zeorin48: ok, did you keep the name key in the attrs version and it’s unhappy about it maybe?
user_0x58 has joined #nixos
<zeorin48> No I didn't keep the name key
<zeorin48> It looks like this: boot.initrd.luks.devices = { cryptkey = { device = "/dev/disk/by-uuid/6b17a213-6987-4a8e-b609-5243f6ba1467"; preLVM = true; }; cryptroot = { device = "/dev/disk/by-uuid/556cb835-419a-48b6-a081-36d2998d9c57"; keyFile = "/dev/mapper/cryptkey"; preLVM = true; allowDiscards = true; }; };
arahael1 has quit [Ping timeout: 260 seconds]
<immae> ok
<immae> I have no other clue, sorry
<zeorin48> Thanks for trying
arahael2 has joined #nixos
philr_ has quit [Ping timeout: 260 seconds]
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #84350 → babashka: 0.0.78 -> 0.0.89 → https://git.io/JvNGC
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/Jfqwe
<sphalerite> fgaz: the irc matrix bridge doesn't consider quits as leaving the channel
<sphalerite> so if someone quits their irc client and doesn't restart it, they're still shown as there unless they left the channel before disconnecting from the IRC server
<rooke> direnv + lorri is complaining that the evaluation_root doesn't exist. Googling the error has turned up nothing, any idea whats gone wrong/how to fix that?
erasmas has joined #nixos
<rooke> manually calling lorri shell properly builds the enviroment, it just doesn't seem to want to load it on entering the directory
<evanjs> I usually just `systemctl restart --user lorri.socket`... but that's setup dependent I guess
<evanjs> have you tried `direnv remove && direnv add`?
drakonis has quit [Quit: WeeChat 2.8]
<evanjs> (I think the . is implicit..?)
<rooke> I have tried the first one, not the second one
numkem has joined #nixos
<evanjs> First as in the systemctl line or `direnv remove` but not `direnv add`?
<rooke> systemctl line
<evanjs> ah gotcha, so it _is_ a service on your system as well. that does help :D
<rooke> It is yeup
dingenskirchen has joined #nixos
<evanjs> have you checked `journalctl --efu lorri --user` to see if there's any other helpful info?
<rooke> `direnv remove` is saying `direnv: error command "direnv remove" not found`
<rooke> Let me check the journal real quick
<dmj`> srk: nix-shell on shellFor gives error: attempt to call something which is not a function but a set
<dmj`> srk: blasphemy
<evanjs> OH
<rooke> Yeah theres a BuildEvent failure in the journal
<evanjs> yeah it's allow and deny
justanotheruser has joined #nixos
<evanjs> my bad
<evanjs> so `direnv deny && direnv allow`
<rooke> You're good, yeah I had tried that as well to no avail
<evanjs> alright those are the first things I do is all. Anything more specific in the BuildEvent failure?
<evanjs> Often times it will fail to build something and thus have no valid shell for me to enter
<rooke> The journal is showing lorri complain about a build failure due to not being able to find something in `$HOME/.cache/lorri/cas/`
<dmj`> srk: ah, packages = pkgs: with pkgs; [ stuff ];
<dmj`> srk: packages takes an arg
<rooke> Yeah, I can `lorri shell` to enter the shell. So I think the shell.nix is valid, this also suddenly broke without a change to the shell.nix
<evanjs> hrmmmm. interesting
<evanjs> typical me would consider rebooting but I'm not sure why it would work on one end and not the other, save maybe non-interactive-TTY-specific behavior? Which sounds super unlikely IMO
<rooke> yeah, haven't attempted the reboot yet just because I'd like to know what went wrong if possible
<{^_^}> [nix] @alyssais opened pull request #3541 → Fix long paths permanently breaking GC → https://git.io/Jfqww
<gchristensen> heck yeah qyliss nice work
<qyliss> had lots of help from puck
<dmj`> srk: shellFor seems to remove all dependencies in a ghcjs project
<evanjs> Some of the PRs I see scare me a little, knowing what issues we've had :P it's good they're getting fixed and etc, but x_x
arahael2 has quit [Ping timeout: 246 seconds]
<srk> dmj`: unfortunate :(
ddellacosta has quit [Ping timeout: 246 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
zeorin48 has quit [Remote host closed the connection]
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
stree has quit [Read error: Connection reset by peer]
acowley has joined #nixos
stree has joined #nixos
<acowley> I added "v4l2loopback" to boot.kernelModules but I'm not seeing it in lsmod output. Can anyone think of a likely thing I've done wrong?
<puck> acowley: it's not in the main kernel tree, you need to add the package that contains the module too
<puck> boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
<puck> (yes, there's no checking if boot.kernelModules contains a non-existing kernel module. idk even why)
<acowley> puck: Thank you! That should go in the manual. I had no idea what was happening, and actually I didn't know about using `config.boog.kernelPackages` like that, either. I've been writing a much more error-prone construction to do that.
jbrock has quit [Quit: jbrock]
est has quit [Ping timeout: 240 seconds]
jbrock has joined #nixos
est31 has joined #nixos
<acowley> s/boog/boot/ :|
<dmj`> srk: why must the universe be so cruel
arahael2 has joined #nixos
CMCDragonkai has joined #nixos
jbrock has quit [Client Quit]
<{^_^}> [nixops] @adisbladis opened pull request #1325 → tests: Add functional tests using NixOS in Docker → https://git.io/JfqrE
jbrock has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86064 → pythonPackages.bluepy: init at 1.3.0 → https://git.io/Jft7J
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfqr2
<Unode> hi all, when using rsync to copy files from a nixos machine configured to have zsh as default shell I get "command not found".
<Unode> It seems like the shell isn't loading the system bin path
emilsp has quit [Quit: bye]
emilsp has joined #nixos
<srk> dmj`: this :(
<Unode> does anyone know how to correct this?
<{^_^}> [cabal2nix] @peti merged pull request #453 → Improve READMEs, reproducibility, and make contributing easier → https://git.io/Jftg7
<{^_^}> [cabal2nix] @peti pushed 3 commits to master: https://git.io/JfqrP
emilsp has quit [Remote host closed the connection]
<srk> dmj`: paste me the expression if you're desperate, will take a look
emilsp has joined #nixos
sarcasticadmin has joined #nixos
emilsp has quit [Remote host closed the connection]
emilsp has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86093 → pythonPackages.vdf: 3.2 -> 3.3 → https://git.io/JfqkX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfqrA
noudle has joined #nixos
asdf1245 has quit [Remote host closed the connection]
zeorin75 has joined #nixos
<zeorin75> immae: I just saw this on the error: warning: In file /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/encrypted-devices.nix a list is being assigned to the option config.boot.initrd.luks.devices.
<immae> zeorin75: Ah well that was my first hypothesis, but well hidden. You can propose a PR to fix it then :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #85987 → ocamlPackages.async_shell: remove at 109.28.03 → https://git.io/Jftv8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfqoI
<zeorin75> I'm still a NixOS noob, I'm not sure I'm up to creating a PR. I wouldn't have the faintest idea how to fix this.
<immae> Don’t bother, it has been fixed inbetween
<immae> maybe not in 20.03 but at least in unstable
nixbitcoin has quit [Quit: Leaving]
<zeorin75> Oh OK. Is there anything I can/should do regarding this?
pamplemousse has joined #nixos
<zeorin75> I'm about to reboot, holding thumbs that'll work
<immae> It’s just a deprecation warning, if your system doesn’t boot it’s not because of it :)
<zeorin75> Cool, thanks
zeorin75 has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
rardiol has joined #nixos
<dmj`> srk: clever figured it out shellEnv = stdenv.mkDerivation { name = "shellEnv"; buildInputs = ghcDep.env.nativeBuildInputs ++ ghcjsDep.env.nativeBuildInputs; };
<dmj`> clever: huge thanks
jbrock has quit [Client Quit]
<srk> nice!
jbrock has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
bukkitgerman8608 has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9c44146647b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
o1lo01ol1o has joined #nixos
<srk> dmj`: that's similar to what I'm doing in the overlay I've sent you on #haskell-miso btw ;)
<{^_^}> [nixpkgs] @vbgl opened pull request #86133 → ocamlPackages.async_find: remove at 111.28.00 → https://git.io/Jfqo0
<dmj`> srk: you're using miso now? :)
<srk> dmj`: yup, started using it like a year or two ago, it is awesome!
o1lo01ol1o has quit [Ping timeout: 246 seconds]
cole-h has joined #nixos
noudle_ has joined #nixos
<mpickering> copying and pasting by highlighting and middle click doesn't work after a clean reinstall
<mpickering> how do I debug this?
noudle_ has quit [Read error: Connection reset by peer]
KeiraT has quit [Ping timeout: 240 seconds]
<elvishjerricco> mpickering: Wild guess: Does Wayland still support that feature? Maybe your DE uses Wayland instead of X.
jbrock has quit [Quit: jbrock]
noudle_ has joined #nixos
alexherbo28 has joined #nixos
Gohla has quit [Quit: Bye.]
lukash_ has joined #nixos
jbrock has joined #nixos
palo1 has joined #nixos
AMD1212_ has joined #nixos
marsh has quit [Remote host closed the connection]
gxt has quit [Ping timeout: 240 seconds]
Baughn has quit [Ping timeout: 256 seconds]
cmacrae has quit [Ping timeout: 246 seconds]
benny_ has joined #nixos
inkOne__ has joined #nixos
Acou_Bass has quit [Ping timeout: 260 seconds]
seanparsons has quit [Ping timeout: 260 seconds]
plutes has quit [Ping timeout: 256 seconds]
NieDzejkob has quit [Ping timeout: 256 seconds]
<worldofpeace> davidak: I've read about this issue as well, I think I can fix it. I basically also maintain the graphical iso's
peanutbutter144 has quit [Ping timeout: 265 seconds]
lunik1 has quit [Ping timeout: 265 seconds]
icey_ has quit [Ping timeout: 265 seconds]
pbogdan_ has joined #nixos
Neo-- has quit [Disconnected by services]
Neo--- has joined #nixos
o1lo01ol1o has joined #nixos
afics has quit [Ping timeout: 272 seconds]
betaboon_ has joined #nixos
gxt has joined #nixos
noudle_ has quit [Client Quit]
<mpickering> elvishjerricco: I am using xmonad so I am still using X
NieDzejkob has joined #nixos
<evanjs> mpickering: *hopelessly hoping waymonad gets feature parity eventually*
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<dmj`> srk: great to hear :)
rardiol has quit [*.net *.split]
numkem has quit [*.net *.split]
yuken has quit [*.net *.split]
stree has quit [*.net *.split]
avn has quit [*.net *.split]
noudle has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
ramez has quit [*.net *.split]
cr4y1 has quit [*.net *.split]
maddo has quit [*.net *.split]
palo has quit [*.net *.split]
Scriptkiddi has quit [*.net *.split]
uwap has quit [*.net *.split]
nixy37179 has quit [*.net *.split]
mrpi has quit [*.net *.split]
Bunogi has quit [*.net *.split]
vesper11 has quit [*.net *.split]
benny has quit [*.net *.split]
plp_ has quit [*.net *.split]
Yaniel has quit [*.net *.split]
ilikeheaps has quit [*.net *.split]
robogoat_ has quit [*.net *.split]
Ralith_ has quit [*.net *.split]
anderslundstedt has quit [*.net *.split]
dsg has quit [*.net *.split]
puck has quit [*.net *.split]
Izorkin has quit [*.net *.split]
WilliButz has quit [*.net *.split]
pbogdan has quit [*.net *.split]
ciil has quit [*.net *.split]
simukis_ has quit [*.net *.split]
voidcontext has quit [*.net *.split]
aij has quit [*.net *.split]
naominitel has quit [*.net *.split]
betaboon has quit [*.net *.split]
rembo10 has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
tghume has quit [*.net *.split]
mightyby1e has quit [*.net *.split]
barrucadu has quit [*.net *.split]
ornxka has quit [*.net *.split]
ben has quit [*.net *.split]
klys has quit [*.net *.split]
Athas has quit [*.net *.split]
zfnmxt has quit [*.net *.split]
inkOne_ has quit [*.net *.split]
AMD1212 has quit [*.net *.split]
raoul has quit [*.net *.split]
fiddlerwoaroof has quit [*.net *.split]
kgz has quit [*.net *.split]
cYmen has quit [*.net *.split]
minicom has quit [*.net *.split]
lukash|away has quit [*.net *.split]
lejonet has quit [*.net *.split]
steell has quit [*.net *.split]
pie_[bnc] has quit [*.net *.split]
octe has quit [*.net *.split]
alexherbo28 is now known as alexherbo2
palo1 is now known as palo
emilsp has quit [Ping timeout: 608 seconds]
marsh has joined #nixos
robogoat has joined #nixos
ornxka has joined #nixos
rardiol has joined #nixos
ilikeheaps has joined #nixos
klys has joined #nixos
Gohla has joined #nixos
eof has quit [Ping timeout: 260 seconds]
stree has joined #nixos
KeiraT has joined #nixos
cr4y1 has joined #nixos
minicom has joined #nixos
<mpickering> I mean this used to work and I copied the config from my old machine
<mpickering> and now it doesn't *shrugs*
icey_ has joined #nixos
Baughn has joined #nixos
peanutbutter144 has joined #nixos
emilsp has joined #nixos
gustavderdrache has quit [Ping timeout: 240 seconds]
lunik1 has joined #nixos
plutes has joined #nixos
<elvishjerricco> mpickering: Are the versions of X and XMonad the same as the old system?
growpotkin has joined #nixos
fiddlerwoaroof has joined #nixos
<elvishjerricco> Is the .Xresources the same?
vesper11 has joined #nixos
seanparsons has joined #nixos
Thra11 has joined #nixos
cmacrae has joined #nixos
plutes has quit [Max SendQ exceeded]
Acou_Bass has joined #nixos
afics has joined #nixos
noudle has joined #nixos
kgz has joined #nixos
afics is now known as Guest17818
plutes has joined #nixos
plp_ has joined #nixos
<mpickering> No I updated to latest nixos-unstable
<mpickering> Where is .Xresources?
ramez has joined #nixos
avn has joined #nixos
yuken has joined #nixos
numkem has joined #nixos
Scriptkiddi has joined #nixos
nixy37179 has joined #nixos
mrpi has joined #nixos
Bunogi has joined #nixos
uwap has joined #nixos
maddo has joined #nixos
<mpickering> I thought I had configured everything in the configuration.nix
wspthr has joined #nixos
puck has joined #nixos
Izorkin has joined #nixos
Yaniel has joined #nixos
voidcontext has joined #nixos
simukis_ has joined #nixos
ciil has joined #nixos
mightyby1e has joined #nixos
naominitel has joined #nixos
Ralith_ has joined #nixos
anderslundstedt has joined #nixos
barrucadu has joined #nixos
WilliButz has joined #nixos
rembo10 has joined #nixos
dsg has joined #nixos
aij has joined #nixos
tghume has joined #nixos
mtjmullen has joined #nixos
lejonet has joined #nixos
steell has joined #nixos
octe has joined #nixos
cYmen has joined #nixos
raoul has joined #nixos
zfnmxt has joined #nixos
Athas has joined #nixos
ben has joined #nixos
<{^_^}> [nixpkgs] @gnidorah closed pull request #86127 → nixos/systemd-udev-trigger: don't restart on upgrades → https://git.io/JfqzU
pie_[bnc] has joined #nixos
<elvishjerricco> mpickering: ~/.Xresources
<cole-h> I didn't get to finish my fish refactoring before they released 3.1.1 :(
<davidak[m]> worldofpeace perfect :)
gagbo_ has quit [Quit: I'm out !]
numkem_ has joined #nixos
<mpickering> I don't have that file. The system clipboard seems completely broken in fact
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 opened pull request #86135 → nixpkgs-review: 2.3.0 -> 2.3.1 → https://git.io/JfqKb
alp has quit [Remote host closed the connection]
zeenk has quit [Quit: Konversation terminated!]
alp has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos
gustavderdrache has joined #nixos
<mpickering> I have no idea how to begin debugging this, at least I got my sound working at least
<ocharles> gchristensen: DBI Exception: DBD::Pg::st execute failed: ERROR: column "jobset_id" does not exist when doing this Hydra migration
<ocharles> What am I doing wrong? I copied hydra-migration with nix-copy-closure from my machine to the Hydra machine and ran the script and it crashed with that
<ocharles> The query is `SELECT COUNT(*) FROM jobs WHERE jobset_id IS NULL`
<evanjs> mpickering: doesn't the highlight and click depend on your terminal?
<gchristensen> ocharles: you'll need to runthe migrations which hydra-init runs
<gchristensen> and that'll runs some migrations, then run the backfiller
<ornxka> i did nixos-rebuild switch and its hanging on building the initrd?
<ocharles> ok, how would I do that?
<ocharles> Do I have to work out what to apply manually?
<clever> ornxka: what does `top` say its doing?
<gchristensen> no, one sec ocharles
<ocharles> thanks!
<ornxka> nix-build <nixpkgs/nixos> --out-out-link -A system --show-trace
<ornxka> 0% cpu
<clever> ornxka: is anything using a lot of cpu?
<ocharles> It looks a bit like hydra-init already checks if it's ran and if so just does migrations
<{^_^}> hydra#725 (by grahamc, 4 weeks ago, open): Two-Step Jobset ID Migration
<ornxka> nope
<ocharles> thankoo
<clever> ornxka: can you pastebin the output of `ps -eH x` ?
gxt has quit [Quit: WeeChat 2.8]
<ornxka> building '/nix/store/nrrw204rqc9pzydwa1wnz2iy2by1lf6y-initrd-linux-5.4.35.drv'... 63886 blocks are the last two lines its printed
<ocharles> gchristensen: We run a patched Hydra, so if I deploy that specific revision, can I just run hydra-init, without actually switching our hydra instance to it? That is, just nix-copy-closure that revision
<mpickering> evanjs: That sounds plausible I will look into it
Kyndig has joined #nixos
<gchristensen> ocharles: in am eeting, can help more extensively in a minute :)
<evanjs> which I seriously need to disable >_>
jbrock has quit [Quit: jbrock]
<ocharles> gchristensen: focus on the eating :)
<mpickering> evanjs: Ah so if I use `ALT+CTRL+C` then the copy/paste does work from terminal
<ocharles> Ok to pick up tomorrow? I'm probably gonna call it a day here
<evanjs> also mpickering elvishjerricco Xresources can be modified via home-manager if desired https://rycee.gitlab.io/home-manager/options.html#opt-xresources.extraConfig
<mpickering> so I need to work out how to enable the highlight and copy as well
<mpickering> I set all these settings in my configuration.nix
<evanjs> mpickering: what terminal are you using, anyhow?
<clever> mpickering: have you tried middle click?
<ocharles> Also a glass of wine in, that's probably not the best state to be in when applying database upgrades :}
<gchristensen> ocharles: oops, I'm in a meeting*
<ocharles> oh, hahaha
<ornxka> clever: is it okay if i just paste the tree pertaining to the nix-build process itself?
<ornxka> it appears to be running some unit tests
<clever> ornxka: sure
<mpickering> rxvt-unicode
<mpickering> clever: That's the issue, middle click isn't working
<clever> mpickering: ah
<gchristensen> ocharles: you'll definitely want to update your fork to the middle revision and do a deploy, and then update your fork to the final revision and do a deploy
<ocharles> ok, cool. I'll have a look in more detail tomorrow. Thanks for the pointers!
<gchristensen> yep!
<mpickering> ok I think the issue is the middle click on my mouse
<ornxka> i wonder if i can just... sigkill pid 8805...
<clever> ornxka: cat /proc/8212/environ | xargs -0 -n1 echo | grep out=
<evanjs> mpickering: you can verify if middle click is working with e.g. evtest
<ornxka> out=/nix/store/hf1nskb3vdgb6ybd5r0bhsprpgvl8mih-dqlite-1.4.0
Thra11 has quit [Ping timeout: 260 seconds]
<clever> ornxka: ah, so its not actually the initrd thats hanging, but rather, the initrd is the last thing to print
<clever> ornxka: dqlite is what hung, and thats probably something in your systemPackages?
<ornxka> ahhhh
<clever> ornxka: parallel building makes it a lot more muddy
<ornxka> ugggh thats right, lxd uses dqlite
<mpickering> evanjs: Indeed middle click is broken, all other buttons work
<mpickering> time to look at the arch wiki
<{^_^}> [nixpkgs] @cole-h opened pull request #86136 → fish: 3.1.0 -> 3.1.1 → https://git.io/Jfqif
<evanjs> mpickering: did you try re-plugging it, first? :P
<mpickering> great idea but didn't help the matter
<ornxka> ahhhhhh
<clever> ornxka: it began failing 2 days ago, but fails within 2mins
proofofkeags has quit [Remote host closed the connection]
<ornxka> ill try disabling the tests then
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jbrock has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mpickering> evanjs: I tried on my other computer and I think it's a hardware fault haha
<mpickering> turns out I never middle click normally
shibboleth has joined #nixos
proofofkeags has joined #nixos
<clever> ornxka: and it was merged 8 hours ago, so you just need to wait for the channel to update once more
<ornxka> i have nixpkgs as a git repo so i just cherry picked the commit :p
<clever> ornxka: that also works!
<ornxka> now the build completes successfully
Thra11 has joined #nixos
numkem_ has quit [Ping timeout: 256 seconds]
<worldofpeace> davidak: looked into it. I posted in the thread and opened a new issue
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<evanjs> mpickering: ruh roh
<evanjs> just so happened to do it and thought it was something normal for you? :P
<evanjs> Because I have certainly been there before :D
<mpickering> No I usually use a nixos desktop at work
<mpickering> but not at home
<jluttine> i suppose it's not easy to do sparse fetchgit in package derivation..? that is, fetch only some directories from the git repo.
<mpickering> so have never tried this mouse out with how I control the desktop
<cole-h> worldofpeace: While you're here, could I ask you to `@ofborg build fish` on #86136 please? ✨
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86136 (by cole-h, 17 minutes ago, open): fish: 3.1.0 -> 3.1.1
<mpickering> I feel like I am potentially being a bit old fashioned using rxvt and xmonad though, what is the normal thing people use?
<{^_^}> [nixpkgs] @dguibert opened pull request #86138 → darcs 2.14.3: remove doJailBreak and patches → https://git.io/Jfqib
<jluttine> mpickering: st and i3?
<ornxka> is there nixos-rebuild switch for user profiles?
<ornxka> like if i change ~/.config/nixpkgs/config.nix
<evanjs> I think it's pretty opinionated when it comes to terminals, but I am currently using kitty
<evanjs> I want to try alacritty when I get the chance (bc rust lol) but I do like the built-in tmux-y features that kitty has
<evanjs> (kitty + xmonad)
<worldofpeace> cole-h: have you thought about adding yourself to trusted users?
<elvishjerricco> `VirtualBoxClient could not locate libXrandr for dlopen` Huh?
<elvishjerricco> This is in a nixops virtualbox deployment for testing my desktop config
<cole-h> worldofpeace: Yeah, I'll get around to it :P Not a high prio since this is the only darwin package I('ve been thinking to) maintain
Baughn has quit [Ping timeout: 240 seconds]
lunik1 has quit [Ping timeout: 240 seconds]
Gohla has quit [Quit: Bye.]
<cole-h> ✨ worldofpeace Thanks, by the way :) (borg comment filter is down atm, so it won't actually have worked yet)
<{^_^}> worldofpeace's karma got increased to 157
noudle has quit [Ping timeout: 244 seconds]
Acou_Bass has quit [Ping timeout: 256 seconds]
seanparsons has quit [Ping timeout: 260 seconds]
icey_ has quit [Ping timeout: 260 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
plutes has quit [Ping timeout: 260 seconds]
peanutbutter144 has quit [Ping timeout: 260 seconds]
cmacrae has quit [Ping timeout: 260 seconds]
<ornxka> ahhh nix-env -i all
Gohla has joined #nixos
azdle has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/4a0df0ce263 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
proofofkeags has quit [*.net *.split]
Izorkin has quit [*.net *.split]
Yaniel has quit [*.net *.split]
dsg has quit [*.net *.split]
Ralith_ has quit [*.net *.split]
anderslundstedt has quit [*.net *.split]
puck has quit [*.net *.split]
ciil has quit [*.net *.split]
WilliButz has quit [*.net *.split]
simukis_ has quit [*.net *.split]
aij has quit [*.net *.split]
barrucadu has quit [*.net *.split]
mightyby1e has quit [*.net *.split]
naominitel has quit [*.net *.split]
voidcontext has quit [*.net *.split]
tghume has quit [*.net *.split]
ben has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
Athas has quit [*.net *.split]
rembo10 has quit [*.net *.split]
raoul has quit [*.net *.split]
cYmen has quit [*.net *.split]
octe has quit [*.net *.split]
zfnmxt has quit [*.net *.split]
lejonet has quit [*.net *.split]
steell has quit [*.net *.split]
yuken has quit [*.net *.split]
numkem has quit [*.net *.split]
maddo has quit [*.net *.split]
Scriptkiddi has quit [*.net *.split]
uwap has quit [*.net *.split]
nixy37179 has quit [*.net *.split]
ramez has quit [*.net *.split]
mrpi has quit [*.net *.split]
avn has quit [*.net *.split]
Bunogi has quit [*.net *.split]
emilsp has quit [Ping timeout: 608 seconds]
puck has joined #nixos
thongpv871 has joined #nixos
cmacrae has joined #nixos
Baughn has joined #nixos
emilsp has joined #nixos
thongpv871 has quit [Client Quit]
icey_ has joined #nixos
seanparsons has joined #nixos
lunik1 has joined #nixos
Yaniel has joined #nixos
Izorkin has joined #nixos
dsg has joined #nixos
proofofkeags has joined #nixos
aij has joined #nixos
WilliButz has joined #nixos
anderslundstedt has joined #nixos
Ralith_ has joined #nixos
rembo10 has joined #nixos
naominitel has joined #nixos
barrucadu has joined #nixos
ciil has joined #nixos
simukis_ has joined #nixos
tghume has joined #nixos
voidcontext has joined #nixos
mtjmullen has joined #nixos
mightyby1e has joined #nixos
ben has joined #nixos
Athas has joined #nixos
lejonet has joined #nixos
cYmen has joined #nixos
steell has joined #nixos
octe has joined #nixos
raoul has joined #nixos
zfnmxt has joined #nixos
avn has joined #nixos
yuken has joined #nixos
numkem has joined #nixos
mrpi has joined #nixos
Bunogi has joined #nixos
nixy37179 has joined #nixos
uwap has joined #nixos
maddo has joined #nixos
Scriptkiddi has joined #nixos
ramez has joined #nixos
Acou_Bass has joined #nixos
ebopp has quit [Ping timeout: 240 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
fenedor is now known as fendor
<fendor> ,locate GL
<{^_^}> Found in packages: ats, gle, vtk, zig, glee, glui, ogre, root, glfw2, root5, glew110, nxproxy, ogre1_9, glew.dev, mesa.dev, ogre1_10, paraview, quesoglc, kodiPlain, emscripten, kodestudio, libGLU.dev, vtkWithQt4, freeglut.dev, libglvnd.dev, openscenegraph, xlibs.xorgproto, kodiPlainWayland, haskellPackages.gl, python27Packages.vtk, python37Packages.vtk, python38Packages.vtk, haskellPackages.OpenGL, python37Packages.uranium, and 9 more
jbrock has quit [Client Quit]
jbrock has joined #nixos
<Yaniel> fendor: libglvnd is likely what you want
<{^_^}> [nixpkgs] @FRidh opened pull request #86139 → Staging next → https://git.io/JfqPP
<worldofpeace> 💖
<{^_^}> [nixpkgs] @FRidh merged pull request #86139 → Staging next → https://git.io/JfqPP
<{^_^}> [nixpkgs] @FRidh pushed 48 commits to master: https://git.io/JfqP1
<jluttine> there doesn't seem to be /run/current-system/sw/share/fonts directory. where are currently installed fonts located?
<armin> so i changed the value of users.users.armin.openssh.authorizedKeys.keys in my /etc/nixos/configuration.nix and ran a nixos-rebuild switch. i would have expected this to result in my ~/.ssh/authorized_keys being changed, but that doesn't happen. any hint what's going on?
<fendor> Yaniel, thank you! how would I tell that?
FRidh has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 193 commits to staging-next: https://git.io/JfqP9
user9348 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 252 commits to staging: https://git.io/JfqPd
<Yaniel> fendor: you'd know that it stands for "OpenGL Vendor-Neutral Dispatcher"
<{^_^}> [nixpkgs] @FRidh merged pull request #83676 → Python packages set updates → https://git.io/JvQFR
<{^_^}> [nixpkgs] @FRidh pushed 20 commits to staging: https://git.io/JfqPh
<Yaniel> i.e. the library that applications are supposed to talk to, that then forwards the gl calls to the appropriate driver
<emily> (you might not actually want to install a GL library at all though)
jbrock has quit [Quit: jbrock]
svends has joined #nixos
<emily> (if you're on NixOS you turn it on via options instead, on non-nixos you might want to use something like https://github.com/guibou/nixGL)
jbrock has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #83759 → Python remove setuptools check with pytest → https://git.io/Jv7zH
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to python-unstable « pythonPackages.pytestCheckHook: disable setuptoolsCheckPhase »: https://git.io/JfqXI
<cole-h> Side note: all nixGL does (on nouveau, at least) is modify LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH to be able to find mesa stuff
<davidak[m]> worldofpeace i noticed some days ago that xdg-open x.html opens in pantheons web browser instead of my default chromium. I'm still on 19.09. could that be related to mimetype issue?
<cole-h> The internals are interesting, yet simple.
<tokudan> armin, those generated files are stored in /etc/ssh/authorized_keys.d
<svends> How would I create an overlay for rust-analyzer with an updated version? It uses `callPackage ./generic.nix`. I can't figure out how to override the rev and sha256s.https://github.com/NixOS/nixpkgs/blob/418b24b133769713e0b97e20898c46b8eb55b432/pkgs/development/tools/rust/rust-analyzer/default.nix
<{^_^}> [nixpkgs] @FRidh merged pull request #84231 → sip, pyqt, pyqtwebengine: update → https://git.io/JvbRL
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/JfqXs
plutes has joined #nixos
peanutbutter144 has joined #nixos
<worldofpeace> davidak: Try System Settings -> Applications -> Default -> Web Browser
<worldofpeace> I think the issue in Plasma5 is that it cannot be set even if you try
plutes has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @FRidh merged pull request #85268 → python: Fix creating RPMs from Python packages → https://git.io/JfvOj
<{^_^}> [nixpkgs] @FRidh pushed commit from @knedlsepp to python-unstable « python: Fix creating RPMs from Python packages »: https://git.io/JfqXZ
<davidak[m]> worldofpeace yes, there is chromium set
plutes has joined #nixos
<davidak[m]> si i create another issue
user9348 has quit [Remote host closed the connection]
<davidak[m]> after testing on 20.03 :D
<worldofpeace> davidak:yep :D, also check if /run/current-system/sw/share/applications/pantheon-mimeapps.list exists
<numkem> I've got an annoying bug, not sure if it's related to nix or KDE itself. When you go to audio settings (either through the applet or through system settings), and try to check either or both `Add virtual output...` and `Automatically switch all...` they don't "stick" and don't apply any changes. Leaving and coming back to those settings shows the boxes unchecked.
KeiraT has joined #nixos
<worldofpeace> numkem: perhaps try running it in a terminal and seeing if there's output, and perhaps in the journal also. I know pulseaudio can be weird there (sometimes)
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/JfqX4
lordcirth has quit [Remote host closed the connection]
rednaZ has joined #nixos
lordcirth has joined #nixos
<numkem> worldofpeace: nothing special showing in the logs `journalctl -f ?`
<davidak[m]> worldofpeace yes, it exists. application/xhtml+xml=org.gnome.Epiphany.desktop
<numkem> worldofpeace: checking the equivalent on the command line
<davidak[m]> text/html=org.gnome.Epiphany.desktop
Avaq has joined #nixos
<hyperfekt> what is the canonical way to explore possible kernel config options on nixos?
<numkem> worldofpeace: doesn't look like it's making any difference through either paprefs or pavucontrol. oh well
<{^_^}> [nixpkgs] @snglth closed pull request #84718 → tremc: init at 0.9.1 → https://git.io/Jvxul
<{^_^}> [nixpkgs] @FRidh merged pull request #86068 → libglvnd: 1.2.0 -> 1.3.1 → https://git.io/Jftdl
<{^_^}> [nixpkgs] @FRidh pushed commit from @lheckemann to staging « libglvnd: 1.2.0 -> 1.3.1 »: https://git.io/JfqXd
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto merged pull request #85961 → nixos/qemu-vm: don't set -vga std → https://git.io/JfLyB
<{^_^}> [nixpkgs] @teto pushed commit from @worldofpeace to master « nixos/qemu-vm: don't set -vga std »: https://git.io/Jfq1U
<worldofpeace> davidak: that file sets the default app to epiphany (if the desktop is pantheon) if no other is set. when you set a default app the .config/mimeapps.list is changed
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/09f4fec63c5 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
endocrimes has joined #nixos
<davidak[m]> worldofpeace yes. [davidak@X230:~]$ grep html .config/mimeapps.list
<davidak[m]> text/html=chromium-browser.desktop;firefox.desktop;
<davidak[m]> text/html=chromium-browser.desktop
<davidak[m]> it still opens in web
gustavderdrache has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<bdju> I think youtube-dl is in need of an update!
<worldofpeace> davidak: are you trying with pantheon-files? if so, try with xdg-open in a terminal.
<davidak[m]> worldofpeace no, in terminal
<{^_^}> [nix] @mkenigs opened pull request #3542 → Set GCROOT to store path to prevent garbage collection → https://git.io/Jfq1m
<cole-h> bdju: There haven't been any new releases. The last update was tagged 2020.03.24
<armin> tokudan: thank you got it :)
endocrimes has quit [Client Quit]
endocrimes has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85859 → libssh: 0.8.8 -> 0.8.9 → https://git.io/JfIwX
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to staging « libssh: 0.8.8 -> 0.8.9 »: https://git.io/Jfq1c
chagra_ has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #85659 → libfido2: make builds reproducible → https://git.io/JfTXu
<{^_^}> [nixpkgs] @FRidh pushed commit from @xfix to staging « libfido2: make builds reproducible »: https://git.io/Jfq1u
<bdju> cole-h: oh wow, that's a surprise. It tends to update pretty often... Well, I've hit 5-10 vids that don't play at all anymore, and I watch 100% of my YouTube videos via mpv on a normal day so this really sucks.
<worldofpeace> davidak: I can't reproduce on master with just firefox and epiphany, so maybe it has been fixed
<davidak[m]> worldofpeace thanks. i will test
<cole-h> bdju: You could make an overlay for the git version.
<bdju> oh, I've got it figured out now. thanks for linking me to the github. I hadn't checked there yet for some reason
<{^_^}> ytdl-org/youtube-dl#23638 (by dstftw, 16 weeks ago, open): READ THIS BEFORE OPENING ANOTHER YOUTUBE 403 OR 429 ISSUE
<cole-h> lmao
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/Jfq1y
ardumont has quit [Ping timeout: 272 seconds]
Baughn has quit [Ping timeout: 240 seconds]
plutes has quit [Ping timeout: 246 seconds]
peanutbutter144 has quit [Ping timeout: 260 seconds]
Acou_Bass has quit [Ping timeout: 260 seconds]
cmacrae has quit [Ping timeout: 240 seconds]
<srk> cole-h: lol, and you open the issue(s) list and top 4/5 are 403 related :D
<cole-h> (:
seanparsons has quit [Ping timeout: 240 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
lunik1 has quit [Ping timeout: 240 seconds]
icey_ has quit [Ping timeout: 260 seconds]
FRidh has quit [Quit: Konversation terminated!]
chagra_ has joined #nixos
KeiraT has joined #nixos
emilsp has quit [Ping timeout: 600 seconds]
nschoe has joined #nixos
icey_ has joined #nixos
<abathur> <3 lovesegfault
<{^_^}> lovesegfault's karma got increased to 27
negaduck has quit [Ping timeout: 265 seconds]
peanutbutter144 has joined #nixos
cmacrae has joined #nixos
Baughn has joined #nixos
<{^_^}> [nixpkgs] @chrbauer opened pull request #86140 → hasql-th isn\'t broken → https://git.io/JfqMO
Acou_Bass has joined #nixos
lunik1 has joined #nixos
<nschoe> Hello everyone, I'm trying to cross-compile a haskell package for my rPi from my laptop, so it must compile GHC (yeah... 6+ hrs).
<nschoe> But it fails with '/build/ghc23187_0/ghc_10.s: Fatal error: can't close /build/ghc23187_0/ghc_11.p_o: No space left on device'
<nschoe> I still have tons of place on my '/ partition, so I am guessing this means something in tmpfs. I've relaunched the command with a 'watch df -h', but maybe you can help: where are packages build ?
<nschoe> Is it /run/user/1000?
<nschoe> Note that I have boot.tmpOnTmpfs
seanparsons has joined #nixos
emilsp has joined #nixos
ardumont has joined #nixos
plutes has joined #nixos
knupfer has quit [Quit: knupfer]
<nschoe> Or is it /tmp
knupfer has joined #nixos
<srk> that could be it, can you remount with larger tmpfs?
endocrimes has quit [Quit: running from the computers]
endocrimes has joined #nixos
plutes has quit [Max SendQ exceeded]
KeiraT has quit [Ping timeout: 240 seconds]
plutes has joined #nixos
<nschoe> srk: probably, but I wonder where this gets decided? I have nothing regarding "/tmp" in my hardware-configuration.nix nor in my configuration.nix, apart from 'boot.cleanTmpDir = true;' and 'boot.tmpOnTmpfs = true;'
<{^_^}> #54707 (by davidak, 1 year ago, open): Build fails with 8GB space on /tmp - No space left on device
<nschoe> Current I see my /tmp is 3.9G, but where does this 3.9G comes from?
<srk> half the ram
<srk> by default
<nschoe> Ah
<nschoe> Makes sense.
KeiraT has joined #nixos
<nschoe> So 'mount -o remount,size=15G /tmp' it seems
oida has quit [Remote host closed the connection]
<nschoe> srk: thanks :)
<srk> nschoe: but does the pi have enough ram for that? :)
<nschoe> srk: I'm building on the laptop.
<nschoe> srk: it's a cross compiling.
<srk> ah, right, nvm then :)
<srk> yw & gl! :)
proofofkeags has quit [Remote host closed the connection]
<nschoe> srk: but my laptop still failed before : OOM killed 'make'. GHC is very greedy to build ;D
<yorick> nschoe: /build is in /nix/store, iirc
<yorick> well, on the /nix partition
<yorick> I'm not sure of it, though
<yorick> it may be in /tmp
benny_ is now known as benny
Guest17818 has quit [Quit: Guest17818]
<yorick> nschoe: you can also consider turning off profiling in your haskell build
<ajs124> it's in /tmp
Fare has joined #nixos
<ajs124> or TMPDIR or something like that. but default is for sure /tmp
oida has joined #nixos
afics has joined #nixos
o1lo01ol1o has joined #nixos
<nschoe> yorick: how would I go about this?
afics is now known as Guest44765
<nschoe> yorick: I have remounted /tmp to be 15G. We'll see ifthat fails or not.
<yorick> nschoe: yeah, that should help
<nschoe> Well... answer in 5 hours.... -_-
<nschoe> that's the third time this build fails today :D
<srk> add a trigger to grow it when it reaches 90% :D
<yorick> nschoe: disableLibraryProfiling your-package
<yorick> (from haskell.lib)
wkral has joined #nixos
<yorick> nschoe: I'm not entirely sure that haskell to rpi cross-compiling isn't broken, but I encourage you to find out :)
<yorick> if you have a nix expression to share I can probably find out for you in less than 6 hours
<nschoe> srk: how would the system react to a re-mount while building? ^^
<nschoe> yorick: ah okay, but this is for my package, not GHC itself. I see.
hopheynananey has joined #nixos
<srk> nschoe: I guess it wouldn't notice at all :)
<wkral> Hello, just wanted to check to see if someone was already aware that the channel update cron seems to either be not running or failing since the 24th https://status.nixos.org/grafana/d/LhIq8iLWk/channel-updates?orgId=1&refresh=10s
<nschoe> yorick: well... as I said: answer i n5 hours :D :D
<yorick> nschoe: is this pkgsCross.raspberryPi.ghc from nixos-unstable?
<nschoe> yorick: alsmost. 'raspberryPi' is for armv6 raspberrypi 1 only. So this is 'pkgsCross.aarch64-multiplatform.haskellPakages.callPackage' for me
cmacrae has left #nixos ["ERC (IRC client for Emacs 27.0.90)"]
<energizer> where's the documentation of highPrio
<energizer> ?
<energizer> oh i spelled it wrong :)
<Izorkin> etu: please recheck #85225
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85225 (by Izorkin, 1 week ago, open): nixos/unit: update service configuration and update unit to 1.17
<energizer> (or someone did)
<nschoe> Gotta go, my RAM is filling up, will try to keep everything low to gives space to the build process.
<nschoe> Will try to report either success or failure.
pamplemousse has quit [Ping timeout: 260 seconds]
<davidak[m]> i use 32 GB RAM and 70 GB swap to build hundreds of containers :D
chloekek has quit [Ping timeout: 240 seconds]
<JameySharp[m]> out of curiosity, what triggered a mass rebuild in 20.03 yesterday?
<yorick> staging merge, possibly?
infandum has joined #nixos
<yorick> oh, 20.03
shafox__ has quit [Remote host closed the connection]
<cole-h> openssl maybe?
<infandum> Is there a --file-watch for nix-env or build such that it will rebuild for every change to the package that default.nix references? I'm thinking like stack --file-watch for haskell.
hopheynananey has quit [Quit: WeeChat 2.8]
pjt_014 has joined #nixos
<simpson> There is also the horribly-named https://github.com/clibs/entr
<simpson> Oh, whoops, I meant https://bitbucket.org/eradman/entr but either way it's in nixpkgs as `entr`
<energizer> do you really want automatic systemwide installation for every change?
<cole-h> Huh?
<energizer> the question was about nix-env
<cole-h> or build
<energizer> i'm focusing on the nix-env part
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<cole-h> I got that lol. I ignored nix-env for the reason you just brought up :P Installing on every change seems like the not-right thing to do
<infandum> yes, I mean nix-build I guess
<infandum> eventually nix-env when it succeeds
<energizer> infandum: lorri is really nice
proofofkeags has joined #nixos
<infandum> Looks nice
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7d0b089bf37 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<energizer> in home-manager, is it possible to say programs.git.package = whatever my git binary wouldve been?
<energizer> currently i'm doing `programs.git.package = mygit`, but i'd rather it just figure it out
ramez has quit [Quit: Leaving]
user_0x58 has quit [Quit: Leaving]
__Sander__ has joined #nixos
foldingcookie has joined #nixos
<energizer> i.e. i want programs.git.package to be the `git` executable that's on my PATH
ddellacosta has joined #nixos
<wkral> ^_^: status.nixos.org is showing that no channels have moved for 3 days, maybe some sort of sync issue or some part of the job is failing?
<manveru> wkral: that's a bot :)
<wkral> ahh
<wkral> seemed like a reply to my message earlier
<{^_^}> [nixpkgs] @kazcw opened pull request #86141 → Convert::Bencode: init at 1.03 → https://git.io/Jfqyy
zupo has joined #nixos
<manveru> but yeah, it seems the homepage isn't updating anymore..
<cole-h> Yeah, I brought that up last night in -dev. Dunno if anything came of it
<{^_^}> [nixpkgs] @bcdarwin opened pull request #86142 → Itk: 5.0.1 -> 5.1.0 → https://git.io/Jfqyx
<wkral> I suspect it's the channel update cron based on these graphs: https://status.nixos.org/grafana/d/LhIq8iLWk/channel-updates?orgId=1&refresh=10s
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<manveru> indeed
xfix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<manveru> i'm not sure where the source for the status page is now since the move to netlify
xfix has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> gchristensen: any ideas why grafana stopped seeing new releases?
lsix has quit [Ping timeout: 244 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
<cole-h> Relevant-ish conversation from last night: https://logs.nix.samueldr.com/nixos-dev/2020-04-27#1587967800-1587970163;
AliciaAway has joined #nixos
Baughn has quit [Ping timeout: 260 seconds]
<infandum> Woah, target makes lorri
<cole-h> "target"
<cole-h> It's not just them, though ;)
<cole-h> Most of the big names involved in Nix + OS work at Tweag
ddellacosta has joined #nixos
AliciaAway has quit [Client Quit]
<{^_^}> [nixpkgs] @nagisa opened pull request #86143 → Add `jq` into path for `nix-prefetch-docker` → https://git.io/JfqSr
Baughn has joined #nixos
<infandum> I'm familiar with tweag's haskellR
<numkem> just curious, anyone running 3+ monitors on a RX 580?
<wkral> cole-h: That conversation helped, yeah it seems the channel is updating it's just not status.nixos.org
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<wkral> as well as whatever is reporting that check-time metric to prometheus
Ashy has quit [Ping timeout: 272 seconds]
mallox has quit [Quit: WeeChat 2.8]
Ashy has joined #nixos
Miyu-saki has quit [Ping timeout: 272 seconds]
Miyu-saki has joined #nixos
Miyu-saki is now known as Guest23688
rogue_koder has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Kyndig has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 246 seconds]
rogue_koder has joined #nixos
alp has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
endformationage has joined #nixos
zupo has joined #nixos
wkral has quit [Remote host closed the connection]
leah2 has joined #nixos
wkral has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
noonien has quit [Quit: Connection closed for inactivity]
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #85945 → llvm/compiler-rt.nix: add i{4,5,6}86 to X86 architecture → https://git.io/JfLa1
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/Jfq9u
<{^_^}> [nixpkgs] @matthewbauer merged pull request #85246 → python.pkgs.grpcio: use system openssl, zlib, and c-ares → https://git.io/JfeFD
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jfq92
edrex has joined #nixos
wkral has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
zupo has joined #nixos
konobi has quit [Remote host closed the connection]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jgeerds has joined #nixos
konobi has joined #nixos
jbrock has joined #nixos
drozdziak1[m] has joined #nixos
<drozdziak1[m]> I'm trying to get a vim plugin (vim-hug-neovim-rpc) to work on my system. The plugin requires pynvim Python module at runtime in order to work. How can I override vim to achieve this?
<drozdziak1[m]> I'd prefer not to manage my editor config with Nix
<drozdziak1[m]> but only alter the package instead
<dmj`> how do I install nix as root?
andi- has quit [Ping timeout: 240 seconds]
<edrex> Install support Qs ok here?
<edrex> I'll need a boot partition for grub. I read that grub doesn't support LUKS2. Can I work around that by putting initrd on boot? I do this infrequently enough (and it's been awhile since I did a non-EFI boot) that I don't feel 100% confident.
<edrex> Seeking docs for legacy MBR boot with encrypted root (LVM-on-LUKS).
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
pamplemousse has joined #nixos
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<lukegb> Hmm
<lukegb> gchristensen: ^ "Failed to get option data."
<lukegb> "Access to XMLHttpRequest at 'https://releases.nixos.org/nixos/20.03/nixos-20.03.1589.9137f05564e/options.json.br' (redirected from 'https://channels.nixos.org/nixos-20.03/options.json.br') from origin 'https://nixos.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
<cole-h> lukegb: Works for me.
<{^_^}> [nixops] @adisbladis pushed 9 commits to master: https://git.io/JfqH9
<{^_^}> [nixops] @adisbladis merged pull request #1325 → tests: Add functional tests using NixOS in Docker → https://git.io/JfqrE
<lukegb> hm
Baughn has quit [Ping timeout: 260 seconds]
lunik1 has quit [Ping timeout: 244 seconds]
<kraem> i can't figure out how to see what hydra is building right now and the order is of the queue. is it possible to do via hydra.nixos.org?
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
icey_ has quit [Ping timeout: 246 seconds]
seanparsons has quit [Ping timeout: 260 seconds]
NieDzejkob has quit [Quit: No Ping reply in 180 seconds.]
KeiraT has quit [Ping timeout: 240 seconds]
NieDzejkob has joined #nixos
plutes has quit [Ping timeout: 264 seconds]
Acou_Bass has quit [Ping timeout: 264 seconds]
peanutbutter144 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixops] @adisbladis pushed to master « Revert testing commits »: https://git.io/JfqQU
tokudan has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @danielfullmer opened pull request #86144 → hcxdumptool: fix incorrect pname → https://git.io/JfqQm
__Sander__ has quit [Ping timeout: 256 seconds]
bebarker has quit [Quit: Leaving]
emilsp has quit [Ping timeout: 608 seconds]
tokudan has joined #nixos
KeiraT has joined #nixos
emilsp has joined #nixos
Acou_Bass has joined #nixos
peanutbutter144 has joined #nixos
seanparsons has joined #nixos
lunik1 has joined #nixos
icey_ has joined #nixos
Baughn has joined #nixos
plutes has joined #nixos
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
oida has quit [Ping timeout: 240 seconds]
<{^_^}> [nixops] @adisbladis opened pull request #1326 → tests: Add functional tests using NixOS in Docker → https://git.io/JfqQ4
alp has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
oida has joined #nixos
jbrock has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Quit: No Ping reply in 180 seconds.]
xkapastel has joined #nixos
o1lo01ol1o has joined #nixos
lassulus has quit [Ping timeout: 250 seconds]
lassulus has joined #nixos
<energizer> boot.initrd.network.ssh.hostKeys is a list of paths. If i'm remotely deploying a configuration to another system, are those paths resolved to files that are on my local system or on the target system?
Henson has joined #nixos
goodwill has joined #nixos
eof has joined #nixos
<drozdziak1[m]> Found it, `vim_configurable` has womething called `wrapPythonDrv` which appears to pull the needed packages in
user_0x58 has joined #nixos
<bqv> hey, is there a nice painless way to turn a docker image into a nice clean nix derivation?
jbrock has quit [Quit: jbrock]
<freeman42x[m]> trying XMonad. Do I need to use GHC with packages inside configuration.nix so that xmonad-contrib package is seen in the XMonad xmonad.hs file?
jbrock has joined #nixos
<bqv> actually it makes sense if there isn't, that's a massive ask
jbrock has quit [Client Quit]
<bqv> i'll just repackage it properly
jbrock has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: fix build »: https://git.io/Jfq7W
<{^_^}> [nix] @edolstra pushed 5 commits to flakes: https://git.io/Jfq74
andi- has joined #nixos
<Raito_Bezarius> Is there any way to debug why Mako does not display any notification under Sway?
<simukis_> bqv: `fetchImage`?
<pbogdan_> freeman42x[m]: there's `services.xserver.windowManager.xmonad.enableContribAndExtras` option, as well as `services.xserver.windowManager.xmonad.extraPackages` if you need to supply any other packages
<simukis_> s/fetch/pull/
<Raito_Bezarius> I cannot run mako BTW because it's complaining about user bus connection refused
<Raito_Bezarius> Maybe, it has to do with the fact that sway has been launched by a login manager rather than in a user service
<bqv> simukis_: so that fetches the docker image as-is i'm guessing...
ddellacosta has quit [Ping timeout: 246 seconds]
<bqv> yeah i think i'll just repackage it properly, avoid all that cruft
<freeman42x[m]> pbogdan_: so I set this to true to get it to use the contrib lib in xmonad.hs: services.xserver.windowManager.xmonad.enableContribAndExtras ? also, Romanian speaker?
<simukis_> bqv: right, you would still need to do the patchelf rites, same ones, you’d do for typical binary-input derivations.
<bqv> egh, ok yeah definitely avoiding all that
__monty__ has quit [Quit: leaving]
<pbogdan_> freeman42x[m]: yeah, see https://nixos.org/nixos/options.html#xmonad.enablecontrib and no I don't speak Romanian
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<freeman42x[m]> pbogdan_: that gives: "failed to get option data"
<armin> ok so even when using nix-shell -p i get this when trying to use the python "psutil" module: https://i.imgur.com/R7hnM7W.png so obviously i have some misunderstanding here, could someone enlighten me?
<armin> ah, AH
<armin> ok scratch that, i can just append the needed module
jluttine has quit [Ping timeout: 265 seconds]
bqv has quit [Ping timeout: 240 seconds]
<pbogdan_> wfm but you can also look it up locally via man configuration.nix
<simpson> armin: `pythonPackages.psutil` is packaged. More generally, when doing virtualenv, you've gotta remember to use the Python executable inside the virtualenv; that'll let you install and use pure-Python modules with pip.
proofofkeags has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
bqv has joined #nixos
infandum has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @jerith666 opened pull request #86145 → jid: 0.7.2 -> 0.7.6 → https://git.io/Jfq7S
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
jluttine has joined #nixos
dingenskirchen has joined #nixos
<ornxka> 3d has suddenly stopped working for me on nixos..
<bqv> you're now two-dimensional?
<ornxka> glxinfo prints Error: couldn't find RGB GLX visual or fbconfig
<ornxka> env doesnt print anything relating to opengl
<Raito_Bezarius> is this https://howoldis.herokuapp.com/ definitely broken?
<{^_^}> [nixpkgs] @Mic92 merged pull request #86110 → PULL_REQUEST_TEMPLATE: try to simplify call-for-review → https://git.io/Jfqsn
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfq5f
<ornxka> glxinfo works in my container though
<ornxka> so the module has been loaded but in nix userland it is not setting paths right
<ornxka> hardware.opengl = true; i need this i guess?
klntsky has quit [Remote host closed the connection]
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
klntsky has joined #nixos
Henson has quit [Ping timeout: 244 seconds]
numkem has joined #nixos
<infinisil> adisbladis: Hey, for poetry2nix, is there an easy way to install binaries from dependencies in the final output with mkPoetryApplication?
<avn> ornxka: strace and `export LIBGL_DEBUG=verbose, look what it try to load, and why it missing
aszlig has quit [Ping timeout: 250 seconds]
aszlig has joined #nixos
<infinisil> adisbladis: For now I've been using the [tool.poetry.scripts] section in pyproject.toml to define executable -> python module/function mappings. E.g. gunicorn = "gunicorn.app.wsgiapp:run"
<infinisil> But that's not very nice
chloekek has joined #nixos
<davidak[m]> worldofpeace updating fixed the xdg-open issue :) update with pantheon without problems. thanks for your work!
<ornxka> openat(AT_FDCWD, "/nix/store/xdsjx0gba4id3yyqxv66bxnm2sqixkjj-glibc-2.27/lib/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
<ornxka> it cant find libglx etc
<ornxka> normally theres some weird include path in the environment
klntsky_ has joined #nixos
<ornxka> that points to like /sw/opengl/nvidia/libglx.so or something
<ornxka> but its not there
<energizer> infinisil: i feel like it's part of the concept of "application" that it doesn't inherit its dependencies console scripts, no?
<infinisil> Hmm that's a good point..
<ornxka> nvidia-smi is installed and says the driver is loaded
<ornxka> but i cant find the userland libs anywhere
<infinisil> energizer: In my case at least, one binary from a dependency (celery) is needed to run the final build, there is no binary by the project itself
<infinisil> And if I just built an environment with the dependencies, celery wouldn't know about the python module from the project, so it couldn't run it
klntsky has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<ornxka> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/nix/store/hhbwbmq85xzb05j47xjiy0xpc1jamrhn-nvidia-x11-440.82-5.6.7/lib if i do this manually it works, but im perplexed as to why its not in my environment by default...
<energizer> infinisil: how many executables are rrunning in your project?
<infinisil> Hmm two I guess, both come from the dependencies
<energizer> just celery and your wsgi runner?
<infinisil> Yea
<infinisil> gunicorn
<infinisil> I think only celery depends on knowing the python module of the application
<energizer> how does gunicorn import your app unless they're both installed into the same environment?
<infinisil> Never mind, gunicorn doesn't work if it's not in the same python env
<ornxka> stuff like blender and chromium also work.. i wonder if just glxinfo is broken
<infinisil> energizer: If you know of a way to "propagate" a python environment to a binary, that would be great
<cole-h> `makeWrapper`? :P
<infinisil> What do I wrap it with though?
<energizer> infinisil: and the the celery server also needs to know about (be in the same python environment as) your app , right?
<energizer> or not
<infinisil> energizer: Yeah
<energizer> ok
<JameySharp[m]> ornxka: LD_LIBRARY_PATH used to get /run/opengl-driver/lib added to it automatically if you turn on opengl in nixos but looking at the module now, that apparently isn't necessary any more for drivers that support libglvnd (see hardware.opengl.setLdLibraryPath)
<ornxka> ah
<ornxka> so i should turn that on to make it work :p
cosimone has quit [Quit: Quit.]
<infinisil> energizer: cole-h: Nixpkgs python tools seem to wrap binaries with this magic incantation: https://github.com/NixOS/nixpkgs/blob/974d11d53f4a3f5bfb654a83006bc02897e0cbf8/pkgs/development/interpreters/python/wrap-python.nix#L31-L41
<energizer> infinisil: so maybe you jusst want `start-myapp-celery = celery.startwhateverthing`
<infinisil> With which binaries appear to be in a python env
<infinisil> energizer: Not sure what you mean by that
Henson has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #86147 → kde/{kate,konqueror,okular}: decrease text mimetype preference → https://git.io/Jfq5h
<infinisil> I think for now I'll just add more dependency binaries manually to poetry's [tool.poetry.scripts] section
<infinisil> If they need to be in the same environment as the app
<energizer> infinisil: just like you originally said with `gunicorn = "gunicorn.app.wsgiapp:run"`, but just giving the script a different name so that it's clearly about your app instead of just a generic celery
<ornxka> ah yes it works with the setldlibrarypath option
<energizer> infinisil: it sounds like your app actually does have multiple commands for starting its various components, it's just a bit weird for those commands to inherit the same name as the dependency they're based on
<energizer> you want an interface that hides the implementation like `myapp start-server` not `celery`
<energizer> because the fact that your app uses celery is an implementation detail
<infinisil> Hm yeah that makes sense, though I'm just a python noob and I'm struggling quite a bit
<infinisil> I'll probably forward this to the people who wrote the thing
<energizer> perhaps `myapp start-webapp` and `myapp start-queue`
<infinisil> Yeah that sounds much nicer
proofofkeags has joined #nixos
<energizer> otoh ....there's another view
<infinisil> energizer: I've seen in docs that gunicorn and celery seem to indicate that the default mode of operation is to run the gunicorn/celery binaries and pass your app's module as an argument
<infinisil> Is this not mandatory then?
<infinisil> I kind of assumed it had to do with the python runtime somehow making this necessary
mydude has joined #nixos
shreyansh_k has quit [Ping timeout: 244 seconds]
<energizer> there are two ways to do it. you can run gunicorn which runs your app, or you can have your app run gunicorn
<energizer> the former is more common
<infinisil> Hm I see, but I guess in this specific case it seems to cause a bit of unnecessary friction with peotry2nix
andi- has quit [Ping timeout: 244 seconds]
cr4y1 has quit [Ping timeout: 260 seconds]
<energizer> if you do mkPoetryEnv does the gunicorn binary appear on your path?
<infinisil> energizer: Yeah
<infinisil> It has all the binaries from all dependencies in the built environment
<energizer> that sounds like a solution then?
<bqv> > pkgs.nheko.version
<{^_^}> "0.6.4"
<infinisil> Except it's not wrapped with the apps python env :)
<infinisil> mkPoetryEnv actually doesn't even take your apps source
<infinisil> It just takes the pyproject.toml and poetry.lock
<energizer> oh right
<energizer> there's an open issue about that
<{^_^}> nix-community/poetry2nix#74 (by jtrakk, 4 weeks ago, open): Installing the current project
<energizer> ya
<infinisil> Maybe I can just wrap with PYTHONPATH then
<energizer> alternatively you can just use `python -m gunicorn` instead of `gunicorn`
<{^_^}> [nixpkgs] @prusnak opened pull request #86148 → bitcoin: 0.19.0.1 -> 0.19.1 → https://git.io/Jfqdl
<energizer> that'll work fif you're in the directory of your app
<energizer> iff*
<{^_^}> [hydra] @Ma27 opened pull request #743 → Add a filter for maintainers in the jobset-eval view → https://git.io/Jfqd8
<infinisil> Ah neat
<infinisil> That sounds nicer
<infinisil> Though then when you need a binary, you need to guess the module name
<energizer> ya
<{^_^}> [hydra] @Ma27 closed pull request #685 → Implement maintainer search → https://git.io/Jegrc
numkem_ has joined #nixos
<infinisil> energizer: How does `-m gunicorn` relate to the binary mapping `gunicorn = "gunicorn.app.wsgiapp:run"` I'm currently using?
<infinisil> How does it know that `-m gunicorn` should be `gunicorn.app.wsgiapp:run`?
<{^_^}> [nixpkgs] @prusnak closed pull request #83817 → bitcoin: 0.19.0.1 -> 0.19.1 → https://git.io/Jv5II
<edrex> so, I have two very different machines with nixos now, and I'd like to keep all their configs in a repo with common stuff factored out. Beginner-friendly suggestions? Should I just spend some time on https://search.tx0.co/ and come up with my own layout?
<energizer> oh i took a guess `python -m gunicorn` would work because most packages provide that but it doesnt
<ornxka> edrex: i just made /cfg and put it all in there
<energizer> `python -m foo` runs `foo/__main__.py`
<ornxka> /etc/nixos/configuration.nix is a symlink to /cfg/sys/$MACHINE.nix
<energizer> but gunicorn doesnt provide one of those
<ornxka> and then $MACHINE.nix does imports from elsewhere in /cfg
<energizer> too bad
<infinisil> Hm I see
<infinisil> So maybe PYTHONPATH wrapping it is
<edrex> ornxka: seems sensible and simple. thanks!
<ornxka> np
<energizer> you can follow the trail of `which gunicorn` (or just look in gunicorn's setup.py` to find out what it's actually running. in this case it's `from gunicorn.app.wsgiapp import run; run()`
<infinisil> Ah I see
Henson has quit [Ping timeout: 260 seconds]
<worldofpeace> davidak: thanks, I'm looking for active feedback in https://discourse.nixos.org/t/feedback-on-pantheon-in-nixos-20-03/6806 btw
<davidak[m]> ah, thanks
<energizer> PYTHONPATH will work iff you don't have C-extensions in your source and you're not using any packaging metadata. but because that's not a safe assumption in the general case, the proper thing to do is of course install your app. poetry2nix is fighting you here
maddo has quit [Quit: See ya]
mydude has quit [Remote host closed the connection]
<energizer> (not its fault really, the "editable installs" spec for pyproject.toml is still under discussion)
jbrock has quit [Quit: jbrock]
<freeman42x[m]> possibly stupid question incoming: `sudo nix-collect-garbage -d` or `nix-collect-garbage -d`? any functional difference?
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<energizer> infinisil: so i think there's a question to ask yourself: are the celery and wsgi servers implementation details of your app, or are they external to the app, provided by the execution context
<energizer> if they're part of your app, i'd provide console scripts for them under [tool.poetry.scripts]. if they're external, maybe install your app as a *package* and make another derivation that provides those external binaries
<ornxka> wait, whats the difference between nix-store --gc and nix-collect-garbage?
numkem_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @ceedubs opened pull request #86150 → unison-ucm: 1.0.M1j-alpha -> 1.0.M1j-alpha → https://git.io/Jfqdp
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<energizer> simpson: would you sanity check my last suggestion to infinisi ^
jbrock has quit [Client Quit]
jbrock has joined #nixos
<infinisil> Hmm lemme think about that..
plutes has quit [Ping timeout: 264 seconds]
Acou_Bass has quit [Ping timeout: 264 seconds]
Baughn has quit [Ping timeout: 246 seconds]
<infinisil> energizer: What do you mean by "installing" the app?
<infinisil> Actually `nix-env`-like installing?
seanparsons has quit [Ping timeout: 260 seconds]
peanutbutter144 has quit [Ping timeout: 260 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
icey_ has quit [Ping timeout: 260 seconds]
lunik1 has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
<energizer> in the sense of propagatedBuildInputs (aka setup.py's install_requires, aka [tool.poetry.dependencies])
<infinisil> Ah, and I guess nixpkgs python tools would use propagatedBuildInputs in the python wrapping
<energizer> right
<infinisil> Hm still kind of very unsure how to do that
emilsp has quit [Ping timeout: 624 seconds]
<infinisil> Maybe build the app with mkPoetryApplication and then override propagatedBuildInputs
<{^_^}> [nixpkgs] @bcdarwin opened pull request #86151 → vtk: unbreak on OS X → https://git.io/JfqFR
<simpson> energizer: I don't understand Poetry. I hear what you're saying, though.
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
<infinisil> Hm nah that doesn't work
jbrock has joined #nixos
<energizer> simpson: you agree there are two reasonable ways to organize this, namely celery and gunicorn are either inside or outside the app?
lunik1 has joined #nixos
Acou_Bass has joined #nixos
<infinisil> I think for now I'll just continue to use the [tool.poetry.scripts] section and make a TODO there saying to make a proper binary so this won't be needed anymore
icey_ has joined #nixos
seanparsons has joined #nixos
<energizer> s/app/app derivation/
<simpson> Yep. And, given how WSGI works, you probably need at least gunicorn to use the same Python environment as your WSGI app. Celery too, depending.
Baughn has joined #nixos
<energizer> yeah ok cool
emilsp has joined #nixos
chloekek has quit [Ping timeout: 264 seconds]
<infinisil> I think celery might work without it actually
<energizer> infinisil: so pick inside or outside, and we can go from there
alp has quit [Ping timeout: 265 seconds]
peanutbutter144 has joined #nixos
KeiraT has joined #nixos
<infinisil> Well currently it's outside, but I think inside would be better ideally
plutes has joined #nixos
<edrex> ornxka: do you move your hardware-configuration.nix inside the device-specific file then?
<ornxka> yeah
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
user_0x58 has quit [Quit: Leaving]
user_0x58 has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
<energizer> infinisil: i'm still thinking about it but https://bpaste.net/7OWQ
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JfqFp
jkachmar has joined #nixos
erasmas has quit [Quit: leaving]
<infinisil> energizer: Neat
andi- has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « mautrix-whatsapp: 2020-04-21 -> 2020-04-21-1 »: https://git.io/JfqbU
chagra_ has quit [Ping timeout: 246 seconds]
fendor has quit [Read error: Connection reset by peer]
<energizer> infinisil: i can elaborate on usage of that if it interests you, lemme know
<infinisil> Should be fine with this, thanks for all the help energizer :)
<infinisil> energizer++
<{^_^}> energizer's karma got increased to 11
<energizer> np :)
thc202 has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Henson has joined #nixos
<Henson> has anyone set up NixOS as a media center with a remote control? I'm trying to figure out how to get my IR remote to work. In the NixOS Wiki there are instructions for enabling LIRC in the kernel, which requires a recompile. I was wondering if there was another simpler way to do it.
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @Taneb opened pull request #86153 → metamath: 0.181 -> 0.182 → https://git.io/Jfqb4
<simpson> Henson: There's a userspace IR stack, if you have something like a USB IR receiver, and it happens to be supported. But you're going to have a much better time by using the kernel-side drivers, IME.
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
pamplemousse has quit [Ping timeout: 260 seconds]
<Henson> simpson: ok. Some things I've read say that LIRC has been deprecated and there's a input event system that has now replaced it. I experimented with this, noticing that it was enabled by default in the stock NixOS kernel, but the remote control decoders were not added so it wouldn't work. Recompiling the kernel to enable the decoders kind of worked.
philr_ has joined #nixos
<simpson> Henson: Oh, yeah, if your remote can generate X input events, then that will be winning. So that should be your goal. At some level, that'll have to go through the kernel, but indeed there's multiple routes. You'll want to look carefully and make sure that your specific model of receiver is listed.
justanotheruser has quit [Ping timeout: 240 seconds]
<Henson> simpson: ok. I got the IR event thing to work with the kernel decoders, but some buttons weren't working. I was just wondering if I was missing something else that I should be using instead.
lunik1 has quit [Ping timeout: 244 seconds]
<simpson> Henson: You may have to hack at parts of the stack to get every button to work, unfortunately. You can test with tools like xev, in `xorg.xev`, which dumps all of the X events sent to its window.
Baughn has quit [Ping timeout: 260 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
chagra_ has joined #nixos
lunik1 has joined #nixos
lemsip has joined #nixos
icey_ has quit [Ping timeout: 260 seconds]
Acou_Bass has quit [Ping timeout: 260 seconds]
Baughn has joined #nixos
seanparsons has quit [Ping timeout: 246 seconds]
seanpars- has joined #nixos
<Henson> simpson: so should I aim to steer away from LIRC and more towards the IR event stuff? Is LIRC obsolete now?
Acou_Bass has joined #nixos
peanutbutter144 has quit [Ping timeout: 260 seconds]
KeiraT has joined #nixos
peanutbutter144 has joined #nixos
icey_ has joined #nixos
emilsp has quit [Read error: Connection reset by peer]
<simpson> LIRC has always had a dated feel to it. But I think it still works. I currently don't have my IR receiver hooked up at all, but now that I think about it, I guess I'm using Bluetooth for my controller. So, Bluetooth happened, I guess?
<Henson> simpson: do they have bluetooth remote controls now? I have an openelec media center system, but want to try moving to NixOS. The difficulties with the IR remote control made me give up.
<simpson> Yeah, there's all kinds of cool stuff these days. I don't know what to recommend, though. Hacking on LIRC sounds about as good as anything else.
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
noonien has joined #nixos
justanotheruser has joined #nixos
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
o1lo01ol1o has quit [Remote host closed the connection]
<noonien> hello folks!
<{^_^}> [nixpkgs] @bhipple opened pull request #86154 → [20.03] python.pkgs.grpcio: use system openssl, zlib, and c-ares → https://git.io/Jfqbp
<noonien> how can i get a gcc cross-compiler for thumbv7em-none-eabi?
<noonien> i see in nixpkgs that there are some example systems in lib/systems/examples.nix
<noonien> i see there's also arm-embedded, so i'm guessing crossPkgs.arm-embedded.gcc should work
<{^_^}> [nixpkgs] @bhipple merged pull request #86135 → nixpkgs-review: 2.3.0 -> 2.3.1 → https://git.io/JfqKb
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfqNv
<edef> noonien: pkgsCross.arm-embedded.buildPackages.gcc
<edef> noonien: pkgsCross.arm-embedded.gcc would be a gcc that runs *on* your MCU
<noonien> it would appear there's a package called `gcc-arm-embedded`
<edef> yeah, that's a specific toolchain
<edef> i think that's the one provided by ARM we just patchelf
<edef> so the binaries are not built by Nix
<noonien> it seems to be just an alias to `pkgsCross.arm-embedded.buildPackages.gcc`
<noonien> oh, hmm, no
<edef> those two are very different packages from where i'm looking
<edef> one comes from <nixpkgs/pkgs/development/compilers/gcc-arm-embedded/9/default.nix> which downloads binaries from ARM
<noonien> yes, you are right, i was looking somewhere else and just assumed that
<edef> and the other is our usual gcc build, just targeted differently
<edef> i believe i've used gcc-arm-embedded successfully in the past
<noonien> any reason not to use `pkgsCross.arm-embedded.buildPackages.gcc`?
<edef> but pkgsCross.arm-embedded.buildPackages.gcc is the more adaptable option, and it's probably what i'd use if i wanted to do this stuff today
<{^_^}> [nixpkgs] @kevinastock opened pull request #86155 → aspell, tla: use HTTPS instead of FTP → https://git.io/JfqNY
<noonien> yeah, i'll also be using that
<noonien> thanks!
<keithy[m]> I would like to use nix on mac os 10.11 but its failing so I turned to nix-darwin, cant work out how to install it though.
bhipple has joined #nixos
<{^_^}> [nixpkgs] @kini opened pull request #86156 → makeself: 2.4.0 -> 2.4.2 → https://git.io/JfqNZ
m0rphism has quit [Quit: WeeChat 2.7.1]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
m0rphism has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #86157 → palemoon: 28.8.4 -> 28.9.1, add GTK3 option → https://git.io/JfqNB
rogue_koder has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple merged pull request #86155 → [20.03] aspell, tla: use HTTPS instead of FTP → https://git.io/JfqNY
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/JfqN0
rogue_koder has joined #nixos
jgeerds has quit [Ping timeout: 246 seconds]
seanpars- has quit [Quit: ZNC 1.7.5 - https://znc.in]