gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
mexisme has joined #nixos
mkoenig has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotkin has joined #nixos
reanimus has joined #nixos
ris has quit [Ping timeout: 246 seconds]
enuiarte has quit [Ping timeout: 264 seconds]
<gchristensen> can rnix be used to modify an expression? cc jD91mZM2
Henson has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7qZ
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d3e64869359 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
wildtrees has quit [Quit: Leaving]
jgt has quit [Ping timeout: 252 seconds]
<switchy> *sigh* julia is a rude language
<switchy> why does it insist on trying to ship in binary libraries for deps, and failing to do so, when my system has the exact things I need
<switchy> frustrating!
LogicAside has quit [Ping timeout: 244 seconds]
thc202 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bdesham opened pull request #66355 → slrn: 1.0.2 -> 1.0.3a → https://git.io/fj7qw
<Notkea[m]> is there a function similar to pkgs.writeScript that creates a package? (putting the script in a bin subdirectory so that the expression can be used in environment.systemPackages)
<samueldr> writeScriptBin
<samueldr> writeShellScriptBin will also shellcheck it for shell (bash)
<samueldr> oops, not shellcheck, just check it's valid bash with -n
iqubic has quit [Ping timeout: 276 seconds]
<exarkun> Can nixops pin nixpkgs to a different thing on different hosts in a single deployment?
<Notkea[m]> that's handy, thanks!
kvda has joined #nixos
<exarkun> It seems like ... not. If I export a deployment, I see there is only one nixPath for the whole thing.
psy3497 has joined #nixos
ThatOtherGuy has joined #nixos
<exarkun> How about morph?
__red__ has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
<__red__> So, just did a presentation on NixOS at Defcon. Room Enthralled. Win.
<__red__> lots of questions after - very happy :-)
<__red__> one question I got from the group was: "Can you run Nix under Windows for Linux subsystem?
<__red__> "
<aanderse> __red__: you're alive!
<__red__> so we downloaed Kali and tried the usua; curl url | sh install and it failed
<__red__> I am, indeed
<aanderse> busy busy sounds like
<__red__> but in Vegas - so the definition of live is variable :-)
<aanderse> ha ha ha
<__red__> and yes - thanks, the merge was awesome
<aanderse> glad to hear :D
<aanderse> about the defcon talk too!
<gchristensen> __red__: wow! awesome!
<aanderse> will it be posted at any point?
<__red__> No, it was in a group that doesn't record talks.
<__red__> not open to the public
<aanderse> i've heard defcon talks are often like that
<gchristensen> how many people?
<aanderse> my manager has been a couple times
<aanderse> unfortunately i've never had the priviledge
<__red__> it was a small group, ~20 people
<gchristensen> nice
<__red__> this wasn't defcon main, but a small subgroup at the same location
ThatOtherGuy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
<__red__> I guess I could submit to defcon main next year, I didn't expect the talk to go so well I'll be honest
<__red__> everything from seeing me to package stuff in OSX, nix-shell in dev workflows, seeing me go from nothing to atmel compilation environment in one shell
<gchristensen> ♥‿♥
<__red__> it blew their mind that a nix-shell -p made an environment in that shell - yet in the other parallel tmux window none fo the stuff was visible
ThatOtherGuy has joined #nixos
<qyliss> that was what sold me on nix the first time i saw it
<aanderse> :D
<__red__> I then switched my main production server from unstable to stable to another version
<__red__> and back again
<__red__> and they were blown away since such things are impossible in other distros
ddellacosta has joined #nixos
ThatOtherGuy is now known as LogicAside
<__red__> they had a hard time believing it was possible
<__red__> and the facty that I did it with my main production machine showed my level of confidence
<__red__> esp since I didn't have access to the console ;-)
<aanderse> ha
<aanderse> living on the edge indeed :p
<__red__> I <3 Bleed
<__red__> So - I was asked about nix in WSL
<__red__> thoughts?
<aanderse> hmm speaking of which...
<aanderse> i wonder how geoffrey is doing
<Henson> is there a way to get nix repl to print out the type of a function?
<aanderse> __red__: during an informal online nix meetup some 2 weeks ago some guy (geoffrey) was talking about working on that
<__red__> another Nix fan at defcon?
<__red__> ooh, cool!
<samueldr> nix itself on WSL I think should run
<samueldr> it ran under wsl1 for sure
<samueldr> nixos is what ghuntley is working on
<aanderse> ahh, right right
<aanderse> i recall now
<samueldr> I would bet that nix works, too, under wsl2
<samueldr> I did personally try nix on wsl1, so at one point it did work
slyfox has quit [Ping timeout: 244 seconds]
<exarkun> Henson: The only type a function has in nix expr language is "function" afaict
fusion809 has quit [Remote host closed the connection]
slyfox has joined #nixos
<Henson> oops, I kind of asked my question right in the middle of a good exposition by _red__ now that I read back a bit, sorry about that.
<Henson> __red__: I'm glad the audience was impressed by Nix's abilities!
<__red__> seriously - there are people in the room looking at the installation now
<__red__> I started with Nix (because OSX people need to use it instead of homebrew et al)
<__red__> then I walked them through my production nixos server
<__red__> then I reverted one of my desktops to a minimal server configuration by commenting out all the X / desktop stuff
<__red__> nixos-rebuild, and boom - X closed and we were at console
<__red__> minds were blown
<__red__> "Can you imagine even making a list of packages to uninstall under a .deb or .rpm distro to achieve the same thing"
abathur has joined #nixos
<__red__> people were literally swearing, "No fscking way... are you kidding me..." etc, at the idea that it could be done so easily
boxscape has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aanderse closed pull request #34458 → sacad: init at 2.0.6 → https://git.io/vN7hF
ottidmes has quit [Ping timeout: 258 seconds]
uranther has joined #nixos
jgt has joined #nixos
<Ashy> nice
drakonis has joined #nixos
<Ashy> __red__: nixos is actually amazing compared to every other distro atm (possibly guixsd too but i havent tried that)
<{^_^}> [nixpkgs] @jonringer opened pull request #66356 → pythonPackage.xapian: init at 1.4.12 → https://git.io/fj7q5
jlv has quit [Ping timeout: 260 seconds]
<selfsymmetric-mu> __red__++
<selfsymmetric-mu> That's awesome.
Soo_Slow has quit [Remote host closed the connection]
<nexgen> Hello
<nexgen> Please let me know
<nexgen> Can GUIX work on Linux distro like Gentoo?
<nexgen> Is it any worse than NixOS?
<Henson> __red__: one cool experiment I tried with NixOS was doing the equivalent of a "distribution upgrade" going from version 16 to version 19 of NixOS. Then I rolled back the system generation from 19 to 16. I had to manually roll back the database schema, but after that I was back to NixOS 16 with no problem. I was amazed.
<nexgen> ZFS rollback does the same thing in 1-2 seconds on any distro
<nexgen> For example on Devuan
<{^_^}> [nixpkgs] @jonringer opened pull request #66357 → pythonPackages.sqlalchemy: 1.2.14 -> 1.3.6 → https://git.io/fj7qh
<nexgen> I wonder if GUIX works on OpenBSD
<nexgen> there is no ZFS
<simpson> nexgen: ZFS's rollback is at the filesystem level. Nix's rollback is at the level of environments, packages, and build artifacts.
<nexgen> who cares?
fendor_ has quit [Ping timeout: 248 seconds]
<nexgen> At FS level is more reliable I guess
<simpson> You'll get different behaviors. Filesystem versioning is useful for data, while environment versioning is useful for code.
<simpson> Also, *you* care, I think. FWIW, don't worry about Guix in here. Nix is the package manager, and it works on any Linux distro. NixOS is a complete Linux distro using Nix and systemd.
<nexgen> Can environment be kept while rollbacking package versions in GUIX?
drakonis1 has joined #nixos
<nexgen> I prefer distros without systemd actually
<nexgen> OpenBSD, Gentoo and Devuan
<simpson> Sure. There are tools like https://github.com/target/lorri for managing development environments in a fine-grained way.
<nexgen> Can I use GUIX on BSD?
<nexgen> Specifically OpenBSD
<simpson> Sure. There are several distros based on Nix but not using systemd, as well as meta-distro toolkits like https://github.com/cleverca22/not-os
<nexgen> OpenBSD is not a Linux distro
<nexgen> it is UNIX
drakonis_ has joined #nixos
<simpson> Unfortunately, it's not currently among the supported kernels (which are listed in the manual at https://nixos.org/nix/manual/#ch-supported-platforms) but there have been many inquiries about BSD flavors, and support starts with the work of volunteers like you. Are you interested in helping to bring Nix to OpenBSD?
<nexgen> I would be interested to do reproducible builds for OpenBSD
<{^_^}> [nixpkgs] @Ralith opened pull request #66358 → openxr-loader: init at 1.0.1 → https://git.io/fj7mJ
<nexgen> But I cannot afford to do it free of charge
drakonis2 has joined #nixos
<simpson> Sure. Maybe somebody will give you money in exchange for writing code. After all, anything that can be done for free, can be done for money. But don't hold your breath.
jluttine has quit [Ping timeout: 245 seconds]
<nexgen> I charged $30/h and I like to work slowly to produce a quality code
<nexgen> I am a DotNet and bash coder
<nexgen> most likely you use other languages
drakonis has quit [Ping timeout: 264 seconds]
<nexgen> There is Mono on OpenBSD
<simpson> https://github.com/NixOS/nix C++ 85.6% Shell 5.8%
<{^_^}> [nixpkgs] @jonringer closed pull request #66357 → pythonPackages.sqlalchemy: 1.2.14 -> 1.3.6 → https://git.io/fj7qh
jgt has quit [Ping timeout: 252 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
<simpson> Nix is relatively non-negotiable on many fronts, and this is the first one: Whatever you do will have to fit into the existing codebase. You will have to work in C++. And you are likely not going to be compensated for it.
<nexgen> I do not like C++ anymore, last time used it 20 years ago being a school mate yet
<danderson> sounds like Nix development won't be a good fit for you then
<nexgen> Only DotNet
<drakonis1> :|
<nexgen> no prob
<nexgen> Just need GUIX on OpenBSD yet :)
<drakonis1> no guix either
<infinisil> simpson: There is this Nix PR by niksnut that adds some Rust though :D
<drakonis1> rust on my nix?
<simpson> nexgen: Oh well. Then no, Nix isn't coming to OpenBSD tonight.
<drakonis1> sst is it?
<infinisil> nexgen: Oh and btw, what you can't do with file system rollbacks is reproduce a system config on a new machine
<simpson> infinisil: So, like, I'm reading through the autoconf, and it doesn't seem like our requirements are magical; it seems like all of the tough parts of doing this Nix port are in filesystems, coreutils, C toolchain, that sort of thing.
<drakonis1> simpson: openbsd has pretty terrible performance though
nexgen has quit [Quit: Leaving]
<drakonis1> ha, welp
<drakonis1> what's the deal with this guy?
<simpson> There *are* folks in the community who want BSD support, FWIW. They don't seem to have organized enough to produce a GH issue.
<drakonis1> its cultural it seems
<drakonis1> because the average bsd user things ports is the end all way to acquire packages
<gchristensen> simpson: we used to support freebsd afaik?
<danderson> changing the subject slightly - the nix manual mentions at various points that it's helpful for random helpers to do code reviews on open PRs, but I haven't found information on how specifically I can help with that.
<danderson> Do I just reply to PRs saying that yes, it looks good, or?...
<{^_^}> [nixpkgs] @jonringer opened pull request #66359 → [staging]pythonPackages.sqlalchemy: 1.2.14 -> 1.3.6 → https://git.io/fj7mL
<drakonis1> gchristensen: briefly
<simpson> gchristensen: And we still support Darwin, a distant relative. I think that the main issue really is in all of the little edges, like filesystem types or compiler vendors, which POSIX doesn't discuss.
<drakonis1> it stopped working somewhere in 2014 and back
<gchristensen> for sure
<drakonis1> darwin passingly resembles freebsd nowadays
<simpson> There's also an issue open for CloudABI, which I think is an interesting idea tangential to some BSDs.
<drakonis1> cloudabi is interesting but the BSDs have barely no interest at all in it
jmu- has joined #nixos
<infinisil> danderson: You can do things like test the package being changed/added, test the NixOS module
<drakonis1> looks like it has stalled out
jmu- has left #nixos ["Closing Window"]
<infinisil> danderson: Another thing to do is look at the code, does it adhere to good practices? This requires a bit of experience
<infinisil> danderson: And then you can submit a review (a github feature) either requesting changes or accepting it, optionally with comments for places in the code
<infinisil> Reviews like that are very encouraged, it helps out a lot for the people that churn through the PR pile
<danderson> Got it. I don't know how much of the PR pile I can contribute usefully to, but I'll get digging :)
nrt^ has left #nixos [#nixos]
<infinisil> danderson: Cool, always feel free to ask (in #nixos-dev or here) :)
ffl^ has joined #nixos
<drakonis1> https://github.com/edolstra/hugefs this looks kinda cool
ddellacosta has quit [Ping timeout: 245 seconds]
<Henson> why happened to Nix support in FreeBSD, why did things stop working somewhere in 2014? I use FreeBSD on my file servers for FreeBSD and have often wondered if Nix would work on it.
<gchristensen> afaik the community who was supporting it stopped
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c2cc6aa6703 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<drakonis1> it could certainly work
<drakonis1> but you'd need to set up a build infra for it
<drakonis1> packages would need to be patched up to work on freebsd
xkapastel has quit [Quit: Connection closed for inactivity]
<gchristensen> yeah, we used to have all that
<Henson> gchristensen: are there any linux-specific aspects of the Nix package manager that need special treatment to make it work with FreeBSD?
<gchristensen> yes
<gchristensen> like all the sandboxing
<Henson> does the sandboxing use (taps head trying to rememeber name....)
<simpson> Yeah, there's enough design stuff to fill an RFC. That's not to say that you must do an RFC! You could hack now, and figure out merging later, and anything specific to just one kernel can stay specific to just one kernel for a while.
<drakonis1> there's a whole lot of things that could be done here
<drakonis1> an rfc for handling OS specific features could be done for this
<Henson> lxc?
<drakonis1> no
<drakonis1> i don't think LXC is used for anything on nix builds
mexisme has quit [Ping timeout: 252 seconds]
<Henson> it sounds like a non-trivial endeavor
<drakonis1> it is
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Henson is now known as HensonGarbage
* HensonGarbage works on taking out the garbage
laalf has joined #nixos
<samueldr> nix uses user namespaces, among other stuff for the sandboxing
<samueldr> not sure if that's what you had in mind
<drakonis1> freebsd has jails but it doesn't map exactly to namespaces
<drakonis1> doesn't have the same degree of freedom and decoupling that namespaces have
<{^_^}> [nixpkgs] @sjau closed pull request #64306 → ZFS: Adding ZED configuration options → https://git.io/fj6gD
goodwill has joined #nixos
gentauro has quit [Quit: leaving]
Zer000 has quit [Quit: Leaving]
<simpson> It's not a problem for the precise nature of sandboxing to differ kernel-by-kernel. Just gotta do *something*. Same with root filesystems and /nix, with the available syscalls, with the bootstrapping C compiler.
<gchristensen> yeah, right, the sandboxing is a bit different on macos too
jgt has joined #nixos
vmandela has joined #nixos
<drakonis1> yes
jgt has quit [Ping timeout: 276 seconds]
nexgen has joined #nixos
<nexgen> May I please know why have you choosen C++ for development of GUIX?
<nexgen> Would not it be smarter to use something like GO at least?
<nexgen> I guess GUIX is useless on OpenBSD
<nexgen> Nobody except me would welcome GUIX there
<nexgen> because of security reasons
<nexgen> May be I will change my mind later too after experimenting with GUIX on Gentoo
<gchristensen> nexgen: hey, so #nixos is actually not about Guix
<gchristensen> maybe #guix is where you're looking for
<nexgen> Anyway I liked presentation of GUIX very much, look modern innovative
<nexgen> Thanks
<nexgen> I will look into it
MmeQuignon has quit [Ping timeout: 244 seconds]
<simpson> nexgen: As a general rule, you are free to port anything to any system of your choice.
<{^_^}> [nixpkgs] @marsam merged pull request #66354 → dsvpn: 0.1.2 -> 0.1.3 → https://git.io/fj7tp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7ma
HensonGarbage is now known as Henson
<Henson> drakonis1: Linux namespaces are pretty cool, they're like a baby version of Plan9's namespace stuff, which is amazing.
englishm has joined #nixos
englishm has quit [Excess Flood]
Supersonic has quit [Ping timeout: 250 seconds]
<Henson> drakonis1: I once had a read-only NFS mount with a writeable overlay on it. I used namespaces to remount the read-only NFS mount to where the overlay filesystem was mounted, and install new software on it. This was all without affecting other processes or users on the system who didn't see anything going on.
englishm has joined #nixos
<Henson> ohh, how about Nix on Plan9!
<Henson> :-)
Supersonic has joined #nixos
<nexgen> This channel is more alive than GUIX, btw
<nexgen> Can I use GUIX as a Brew tool?
<nexgen> Not for the whole installation of Gentoo, but only for some subdirectory like a chroot, but without actual chroot?
<simpson> nexgen: Yeah, but Nix != GUIX. If you can't compare strings of this length, I'm not sure how you're going to handle Nix store paths.
<nexgen> I use Gentoo already in a Devuan chroot btw.
<simpson> You *can* certainly do such a thing. You'd have to rebuild everything from scratch. As a Gentoo user, you might think that that is fun.
<nexgen> Cannot compare is not equal to trying to get help on a slightly related #channel
<nexgen> I found building from source is the most advantage provided with GUIX reproducible builds
<nexgen> For security reasons I try to build a grsec hardened Gentoo for i486
<nexgen> for actual usage on i586/i686
<nexgen> some packages in Gentoo even refuse to build for i486 while building for i586 fine
<nexgen> GUIX too unfortunately
vmandela has quit [Quit: Leaving]
<simpson> Sounds like times are tough.
<nexgen> Actually I do not need GUIX so much
<nexgen> Just an interesting modern thing
<infinisil> ,xml
<infinisil> {^_^}: Excuse me
<infinisil> ,ping
<{^_^}> [nixpkgs] @rasendubi opened pull request #66360 → Emacs packages update: 2019-08-09 → https://git.io/fj7mX
<infinisil> ,xml
<{^_^}> Nix XML docbook cheatsheet: <link xlink:href="https://example.com"/> <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry> <programlisting>let some = "program"; in some</programlisting> <literal>true</literal> <option>users</option> < = &lt; > = &gt; Simple docbook reference: https://docbook.rocks/
<Ashy> Henson: have you actually used plan9 in anger? it's something i've been meaning to play with for a long time
drakonis has joined #nixos
drakonis2 has quit [Ping timeout: 245 seconds]
<Henson> Ashy: in anger, no, I actually quite liked it and founds its features to be amazing. I wish it had taken off more. Unix systems would be way more ahead if they and Plan9 had merged. Plan9, unfortunately, was just a proof-of-concept and doesn't really have many packages or the user base for it to develop.
<drakonis1> simpson: there's also patches upon patches that non linux or mac OSes require to run software
<drakonis1> OSes more niche than either
<drakonis1> part of plan9 lives on linux these days
<drakonis1> but well
<drakonis1> not at all the same experience, now is it?
<Henson> drakonis1: was the Plan9 filesystem ported to Linux?
<danderson> the filesystem protocol was, and it's getting all kinds of uses as a lightweight way to ship filesystems across sockets
<danderson> e.g. the gVisor sandbox uses 9P as a transport in and out of the sandbox for filesystem-ey things, iirc
<drakonis1> virtio-fs is a thing these days now
<drakonis1> its superior to 9p tho
<danderson> is it a thing? Last I saw it was proposed and not done
<drakonis1> its implemented already
jgt has joined #nixos
<danderson> neat.
<clever> surpisingly, darwin now supports virtio-fs
<clever> so if you run darwin in qemu, and use the right arguments on both ends, you can mount a virtio-fs
<{^_^}> [hydra] @craigem opened pull request #666 → Corrected grammar typo → https://git.io/fj7md
<Henson> one thing that never developed in Linux or other Unixes was Plan9's treating everything like a filesystem. I was blown away by how, instead of using the X11 protocol to display windows on another monitor, you just map their display namespace onto yours via 9p for the desired process, and then it displays on the other screen.
<Henson> the same with network cards and sound cards, you just map hardware from other computers onto your via 9p and use them. Amazing.
<drakonis1> that's still doable though
Abednego has joined #nixos
Abednego has quit [Ping timeout: 246 seconds]
<Henson> how?
Okinan has quit [Quit: Konversation terminated!]
sogatori has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #66361 → maintainers: add github user IDs in service to NixOS/rfcs#39 → https://git.io/fj7mj
<Henson> drakonis1: maybe we could continue this conversation another time, I need to go to bed
<drakonis1> aight
<drakonis1> gnight
<Henson> :-)
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
orivej has quit [Ping timeout: 268 seconds]
jgt has quit [Ping timeout: 276 seconds]
nst^ has quit []
krt^^ has joined #nixos
Abednego has joined #nixos
mexisme has joined #nixos
alex`` has quit [Ping timeout: 272 seconds]
Abednego has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 252 seconds]
abathur has quit [Ping timeout: 248 seconds]
Josh[m]1 is now known as mmhyphen
mexisme has joined #nixos
mmhyphen has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
domogled has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
karswell has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
<{^_^}> [nixpkgs] @mdorman opened pull request #66362 → emacsPackages: melpa-stable fixes for new infrastructure → https://git.io/fj7Y8
BinkyTheClown has joined #nixos
<danderson> so, etc.nix defines environment.etc as a loaOf file submodules. The docs say loaOf means I can provide either a list or a set, but the submodule then expects to get a name attr as input. How does that happen if I provide a list?
<kalbasit> clever: how to use your aarch64 module? https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix
<kalbasit> need to build an aarch64 host
<kalbasit> from x86_64
drakonis1 has quit [Quit: WeeChat 2.4]
jgt has joined #nixos
<clever> kalbasit: after adding qemu.nix to imports, and setting qemu-user.aarch64 = true; in your configuration.nix
<clever> you can just set system when importing nixpkgs
alex`` has joined #nixos
<clever> pkgs = import <nixpkgs> { system = "aarch64-linux"; }
<clever> --option system aarch64-linux may also work in this case
<kalbasit> clever: nice! thank you
<kalbasit> clever: FYI `trace: warning: The option `boot.binfmtMiscRegistrations' defined in `/nix/store/4dqkrvdy5dw4fjrs8vvh7wzg5xwyrbz2-source/qemu.nix' has been renamed to `boot.binfmt.registrations'.`
<kalbasit> clever: also it's failing to build for me
<kalbasit> nixpkgs at 239fffc90d792b5362a20ec1a009978de7b8f91a
endformationage has quit [Ping timeout: 268 seconds]
<clever> kalbasit: thats a problem with the latest glib, i thought i had fixed it already
<{^_^}> [nixpkgs] @kalbasit merged pull request #66353 → bazelisk: 0.0.8 -> 1.0 → https://git.io/fj7tS
<{^_^}> [nixpkgs] @kalbasit pushed commit from @marsam to master « bazelisk: 0.0.8 -> 1.0 (#66353) »: https://git.io/fj7Y2
liberiga has joined #nixos
<kalbasit> clever: using your latest master: bd0d30c6ac0c0d40f295fda9675338b832dd317b
<clever> *looks*
<clever> no un-commited changes locally
<kalbasit> I'll try pulling todays nixpkgs
<clever> an older nixpkgs is more likely to fix it
<kalbasit> ok
<kalbasit> ok testing with June 3rd's version. that's my past pin
jgt has quit [Ping timeout: 276 seconds]
<kalbasit> same error
<clever> youll want to check the git history on glib, in nixpkgs
<clever> to see when it was changed in a conflicting way
<{^_^}> [nixpkgs] @vbgl opened pull request #66363 → ocamlPackages.mmap: init at 1.1.0 → https://git.io/fj7YX
<kalbasit> ok
<kalbasit> I'm not sure what I'm looking for, I could not find a mention of default or library in the log
<clever> kalbasit: i think this commit was to blame?
<clever> the build system was redone, and that broke compatability
zupo has joined #nixos
<kalbasit> that commit set mesonFlags to `"-Dgtk_doc=true"` and you're setting `"--default-library both" ` I was expecting to see `-Ddefault_library` as the error suggested
<kalbasit> in the entire tree
<kalbasit> not sure what that does though
<clever> ah
<kalbasit> oh wait, you use that makeStaticLibraries
<clever> yeah
<clever> and in the commit i linked, glib switched to meson
<clever> so it suddenly started to obey mesonFlags
<kalbasit> ah
<clever> ahh, i'm forcing it to both dynamic and static
<kalbasit> yea
<clever> and this is forcing static only
<clever> remove line 7 from my default.nix
<kalbasit> so mkforce then?
<kalbasit> sure
<kalbasit> let me try that
<clever> just delete line 7
palo1 has joined #nixos
domogled has quit [Quit: domogled]
<kalbasit> :o editing through GitHub's UI now gets me a commit in a repo I don't have write to?
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<clever> kalbasit: i think it will force you to make a fork first
<kalbasit> looks to be compiling now
<kalbasit> clever: yea but that link goes to your repo not mine
<etu> clever: I thought it would create a fork automatically
<clever> kalbasit: behind the scenes, every fork is stored in the same .git dir
<clever> and commits on one fork exist in all other forks
<kalbasit> yea it did create a fork on my end and I see the `patch-1` there
<kalbasit> clever: ohhh
<kalbasit> I did not know that, interesting
<clever> that has a bigger impact with private github repos
<clever> if you fork a private repo, into another orginization, and then your access is revoked, the org still has access to its fork
<clever> and can still see commits from the private repo you cant access
<clever> but you cant see branches, so you dont know what commits to look for
<clever> you would have to look for git revs leaking out in --version strings
<kalbasit> clever: getting a different issue now: https://gist.github.com/kalbasit/3aeb5be582bc4a945502fcd120e9d28f
<clever> i'll test things on this end...
<kalbasit> clever: that's crazy!
<kalbasit> clever: thank you
drakonis_ has joined #nixos
<clever> [root@amd-nixos:~]# nix eval nixpkgs.lib.version
<clever> "19.09pre179307.bc94dcf5002"
<clever> for me, it builds on this rev
<clever> trace: warning: The option `boot.binfmtMiscRegistrations' defined in `/home/clever/apps/nixos-configs/qemu.nix' has been renamed to `boot.binfmt.registrations'.
<clever> ah, but i can reproduce this if i use a newer nixpkgs temporarily
<clever> checking that rev...
<clever> ERROR: Got argument default_library as both -Ddefault_library and --default-library. Pick one.
<clever> yep
jgt has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> kalbasit: maybe the new muslc stuff...
jgt has quit [Ping timeout: 276 seconds]
gxt has quit [Ping timeout: 260 seconds]
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @avh4 opened pull request #66364 → elm-format: 0.8.1 -> 0.8.2 → https://git.io/fj7Ok
<{^_^}> [nixpkgs] @vbgl merged pull request #66343 → ocamlPackages_latest.campl4: init at 4.08+1 → https://git.io/fj7IB
<{^_^}> [nixpkgs] @vbgl pushed commit from @jonringer to master « ocamlPackages_latest.camlp4: init at 4.08+1 (#66343) »: https://git.io/fj7Ot
Makaveli7 has joined #nixos
karswell_ has joined #nixos
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/15672693c1b (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
karswell has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @volth closed pull request #60662 → nixos/undervolt: minor refactoring → https://git.io/fjZab
liberiga has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 250 seconds]
gxt has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #66365 → pythonPackages.pybindgen: 0.19.0 -> 0.20.0 → https://git.io/fj7OW
jgt has joined #nixos
vcunat has joined #nixos
Chiliparrot has joined #nixos
mexisme has joined #nixos
<clever> kalbasit: still building!
bakakuna has joined #nixos
<kalbasit> clever: what version of nixpkgs?
<clever> 362be9608c3 is what i'm testing the fix on
chr15 has joined #nixos
Jackneill has joined #nixos
logzet has joined #nixos
<pie_> infinisil: elvishjerricco did you guys have to tweak zfs to get it to perform properly under load?
<sphalerite> pie_: what sort of load?
vcunat has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @periklis merged pull request #65861 → [throttled] Enable custom config → https://git.io/fjHUz
<{^_^}> [nixpkgs] @periklis pushed to master « [throttled] Enable custom config »: https://git.io/fj7O6
cfricke has joined #nixos
drakonis_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth closed pull request #46739 → fetchgit with leaveDotGit: increase determinism, fix hashes → https://git.io/fA167
asymptotically has joined #nixos
schjetne has joined #nixos
chiefgoat has quit [Ping timeout: 246 seconds]
chr15 has quit [Ping timeout: 268 seconds]
sogatori has quit [Remote host closed the connection]
fendor_ has joined #nixos
zupo has joined #nixos
fendor_ has quit [Remote host closed the connection]
bakakuna has quit [Ping timeout: 272 seconds]
<pie_> sphalerite: any load :(
<pie_> sphalerite: mostly trying to sync my backups righ tnow
<pie_> i _am_ under some memory pressure but i think this happenns even if i have memory free
<pie_> i think the zfs caches just take up all the ram and then performanc eplummets
<pie_> i have 32 gigs but most of that is firefox D
<pie_> xD
fendor has joined #nixos
veske has joined #nixos
ng0 has joined #nixos
<sphalerite> pie_: yeah get more RAM or use less :p
<sphalerite> pie_: you can reduce the amount of memory zfs uses for the ARC by setting zfs_arc_max (write a number of bytes to /sys/module/zfs/parameters/zfs_arc_max)
<sphalerite> I myself haven't done any tuning other than that
<{^_^}> [nixpkgs] @adisbladis merged pull request #66362 → emacsPackages: melpa-stable fixes for new infrastructure → https://git.io/fj7Y8
<{^_^}> [nixpkgs] @adisbladis pushed 6 commits to master: https://git.io/fj73e
<srhb> I've also set arc_max. Still performs rather poorly if it hits the limit. It's definitely happiest when it has plenty of RAM.
<pie_> (oh wait no i have 16g of ram)
<srhb> I was about to say, since upgrading to 32 I've not really noticed hitting the limit that appears to hurt ZFS :)
o1lo01ol1o has joined #nixos
<clever> pie_: zfs will never use more then 50% of the ram by default
<clever> arcstat.py -f time,read,dmis,dhit,dh%,mrug,mru,mfu,mfug,mread,c,ph%,pm%,mm%,miss,hits,mhit,mh%,mmis,hit%,eskip,arcsz 10
<clever> pie_: what does this say?
<pie_> well its not like i have half of my ram free
<clever> time read dmis dhit dh% mrug mru mfu mfug mread c ph% pm% mm% miss hits mhit mh% mmis hit% eskip arcsz
<clever> 05:00:41 2.9K 199 2.7K 93 3 295 2.4K 0 2.3K 1.4G 85 15 7 199 2.7K 2.1K 92 181 93 0 1.4G
<clever> pie_: i never set arc max, and it automatically limited itself to 1.4gig
<clever> it will dynamically change the goal, based on how much is free
<pie_> time read dmis dhit dh% mrug mru mfu mfug mread c ph% pm% mm% miss hits mhit mh% mmis hit% eskip arcsz
<pie_> 10:00:56 2 0 2 100 0 0 1 0 1 4.8G 0 0 0 0 2 1 100 0 100 0 2.5G
<clever> its only using 2.5gig for you, but it wants to use 4.8gig
<clever> it just hasnt found enough cachable data to cache
nehth^ has quit []
<pie_> well, idk what it is then, because if i start to zfs send/recv performance plummets
<clever> first, you need to figure out if its read or write throttled
<clever> which end has a higher util% in `iostat -x 30` (wait for the 2nd sample)
<pie_> id _guess_, hdd -> ssd would mean the hdd is throttled but i should check
<pie_> *hdd throttled on read
<pie_> ok brb hanging my system so i can answer :P
dsrt^ has joined #nixos
zupo_ has joined #nixos
<marek> how can I use a condition based on hostname in my configuration.nix which I would like to share accross few machines?
vk3wtf has quit [Quit: WeeChat 2.4]
<clever> marek: simpler answer is to just have 2 files, and choose which one you put into imports = [ ./foo.nix ];
<clever> any shared stuff can just be imports = [ ./shared.nix ]; in both of them
vk3wtf has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
alex`` has quit [Ping timeout: 268 seconds]
<pie_> clever: looks write throttled, ...shouldnt an ssd write faster than 30mb/s?
o1lo01ol1o has quit [Remote host closed the connection]
Sellerie has quit [Quit: The Lounge - https://thelounge.github.io]
<clever> pie_: was the ssd previously used, or brand new?
<srhb> marek: Once you have what clever describes, it's just if config.networking.hostName == "foo" then ... else ...
<srhb> marek: Just don't use it to try and do conditional imports
<makefu> pie_: there are "new" cheap ssds which use some super multi layer chip technology which may result in stuff like that
<clever> srhb: but if you have a foo.nix, that is only in imports on foo, there is no need for it to be conditional
<srhb> Yup.
<pie_> clever: i think its an 840 pro
* pie_ attempts to check
<marek> srhb, clever conditional imports how? I tried to somehow force config.networking.hostName into an import but it seems to not be supported
<srhb> marek: I'm saying _don't_ do conditional imports.
<pie_> Device Model: Samsung SSD 850 PRO 1TB
<srhb> marek: That is, trying to decide what to import based on some value.
<marek> srhb: oh yes :) sorry
<srhb> marek: On your Foo machine you just import foo.nix, on your Bar machine, you import bar.nix
<srhb> where foo.nix has networking.hostName = "foo"; etc.
<pie_> "s. The claimed sequential read speeds are 550MB/s across the board from 128GB to 1TB, with the sequential write speeds ranging from 470MB/s for the 128GB to 520MB/s for all the other drives."
<pie_> clever: ok what the hell
<pie_> why is my drive so slow
<marek> srhb: I see, thank you both
<clever> pie_: ive had the same question
<clever> pie_: one min
<clever> pie_: sata ssd or nvme ssd?
<pie_> should be sata
<clever> pie_: what does iostat call it?
<pie_> well its a /dev/sda not a /dev/nvme
<pie_> clever: not sure what you mean, sda?
<clever> yeah, definitely not nvme
<clever> SMART/Health Information (NVMe Log 0x02)
<clever> Percentage Used: 23%
<clever> so you wont get metrics like this
<pie_> clever: ok this looks suspicious https://cdcvs.fnal.gov/redmine/issues/11525
<pie_> "We found that the write speed for the Samsung 850 Pro SSD decreased from ~500MB/s to around 30MB/s throughtput, with less than 500 IOPS per disk."
Neo-- has joined #nixos
<pie_> not sure whats actually going on...long thread
<pie_> something sometihng TRIM?
<clever> pie_: if trim is enabled, and doesnt malfunction, it will tell the SSD to erase any blocks that zfs isnt using
Shoubit has joined #nixos
<clever> and erasing ssd blocks is a large chunk of write time
<clever> so that lets it pre-erase a large chunk of the disk
<pie_> actually i should check i didnt misread the stats
<pie_> gonna time a few gig DD
<{^_^}> [nixpkgs] @mmahut merged pull request #65973 → coloursum: init at 0.1.0 → https://git.io/fjH6P
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj73B
<clever> pie_: and if the ssd is brand new, or about to be sold, you should probably run blkdiscard on it, WARNING, IT WILL WIPE THE DISK
<clever> that lets you boost write performace short-term
jb551 has joined #nixos
<clever> some high end camera's have also gotten flack, because they dont let you erase a single clip, then only let you blkdiscard the whole ssd at once
<clever> which improves write performance
<pie_> clever: false alarm: 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 21.0992 s, 99.4 MB/s
<pie_> its still not 500MB/s but its not 30
<clever> pie_: it may be the pattern of syncs and random writes that zfs does
<sphalerite> soon, in 19.09, we will have zfs 0.8.x, which supports TRIM itself, as default :)
<pie_> sphalerite: im already on it
<pie_> sphalerite: dunno if i need to upgrade my dataset or something
chr15 has joined #nixos
<clever> sphalerite: ive heard horror stories about SSD's not handling trim properly
<sphalerite> pie_: ah, I think there's a zpool trim command, check the manual
jb55 has quit [Ping timeout: 260 seconds]
<pie_> i think there was also a trim bug found in zfs shortly after release (?)
<pie_> i might be mixing it up with something else
<sphalerite> clever: hmm. Well, have backups I guess, and complain to the manufacturer if your data gets lost?
<{^_^}> [nixpkgs] @mmahut merged pull request #65405 → fwts: 19.06.00 -> 19.07.00 → https://git.io/fjyLM
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj73E
<nyanloutre[m]> Hello, I created a test profile with nixos-rebuild. But now I would like to delete it, how do you do it ? I can't find it in the man or the doc
<clever> nyanloutre[m]: nix-store --delete, dont force it
<nyanloutre[m]> thanks
chiefgoat has joined #nixos
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @kirelagin closed pull request #59609 → fsfe-reuse: Init at 0.3.4 → https://git.io/fjmxI
<{^_^}> [nixpkgs] @marsam opened pull request #66368 → ocamlPackages.camomile: 1.0.1 -> 1.0.2 → https://git.io/fj73S
ottidmes has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #66183 → elpi: 1.4.1 -> 1.6.0, and coq-elpi → https://git.io/fjQOM
<{^_^}> [nixpkgs] @vbgl pushed commit from @CohenCyril to master « elpi: 1.4.1 -> 1.6.0, and coq-elpi »: https://git.io/fj73Q
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #66369 → dune: 1.11.0 -> 1.11.1 → https://git.io/fj73N
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @marsam opened pull request #66370 → shadowsocks-libev: 3.3.0 -> 3.3.1 → https://git.io/fj7sv
tjg14 has joined #nixos
thc202 has joined #nixos
psy3497 has quit [Ping timeout: 245 seconds]
johanot has joined #nixos
<Miyu-chan> If I transplant a nixops sqlite database from one architecture to another, it should theoretically work, rigjt?
<Miyu-chan> Specifically, nixops ssh.
<Miyu-chan> Actually, even more curious now. Nixops cross-compilation?
<sphalerite> yeah, I think sqlite databases should be arch-independent.
<clever> Miyu-chan: given that nixops works on a mac already, it should work with an arm client too
<clever> it just requires an x86-64-linux build slave to do the builds
<sphalerite> Miyu-chan: cross-building nixops, or cross-building a system to deploy with nixops?
<clever> if you set nixpkgs.system, it could also deploy to an arm
<Miyu-chan> Latter.
<sphalerite> Miyu-chan: very unlikely to work.
<sphalerite> Miyu-chan: nixos has lots of dependencies that don't cross-build yet.
<clever> something i was toying with a year ago
<Miyu-chan> sphalerite: Oh. TIL.
<clever> the file i linked requires an arm build slave, and wont cross
<Miyu-chan> clever: checking
<sphalerite> Miyu-chan: it does depend on the config though
<Miyu-chan> Oh.
fusion809 has joined #nixos
<sphalerite> Miyu-chan: you can run nix-build '<nixpkgs/nixos>' --arg configuration '{fileSystems."/".device = "dummy"; boot.loader.grub.enable = false; }' --argstr crossSystem armv7l-linux -A system
<Miyu-chan> clever: Can't you theoretically make a machine a build slave of itself?
<sphalerite> Miyu-chan: to see if an almost-empty config will build
<sphalerite> or which dependencies fail :)
<Miyu-chan> sphalerite: I'm actually kinda interested in doing the inverse lol. Deploying from my phone for hotfixes.
<sphalerite> Miyu-chan: yeah that won't go well, you do not want to build the entire closure of your system on your phone x)
<sphalerite> Miyu-chan: get a €3/month VPS and deploy from there :)
<Miyu-chan> OTOH, it's probably around much faster to find a table, take the laptop, and gotfix than doing everything on the phone lmao
<{^_^}> [nixpkgs] @gebner opened pull request #66371 → fcitx-qt5: fix build → https://git.io/fj7s8
<Miyu-chan> sphalerite: And yeah, true. :D
<Miyu-chan> Oh, hm.
<Miyu-chan> Idea.
nhey_ has joined #nixos
<Miyu-chan> Will nix-build fetch an arch-incompatible drv if it is in the substituters?
<clever> Miyu-chan: the arch is part of the $out hash
<Miyu-chan> Hm.
<{^_^}> [nixpkgs] @marsam merged pull request #64852 → mirrors: update apache mirrors → https://git.io/fjXdp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7sB
chr15 has quit [Quit: WeeChat 2.5]
<Miyu-chan> More concrete example. You fetch the drv from CI/CD and deploy.
<sphalerite> Miyu-chan: yes
<sphalerite> Miyu-chan: see `nix build nixpkgs.hello --argstr system aarch64-linux` on your x86_64 laptop for example
<Miyu-chan> Ah. Cool. :D
Zer0xp has joined #nixos
hyper_ch2 has joined #nixos
<sphalerite> Miyu-chan: um, disregard the command I wrote before, it doesn't pass crossSystem correctly
<clever> i think its nixpkgs.crossSystem
<Miyu-chan> crossSystem would instruct it to cross compile tho, right?
<clever> nixpkgs.system would instruct it to native-build
<Miyu-chan> Yeah. That's the exact use-case I'm thinking.
<Miyu-chan> Basically. "Fetch a native-build from the substituers."
<clever> but any config files, like /etc/ also have to be "native built" on arm
<clever> so nixops would need an arm build slave to finish things
<Miyu-chan> I think nix-build $(nix-store -q --outputs $(nix-instantaiate ... works.
<clever> nix-build can do all of that
<{^_^}> [nixpkgs] @abbradar merged pull request #65822 → steam chrootenv: add lsb-release → https://git.io/fj9dY
<{^_^}> [nixpkgs] @abbradar pushed commit from @davidak to master « steam chrootenv: add lsb-release »: https://git.io/fj7sE
<{^_^}> [nixpkgs] @kirelagin opened pull request #66372 → reuse: 0.3.4 -> 0.4.1 → https://git.io/fj7sz
<Miyu-chan> And yeah, so you can't build an arbitrary nixos deployment without a dedicated builder.
sigmundv has joined #nixos
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> [nix] @abbradar closed pull request #1141 → Improve RPM and DEB packages for multi-user Nix → https://git.io/v1IFb
<Miyu-chan> I'm complicating this so much just because I want to try learning SQL on my phone for the 4 hours on the bus. lmai
<{^_^}> [nixpkgs] @abbradar closed pull request #21531 → releaseTools.debBuild: split checkinstall into separate phase → https://git.io/vMLd2
<{^_^}> [nixpkgs] @abbradar closed pull request #26287 → Generalize notion of arch-dependent modules → https://git.io/vHRq5
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #66373 → cppclean: 2018-05-12 -> 0.13 → https://git.io/fj7sr
<sphalerite> Miyu-chan: get an sqlite build for it
<Miyu-chan> Yeah. nix is straight-up amazing for this, and someone has a nix-on-termux proot online. :)
<Miyu-chan> (FWIW my first SQL that I'd say is sufficiently advanced was actually me getting the privkey given a deployment name, and a nixops resource name.
nexgen has quit [Ping timeout: 272 seconds]
<Miyu-chan> So it was on sqlite!
<{^_^}> [nixpkgs] @abbradar merged pull request #65904 → folly: 2019.06.17.00 -> 2019.07.22.00 → https://git.io/fjHm0
<{^_^}> [nixpkgs] @abbradar pushed commit from @r-ryantm to master « folly: 2019.06.17.00 -> 2019.07.22.00 »: https://git.io/fj7s6
<clever> Miyu-chan: nixops export | jq, can do the same thing
<Miyu-chan> Yeah. I remembered right after writing it lol
<manveru> sqlitebrowser :)
<Miyu-chan> OTOH, I'm actually glad that I did that, because it made me wanna learn sql lol.
<manveru> also good
schjetne has joined #nixos
<petercommand> why is the attribute env present in the attribute set return by buildFHSEnv?
<clever> petercommand: so you can nix-shell -A env
<clever> petercommand: nix-shell sets the vars suitable for building the derivation you point it at, and wont actually build the thing for you
<clever> and that results in buildFHSEnv not giving you a shell in the fhs, but a shell suitable for building the fhs
<petercommand> clever: yes, I mean, like, where is the attribute env put into the attribute set?
ubert has joined #nixos
<clever> petercommand: line 29, passthru lets you add attrs to a derivation
<petercommand> Ah
<petercommand> thanks
<{^_^}> [nixpkgs] @angristan opened pull request #66374 → vscode: 1.36.1 -> 1.37.0 → https://git.io/fj7s5
<{^_^}> [nixpkgs] @gebner merged pull request #66371 → fcitx-qt5: fix build → https://git.io/fj7s8
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fj7sF
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #66375 → syncthing: 1.1.4 -> 1.2.1 → https://git.io/fj7sx
<{^_^}> [nixpkgs] @marsam opened pull request #66376 → pythonPackages.pytest_3: drop → https://git.io/fj7GZ
sogatori has joined #nixos
<{^_^}> [nixpkgs] @krav closed pull request #57419 → pkgs/applespi: add experimental Linux support for MacBook keyboards → https://git.io/fhjWd
schjetne has quit [Ping timeout: 272 seconds]
<{^_^}> [hydra] @edolstra merged pull request #666 → Corrected grammar typo → https://git.io/fj7md
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fj7GB
<{^_^}> [nixpkgs] @aanderse merged pull request #66119 → Profanity 0.7.0 → https://git.io/fjQJi
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fj7GE
<{^_^}> [nixpkgs] @marsam opened pull request #66377 → heroku: 7.22.4 -> 7.27.1 → https://git.io/fj7Gu
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/fj7Gz
<{^_^}> [nixos-homepage] @edolstra merged pull request #295 → Add Greater Copenhagen NixOS User Group meetup → https://git.io/fj7tA
<{^_^}> [nixpkgs] @gebner opened pull request #66378 → cura: use wrapQtApp → https://git.io/fj7G2
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
domogled has joined #nixos
tmaekawa has joined #nixos
<petercommand> clever: why is this passthru attribute used though..looks like drv // { env = ... } would be enough
<{^_^}> [nixpkgs] @adisbladis pushed to master « pulseaudio-modules-bt: 1.2 -> 1.3 »: https://git.io/fj7GP
<clever> petercommand: .overrideAttrs would undo the //
seppellll has joined #nixos
MmeQuignon has joined #nixos
leotaku has quit [Ping timeout: 248 seconds]
domogled has quit [Quit: domogled]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6446e7e7ace (from 42 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tilpner has joined #nixos
tilpner_ has quit [Remote host closed the connection]
nhey_ has quit [Remote host closed the connection]
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
nihh_ has joined #nixos
tokudan has joined #nixos
Neptu has quit [Ping timeout: 244 seconds]
lpil has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
<lpil> Hi everyone. I've created a NixOS machine using nixos-infect and now I wish to make some changes to it (add packages, etc). Should I be editing the config in /etc/nixos and then running a command to apply it?
<petercommand> clever: I guess that makes sense, unless the user also overrides passthru through overrideAttrs, the passthru attributes won't be overriden
<lpil> Or is it better to leave this config alone and have my customisations elsewhere?
<adisbladis> lpil: Yes that's fine, at this point you have a normal nixos installation.
<{^_^}> [nixpkgs] @Profpatsch merged pull request #66151 → rabbitmq-server: 3.7.16 -> 3.7.17 → https://git.io/fjQLW
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @r-ryantm to master « rabbitmq-server: 3.7.16 -> 3.7.17 »: https://git.io/fj7Zt
<petercommand> clever: is what I just said correct?
<clever> petercommand: not sure if overrideAttrs will work with passthru or not, they may be at different stages
<{^_^}> [nixpkgs] @Profpatsch closed pull request #19315 → lib: deprecation, warnRenamed, release constants → https://git.io/vPW9b
<infinisil> clever: I'd think it should, since passthru is an argument of mkDerivation like any other
<lpil> Cool so edit those files, run `nixos-rebuild switch` as root? I was thinking it would be nice to keep my config in git but there's some machine specific config such as the IP addresses etc. Is there a good way to split this config out? :)
<clever> infinisil: maybe its overrideDerivation where it fails
<lpil> I could have one file on the machine not in git and import that I guess :)
schjetne has joined #nixos
<petercommand> clever: from the overrideAttrs definition here (https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/make-derivation.nix#L318 ), looks like it will work with passthru
<petercommand> clever: because unless passthru is also overriden, the passthru attribute would still be used to override the resulting attribute set
<petercommand> clever: right?
<infinisil> petercommand: Yeah, just tested it, passthru won't get cleared with .overrideAttrs
<clever> infinisil: but what if you set passthru in overrideAttrs?
<infinisil> Then it does get cleared
<infinisil> well overridden
<infinisil> (as it should)
<clever> and if you set passthru with overrideDerivation?
<{^_^}> [hydra] @edolstra pushed 18 commits to flake: https://git.io/fj7ZZ
<infinisil> We don't talk about overrideDerivation :P
<Zer0xp> Hey does anyone here know how to install Google Auth for user login ? I don't need it for remote SSH
<Zer0xp> For NixOS
<petercommand> where is overrideDerivation defined?
<infinisil> Zer0xp: Did you search for it in the NixOS options?
ajirx_ has quit [Quit: Leaving]
<Zer0xp> infinisil: I haven't. Okay, I'll start over there.
<petercommand> hmm.. overrideDerivation is defined in lib.customisation
<{^_^}> [nix] @edolstra pushed 32 commits to flakes: https://git.io/fj7Z0
<infinisil> > builtins.unsafeGetAttrPos "overrideDerivation" pkgs.hello
<{^_^}> { column = 9; file = "/var/lib/nixbot/nixpkgs/master/repo/lib/customisation.nix"; line = 74; }
<Zer0xp> infinisil: security.pam.services.<name?>.googleAuthenticator.enable
seppellll has quit [Ping timeout: 252 seconds]
<Zer0xp> Do I add that line to my configuration.nix ?
<infinisil> The `security.googleOsLogin.enable` option looks more promising
<infinisil> Ah wait maybe not
<petercommand> infinisil: thanks
<Zer0xp> Also I'm wondering if google-authenticator package needs root access
<Zer0xp> Cause I'm going to install the package via rycee's Home Manager
<Zer0xp> I don't add packages to the configuration.nix only unless they need root access
iyzsong has joined #nixos
<infinisil> Not sure that makes sense
<infinisil> using environment.systemPackages doesn't mean packages have root access (whatever that means)
<Zer0xp> Oh I thought they did
<infinisil> Zer0xp: I'm not entirely sure how pam works, but maybe `security.pam.services.login.googleAuthenticator.enable = true;` works
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/52f3c28df23 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<petercommand> how's overrideDerivation different from overrideAttrs?
<clever> Zer0xp: and anything involving pam needs to be in configuration.nix
<petercommand> they don't look exactly the same, but they look pretty similar
<Zer0xp> clever: Alright then, I'll add it over there
<Zer0xp> infininsil++
<infinisil> Close enough
pietranera has joined #nixos
<Zer0xp> LOL, how do I do it
<Zer0xp> infinisil++
<{^_^}> infinisil's karma got increased to 116
<Zer0xp> My bad'
<Zer0xp> Just saw the typo
ottidmes has quit [Ping timeout: 244 seconds]
<infinisil> ;P
<petercommand> infinisil: the manual says that overrideDerivation evaluates a derivation before modifying it, why?
<{^_^}> [nixpkgs] @mmahut merged pull request #66341 → prometheus-wireguard-exporter: 3.0.0 -> 3.0.1 → https://git.io/fj7kw
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7ZM
<{^_^}> [nixpkgs] @mmahut merged pull request #64305 → monero-gui: only exclude darwin in meta.platforms → https://git.io/fj6gZ
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7ZD
<petercommand> infinisil: from the definition of overrideDerivation, I don't quite get why it evaluates the original derivation first
<infinisil> petercommand: That's the same for overrideAttrs actually, and it's something that happens due to how nix's scoping works
<Zer0xp> infinisil: That line security.pam.services.login.googleAuthenticator.enable = true; --Should login be replaced by my username ?
<petercommand> infinisil: isn't nix lazy?
<infinisil> petercommand: When a derivation is defined like `mkDerivation rec { name = "foo"; url = "https://blabla.${name}"; }`, it's really the same as the expression `{ name = "foo"; url = "https://blabla.foo"; }`
<petercommand> yes
<infinisil> petercommand: Meaning any kind of later override won't even realize that the name has been interpolated
<petercommand> infinisil: ah..interpolation
<infinisil> Zer0xp: I don't think so no
<Zer0xp> Cool, thanks.
<petercommand> infinisil: is it possible to defer interpolation?
<Miyu-chan> I never knew how much I needed this before, but can Mix optimize `x == x`? I want to make a toposort, but I need to prune repeated values too.
<clever> Miyu-chan: lib.toposort
<petercommand> infinisil: like, some sort of template haskell like thing
<Miyu-chan> TL;DR, NixOps, DAG, and toposort.
<infinisil> petercommand: Not really, but you can do `{ stdenv, someArgument ? ""; }: stdenv.mkDerivation { url = "https://blabla.${someArgument}"; }`, which then allows changing `someArgument` with .override
<Miyu-chan> Based on how I understand it, the toposort is implemented in the Python part.
<clever> Miyu-chan: builtins.genericClosure is now nixops and nixos trace a tree, and turn it into a flat list, while avoiding recursion in the tree
<typetetris> Hi! How can I determine which commit of a certain branch nix-channel --update has loaded ?
<Miyu-chan> Oh, huh. That's actually a cool idea.
ottidmes has joined #nixos
<clever> ,howoldis typetetris
<Miyu-chan> OTOH, would it work? You technically already know the closure beforehand, just by attrsToList on the root-level attrs,
<typetetris> Thanks, but I want to know, what I downloaded, which could have been a week (or even a month) ago, is that possible?
<Miyu-chan> Wait, what's genericClosure's type again>
<Miyu-chan> Isn't it (a -> [a]) -> [a] -> [a]?
<petercommand> infinisil: if this package is imported with callPackage, wouldn't someArgument be just instantiated to ""?
<clever> Miyu-chan: 1st argument must be a set, in the form of { startSet = ...; operator = ...; }
<infinisil> petercommand: pkgs.callPackage only fills in arguments it knows from the pkgs set
<clever> Miyu-chan: startSet must be a list of { key = ... };, and operator must take one of those things, and return a list of more
<infinisil> petercommand: So it would e.g. fill out `openssl` with `pkgs.openssl`, but not `someArgument` because there's no `pkgs.someArgument`
<petercommand> infinisil: right
<infinisil> I don't like that fact very much..
<clever> Miyu-chan: equality testing on .key is used to prune dups, and any other attrs on the set are ignored, and just come out the end
<infinisil> Mixing configuration and dependencies like that is meh
<petercommand> infinisil: what do you think is a better way to do it?
<infinisil> petercommand: Depends on what you want
<infinisil> Like, what the usecase is
<Miyu-chan> Give me a few. C++ black magic's kinda hard for me,
<Miyu-chan> .
<petercommand> infinisil: like, buildin a package repository like nixpkgs?
<infinisil> petercommand: Clarification: It depends on what you want to use this customizable option for
<infinisil> ANd what it is
<petercommand> infinisil: hmm..
<Miyu-chan> clever: Oh okay. I get it now.
<Miyu-chan> Hm, cool.
phreedom has quit [Remote host closed the connection]
<clever> Miyu-chan: so its more like data Foo a = Foo { startSet :: [a], operator :: a -> [a] } and then genericClosure :: Foo a -> [a]
<{^_^}> [nixpkgs] @danbst merged pull request #66347 → postgresql: fix CVE-2019-10208, CVE-2019-10209 → https://git.io/fj7L3
<{^_^}> [nixpkgs] @danbst pushed commit from @tokudan to master « postgresql: fix CVE-2019-10208, CVE-2019-10209 (#66347) »: https://git.io/fj7nt
hyper_ch2 has quit [Remote host closed the connection]
<Miyu-chan> Yeah. Now that you mentioned that. I think I could just do equality on the key.
<lpil> I wish to make use of the "docker-containers" option from this PR https://github.com/NixOS/nixpkgs/pull/55179 but on my server I get an error saying that it does not exist. Is it possible to upgrade my installation to make use of this?
<{^_^}> #55179 (by benley, 26 weeks ago, merged): NixOS: Run Docker containers as declarative systemd services
<clever> lpil: which channel are you on?
<lpil> Forgive me, I'm a newbie and don't know. I ran nixos-infect on a DO machine using the instructions in the nixos-infect README
<clever> lpil: as root, run `nix-channel --list`
hyper_ch2 has joined #nixos
<clever> ,howoldis lpil
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> lpil: youll want to pick a new channel, and do `nix-channel --add https://nixos.org/channels/nixos-19.03 nixos` for example
<lpil> Great, thank you :)
Neo-- has quit [Ping timeout: 244 seconds]
zupo has joined #nixos
<lpil> I don't have it with 19.03, is there a way to determine which packages are in which release?
<clever> lpil: check the nixos-19.03 branch on the nixpkgs-channels repo
<clever> lpil: nixos-unstable probably has it
<{^_^}> [nixpkgs] @gebner opened pull request #66379 → freecad: use qt wrapper → https://git.io/fj7nc
<Izorkin> aanderse: please check pr #63150 #61722 #61671
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63150 (by Izorkin, 7 weeks ago, open): nixos/tests/prosody: update prosody tests
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61722 (by Izorkin, 11 weeks ago, open): nginxModules.pinba: init at 13.05.2019
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61671 (by Izorkin, 11 weeks ago, open): nixos/mysql: fix mysqlReplication test
<{^_^}> [nixpkgs] @markuskowa opened pull request #66380 → rdma-core: 24.0 -> 25.0 → https://git.io/fj7nC
<lpil> Thank you clever
<{^_^}> [nixpkgs] @vbgl merged pull request #66369 → dune: 1.11.0 -> 1.11.1 → https://git.io/fj73N
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune: 1.11.0 -> 1.11.1 »: https://git.io/fj7n4
<Zer0xp> Okay so I just set up google-authenticator. The problem now is that I want to be able to add auth required pam_google_authenticator.so in my /etc/pam.d/gdm file but the file is read-only and without adding that command I can't use google-authenticator for 2FA logins. How can I overcome this issue ?
mgdm has left #nixos ["WeeChat 1.4"]
johanot has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
<aanderse> Izorkin: can you please rebase mysql replication pr and resolve merge conflicts?
phreedom has joined #nixos
<clever> Zer0xp: one min
<Izorkin> aanderse: make
<Zer0xp> clever: Sure.
<clever> Zer0xp: googleAuthenticator.enable does that for you
<karetsu> how do I make sure that I have the update from this: https://www.itproportal.com/amp/news/another-major-security-flaw-found-in-intel-chips/ ? Is it microcode or kernel update?
logzet has quit [Ping timeout: 250 seconds]
<Zer0xp> clever: So I add that line in configuration.nix ?
nakkle has quit [Ping timeout: 252 seconds]
<aanderse> Izorkin: sorry, make what?
Neo-- has joined #nixos
<Zer0xp> clever: I've already enabled it, still doesn't work
<Zer0xp> clever: Okay I have a question
<clever> Zer0xp: did you create ~/.google_authenticator?
<Zer0xp> Yes I did
<Izorkin> aanderse: updated
<clever> Zer0xp: can you pastebin both your configuration.nix and /etc/pam.d/gdm files?
<Zer0xp> security.pam.services.<name?>.googleAuthenticator.enable
<Zer0xp> do I replace name with my username ?
<Zer0xp> My login username
<clever> Zer0xp: you replace <name> with gdm
<Zer0xp> Oh
<Zer0xp> I was told that I should replace it with login
<Zer0xp> Fine, I'll try gdm
<clever> Zer0xp: that tells it which file under /etc/pam.d to put it into
<Zer0xp> clever: Ah, makes perfect sense
<aanderse> Izorkin: thank you
Neo-- has quit [Ping timeout: 272 seconds]
abcrawf has quit [Remote host closed the connection]
<Zer0xp> Okay it still doesn't seem to work, I'll pastebin the files now
<{^_^}> [nixpkgs] @FRidh pushed 867 commits to staging-next: https://git.io/fj7nw
<{^_^}> [nixpkgs] @FRidh opened pull request #66381 → Staging next → https://git.io/fj7nr
<{^_^}> [nixpkgs] @FRidh pushed 869 commits to staging: https://git.io/fj7ni
<{^_^}> [nixpkgs] @mmahut merged pull request #65966 → yder: 1.4.6 -> 1.4.7 → https://git.io/fjHKN
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7nX
abcrawf has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #66382 → postgresql: fix CVE-2019-10208, CVE-2019-10209 → https://git.io/fj7nD
bakakuna has joined #nixos
balsoft[m]1 is now known as balsoft
<Zer0xp> clever: You still there ?
<Zer0xp> clever: Oh and yes, I'm a noob, but I'm sure you can tell by my config file.
<{^_^}> [nixpkgs] @marsam merged pull request #66370 → shadowsocks-libev: 3.3.0 -> 3.3.1 → https://git.io/fj7sv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7nQ
<{^_^}> [nixpkgs] @marsam merged pull request #66377 → heroku: 7.22.4 -> 7.27.1 → https://git.io/fj7Gu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7n7
<clever> Zer0xp: i do see google_authenticator in gdm now
<Zer0xp> But when I lock and relogin, it doesn't ask me for GAuth
<clever> Zer0xp: check the logs for display-manager
<clever> journalctl -u display-manager
Makaveli7 has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @danbst pushed commit from @tokudan to release-19.03 « postgresql: fix CVE-2019-10208, CVE-2019-10209 (#66347) »: https://git.io/fj7nb
<Zer0xp> How do I scroll to the end ?
<Zer0xp> Cause these logs are from the time I've installed NixOS
<clever> Zer0xp: the end key
<clever> or G
<Zer0xp> Got it but what am I looking for ?
<clever> Zer0xp: any errors from google
gentauro has joined #nixos
<marek> where in hydra are ruby packages build?
dispanser has quit [Read error: Connection reset by peer]
dispanser has joined #nixos
<Zer0xp> clever: I don't see any google errors, just a bunch of touchpad events
<clever> Zer0xp: not sure what else to check then
<Zer0xp> clever: It's alright, thanks for helping out as much as you did though.
<Zer0xp> clever++
<{^_^}> clever's karma got increased to 167
<tokudan> maybe check the general system logs? "journalctl --since=-1h" for the last hour
<{^_^}> [nixpkgs] @mmahut merged pull request #64333 → hstr: 1.25 -> 2.0 → https://git.io/fj6ME
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7cJ
<Zer0xp> tokudan: I just did, will try locking and relogging in again and then checking the logs.
<clever> Zer0xp: oh, and locking may not go thru gdm
<clever> Zer0xp: try logging out fully
<Zer0xp> Oh okay, will do that then
<Zer0xp> q
<{^_^}> [nixpkgs] @tokudan closed pull request #66382 → postgresql: fix CVE-2019-10208, CVE-2019-10209 → https://git.io/fj7nD
Zer0xp has quit [Quit: WeeChat 2.5]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zer0xp has joined #nixos
<Zer0xp> Nope, I'm afraid that doesn't work too. Went and restarted my system.
<Zer0xp> journalctl --since=-1hr
<Zer0xp> oops
thc202 has quit [Remote host closed the connection]
thc202 has joined #nixos
bakakuna has quit [Ping timeout: 244 seconds]
<worldofpeace> ,locate libtinfo.so
<{^_^}> Found in packages: ncurses, ncurses5
<worldofpeace> ,locate libgpm.so
<{^_^}> Found in packages: gpm, gpm-ncurses
<infinisil> Zer0xp: Maybe ask fur guidance in #34728
<{^_^}> https://github.com/NixOS/nixpkgs/pull/34728 (by dpc, 1 year ago, merged): Add pam option to enable Google Authenticator
<{^_^}> [nixpkgs] @gebner merged pull request #66378 → cura: use wrapQtApp → https://git.io/fj7G2
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fj7cs
Zer0xp has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @basvandijk merged pull request #66327 → nixos-generate-config: enable overriding configuration.nix → https://git.io/fj7eZ
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fj7cZ
<{^_^}> [nixpkgs] @peti pushed to master « picard: explicitly wrap the program with 'wrapQtApp' »: https://git.io/fj7cC
<{^_^}> [nixpkgs] @mmahut merged pull request #65898 → denemo: 2.2.0 -> 2.3.0 → https://git.io/fjHq7
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7cW
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fj7cl
<{^_^}> [nixpkgs] @marsam closed pull request #65637 → spotifyd: fix build → https://git.io/fjSxV
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @mmahut closed pull request #63804 → kops: 1.12.1->1.12.2 → https://git.io/fjriZ
<{^_^}> [nixpkgs] @mmahut closed pull request #57031 → datovka, libisds: init at 4.12.0 and 0.10.8; added maintainer cptMikky → https://git.io/fhpQf
Shoubit has quit [Ping timeout: 258 seconds]
ottidmes has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
Shoubit has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
<tazjin> any ideas what's going on here? The output refers to several store paths, but only one of them is considered a reference
<infinisil> tazjin: How did you create this derivation?
<infinisil> Hm weird
<infinisil> tazjin: Does --requisites include all of them?
<tazjin> nope
selfsymmetric-mu has quit [Remote host closed the connection]
<tazjin> I noticed this because I tried to copy this thing to a cache, and it didn't copy the referenced paths
drakonis has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #66385 → perl: 5.28.2 -> 5.30.0 → https://git.io/fj7Ce
<craige> I'm trying to build xvfb-run from nkgs locally and I'm hitting "hash mismatch" but the hash is correct. When I change it to the wanted one, I get exactly the same error. I may just be over tired but has anyone seen that before?
Sellerie has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #66379 → freecad: use qt wrapper → https://git.io/fj7nc
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fj7Cq
<infinisil> tazjin: You could debug with builtins.getContext from an unstable nix version (nix#2628)
<{^_^}> https://github.com/NixOS/nix/pull/2628 (by shlevy, 29 weeks ago, merged): Context introspection
<tazjin> infinisil: I'm filing an issue for it atm, maybe someone else recognises this immediately - won't have time to spend on debugging until this evening
<craige> I'll give that a go. Thanks infinisil
<infinisil> craige: You have a mixup there
<infinisil> craige: For your problem you should give more info (always a good idea if you're asking for help with a problem). Nix won't give a hash mismatch with no reason, so if you changed it and it still doesn't work, your change didn't apply correctly
<craige> Yep and I'm trying to untangle where. The has mismatch is not even for the package i'm building but for a dependency it's building.
<{^_^}> [nix] @CSVdB closed pull request #2959 → Check whether flag registry is compeletely used → https://git.io/fjVnI
<{^_^}> [nix] @CSVdB closed pull request #2950 → Cleaned up HandleLockFile and the flags to steer it → https://git.io/fjaVY
<{^_^}> [nix] @CSVdB closed pull request #2943 → Added flags to override the lockfile → https://git.io/fjgjH
<sphalerite> craige: are you replacing the right hash?
<{^_^}> [nixpkgs] @Infinisil merged pull request #51319 → nixos/dwm-status: add module → https://git.io/fpoic
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj7C8
<{^_^}> [nixpkgs] @flokli closed pull request #36528 → azure-cli: 0.10.17 -> 2.0.27 → https://git.io/vAABC
<yorick> oh no, yarn is using commit hashes if the code comes from github
<adisbladis> yorick: What would you want it to use instead?
<yorick> adisbladis: an ssri hash, like it does for literally everything else
oida has quit [Remote host closed the connection]
oida has joined #nixos
<tazjin> infinisil: filed here - https://github.com/NixOS/nix/issues/3035
<{^_^}> nix#3035 (by tazjin, 50 seconds ago, open): Nix does not recognise all references in derivation output
hyper_ch2 has quit [Remote host closed the connection]
karetsu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @markuskowa merged pull request #66355 → slrn: 1.0.2 -> 1.0.3a → https://git.io/fj7qw
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fj7CX
<{^_^}> [nixpkgs] @markuskowa merged pull request #66337 → qlandkartegt: init at 1.8.1 → https://git.io/fj7T0
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fj7C1
orivej has joined #nixos
hyper_ch2 has joined #nixos
ericsagnes has quit [Ping timeout: 250 seconds]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @typetetris opened pull request #66386 → bacula: fix cross compiling for armv7l → https://git.io/fj7CS
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66374 → vscode: 1.36.1 -> 1.37.0 → https://git.io/fj7s5
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7Cd
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66282 → tilix: 1.9.3 -> 2019-08-03 → https://git.io/fjQD8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7Cb
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66283 → ideogram: init at 1.2.2 → https://git.io/fjQDB
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fj7CN
MmeQuignon has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-resolver: skip a broken test »: https://git.io/fj7Wv
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « knot-resolver: skip a broken test »: https://git.io/fj7Wk
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66325 → doc/qt: add note about wrapQtAppsHook ignoring scripts → https://git.io/fjQj9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7WL
<{^_^}> [nixpkgs] @vbgl merged pull request #66368 → ocamlPackages.camomile: 1.0.1 -> 1.0.2 → https://git.io/fj73S
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fj7WY
<nbp> I keep getting "HTTP error 200 (curl error: Timeout was reached)" while running `nix run`, so I have to constantly restart it until it succeeds at finishing the download from the cache.nixos.org.
<nbp> I tihnk I will switch to downloading with `wget`, and use `nix-store --restore`, hoping that it will work.
waleee-cl has joined #nixos
<is0x3F> Hello everyone 🙂 new to nix but love the ideas behind it. I'm installing minimal nixOS for the first time after coming from minimal debian. looking forward to being a nixer 😁
<infinisil> Just a hunch though
<infinisil> I'd try creating a MCVE
<__monty__> Does anyone have a plain (not LUKS) dm-crypt encrypted root partition set up with nixos?
<nbp> apparently this got fixed: https://github.com/NixOS/nix/commit/53247d6b116905e7233b1efd6c14845e20d27442 , so not yet in the latest version of Nix
<infinisil> is0x3F: Awesome, I hope you like it :D
<joepie91> is0x3F: ohai :)
* nbp (replying to my-self)
<is0x3F> :) i stayed away for awhile because people kept talking about the difficulty in understanding .nix files but i decided to decide for myself and try and learn it. I always enjoyed a bit of a challenge
<alexarice[m]> is there anyone who's done some rust packaging who would be able to have a look at https://github.com/colemickens/nixpkgs-wayland/pull/154, I'm trying to compile a rust program with a go dependency and no matter what I try it can't seem to build the go dependency properly
<{^_^}> colemickens/nixpkgs-wayland#154 (by alexarice, 1 day ago, closed): wldash: Init
<yorick> :)
<gchristensen> nice!
<is0x3F> so currently i'm setting up nix in a virtualbox before i replace my system entirely. i believe there must be a way to get from virtualbox to actual hardware once i've got the system configured the way i like. is there any best practices i should follow? or maybe somewhere in the wiki somebody could point me? would really appreciate it thanks :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65785 → shotcut: use qt5's mkDerivation → https://git.io/fj9Pa
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7Wa
qqlq has joined #nixos
<infinisil> is0x3F: I think the only necessity is to generate a hardware-configuration.nix with `nixos-generate-config` once you're in the installer, then you should be able to copy over the configuration.nix and have it work
<ajs124> is0x3F: if you structure your config in a way where hardware dependent config is seperate from system config (which more or less happens by default), it should be pretty easy to move it from a virtual machine to a real one.
<ajs124> You can simply follow https://nixos.org/nixos/manual/ for install instructions
<Aleksejs> there's something really broken with the way nixos uses name servers recently: when I don't specify any nameserver then github, skype and many other things don't work (they work perfectly on other machines in my network). When I specify nameservers, all these things work but when I connect to office VPN I don't resolve names from internal nameserver
<Aleksejs> this appeared after I switched to 19.03
<Aleksejs> before 19.03 I didn't have to specify nameservers and everything worked
MmeQuignon has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
nihh_ has quit [Quit: Leaving]
<is0x3F> <ajs124 "You can simply follow https://ni"> sweet awesome this is what i've been following. im actually reading your configuration files rn infinisil :D i think to start i'll have a common.nix and individual nix files for each machine. this is good inspiration thansks for keeping this public
<infinisil> Hehe glad you can get something out of it
<ajs124> Aleksejs: maybe something with systemd.resolved or nscd?
<Aleksejs> does nixos use resolved?
<ajs124> Apparently it's off by default.
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Aleksejs> but why would I turn it on? I think github should be resolvable with default configuration, right?
<ajs124> apparently enabling networkd turns it on. Aleksejs: what does your /etc/resolv.conf look like? That's normally what it boils down to.
<Aleksejs> when I remove nameserver config then resolv.conf has two lines: nameserver 192.168.0.1 and options edns0
<exarkun> is this a morph problem or a nixpkgs problem? https://gist.github.com/exarkun/776f8f9eef5603be0d403eefd0d657ef
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #66266 → Replay Qt 5.12.3 version bump → https://git.io/fjQ68
<{^_^}> [nixpkgs] @ttuegel pushed 3 commits to staging: https://git.io/fj7WQ
xwvvvvwx has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<xwvvvvwx> Hey :) Is there a way for me to declaratively write a file to the filesystem from my configuration.nix?
<{^_^}> [nixpkgs] @ttuegel merged pull request #66335 → pkgsi686Linux.qt5.qtbase: fix build → https://git.io/fj7JX
<exarkun> What do you want to write?
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fj7Wd
<infinisil> xwvvvvwx: Yeah with systemd.tmpfiles.rules
<xwvvvvwx> @exarkun I would like to write a config file for an ethereum node.
<adisbladis> xwvvvvwx: Hmm, I think I have a geth nixos module somewhere..
<xwvvvvwx> infinisil: Can I use systemd.tmpfiles to also specify the content of a file? I have previously only used it to ensure that directories are created.
<gchristensen> where should this file be written to?
<infinisil> xwvvvvwx: So ideally you wouldn't have to write the file there at all and can pass something like `--config ${derivation for config file}`
hyper_ch2 has quit [Remote host closed the connection]
<infinisil> xwvvvvwx: But sometimes that's not possible, in which case the next best option is to symlink it to the config file derivation with the `L+` directive with systemd.tmpfiles (see `man tmpfiles.d`)
<xwvvvvwx> what do you mean "config file derivation"?
<adisbladis> gchristensen: geth (go-ethereum) does not enforce any specfic location (and has no default path), so xwvvvvwx could write it anywhere
<gchristensen> then using the `etc` config file mechanism is probably better than tmpfiles
<exarkun> ivan: Darn. Thanks.
<xwvvvvwx> this particular file has to be in geths datadir
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65913 → adwaita-qt: 1.0 -> 1.1.0 → https://git.io/fjHYd
<xwvvvvwx> which I don't want to put in `etc`
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fj7Wp
<adisbladis> xwvvvvwx: I made a PR for geth a long time ago that you might want to take over https://github.com/NixOS/nixpkgs/pull/30675 ?
<{^_^}> #30675 (by adisbladis, 1 year ago, closed): go-ethereum service: init
<adisbladis> Or just see if it still works, I will happily review/help but I dont actively use geth much any more
<{^_^}> [nixpkgs] @matthewbauer closed pull request #48316 → security-tool: --prefix instead of --set w/ DYLD_INSERT_LIBRARIES → https://git.io/fxBdP
<xwvvvvwx> nice, I'll check it out later, trying not to shave too many yaks atm
<infinisil> xwvvvvwx: So yeah, as I said it seems to take a --config argument where you can pass the config directly
<adisbladis> xwvvvvwx: Feel free to ping/pm me any time about that. I'd really like us to have a geth service.
<lpil> How do I specify in /etc/nixos/configuration.nix that I wish to install a specific package?
<adisbladis> infinisil: I forgot that static-nodes.json lives in geth's stateful datadir, it's not the general config file.
<xwvvvvwx> yes
judson has joined #nixos
18VAA0SOE has joined #nixos
<infinisil> lpil: Have you read through any introductory guides for NixOS?
<lpil> Yes, quite a few! Though I'm now failing to find the bit that told me how to do this previously as I don't remember what to search for. Oops
jb551 is now known as jb55
judson__ has joined #nixos
<lpil> Thank you <3
<infinisil> :)
<{^_^}> [nixpkgs] @rydnr opened pull request #66387 → Pharo VM 64b upgraded to support Pharo 7 and Pharo 8 images → https://git.io/fj7lt
judson has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @rydnr closed pull request #60649 → Pharo VM (64b) for Pharo 7 and Pharo 8 images → https://git.io/fjZuI
18VAA0SOE has quit [Ping timeout: 248 seconds]
judson has joined #nixos
schjetne has quit [Ping timeout: 268 seconds]
<craige> sphalerite infinisil - I think I'm just over tired and was building this package with the wrong build command from the wrong directory. The nixpkgs wiki page sorted me out. Thank you!
seppellll has joined #nixos
veske has quit [Ping timeout: 248 seconds]
xwvvvvwx has quit [Ping timeout: 245 seconds]
janneke_ has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #66388 → Sympow2 → https://git.io/fj7lE
janneke has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @FRidh closed pull request #66312 → pythonPackages.jsonschema: 2.6.0 -> 3.0.2 → https://git.io/fjQFq
kleisli has joined #nixos
tmaekawa has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @erictapen opened pull request #66389 → scribusUnstable: 2019-01-16 -> 1.5.5 → https://git.io/fj7l9
wildtrees has joined #nixos
dm9 has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
Profpatsch has joined #nixos
Profpatsch has left #nixos ["WeeChat 0.4.3"]
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
erasmas has joined #nixos
<recj> i have an env built for this project, but is there a way i can make it in bash so that when in that directory 'python' refers to
<recj> /nix/store/6xxwpfhz8zpzwimmbv1wx7is89spss90-python3-3.7.3-env
Okinan has joined #nixos
<recj> or python3 specifically i guess
ixxie has joined #nixos
<aanderse> if an /opt directory is created when i'm in a fhsUserEnv where is that actually stored, and how can i make it persistent? (i have not worked with fhsUserEnv much)
<{^_^}> [nixpkgs] @KoviRobi opened pull request #66390 → mandelbulber2: init at 2.19 → https://git.io/fj78f
orivej has quit [Ping timeout: 244 seconds]
seanparsons has quit [Ping timeout: 245 seconds]
ubert has quit [Quit: Leaving]
orivej has joined #nixos
<{^_^}> [nixpkgs] @ivegotasthma opened pull request #66391 → Packages for the python coreapi client → https://git.io/fj78m
<{^_^}> [nixpkgs] @worldofpeace opened pull request #66392 → nixos/qt5: init → https://git.io/fj78Y
MmeQuignon has quit [Ping timeout: 246 seconds]
<andi-> recj: checkout https://direnv.net/ that might help you
judson has quit [Ping timeout: 245 seconds]
judson__ has quit [Ping timeout: 248 seconds]
judson has joined #nixos
judson__ has joined #nixos
<recj> ok thank you andi-
<{^_^}> [nixpkgs] @ivan opened pull request #66393 → chromium: 76.0.3809.87 -> 76.0.3809.100 → https://git.io/fj780
dm9 has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @ivan opened pull request #66394 → [19.03] chromium: 76.0.3809.87 -> 76.0.3809.100 → https://git.io/fj78E
SitiSchu has joined #nixos
SitiSchu has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @catern opened pull request #66395 → pythonPackages.simplefix: init at 1.0.12 → https://git.io/fj78r
seanparsons has joined #nixos
seppellll has quit [Ping timeout: 245 seconds]
sigmundv has quit [Ping timeout: 258 seconds]
<corpix[m]> Hello. Does anybody know why `overlays` get vanished during the evaluation of this configuration? https://gist.github.com/corpix/03215752fa7e1a7df8e7ab1cc70d1a67
vmandela has joined #nixos
<__monty__> corpix[m]: I think you have to specify nixpkgs.overlays in configuration.nix
<__monty__> The system configuration doesn't look at any other overlays iiuc.
drakonis has quit [Quit: WeeChat 2.4]
ericsagnes has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
<corpix[m]> Hmmm, strange, I've got `error: infinite recursion encountered, at undefined position` with `nixpkgs.overlays = [ myOverlay ]`. Will look further. If configuration is not looking at any other overlays then `nixpkgs.overlays = [...]` is probably the only way to get it work...
zeta_0 has joined #nixos
<alexarice[m]> corpix: sounds like there is a problem in your overlay
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @timokau merged pull request #66388 → sympow: 1.018.1 -> 2.023.4 → https://git.io/fj7lE
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fj78d
ThatDocsLady has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
bakakuna has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @timokau opened pull request #66396 → sage: default to long tests again → https://git.io/fj78A
ZD[m] has quit [Remote host closed the connection]
gspia[m] has quit [Remote host closed the connection]
fasd has quit [Remote host closed the connection]
eqyiel has quit [Remote host closed the connection]
wuji[m] has quit [Remote host closed the connection]
tonic0x539[m] has quit [Remote host closed the connection]
florianjacob has quit [Write error: Connection reset by peer]
Vskilet has quit [Remote host closed the connection]
hpfr[m] has quit [Write error: Connection reset by peer]
arturo[m] has quit [Write error: Connection reset by peer]
luftmensch[m] has quit [Remote host closed the connection]
wak-work has quit [Write error: Connection reset by peer]
anton-latukha[m] has quit [Remote host closed the connection]
kxlljoyy[m] has quit [Remote host closed the connection]
danielrf[m] has quit [Write error: Connection reset by peer]
nocent has quit [Write error: Connection reset by peer]
apx[m] has quit [Remote host closed the connection]
cab404[m] has quit [Remote host closed the connection]
neonfuz2 has quit [Write error: Connection reset by peer]
hiroshi[m] has quit [Write error: Connection reset by peer]
weebull[m] has quit [Read error: Connection reset by peer]
BinkyTheClown has quit [Write error: Connection reset by peer]
manveru[m] has quit [Write error: Connection reset by peer]
isgy[m] has quit [Remote host closed the connection]
siraben has quit [Write error: Connection reset by peer]
LinuXit has quit [Remote host closed the connection]
Lisanna[m] has quit [Write error: Connection reset by peer]
ptotter[m] has quit [Read error: Connection reset by peer]
corpix[m] has quit [Remote host closed the connection]
simbergm has quit [Write error: Connection reset by peer]
li_matrix has quit [Write error: Connection reset by peer]
jsquared71[m] has quit [Write error: Connection reset by peer]
frederic_chopwn[ has quit [Write error: Broken pipe]
craige[m] has quit [Write error: Connection reset by peer]
rycee has quit [Write error: Connection reset by peer]
KarelWDingeldey[ has quit [Write error: Broken pipe]
Thinkofname[m] has quit [Write error: Connection reset by peer]
monado[m]1 has quit [Write error: Connection reset by peer]
Moredread[m] has quit [Write error: Connection reset by peer]
contrun[m] has quit [Read error: Connection reset by peer]
otini has quit [Remote host closed the connection]
HappyEnt[m] has quit [Read error: Connection reset by peer]
yangm has quit [Read error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
peterhoeg[m] has quit [Read error: Connection reset by peer]
clacke[m] has quit [Read error: Connection reset by peer]
balsoft has quit [Write error: Connection reset by peer]
sugi[m] has quit [Write error: Connection reset by peer]
iceychris[m] has quit [Write error: Connection reset by peer]
ajirx[m] has quit [Write error: Broken pipe]
tails[m] has quit [Read error: Connection reset by peer]
tindvik[m] has quit [Read error: Connection reset by peer]
ejpcmac has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Read error: Connection reset by peer]
abbafei[m] has quit [Read error: Connection reset by peer]
mariusz-kowalski has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
das-g[m] has quit [Remote host closed the connection]
domenkozar[m] has quit [Read error: Connection reset by peer]
nh2[m] has quit [Read error: Connection reset by peer]
bkl[m] has quit [Remote host closed the connection]
cornu has quit [Write error: Connection reset by peer]
zaphar_ps[m] has quit [Write error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
abbec has quit [Write error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
fgaz has quit [Read error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
blitzclone[m] has quit [Write error: Connection reset by peer]
hr[m] has quit [Remote host closed the connection]
tomberekn[m] has quit [Remote host closed the connection]
arcnmx has quit [Remote host closed the connection]
retrry[m] has quit [Remote host closed the connection]
makaveli[m] has quit [Remote host closed the connection]
wrunt[m] has quit [Write error: Connection reset by peer]
Gopal[m] has quit [Remote host closed the connection]
Yakulu[m] has quit [Remote host closed the connection]
schmittlauch[m] has quit [Write error: Connection reset by peer]
harkenedraven has quit [Write error: Connection reset by peer]
spoutnik3567[m] has quit [Remote host closed the connection]
thequux[m] has quit [Write error: Connection reset by peer]
vaibhavsagar has quit [Write error: Connection reset by peer]
sauyon[m] has quit [Write error: Connection reset by peer]
jschievink[m] has quit [Write error: Connection reset by peer]
attente[m] has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Write error: Connection reset by peer]
roberth has quit [Write error: Connection reset by peer]
macerbi[m] has quit [Write error: Connection reset by peer]
colemickens has quit [Write error: Connection reset by peer]
M0ddba11[m] has quit [Write error: Connection reset by peer]
MerlinGttlinger[ has quit [Write error: Connection reset by peer]
roadt[m] has quit [Write error: Connection reset by peer]
codyopel has quit [Write error: Connection reset by peer]
aquarial has quit [Write error: Connection reset by peer]
pingveno[m] has quit [Write error: Connection reset by peer]
aymenstudios[m] has quit [Read error: Connection reset by peer]
am3on[m] has quit [Write error: Connection reset by peer]
JaakkoLuttinen[m has quit [Read error: Connection reset by peer]
gudea[m] has quit [Write error: Connection reset by peer]
matthewbauer has quit [Read error: Connection reset by peer]
MilkManzJourDadd has quit [Write error: Broken pipe]
Woland[m] has quit [Remote host closed the connection]
bkchr has quit [Remote host closed the connection]
divansantana1 has quit [Remote host closed the connection]
Dan[m]7 has quit [Remote host closed the connection]
sputny[m] has quit [Remote host closed the connection]
Dandellion[m] has quit [Read error: Connection reset by peer]
freddie_freeload has quit [Remote host closed the connection]
byzoni[m] has quit [Write error: Connection reset by peer]
Minijackson[m] has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
bee[m]1 has quit [Write error: Connection reset by peer]
sinuxi[m] has quit [Write error: Connection reset by peer]
wangoe[m] has quit [Remote host closed the connection]
Notkea[m] has quit [Remote host closed the connection]
copy` has quit [Read error: Connection reset by peer]
submoo[m] has quit [Read error: Connection reset by peer]
bendlas has quit [Read error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
bricewge has quit [Read error: Connection reset by peer]
pop[m]1 has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Read error: Connection reset by peer]
laas has quit [Read error: Connection reset by peer]
alexarice[m] has quit [Read error: Connection reset by peer]
MichalLaskus[m] has quit [Read error: Connection reset by peer]
Ralith has quit [Write error: Connection reset by peer]
zurdo has quit [Remote host closed the connection]
midi[m] has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
sylvie[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Read error: Connection reset by peer]
erk^ has quit [Max SendQ exceeded]
Catalyst[m] has quit [Remote host closed the connection]
jgosset[m] has quit [Remote host closed the connection]
aterius has quit [Remote host closed the connection]
hackeryarn[m] has quit [Remote host closed the connection]
IslandUsurper has quit [Remote host closed the connection]
syntaxtree[m] has quit [Remote host closed the connection]
amorosa1984[m] has quit [Remote host closed the connection]
fidgetspinoza[m] has quit [Remote host closed the connection]
bnasty[m] has quit [Remote host closed the connection]
nyanloutre[m] has quit [Read error: Connection reset by peer]
Smith[m] has quit [Remote host closed the connection]
Brio[m] has quit [Remote host closed the connection]
musicmatze has quit [Remote host closed the connection]
ronny has quit [Write error: Connection reset by peer]
yoho[m]1 has quit [Write error: Connection reset by peer]
bbigras has quit [Write error: Connection reset by peer]
sonercirit[m] has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
dwagenk has quit [Write error: Connection reset by peer]
arianvp[m] has quit [Write error: Connection reset by peer]
bohan[m] has quit [Write error: Connection reset by peer]
Seb[m] has quit [Write error: Connection reset by peer]
boredom101[m]1 has quit [Write error: Connection reset by peer]
info_supplicant[ has quit [Write error: Connection reset by peer]
haslersn has quit [Write error: Connection reset by peer]
joepie91[m] has quit [Remote host closed the connection]
is0x3F has quit [Read error: Connection reset by peer]
Noughtmare[m] has quit [Write error: Connection reset by peer]
badmutex[m] has quit [Write error: Connection reset by peer]
ArtemVorotnikov[ has quit [Write error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
jonge[m] has quit [Write error: Connection reset by peer]
NickHu has quit [Write error: Connection reset by peer]
jonreeve[m] has quit [Write error: Connection reset by peer]
roitme[m] has quit [Write error: Connection reset by peer]
alj[m] has quit [Write error: Connection reset by peer]
NfixEstrada[m] has quit [Write error: Connection reset by peer]
alan[m] has quit [Write error: Connection reset by peer]
pinage404[m] has quit [Write error: Connection reset by peer]
MarkOtaris has quit [Write error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
nilsirl[m] has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
craigevil[m] has quit [Read error: Connection reset by peer]
tsrt^ has quit [Max SendQ exceeded]
escaP[m] has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
EB[m] has quit [Remote host closed the connection]
AntonSchirg[m] has quit [Remote host closed the connection]
balsoft[m] has quit [Write error: Connection reset by peer]
vxzero[m] has quit [Remote host closed the connection]
imj[m] has quit [Remote host closed the connection]
dsrt^ has quit [Max SendQ exceeded]
ffl^ has quit [Max SendQ exceeded]
srt^ has quit [Max SendQ exceeded]
TravisRt2botio[m has quit [Write error: Connection reset by peer]
krt^^ has quit [Max SendQ exceeded]
MayeulC_backup has quit [Write error: Connection reset by peer]
fulgjon has quit [Remote host closed the connection]
alienpirate5 has quit [Write error: Connection reset by peer]
alxev[m] has quit [Write error: Connection reset by peer]
smolboye[m] has quit [Remote host closed the connection]
orospakr[m] has quit [Remote host closed the connection]
bachp has quit [Remote host closed the connection]
rihardsk[m] has quit [Write error: Connection reset by peer]
sphalerit has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Remote host closed the connection]
slabity has quit [Read error: Connection reset by peer]
jasonk000[m] has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
layus[m] has quit [Remote host closed the connection]
lel[m] has quit [Remote host closed the connection]
ninjatrappeur[m] has quit [Remote host closed the connection]
olejorgenb[m] has quit [Remote host closed the connection]
MiloIgnis[m] has quit [Read error: Connection reset by peer]
DanP[m] has quit [Write error: Connection reset by peer]
jak[m] has quit [Write error: Connection reset by peer]
momack2[m] has quit [Write error: Connection reset by peer]
ndarwincorn has quit [Write error: Connection reset by peer]
flip[m] has quit [Remote host closed the connection]
goibhniu has quit [Remote host closed the connection]
clefru has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
sgh^^ has quit [Max SendQ exceeded]
hcs^ has quit [Max SendQ exceeded]
eok^ has quit [Max SendQ exceeded]
o1lo01ol1o has quit [Remote host closed the connection]
krt^^ has joined #nixos
<DigitalKiwi> I'm trying to get ocrmypdf packaged I have a PR open I think it works but it doesn't run in nix-review I'm not sure if that's my fault or what... can anyone help?
<{^_^}> [nixpkgs] @svalaskevicius opened pull request #66397 → electron: add 6.x version → https://git.io/fj74U
<{^_^}> [nix] @volth opened pull request #3036 → nix-shell: provide fake $out → https://git.io/fj74T
erk^ has joined #nixos
<DigitalKiwi> #65775
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65775 (by Kiwi, 1 week ago, open): (WIP?) OCRmyPDF
eok^ has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « nix dev-shell: Set dontAddDisableDepTrack »: https://git.io/fj74O
srt^ has joined #nixos
ffl^ has joined #nixos
ng0 has quit [Remote host closed the connection]
tsrt^ has joined #nixos
judson has quit [Remote host closed the connection]
judson__ has quit [Read error: Connection reset by peer]
judson__ has joined #nixos
judson has joined #nixos
ng0 has joined #nixos
pietranera has quit [Quit: Leaving.]
dsrt^ has joined #nixos
alexarice[m] has joined #nixos
zeta_0 has quit [Remote host closed the connection]
sgh^^ has joined #nixos
hcs^ has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #66398 → Move certain GNOME3 options to programs → https://git.io/fj74n
<zeta_0> why am i getting this build error? https://gist.github.com/zeta-00/cdfb5102e5a98cdc45958c4aad09db9b
<zeta_0> here is my the part of my home.nix that has haskell.packages and ihaskell: https://gist.github.com/zeta-00/2ffa07fbde69c2e36a2b04a69c9cbc69
orivej has quit [Ping timeout: 258 seconds]
<zeta_0> my guess is that both of these sets are having a collision of the same packages?
bakakuna has quit [Ping timeout: 272 seconds]
Shoubit has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @dtzWill opened pull request #3037 → nix-daemon: allow more safe settings by "untrusted" users. → https://git.io/fj740
<infinisil> zeta_0: Yeah, should be fixable by using lib.loPrio on one package
<infinisil> lowPrio*
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65787 → nheko: use qt5's mkDerivation → https://git.io/fj9ML
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj74z
<marek> how to use optional on a attribute set? trying this, on line 100 https://gist.github.com/mmahut/262e048970d716131aa62bde7d604fdd
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [hydra] @edolstra pushed to flake « Use nixFlakes in devShell »: https://git.io/fj746
mir100 has quit [Quit: WeeChat 1.9.1]
ris has joined #nixos
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
<{^_^}> [hydra] @edolstra pushed 2 commits to notifications: https://git.io/fj74S
fragamus has joined #nixos
<ivegotasthma> catern: hey, I'm the owner of https://github.com/NixOS/nixpkgs/pull/66391
<{^_^}> #66391 (by ivegotasthma, 1 hour ago, open): Packages for the python coreapi client
<ivegotasthma> I left a comment on github, but we can also discuss here, if you prefer
<zeta_0> infinisil: what do you mean? what's `lib.loPrio`?
Thra11 has joined #nixos
<exarkun> python modules in propagatedBuildInputs of derivations built with buildPythonPackage aren't ending up in an environment created with (python.buildEnv.override ...).env
<exarkun> what am I missing
timokau[m] has joined #nixos
HappyEnt[m] has joined #nixos
bachp has joined #nixos
Dandellion[m] has joined #nixos
fgaz has joined #nixos
dtz has joined #nixos
bennofs[m] has joined #nixos
clacke[m] has joined #nixos
Ericson2314 has joined #nixos
zurdo has joined #nixos
bkl[m] has joined #nixos
cornu has joined #nixos
Noughtmare[m] has joined #nixos
bbigras has joined #nixos
attente[m] has joined #nixos
aquarial has joined #nixos
alj[m] has joined #nixos
flip[m] has joined #nixos
M0ddba11[m] has joined #nixos
copy` has joined #nixos
abbafei[m] has joined #nixos
domenkozar[m] has joined #nixos
alienpirate5 has joined #nixos
Brio[m] has joined #nixos
am3on[m] has joined #nixos
escaP[m] has joined #nixos
MiloIgnis[m] has joined #nixos
das-g[m] has joined #nixos
craige[m] has joined #nixos
Minijackson[m] has joined #nixos
DanP[m] has joined #nixos
colemickens has joined #nixos
florianjacob has joined #nixos
clefru has joined #nixos
ndarwincorn has joined #nixos
EuAndreh[m] has joined #nixos
cyberwolf[m] has joined #nixos
is0x3F has joined #nixos
atopuzov[m] has joined #nixos
fasd has joined #nixos
frederic_chopwn[ has joined #nixos
balsoft[m] has joined #nixos
arcnmx has joined #nixos
bendlas has joined #nixos
craigevil[m] has joined #nixos
abbec has joined #nixos
alan[m] has joined #nixos
MilkManzJourDadd has joined #nixos
arturo[m] has joined #nixos
fulgjon has joined #nixos
dwagenk has joined #nixos
laas has joined #nixos
danielrf[m] has joined #nixos
alxev[m] has joined #nixos
balsoft has joined #nixos
corpix[m] has joined #nixos
codyopel has joined #nixos
ejpcmac has joined #nixos
isgy[m] has joined #nixos
BinkyTheClown has joined #nixos
hiroshi[m] has joined #nixos
jak[m] has joined #nixos
IslandUsurper has joined #nixos
iceychris[m] has joined #nixos
icetan has joined #nixos
jschievink[m] has joined #nixos
harkenedraven has joined #nixos
JaakkoLuttinen[m has joined #nixos
jonge[m] has joined #nixos
goibhniu has joined #nixos
hpfr[m] has joined #nixos
imj[m] has joined #nixos
tails[m] has joined #nixos
joepie91[m] has joined #nixos
hr[m] has joined #nixos
frislie[m] has joined #nixos
wangoe[m] has joined #nixos
ptotter[m] has joined #nixos
rycee has joined #nixos
nyanloutre[m] has joined #nixos
sphalerit has joined #nixos
simbergm has joined #nixos
kaychaks[m] has joined #nixos
vaibhavsagar has joined #nixos
bkchr has joined #nixos
wak-work has joined #nixos
philipp[m] has joined #nixos
nh2[m] has joined #nixos
Ralith has joined #nixos
MerlinGttlinger[ has joined #nixos
slabity has joined #nixos
bee[m]1 has joined #nixos
Vskilet has joined #nixos
olejorgenb[m] has joined #nixos
contrun[m] has joined #nixos
EB[m] has joined #nixos
weebull[m] has joined #nixos
hackeryarn[m] has joined #nixos
thequux[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
worldofpeace has joined #nixos
nocent has joined #nixos
thefloweringash has joined #nixos
momack2[m] has joined #nixos
AntonSchirg[m] has joined #nixos
macerbi[m] has joined #nixos
malteof[m] has joined #nixos
neonfuz2 has joined #nixos
Thinkofname[m] has joined #nixos
musicmatze has joined #nixos
sylvie[m] has joined #nixos
luftmensch[m] has joined #nixos
submoo[m] has joined #nixos
bricewge has joined #nixos
bohan[m] has joined #nixos
freddie_freeload has joined #nixos
cgm[m] has joined #nixos
siraben has joined #nixos
MarkOtaris has joined #nixos
NickHu has joined #nixos
spacekitteh[m] has joined #nixos
pinage404[m] has joined #nixos
zaphar_ps[m] has joined #nixos
roberth has joined #nixos
manveru[m] has joined #nixos
bnasty[m] has joined #nixos
apx[m] has joined #nixos
blitzclone[m] has joined #nixos
fidgetspinoza[m] has joined #nixos
anton-latukha[m] has joined #nixos
regnat[m] has joined #nixos
pingveno[m] has joined #nixos
rihardsk[m] has joined #nixos
aterius has joined #nixos
eqyiel has joined #nixos
timclassic has joined #nixos
roadt[m] has joined #nixos
otini has joined #nixos
TravisRt2botio[m has joined #nixos
nilsirl[m] has joined #nixos
MayeulC_backup has joined #nixos
li_matrix has joined #nixos
sonercirit[m] has joined #nixos
amorosa1984[m] has joined #nixos
aymenstudios[m] has joined #nixos
divansantana has joined #nixos
ArtemVorotnikov[ has joined #nixos
ajirx[m] has joined #nixos
arianvp[m] has joined #nixos
grahamc[m] has joined #nixos
Catalyst[m] has joined #nixos
cab404[m] has joined #nixos
badmutex[m] has joined #nixos
schmittlauch[m] has joined #nixos
ma27[m] has joined #nixos
marius851000[m] has joined #nixos
Notkea[m] has joined #nixos
Dan[m]7 has joined #nixos
boredom101[m]1 has joined #nixos
jonreeve[m] has joined #nixos
gudea[m] has joined #nixos
yoho[m]1 has joined #nixos
Seb[m] has joined #nixos
sauyon[m] has joined #nixos
Lisanna[m] has joined #nixos
sinuxi[m] has joined #nixos
haslersn has joined #nixos
wrunt[m] has joined #nixos
ronny has joined #nixos
matthewbauer has joined #nixos
jasonk000[m] has joined #nixos
LinuXit has joined #nixos
jsquared71[m] has joined #nixos
Smith[m] has joined #nixos
gspia[m] has joined #nixos
midi[m] has joined #nixos
GerdFlaig[m] has joined #nixos
yangm has joined #nixos
Moredread[m] has joined #nixos
layus[m] has joined #nixos
sugi[m] has joined #nixos
rnhmjoj has joined #nixos
sputny[m] has joined #nixos
makaveli[m] has joined #nixos
smolboye[m] has joined #nixos
info_supplicant[ has joined #nixos
orospakr[m] has joined #nixos
mariusz-kowalski has joined #nixos
retrry[m] has joined #nixos
Gopal[m] has joined #nixos
lel[m] has joined #nixos
vxzero[m] has joined #nixos
peterhoeg[m] has joined #nixos
KarelWDingeldey[ has joined #nixos
wuji[m] has joined #nixos
MichalLaskus[m] has joined #nixos
jgosset[m] has joined #nixos
tomberekn[m] has joined #nixos
Woland[m] has joined #nixos
pop[m]1 has joined #nixos
roitme[m] has joined #nixos
Yakulu[m] has joined #nixos
syntaxtree[m] has joined #nixos
NfixEstrada[m] has joined #nixos
tonic0x539[m] has joined #nixos
monado[m]1 has joined #nixos
tindvik[m] has joined #nixos
ZD[m] has joined #nixos
kxlljoyy[m] has joined #nixos
<{^_^}> [nix] @volth opened pull request #3038 → handle empty SANDBOX_SHELL → https://git.io/fj7BJ
cyberwolf[m] is now known as byzoni[m]
calbrecht[mb] has quit [Remote host closed the connection]
calbrecht[mb] has joined #nixos
erba has joined #nixos
<marek> asking after the split :) -- how to use optional on a attribute set? trying this, on line 100 https://gist.github.com/mmahut/262e048970d716131aa62bde7d604fdd
erba has quit [Client Quit]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> zeta_0: It's a function that makes a package have lower priority such that conflicts can be resolved
<zeta_0> infinisil: is there a section in the nixos manual that talks about this and has some examples, i can't seem to find it?
growpotk- has joined #nixos
Guanin has joined #nixos
<infinisil> Unfortunately it's not in the manual, but usage is just `lib.lowPrio pkgs.<the package>`, which returns a new package with lower priority
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65002 → Add binfmt interpreter for wasm → https://git.io/fj1gl
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fj7BW
<zeta_0> infinisil: so i need to insert: `lib.lowPrio pkgs.<the package>` somewhere in the let expression of ihaskell? https://gist.github.com/zeta-00/2ffa07fbde69c2e36a2b04a69c9cbc69
<infinisil> Yeah that's probably the best way to do it. You can e.g. just wrap a lowPrio around the whole thing
sogatori has quit [Remote host closed the connection]
waleee-cl has joined #nixos
Jackneill has quit [Remote host closed the connection]
<pie_> clever: elvishjerricco: zpool status -t actually says trim unsupported for both my device
<pie_> maybe its because theyre on dmcrypt devices?
<pie_> does that mean those handle trim?
<zeta_0> infinisil: should i just use a different ghc version for ihaskell because ihaskell is not going to integrate with haskell.packages right, or should i go the route of trying to install ihaskell in the body of haskell.packages, i'm confused?
joepie91 has quit [Remote host closed the connection]
eok^ has quit [Ping timeout: 252 seconds]
tsrt^ has quit [Ping timeout: 250 seconds]
srt^ has quit [Ping timeout: 264 seconds]
sgh^^ has quit [Ping timeout: 248 seconds]
ffl^ has quit [Ping timeout: 264 seconds]
joepie91 has joined #nixos
dsrt^ has quit [Ping timeout: 264 seconds]
hcs^ has quit [Ping timeout: 250 seconds]
krt^^ has quit [Ping timeout: 252 seconds]
erk^ has quit [Ping timeout: 276 seconds]
<infinisil> zeta_0: No idea, I'd just try it out
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b08d2b322b9 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @mmahut opened pull request #66399 → metabase: service module and test → https://git.io/fj7BH
AluisioASG has joined #nixos
<vaibhavsagar> zeta_0: you aren't posting the full build output
chinarin has joined #nixos
<vaibhavsagar> zeta_0: you also aren't posting the full contents of home.nix, there's no way that gist is compiling correctly as it is
zupo has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
<chinarin> Is it possible to change nixos global options (e.g. networking.extraHosts) on-the-fly (i.e. without doing nixos-rebuild switch?) It'd be nice to be able to effectively modify /etc/hosts without needing to rebuild my whole config.
<vaibhavsagar> no
erasmas has quit [Quit: leaving]
<vaibhavsagar> that's the whole point of NixOS
<vaibhavsagar> you can always use another distro if you want mutability
eof_ has quit [Ping timeout: 245 seconds]
eof has joined #nixos
<zeta_0> vaibhavsagar: ok, so here is the: error output from `nixos-rebuild swith --show-trace`, and here is my entire home.nix file: https://gist.github.com/zeta-00/2a315b1f121e47aa96c9ab77e22fdfa1 https://gist.github.com/zeta-00/e1a21f7152f1cbef471e535d5e23bd5c
<vaibhavsagar> zeta_0: that's not the whole output
gagbo has joined #nixos
<__monty__> I'm trying to reinstall nixos from the live usb. But I get `error: unable to start build process`, is this not allowed/a bad idea? How else can I change an installed system that doesn't boot?
<infinisil> chinarin: As vaibhavsagar said in general no. There are ways to make certain properties stateful, so they won't be part of the NixOS rebuild cycle anymore. This allows fast changing of those components, but of course doesn't get you the reproducibility anymore
<chinarin> infinisil: OK sounds good. How can I do that? Btw, so you get an idea of my needs: I can't connect to a wifi hotspot. There's a fix (https://askubuntu.com/questions/1023429/cant-connect-to-google-starbucks-wifi-on-ubuntu-17-10) I can do by editing extraHosts. But I've added some systemPackages since I last rebuilt. Now I rebuild to apply the extraHosts; but it fails b/c it can't download the extra packages. There should be an elegant solution for things
<chinarin> like this, right?
fendor_ has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
<zeta_0> vaibhavsagar: so --verbose instead?
erasmas has joined #nixos
<infinisil> Ah I see, for this I usually do something like `sudo cp hosts hosts2; sudo mv hosts2 hosts; sudoedit hosts`
<infinisil> And then undo that (or maybe it gets undone automatically) on the next proper rebuild
<infinisil> chinarin: A nicer way, if it works, would be to tell Nix to not try to fetch anything, lemme see..
<infinisil> chinarin: That would be `nixos-rebuild switch --option substitute false`
<DigitalKiwi> Anyone know anything like dyndns that’s free?
<exarkun> does anybody care about nix segfaults
<vaibhavsagar> zeta_0: no, just give me the whole output of running `nixos-rebuild switch --show-trace` instead of just the last few lines
habbah has joined #nixos
<joepie91> DigitalKiwi: are you looking for free hostnames, or just for a dynamic DNS service for your own domain?
<DigitalKiwi> Dynamic dns
<joepie91> DigitalKiwi: in that case, try dns.he.net
<joepie91> I believe they have a dynamic DNS endpoint
<DigitalKiwi> Well doesn’t even have to be a service just a way to do that I have servers and domains
<DigitalKiwi> If it runs on openwrt even better
<habbah> nix-env -i postgresql && initdb pg_data && pg_ctl -D pg_data -l logfile start && psql -U postgres # results in psql: FATAL: role "postgres" does not exist
<habbah> I've also tried logging in as root
fragamus has joined #nixos
<habbah> How do I access the database? :)
<__monty__> DigitalKiwi: Is this just for personal access to the machines?
<DigitalKiwi> Yeah
fragamus has quit [Client Quit]
<vaibhavsagar> habbah: have you tried `psql -U root`?
<vaibhavsagar> as root
<symphorien> habbah: nix-env cannot touch system-wide settings like creating the postgres user
<symphorien> use /etc/nixos/configuration.nix and the relevant nixos options instead
<habbah> root# psql -U root # psql: FATAL: role "root" does not exist
eof_ has joined #nixos
<__monty__> DigitalKiwi: You could check out clever's toxvpn.
<habbah> vaibhavsagar: ^
<zeta_0> vaibhavsagar: here is the entire output i copied from the `nixos-rebuild switch --show-trace` command as well as my entire home.nix again: https://gist.github.com/zeta-00/1c353505d3fc85745099fb7a5743efb9 https://gist.github.com/zeta-00/e1a21f7152f1cbef471e535d5e23bd5c
<habbah> symphorien: I'm not using nixos
<habbah> I'm within osx trying to use nix
<chinarin> infinisil: nice. I'm curious how you found that option, though. "--option" isn't mentioned in nixos-rebuild(1) man, and "substitute" isn't listed in nixos.org's "Options" page.
<vaibhavsagar> zeta_0: no, this isn't the whole output
<DigitalKiwi> __monty__
<vaibhavsagar> zeta_0: and I don't need your home.nix again, the first time was enough
<DigitalKiwi> Err thanks
eof has quit [Ping timeout: 246 seconds]
<infinisil> chinarin: Good question. This option gets passed along to nix-build, nixos-rebuild only mentions "In addition, nixos-rebuild accepts various Nix-related flags"
<symphorien> habbah: I don't know about osx, but on another linux distro you would have to create a user called "postgres" and configure postgres in /etc/ to use unix authantication
<infinisil> chinarin: So you'll find --option in the nix-build man page, which links you to the nix.conf manpage for available options
<symphorien> installing postgres with nix-env does not do this, it only makes the executables available
<__monty__> DigitalKiwi: I think others achieve something similar to toxvpn but better (because of mesh routing) using tinc but I haven't figured out whether that can do NAT traversal and stuff.
<infinisil> chinarin: These are not ordinary options, they're like nix core options that configure how Nix itself behaves. So this is why they're not in the NixOS options or so
<habbah> createuser postgres && psql -U postgres
<habbah> this seemed to work
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #66400 → meteor: 1.5 -> 1.8.1 → https://git.io/fj7R3
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chinarin> infinisil: ah, I see. Thanks!
noudle has joined #nixos
<aanderse> infinisil: lol... awesome waste of time, we just left the same review on the same PR :D
<__monty__> Hmm, nixos install throws an error about cloning the builder process. Why did it work without errors yesterday? Should I not nixos-install over an already nixos-installed system?
<aanderse> >_<
<gchristensen> __monty__: are you in a nix-shell?
<__monty__> gchristensen: No, in the live install media.
<infinisil> aanderse: Haha nice
schjetne has joined #nixos
<gchristensen> are you in a nix-shell on the live media?
<__monty__> gchristensen: Just the root-shell you're dropped in. Definitely didn't run nix-shell.
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
qqlq has joined #nixos
<infinisil> aanderse: I finally caught up with my notification backlog today, so I wanted to keep it like that for at least a little while, which is why I reviewed the PR so soon :)
<__monty__> I've run into this on arch before but `sysctl kernel.unprivileged_userns_clone=1` always fixed it there. Here /proc/sys/kernel/unpriv... doesn't exist (cannot stat).
<aanderse> ohhh nice! congrats
<zeta_0> vaibhavsagar: by default my terminal only shows a certain number of output lines, instead i will save it to an output file: https://gist.github.com/zeta-00/8859a285cca084a86a7b2fe925f7e2b6
<aanderse> i have no idea how you would have done that... aren't you notified for every new service? :P
qqlq has quit [Client Quit]
<aanderse> you deserve a medal :D
<infinisil> Hehe
<zeta_0> vaibhavsagar: i am pretty sure that is the entire output
<infinisil> It's not *that* much
<infinisil> It was worse when I got notified for every change in nixos/modules
<infinisil> (I turned that off since)
<aanderse> lol your e-mail probably never stopped when that was on
qqlq has joined #nixos
<infinisil> Had to turn off emails P:
schjetne has quit [Ping timeout: 246 seconds]
<vaibhavsagar> zeta_0: what if you change the line that says 'compiler = "ghc865"' to 'compiler = "ghc864"'?
<zeta_0> what is the link to the haskell packages that are not shown in the nix store?
<vaibhavsagar> I don't understand the question
<{^_^}> [nixpkgs] @eadwu opened pull request #66401 → nixos/postgresql: fix quoted queries → https://git.io/fj7R8
<zeta_0> vaibhavsagar: i tried ghc864 instead and it is still throwing an error?
<__monty__> zeta_0: Are you trying to install both ihaskell and a different ghcWithPackages?
<vaibhavsagar> oh hmm, that's probably it
<zeta_0> my guess is it is conflicting with ghcWithHoogle?
<vaibhavsagar> yeah, that sounds right to me
<__monty__> Can you run nixos-install multiple times from the live medium? Or do I have to do a chroot or something the second time around?
<andi-> __monty__: yes!
<andi-> Just do it again
<__monty__> zeta_0: I somewhat get around that by having ghcWithHoogle's in seperate myEnvFun's. That way they don't collide and I can `load-env-somename` to enter something akin to a nix-shell with a specific ghcWithHoogle.
<__monty__> andi-: : / nixos-install's erroring on `cloning builder process: Operation not permitted`
<zeta_0> well, i'll try and install just ghc by itself and install hoogle as a seperate sub-package, i hope the `all-hies` package still works though because it depends on hoogle
<andi-> __monty__: not in the chroot
<andi-> also not after nixos-enter
<__monty__> zeta_0: I don't think that'll work either though. You have to choose either ghc *or* ihaskell.
fragamus has joined #nixos
<__monty__> andi-: Haven't chrooted, haven't nixos-entered.
ericsagnes has quit [Ping timeout: 245 seconds]
<andi-> That is weird then
dontobey has joined #nixos
<zeta_0> ok so what is the link to the haskell packages that are not in nix packages? i worded the question incorrectly a while ago
<__monty__> zeta_0: google haskell.nix : )
<__monty__> If that's what you mean at least.
<zeta_0> someone was telling me that not all of the `haskell.packages` fit in `search nix packages` so i wanted a link to all the haskell packages?
<__monty__> Search nix packages?
<joepie91> I think they mean the package search on nixos.org?
lambda-11235 has joined #nixos
bakakuna has joined #nixos
<averell> or "nix search <pkg>"? cause the website definitely has more
fusion809 has quit [Remote host closed the connection]
erba has joined #nixos
fusion809 has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<exarkun> is objdump packaged somewhere?
<__monty__> ,locate bin objdump
<{^_^}> Found in packages: gotools, binutils-unwrapped
<zeta_0> ya on the main nix website i can't find haskell.packages, what is the link to see all of the haskell packages not shown on the main website?
<exarkun> ty
wfranzini has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
bakakuna has joined #nixos
<zeta_0> simpson: how do i search through all of those packages?
<simpson> zeta_0: Using a text-searching tool.
<zeta_0> simpson: is there some that are already built into linux?
<simpson> zeta_0: grep is popular, although awk and sed also have their uses. Depends on exactly what you want to do.
npmccallum has joined #nixos
<__monty__> zeta_0: You don't usually have to care what's "in nixpkgs" everything on hackage is available (at least to a very good approximation).
chinarin has quit [Quit: Leaving]
<elvishjerricco> pie_: You have to enable discard on LUKS to get trim
<zeta_0> __monty__: i am looking for: `haskell.packages`
<__monty__> zeta_0: Why?
<__monty__> > haskell.compilers
<{^_^}> attribute 'compilers' missing, at (string):256:1
<__monty__> > haskell.compiler
<{^_^}> { ghc822 = <CODE>; ghc822Binary = <CODE>; ghc844 = <CODE>; ghc863Binary = <CODE>; ghc864 = <CODE>; ghc865 = <CODE>; ghc881 = <CODE>; ghcHEAD = <CODE>; ghcjs = <CODE>; ghcjs84 = <CODE>; ghcjs86 = <CODE...
<elvishjerricco> pie_: By default, LUKS doesn't pass trim through because it leaks which blocks have been trimmed. There's a NixOS setting to make it do it anyway
<__monty__> zeta_0: Do you mean this? The available "versions" of haskellPackages in nixpkgs, if you will.
<simpson> zeta_0: Oh. Run the Nix repl with $(nix repl '<nixpkgs>'), type `haskell.packages.`, and tap the Tab key a couple times. (This is known as "tab completion" and will help you greatly in many applications.)
<pie_> elvishjerricco: yeah i peeked at the wiki links i linked afterwards, good to know about the nixos setting, ill have to figure out later if i want this
<elvishjerricco> pie_: I think it's fine. Trim isn't exactly the most damning information. Way less bad than leaking file sizes. And it can seriously speed up an SSD
schjetne has joined #nixos
janneke_ has quit [Quit: janneke quits Mes'sing]
ozychhi has quit [Quit: WeeChat 2.5]
janneke has joined #nixos
<clever> pie_: you may need to enable trim in luks first
karetsu has joined #nixos
<pie_> clever: so i just tested and with a bunch of ram free, switching to quassel is still super slow
<karetsu> how do I suspend to RAM? `echo mem > /sys/power/state` isn't allowed for my user so I guess I'm not in the correct group?
<pie_> sometimes switching tmux panes is also laggy
<clever> pie_: that sounds like a gpu problem
<pie_> clever: but only during zfs send | recv
<clever> karetsu: `sudo systemctl suspend`
<clever> pie_: check top anyways
<pie_> clever: cpu usage is low
<clever> pie_: watch -d cat /proc/interrupts
<clever> pie_: what irq is tied to what device, any sharing?
<karetsu> clever: is there no non-sudo way?
<clever> karetsu: something involving systemd/logind, but ive never used it
<karetsu> alright, that gives me somewhere to start at least
<karetsu> thanks
<clever> karetsu: you can also configure sudo to allow certain commands without a pw
<pie_> clever: no idea what im looking for https://bpaste.net/show/tsKf
fragamus has joined #nixos
<clever> pie_: what thing counts up when a device is active?
karetsu has quit [Client Quit]
<clever> pie_: thats not going to be visible in a static pastebin
karetsu has joined #nixos
<karetsu> clever: you don't even need it for `systemctl suspend` apparently
<karetsu> I'll assume that's because I'm wheel
orivej has joined #nixos
<clever> karetsu: more likely, its logind that knows you are at a physical terminal
<pie_> clever: ok so im looking for big number upper goers when stuff is running?
<clever> pie_: yeah
<pie_> how do you even know about this stuff
<clever> pie_: years of poking around in /proc out of bordem :P
<pie_> is there an easy way to zero the counters
<clever> nope
<clever> the -d makes the differences light up
fragamus has quit [Ping timeout: 248 seconds]
<pie_> oops forgot the -d
fendor_ is now known as fendor
janneke has quit [Quit: janneke quits Mes'sing]
leothrix has quit [Quit: ZNC 1.7.4 - https://znc.in]
<pie_> clever: i cant really tell if theres anything out of the ordinary,mostly just these go up https://bpaste.net/show/A871
leothrix has joined #nixos
<simpson> zeta_0: $() is subshell quotation; I use it on IRC to make shell commands obvious. https://en.wikiversity.org/wiki/Bash_programming/Subshells is an alright intro to the concept. I'm afraid that I might not have time to spoon-feed you the basics of how to use bash or other shells.
<clever> pie_: those most appear to be related to idle activity, though line 4 might be a hdd
<clever> pie_: whats more important is if one of them goes up faster, when the hdd is active
<pie_> all of these seem to
growpotk- has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 248 seconds]
growpotk- has joined #nixos
_kwstas has joined #nixos
<karetsu> clever: whatever it is it works as a clickable area in dzen so I now have my i3 forking and system suspend in power menu
<karetsu> ta
janneke has joined #nixos
<pie_> clever: zfs send into /dev/null seems to be fine, so its somehow the writes that are messing up the system
<clever> are send and recv on the same box?
wfranzini has quit [Remote host closed the connection]
<zeta_0> simpson: thanks
<{^_^}> [nixpkgs] @aanderse merged pull request #66188 → perldevel: 5.30.0 -> 5.31.2 → https://git.io/fjQ33
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj70f
<averell> wow, watch has a diff mode. amazing.
<clever> You can watch for your administrator to install the latest kernel with
<clever> averell: you find all kinds of neat things if you read the man page, like this:
<clever> watch uname -r
<savanni> Hey, y'all. I have a bug with the ruby environment that I'm unable to fix. If anyone is available to help, I've created a super-minimal nix-shell that illustrates the problem: https://github.com/savannidgerinel/nixpkgs-ruby-tzinfo
<zeta_0> simpson: running this caused my computer to go crazy: nix-repl> haskell.packages.ghc865
<savanni> I would appreciate any help you can offer.
<clever> zeta_0: that will print out every single package on hackage
dminuoso has quit [Ping timeout: 245 seconds]
<averell> haha, yes great use case
<zeta_0> damn
<simpson> zeta_0: Nice.
<__monty__> zeta_0: Seriously, just use the search on hackage.haskell.org, nixpkgs has *all* of those packages, no more, no less.
karetsu has quit [Quit: WeeChat 2.4]
orivej has joined #nixos
<zeta_0> that't a lot of packages
<clever> > builtins.length (builtins.attrNames haskell.packages.ghc865)
<{^_^}> 14518
<clever> yep
ertw has joined #nixos
<infinisil> > length (attrNames pkgs) # let's see how it compares to top-level
<{^_^}> 10687
<petercommand> > length $ attrNames pkgs.haskell.packages
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):256:8
<petercommand> > length (attrNames pkgs.haskell.packages)
<{^_^}> 12
npmccallum_ has joined #nixos
<exarkun> my build is now failing with these two error lines: "error: stoull", "error: unexpected EOF reading a line" :/
<petercommand> > length (attrNames pkgs.haskellPackages)
<{^_^}> 14518
<petercommand> Oh, I can't use the dollar sign for function application
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
npmccallum has quit [Ping timeout: 246 seconds]
npmccallum_ is now known as npmccallum
<exarkun> uhh it means "one of your buildMachines is down" :(
<exarkun> not excellent error reporting
zeta_0 has quit [Quit: doing a rebuild]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bd1358fed9d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
leothrix has quit [Read error: Connection reset by peer]
leothrix has joined #nixos
<pie_> clever: per a friends suggestion I tried rate limiting with pv
<__monty__> : O \o/ Success! Just booted NixOS from a btrfs root on top of lvm on top of a plain dm-crypt encrypted partition! Squeal!
<pie_> clever: 1MB/s is barely usable, but id have to wait a day, in which case it would super suck
<pie_> clever: 10MB/s is borderline usable
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
<pie_> *i would have to wait 1 day for 10mb/s
growpotk- has joined #nixos
<exarkun> where do I find the current nixos system configuration, as a nix expression?
sinuxi[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
orivej has quit [Ping timeout: 258 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<infinisil> exarkun: Unless you turned on system.copySystemConfiguration (which I want to have turned on by default, see #24707), /etc/nixos/configuration.nix is the only place
<{^_^}> https://github.com/NixOS/nixpkgs/pull/24707 (by techhazard, 2 years ago, open): nixos-generate-config: add `system.copySystemConfiguration = true;`
ertw has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #66402 → bazel: 0.28.0 -> 0.28.1 → https://git.io/fj70z
_deepfire has joined #nixos
<exarkun> infinisil: what if nixops
<infinisil> exarkun: Check the PR
<pie_> clever: guess ill not throttle and hope if tinishes in a few hours, FML
zeta_0 has joined #nixos
roitme[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<exarkun> infinisil: It looks like the PR turns on that option by default but the docs for that option don't make it clear that it's relevant.
<exarkun> nixops doesn't use /etc/nixos/configuration.nix at all, does it?
<zeta_0> what is the link to the haskell infrastructure?
<infinisil> exarkun: It does not turn on the option by default, take another look
ertw has joined #nixos
<exarkun> I don't understand why I should care about that option
orivej has joined #nixos
<infinisil> exarkun: Maybe I misunderstood your original question, but that option backs up your configuration.nix to /run/current-system/configuration.nix
<exarkun> Maybe the lexical similarity between "nixos" and "nixops" is standing in the way
<infinisil> So "where do I find the current nixos system configuration?" -> /run/current-system/configuration.nix
leothrix has quit [Quit: ZNC 1.7.4 - https://znc.in]
justanotheruser has quit [Ping timeout: 268 seconds]
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
tylerjl has joined #nixos
<infinisil> Ahh *you're* using nixops
Yaniel has quit [Excess Flood]
<exarkun> I am. Sorry, I didn't explain that in a terribly clear way.
<alexarice[m]> is there a way to have the home environment variable set to something that can be written to in a derivation?
<ToxicFrog> Say I want to set certain environment variables for the ./configure
<exarkun> I have the nixops source configuration but the target system is not behaving as I would expect (nor is nixops giving me an error). I wanted to look at the target system and see what _it_ thought was happening.
Yaniel has joined #nixos
wuji[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<exarkun> And I thought I remembered that the nixos config set was available somewhere
<ToxicFrog> Is it better to do that with `export FOO=bar` in preConfigure, or `env FOO=bar ./configure` in configureScript?
<pie_> clever: totally unrelated, does pivot root work without tearing down currently running processes?
<clever> pie_: yes
<{^_^}> [nixpkgs] @volth opened pull request #66403 → scala_2_12: 2.12.8 -> 2.12.9 → https://git.io/fj70y
<pie_> oh hmmmmmmmmm
<clever> pie_: thats how things like root on fuse function
<infinisil> exarkun: I see, I don't think it's available anywhere, I wrote my own little wrapper for it because of that: https://github.com/Infinisil/system/tree/master/deploy/eval
<pie_> clever: root on fuse, wut
grahamc[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<clever> pie_: a fuse app being ran in the initrd, to create the root-to-be
<exarkun> infinisil: okay, thanks! maybe that tool will help me.
amorosa1984[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<infinisil> exarkun: Well you'll have to copy these files to your own config and adjust them a bit
tomberekn[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<clever> pie_: systemd would get very upset, better to just reboot, lol
<pie_> clever: yeah?
<exarkun> infinisil: sure. I might be able to manage that at this point. in any case, thanks :)
<infinisil> exarkun: :)
<pie_> clever: why would systemd break
janneke has quit [Quit: janneke quits Mes'sing]
<zeta_0> how do i change this to just install ghc by itself, so i can install hoogle seperately, i think this is what is causing the ihaskell collision? https://gist.github.com/zeta-00/82365f18c853411e2aa6f804393615c9
<clever> pie_: when you literally swap the root out from under its feet and nothing is where it was
<pie_> clever: all the system files should be in the same path
<pie_> clever: something something inode numbers? (idk)
<clever> pie_: something something open handles pointing to the wrong fs and things still being written to :P
janneke has joined #nixos
<zeta_0> how would you guys change this?
<pie_> clever: isnt pivot root supposed to deal with that?
<infinisil> ToxicFrog: Neither, `mkDerivation { FOO = "bar"; }` is a decent way
<pie_> clever: but yeah, some sort of ro remount of root would need to work first i think
<clever> pie_: pivot_root just changes what / is, it wont remap any existing open ahndles
<pie_> clever: oh
<{^_^}> alexarice[m]: Please expand your question to include more information, this will help us help you :)
dminuoso has joined #nixos
acarrico has quit [Ping timeout: 258 seconds]
ixxie_ has joined #nixos
<ToxicFrog> infinisil: oh right, I forgot the contents of the derivation turn into envars at build time
<pie_> clever: ok its not strictly a zfs problem, this also slows my sytem cat /dev/urandom | pv > ./test
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> ,locate bin gpg-zip
<{^_^}> Found in packages: gnupg1orig
<selfsymmetric-mu> So, given that this binary is only available in an old (1.4) version of gnupg, what should I be using in 2.*?
<selfsymmetric-mu> Is it gpgtar?
gxt has joined #nixos
tylerjl has quit [Quit: ZNC 1.7.4 - https://znc.in]
leothrix has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #66400 → meteor: 1.5 -> 1.8.1 → https://git.io/fj7R3
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Ef
Catalyst[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 23+ days."]
jsquared71[m] has quit [Quit: Idle kick: User has been idle for 23+ days.]
alan[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 23+ days."]
lel[m] has quit [Quit: Idle kick: User has been idle for 23+ days.]
EB[m] has quit [Quit: Idle kick: User has been idle for 23+ days.]
<zeta_0> the haskell infrastructure is a little bit confusing, but it is starting to make more sense
mexisme has joined #nixos
<zeta_0> did you guys struggle this much when you first started with nixos?
<joepie91> zeta_0: yeah
<joepie91> there are a loooooot of gaps documentation- and ergonomics-wise
<simpson> zeta_0: No, but I also didn't have such high expectations.
<joepie91> they are being worked on, but it is a long road :)
gxt has quit [Remote host closed the connection]
<joepie91> (they are being worked on quite a lot, actually)
gxt has joined #nixos
<{^_^}> [nixpkgs] @mmahut closed pull request #66004 → orcania: 2.0.0 -> 2.0.1 → https://git.io/fjHMp
<zeta_0> nixos is much better then debian, but the learning curve is much higher for nixos though
<{^_^}> [nixpkgs] @mmahut merged pull request #65993 → menumaker: 0.99.10 -> 0.99.11 → https://git.io/fjH1T
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Ek
ertw has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @eraserhd opened pull request #66404 → plan9port: use C compiler from Nix → https://git.io/fj7EO
fendor has quit [Quit: Leaving]
selfsymmetric-mu has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<erba> zeta_0: Going in I expected to relearn life so.. It wasn't so bad :p
Shouou has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65916 → Electron updates → https://git.io/fjHYp
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fj7El
_kwstas has quit [Quit: _kwstas]
acarrico has quit [Ping timeout: 272 seconds]
<joepie91> zeta_0: yeah, I agree. it's worth it though, if you can survive the learning curve :)
<zeta_0> i'm still in survival mode, but i'm hanging in there
<zeta_0> :)
dl4mfo has joined #nixos
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65910 → fanficfare: 3.9.0 -> 3.10.5 → https://git.io/fjHYc
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Eg
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7E2
<{^_^}> [nixpkgs] @mmahut merged pull request #66201 → shaarli-material: 0.9.5 -> 0.10.4 → https://git.io/fjQGZ
bakakuna has quit [Ping timeout: 268 seconds]
zeta_0 has quit [Quit: i'm done for the day]
<__monty__> I have to admit I haven't learned as much about any other distro but it's because I didn't *have* to. Not sure if that's a boon or not.
<{^_^}> [nixpkgs] @mmahut merged pull request #65977 → mcrcon: 0.0.5 -> 0.6.1 → https://git.io/fjHiV
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7EV
ixxie_ has quit [Quit: leaving]
acarrico has joined #nixos
<alienpirate5> How do I bypass certain checks in a configure script?
judson has quit [Ping timeout: 264 seconds]
judson__ has quit [Ping timeout: 264 seconds]
<alienpirate5> `pkgsCross.armv7l-hf-multiplatform.xorg.libXres` doesn't compile because of a bad configure check
eok^ has joined #nixos
krt^^ has joined #nixos
srt^ has joined #nixos
sgh^^ has joined #nixos
hcs^ has joined #nixos
ffl^ has joined #nixos
justanotheruser has joined #nixos
erk^ has joined #nixos
tsrt^ has joined #nixos
dsrt^ has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65978 → matio: 1.5.16 -> 1.5.17 → https://git.io/fjHii
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7E6
<{^_^}> [nixpkgs] @mmahut merged pull request #66316 → python: runway-python: 0.3.2 -> 0.4.0 → https://git.io/fjQxQ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Ei
sgh^^ has quit [Read error: Connection reset by peer]
ericsagnes has joined #nixos
hcs^ has quit [Read error: Connection reset by peer]
erk^ has quit [Ping timeout: 246 seconds]
krt^^ has quit [Read error: Connection reset by peer]
<NemesisD> is it possible to promote a value to a type with DataKinds? e.g. Z -> 'Z
erk^ has joined #nixos
tsrt^ has quit [Ping timeout: 246 seconds]
<selfsymmetric-mu> NemesisD: are you looking for #haskell?
zupo has joined #nixos
<NemesisD> haha whoops
<{^_^}> [nixpkgs] @lsix merged pull request #66063 → motu_client: drop → https://git.io/fjHdp
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fj7E1
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65893 → chirp: 20190511 -> 20190718 → https://git.io/fjHt4
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7EM
__monty__ has quit [Quit: leaving]
npmccallum has quit [Quit: npmccallum]
<selfsymmetric-mu> But I believe that if you write `data Z' = Z`, then indeed for `:k Z'` you'll get a value of `Z :: Z'`.
noudle has quit []
kleisli has quit [Ping timeout: 264 seconds]
zupo has quit [Ping timeout: 246 seconds]
schjetne has quit [Ping timeout: 246 seconds]
cocreature has quit [Ping timeout: 252 seconds]
codezero has quit [Ping timeout: 248 seconds]
sterni has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #65921 → intel-gmmlib: 19.2.1 -> 19.2.3 → https://git.io/fjHnp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7E9
dsrt^ has quit []
eok^ has quit []
<{^_^}> [nixpkgs] @mmahut merged pull request #65909 → flrig: 1.3.45 -> 1.3.47 → https://git.io/fjHmp
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7EH
erk^ has quit []
ffl^ has quit []
srt^ has quit []
ffl^ has joined #nixos
<elvishjerricco> pie_: No issues with `cat /dev/urandom | pv > ./test` here
* pie_ flails helplessly
<elvishjerricco> 72 MiB/s
<pie_> what the heck
<pie_> elvishjerricco: yeah but can you switch between applications without massive lag
<elvishjerricco> I can
<pie_> >______<
<elvishjerricco> iostat and htop were both performing fine in a tmux
<elvishjerricco> I could switch apps on my desktop easily
<elvishjerricco> could even continue my netflix stream flawlessly
<pie_> my terminal stuff refreshes, but switching to quassel is very hangy for example
<elvishjerricco> I did not have the command running in the same tmux as htop. I should try that
<pie_> also tmux lags out a bit but when its running its running
<elvishjerricco> pie_: Yea, I can do everything in the same tmux and have no issues
codezero has joined #nixos
sterni has joined #nixos
<pie_> another weird thing is it takes like 20 seconds to ^C out of the command
<pie_> elvishjerricco: ^ ?
<elvishjerricco> pie_: How powerful is the machine? Maybe generating random numbers is absurdly difficult for it :P
<pie_> which mihgt be a mor reproducible problem
<pie_> nah i gett 100MB/s throughput
<pie_> its not a throughput problem
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d8d934bfa02 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<elvishjerricco> ^C'ing out of a command waiting on the kernel could take quite some time if the kernel is doing something very slow
<elvishjerricco> There's a way to check if a process is running or waiting on the kernel. I forget how though...
cocreature has joined #nixos
bdesham has left #nixos [#nixos]
erasmas has quit [Quit: leaving]
<elvishjerricco> It's either S or D in the `ps <PID>` STAT output...
<pie_> elvishjerricco: ok, but you dont get that?
<pie_> ah wait i was using it with zfs recv
<pie_> lets see with dd
<pie_> i mean cat
<elvishjerricco> pie_: Yea, the process is quick to kill for me
<pie_> ok yeah same for me
<pie_> the slow kill is zfs recv
<elvishjerricco> Ah. So what command should I try to reproduce this?
<pie_> ok so i need to figure out why cat /dev/urandom | pv > ./test wrecks my system perf >:(
gagbo has quit [Ping timeout: 248 seconds]
<pie_> im trying to sync like 600 gigs :(
<pie_> sudo zfs send -R dataset@lol | pv -ea -s 1T -B1M | sudo zfs recv dataset2@lol
<elvishjerricco> Oh. I've done that from my SSD to my spinning rust disk several times and experienced no problems
xkapastel has joined #nixos
<elvishjerricco> Side note, nvme is amazing :P
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #66405 → virtualbox: 6.0.8 -> 6.0.10 → https://git.io/fj7ul
<pie_> yeah well throw money at me
<pie_> is there a command equivalent to > io redirection
<pie_> i want to try ionice on the cat
<qyliss> pipe to dd?
<qyliss> (if I understand the question)
irl25519 has joined #nixos
<pie_> qyliss: ah nice, thanks
<pie_> well this seems to work a bit better, cat /dev/urandom | pv | ionice -c 3 dd if=/dev/stdin of=./test
<elvishjerricco> For a long time, I've wished there was a way to sudo pipe in bash. Like `echo 1 sudo> /proc/asdf`. I feel dumb that I never thought of `dd` :P `echo 1 | sudo dd of=/proc/asdf`
<pie_> but elvishjerricco said he doesnt have any problems and i havent the faintest idea why
<pie_> elvishjerricco: are you still on 0.7
<pie_> elvishjerricco: ugh tell me about it...
<elvishjerricco> Yea. 0.7.12
<pie_> elvishjerricco: omfg i didnt even think of that
<pie_> i keep wanting sudo pipe
* pie_ softly throws cookies at qyliss while being angry
<elvishjerricco> lol
<pie_> cant believe i didnt think of this
<pie_> elvishjerricco: can you try to repro on 0.8? >_>
<elvishjerricco> I always just used tee and accepted the output on stdout :P But dd makes so much more sense
<elvishjerricco> pie_: I'm not sure how to test that out realistically
<elvishjerricco> I guess I could pop open a VM
<pie_> yeah im not sure either :(
<elvishjerricco> I love how easy it is to pop open a VM with NixOS :P I do it all the time
<pie_> i havent quite figured that out yet
<pie_> what do you do
<pie_> build-vm and set config path for rebuild or somesuch?
<elvishjerricco> `nix run vm -f "<nixpkgs/nixos>" --arg configuration ./some-config.nix --run run-nixos-vm`
<pie_> oh
<pie_> didnt know about nix run
<elvishjerricco> very convenient
<pie_> be back in a sec, gonna grab some food
<elvishjerricco> no annoying gc roots to remember to clean up :P
<pie_> yeah
<elvishjerricco> derp, `-c`, not `--run`
<elvishjerricco> got my nix-shell and nix run mixed up
ToxicFrog has quit [Ping timeout: 246 seconds]
<elvishjerricco> pie_: remind me what command I should be testing?
<worldofpeace> elvishjerricco: you must explain how that's so easy I didn't even expect it to work
ffl^ has quit [K-Lined]
<{^_^}> [nixpkgs] @lsix merged pull request #66365 → pythonPackages.pybindgen: 0.19.0 -> 0.20.0 → https://git.io/fj7OW
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fj7uz
<elvishjerricco> {
<elvishjerricco> virtualisation.qemu.options = ["-enable-kvm"];
<elvishjerricco> services.mingetty.autologinUser = "root";
<elvishjerricco> virtualisation.graphics = false;
<elvishjerricco> boot.supportedFilesystems = ["zfs"];
<elvishjerricco> networking.hostId = "deadbeef";
<elvishjerricco> boot.zfs.enableUnstable = true;
<elvishjerricco> }
<elvishjerricco> worldofpeace: If that's in some-config.nix, then that command will drop me into a vm with zfs 0.8 support
<elvishjerricco> Since the args to run-nixos-vm just get passed to qemu, I can add a drive to the VM on the command line to actually use that ZFS version with
<worldofpeace> ahh I just realized that the result gives you run-nixos-vm elvishjerricco perhaps you should run `run-*-vm` since it might not always be named nixos (i think)
<elvishjerricco> worldofpeace: That wouldn't work since the bash expansion would not see the binary
<elvishjerricco> You could do it by invoking the same nix expression with `nix eval` and having it print the hostname
<worldofpeace> oh right
<elvishjerricco> but that's more effort :P
<worldofpeace> elvishjerricco: that's a very nice oneliner. I keep a repo for vm configs and it would make the bash aliases I integrate with direnv simpler
<elvishjerricco> Yea. I'm glad NixOS does all of its test suites via VMs built this way. It makes sure it'll always be easy to test NixOS out this way.
<worldofpeace> Totally, if you think about what some people have to do in ubuntu to test :D I start to feel real happy for myself
Thra11 has quit [Quit: WeeChat 2.5]
<ctp> hi folks, how can i assign same attribute at 2 different places?
<ctp> programs.bash.shellAliases shall be same as prograns.fish.shellAliases
<ctp> argh, wait, i think, i got it
<{^_^}> [nixpkgs] @Infinisil opened pull request #66407 → lib/modules: Use options `apply` function even if no values are defined → https://git.io/fj7uS
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
mbrgm_ has joined #nixos
reanimus has quit [Quit: Logging off...]
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
jgt has quit [Ping timeout: 276 seconds]
Rusty1 has joined #nixos
reanimus has joined #nixos
<selfsymmetric-mu> ctp: I'd use a let binding, personally: https://gist.github.com/matthew-piziak/8d16ed1f96e717b46a659958424bc816
<pie_> elvishjerricco: back
dansho has joined #nixos
<pie_> elvishjerricco: cat /dev/urandom | pv | dd if=/dev/stdin of=./test
<pie_> when that is running, application switching is very bad
<pie_> or something
<elvishjerricco> pie_: No issues here with that command. Lemme try it with 0.8 in a VM
dl4mfo has quit [Remote host closed the connection]
<pie_> i cant think of a scriptable repro :.
<pie_> * :/
vika_nezrimaya has joined #nixos
<pie_> also i forgot to set bs on dd again
vika_nezrimaya has quit [Client Quit]
vika_nezrimaya has joined #nixos
<johnw> if I've booted a NixOS machine using a USB installer, so that my old machine is mounted at /dsk, how do I rollback to the previous OS build? I missed up something in configuration.nix that's preventing it from booting.
<elvishjerricco> pie_: Yea, even in a vm with zfs 0.8, I have no issues
<elvishjerricco> though in that vm, root is not zfs
ng0 has quit [Ping timeout: 260 seconds]
<pie_> well, are you writing onto the zfs
<elvishjerricco> yea
dl4mfo has joined #nixos
<joepie91> johnw: can't boot into old revision from the bootloader?
<elvishjerricco> pie_: I created a pool with 0.8 onto a virtual disk, and tried to do that command onto a file in said pool
<johnw> joepie91: hey, that's a thought
<johnw> joepie91: will try now
<elvishjerricco> With `-enable-kvm`, I'd expect this to be basically native performance
<pie_> elvishjerricco: ugh. wonder if it could be a root on zfs and or luks interaction
<elvishjerricco> Oh I should try it over LUKS
sellout- has joined #nixos
sellout- has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 258 seconds]
ng0 has joined #nixos
<johnw> joepie91: that worked a charm, thanks
<johnw> now, what is the right way to move /nix to another device?
<joepie91> :)
kleisli_ has quit [Ping timeout: 245 seconds]
<elvishjerricco> pie_: Yea, even over LUKS, no issues here
<johnw> just rsync'ing it there and mount /nix to that device was not good
* joepie91 can't help with that, needs to sleep
<pie_> elvishjerricco: damn
<pie_> thanks
<{^_^}> [nixpkgs] @Infinisil merged pull request #65347 → Couchdb: Don't chown /var/log to couchdb → https://git.io/fjDPU
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fj7zm
<elvishjerricco> pie_: And you're sure it's the ZFS mount that's the problem, not the data source? Do you get the same problem if you write to a tmpfs instead of the file on ZFS?
<pie_> ok some random write benchmark i ran:
<pie_> loaded: lat (usec): min=208, max=39662, avg=14599.32, stdev=12436.19
<pie_> unloaded: lat (usec): min=31, max=705, avg=123.25, stdev=54.53
<pie_> elvishjerricco: ill try
<pie_> elvishjerricco: what, for the source, you mean urandom? :P
<pie_> im gonna have to throttle tmpfs its gonna be too fast
<exarkun> nixpkgs.pythonPackages.twisted has a number of packages in its propagatedBuildInputs - appdirs, pyhamcrest, etc - yet when I put a python package that depends on twisted into python27.buildEnv.override { extraLibs = [ ... ]; }, those packages don't appear in the resulting python environment
<exarkun> I don't understand
<pie_> elvishjerricco: yeah writing to tmpfs hasnt a single problem, system still runs great
<exarkun> I thought this was the point of propagatedBuildInputs
<elvishjerricco> pie_: So any scenario where you write to this zfs pool is slow and causes your system to lock up?
<pie_> elvishjerricco: no, only if its a big volume of writes
<pie_> elvishjerricco: well, presumably applies to smaller volume as well, just smaller impact
jgt has joined #nixos
<elvishjerricco> pie_: Strange. Meet you in #zfsonlinux? Seems a more appropriate place for this issue?
<pie_> elvishjerricco:
<elvishjerricco> Oh you're already there :P
<pie_> sure, ive been spamming there for the past while and still nohing useful xD check the scroll
<pie_> had to explain like 3 times no the read source is not the problem x'D