gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
balsoft has quit [Ping timeout: 246 seconds]
sondr3 has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<pie_> if i have a package init that works on 18.09 can I get it merged somehow, or do i need it to build on unstable? because on unstable the program crashes with a segfault...
erictapen has quit [Ping timeout: 255 seconds]
<pie_> s/unstable/master
<pie_> I guess I'm just ocnfirming what I already know
erictapen has joined #nixos
o1lo01ol1o has joined #nixos
<samueldr> it will need to go through master, thus the segfault might need to be investigated
<samueldr> pie_: on a hunch, is it #54278 that's causing the segfault?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/54278 (by minijackson, 8 weeks ago, open): Programs using gdk_pixbuf 2.38 crash with 2.36 loaders from system
<pie_> idk, i only barely know how to use git :P
<pie_> wasnt there some nixpkgs bisect script for stuff like this
<samueldr> here I'm mostly guessing :) if you use `strace -fo log.strace that-sotftware-that-segfaults` and see the mix of gdk_pixbuf things, then it's probably that issue
elibrokeit has quit [Ping timeout: 258 seconds]
elibrokeit has joined #nixos
<pie_> ugh im such a noob 'xD sigh
<samueldr> room for expansion
<pie_> i wonder if this is the same segfault i had a while back which i have no idea how i fixed
<pie_> or even what the circumstances were
<pie_> (same program)
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<pie_> samueldr, hmm it does seem to segfault near pixbuf code
<pie_> not sure what to do about it
<samueldr> it might be fixable simply by adding `wrapGAppsHook` in `nativeBuildInputs` like here https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/polar-bookshelf/default.nix#L52
<samueldr> (and obviously as a parameter to the file)
<pie_> unseting GDK_PIXBUF_MODULE_FILE does prevent the crash
<pie_> so what does adding that hook do for me?
* pie_ waits for build
adetokunbo has quit [Quit: This computer has gone to sleep]
<pie_> samueldr, adding the hook doesnt fix it
<samueldr> hm :/
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
jasongrossman has quit [Ping timeout: 264 seconds]
jasongro` has quit [Ping timeout: 264 seconds]
<pie_> samueldr, i could just "temporarily" add the unset workaround to the source
<pie_> i dont think itll break anything (?)
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
o1lo01ol1o has joined #nixos
<samueldr> no idea :)
<samueldr> I guess it really depends on what you're working on
alex`` has quit [Ping timeout: 255 seconds]
simukis has quit [Quit: simukis]
Rusty1 has joined #nixos
adam_ has joined #nixos
simukis has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #57829 → vscode-extensions.{language-haskell,hie-server}: init → https://git.io/fjvE2
<{^_^}> [nixpkgs] @roberth pushed 3 commits to master: https://git.io/fjv2T
stepcut has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
jasongro` has joined #nixos
jasongro` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @deliciouslytyped opened pull request #57835 → Wikidpad: init at WikidPad-2-3-beta13_01 → https://git.io/fjv2I
<{^_^}> #57835 (by deliciouslytyped, 17 seconds ago, open): Wikidpad: init at WikidPad-2-3-beta13_01
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<catern> blah, what the heck, why are there no MTAs which support local mail submission over IPC instead of requiring an awful setuid binary?
<catern> doesn't anybody care about how bad setuid is?! not to mention that it's annoying when you're setting up a mailserver installed with Nix...
<pie_> catern, :I
<pie_> we should complain loudly \o/
<pie_> though isnt the usual way to do that ro run a mail server i guess? :/ (what could possibly go wrong? :D)
<everybodyHertz> has anyone here successfully gotten a PR into NixOps?
<gchristensen> everybodyHertz: sure
<everybodyHertz> I'm running into a strange error and I'm not sure where I went wrong =/
adetokunbo has joined #nixos
<{^_^}> nixops#1115 (by mwilsoninsight, 3 hours ago, open): Allow Azure VMs to be reached by private IP address if specified
<gchristensen> whoa, TravisCI
<everybodyHertz> yarp
<everybodyHertz> I forked the repo, made my changes, tested, committed, and got shut down
<gchristensen> everybodyHertz: ping amine-chikhaoui (remove the `-` to get their IRC nickname) early afternoon tomorrow, UTC+01:00
<everybodyHertz> gchristensen: :+1: can do; will do;
rcshm has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57689 → modemmanager: 1.7.990 -> 1.10.0 → https://git.io/fje7k
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/fjv2C
<rcshm> hi, i am trying to compile an opengl file and i have got fatal error: 'GL/gl.h' file not found. i tried to have opengl and libopengl but those didn't work/
<pie_> samueldr, dunno what id have done if you hadnt said something about the pixbuf stuff heh
<rcshm> what do i have to have in the configuration.nix for these? thanks for your help.
o1lo01ol1o has joined #nixos
jasongro` has joined #nixos
<haslersn[m]> rcshm: Are you doing it in a nix-shell?
<rcshm> no
<rcshm> i am on nixos
<rcshm> haslersn[m]:
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<haslersn[m]> Compilation should be done in a development environment, for example with nix-shell: https://nixos.wiki/wiki/Development_environment_with_nix-shell
<rcshm> hmm. but i am building and compiling code in my project.
<rcshm> is there a way to install the lib on nixos?
everybodyHertz has left #nixos [#nixos]
<{^_^}> [nixpkgs] @ryantm merged pull request #57466 → python37Packages.xcffib: 0.6.0 -> 0.7.0 → https://git.io/fhju2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjv20
<haslersn[m]> rcshm: That would be a weird thing to do (a thing that you would do in non-Nix-systems) because then that lib is installed even if you don't work at that project at the moment. You can just place the `default.nix` that describes the build environment at the project root and when you work at the project you type `nix-shell`. You can go one step further and install `direnv` and do `echo 'use nix' > .envrc` in your project
<haslersn[m]> root. This way, the nix-shell is automatically loaded when you `cd` into the project directory and unloaded when you leave.
o1lo01ol1o has joined #nixos
<gchristensen> clever: 'round?
<pie_> rcshm, what brought you to nixos? :)
* pie_ might fall asleep any minute though
<clever> gchristensen: yep
<gchristensen> clever: can you walk me through a PR of yours?
MightyJoe has quit [Ping timeout: 245 seconds]
<clever> gchristensen: *looks*
cyraxjoe has joined #nixos
<clever> gchristensen: when hydra does a new eval, the old version reports the lowest build# it just added in the eval
<clever> gchristensen: so, if a given eval creates builds 6, 7, and 8, it will report 6 over the psql event channel
<gchristensen> okay
<clever> gchristensen: the queue-runner will then query psql, for every build >=6, that is unfinished, and begin to process jobs
<clever> gchristensen: the problem, is that build 3, was cached from a previous eval, and wont be processed
<clever> gchristensen: and so, the github status plugin, never gets told about build3 finishing on the new eval
<clever> and github is never told that the job is still passing on the new git rev
<gchristensen> interesting
<clever> gchristensen: my change, makes it report the eval# to queue-runner, which then refreshes every build in the eval
adetokunbo has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d6307162293 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<manveru> so, in case anyone is interested in elixir dev with nix: https://discourse.nixos.org/t/announcing-mixnix-build-elixir-projects-with-nix/2444 :)
hellauer has quit [Quit: WeeChat 2.4]
hellauer has joined #nixos
hellauer is now known as Guest13157
Guest13157 has quit [Client Quit]
<gchristensen> manveru++
<{^_^}> manveru's karma got increased to 4
hellauer_ has joined #nixos
cyraxjoe has quit [Remote host closed the connection]
<gchristensen> clever: I don't feel confident enough to merge it ;_;
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjv29
<{^_^}> [nixpkgs] @reanimus opened pull request #57836 → nixos/security: make duo support secure failure correctly → https://git.io/fjv2H
<clever> gchristensen: ive mostly worked around the problem by only having a single github status enabled, and ensuring its always idfferent
hellauer_ has quit [Quit: WeeChat 2.4]
hellauer_ has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #57837 → chromium: enable vaapi/hw-accel & ozone option → https://git.io/fjv2d
hellauer_ has quit [Client Quit]
adetokunbo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-channel-scripts] @grahamc closed pull request #11 → mirror-nixos-branch: create a "deployment" on GitHub on new releases → https://git.io/fjv2x
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b2b2ff73782 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixos-homepage] @grahamc closed pull request #185 → Cache the release tarball → https://git.io/fjvav
silver has quit [Quit: rakede]
<{^_^}> [nixos-homepage] @grahamc merged pull request #242 → RSS fixes → https://git.io/fAjPx
<{^_^}> [nixos-homepage] @grahamc pushed 9 commits to master: https://git.io/fjvaJ
<gchristensen> thank you for your good code reviews, samueldr
<samueldr> you're welcome
<rcshm> sorry haslersn[m]: was away from my desk just now.
<rcshm> just think of working on nixos like i was on ubuntu. just apt-get and install packages.
psy3497 has joined #nixos
psy3497 has quit [Client Quit]
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
<rcshm> pie_: i am just testing thing out while developing haskell basically.
stepcut has joined #nixos
ErAsMuS is now known as erasmus
<rcshm> haslersn[m]: what should i have in the default.nix for opengl?
<{^_^}> [nixpkgs] @pacien opened pull request #57838 → [WIP] riot-desktop: init at 1.0.4 → https://git.io/fjvat
o1lo01ol1o has joined #nixos
stepcut has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #57839 → go: fix darwin sandboxed build → https://git.io/fjvaY
o1lo01ol1o has quit [Ping timeout: 255 seconds]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<haslersn[m]> rcshm: `...ghcWithPackages` passes the available haskell package collection to `(p: [ p.OpenGL ]))`. This way, the newest OpenGL version available is used.
ym555 has quit [Quit: leaving...]
stepcut has joined #nixos
goibhniu1 has quit [Ping timeout: 272 seconds]
<rcshm> no, this project is a c++ though.
stepcut has quit [Ping timeout: 250 seconds]
camsbury has quit [Ping timeout: 245 seconds]
<rcshm> haslersn[m]:
Supersonic has quit [Ping timeout: 258 seconds]
freeman42y has quit [Ping timeout: 258 seconds]
jasongro` has joined #nixos
jasongro` has quit [Read error: Connection reset by peer]
Supersonic has joined #nixos
<haslersn[m]> rcshm: The name now doesn't make sense :) Also note that inside a nix-shell, the so-called `stdenv` is loaded which contains among other stuff a C++ compiler. So there's no need to install the compiler on your system.
stepcut has joined #nixos
<{^_^}> [nixpkgs] @kalbasit closed pull request #57839 → go: fix darwin sandboxed build → https://git.io/fjvaY
<CMCDragonkai> Is there documentation on how to put the nix store on NFS?
justanotheruser has quit [Ping timeout: 268 seconds]
<CMCDragonkai> haslersn[m]: that is not very descriptive, i'd like to know how to do it from scratch given the initial nixos install, and from an existing nix store
<{^_^}> nix#1441 (by unode, 1 year ago, open): Support for /nix/store on NFS drives
orivej has quit [Ping timeout: 246 seconds]
<haslersn[m]> CMCDragonkai: In case that's not what you're looking for and in case you use NixOS: I suspect that you have to boot into the NixOS installer, delete `/nix`, mount the ZFS, regenerate hardware config (`nixos-generate-config`) and then install (`nixos install`). Though I don't know if regenerating the hardware config is enaugh for the ZFS mount to be configured into the system.
<CMCDragonkai> I do use ZFS, but I'm not sure what your comment has to do with NFS here?
<haslersn[m]> CMCDragonkai: It goes without saying that you have to mount all your partitions and stuff after booting into the NixOS installer.
<haslersn[m]> Sorry, I mixed them up
jasongro` has joined #nixos
<CMCDragonkai> It seems discourse.nixos.org is down
<haslersn[m]> Looks up for me
justanotheruser has joined #nixos
jasongro` has quit [Client Quit]
<gchristensen> up from here too (also, we don't actually host it)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #57840 → colord: 1.4.2 -> 1.4.4 → https://git.io/fjva0
<rcshm> haslersn[m]: thanks, that seems to take care of the errors. but i am now having different errors. so might be back for more help. :). thanks again.
stepcut has quit [Ping timeout: 245 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
stepcut has joined #nixos
rcshm has quit []
pie_ has joined #nixos
pie_ has quit [Changing host]
countingsort has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57841 → cherry: 1.2 -> 1.3 → https://git.io/fjvaz
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57842 → lab: generate and install zsh completion → https://git.io/fjva2
buffet has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57843 → python3Packages.PyChromecast: 2.5.2 -> 3.0.0 → https://git.io/fjvaa
o1lo01ol1o has quit [Ping timeout: 246 seconds]
bemeurer has joined #nixos
<bemeurer> Hi everyone :)
<bemeurer> I just got NixOS set up on my home server for some experimentation
<bemeurer> I have to say the setting up process was a bliss
<bemeurer> Never had so little trouble getting a ZFS-rooted linux install
<bemeurer> Now, I'm curious, could NixOS be used in a Gentoo-esque way, building everything instead of fetching from the binary cache?
stepcut has quit [Remote host closed the connection]
<bemeurer> If so, could I set CFLAGS, etc, somewhere? in /etc/nixos/configuration.nix I suppose?
<{^_^}> [nixpkgs] @domenkozar pushed to master « cachix: use synced, upstream haskell packages »: https://git.io/fjvaw
<edef> i'm not sure why you'd want to
<edef> but, it won't fetch from a binary cache if you modify a package
<{^_^}> [nixpkgs] @domenkozar closed pull request #57545 → cachix: compose overrides → https://git.io/fhjFn
<haslersn[m]> bemeurer: Did you try the NixOS option `nix.binaryCaches = lib.mkForce [ ];` ?
<edef> if you change anything, literally not the same package anymore, nix has no idea the two are even related
<bemeurer> haslersn[m]: That solves half the problem, yeah :)
<bemeurer> The other half is how can I set the build options globally
<bemeurer> e.g. I always want CFLAGS += -march=native
<edef> uhh
<edef> march=native doesn't super make sense for nixpkgs
<bemeurer> edef: Why is that? (genuine question)
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<simpson> I think that we do support such a thing for the packages that it *does* make sense for (ffmpeg maybe?) but it's not the kind of thing that you'd set systemwide.
<bemeurer> simpson: I mean, in packages where this makes no difference it doesn't matter what CFLAGS is set to anyway, no?
<simpson> bemeurer: As a former Gentoo contributor myself, I had to let go of tiny-to-nonexistent gains in non-CPU-bound packages from CFLAGS.
<bemeurer> simpson: Yeah, I'm trying to move from Gentoo, hahaha
simukis has quit [Quit: simukis]
<bemeurer> In this particular box it makes no difference whatsoever. But the CFLAGS I crafted on my work laptop yield about -1W power consumption sometimes
<bemeurer> Which is not something I want to give up
vk3wtf has joined #nixos
<simpson> Ooh, this sounds like it would make an interesting case study.
<simpson> Do you happen to know which packages or applications in particular are sensitive in your typical setup?
<bemeurer> simpson: Not really. I'm a Rust SWE, so the test was:
jasongro` has joined #nixos
jasongro` has quit [Remote host closed the connection]
<bemeurer> 1. Set it up with a globally keyworded gentoo, default cflags, etc
<bemeurer> 2. Compile Rust, sway, firefox
<bemeurer> 3. Watch powertop and time the compilation of our large codebase (takes ~16mins from a cold start)
<bemeurer> 4. Set it up with GentooLTO configs https://github.com/InBetweenNames/gentooLTO
<bemeurer> 5. Re-emerge everything overnight
stepcut has joined #nixos
<bemeurer> 6. Same procedure compiling the codebase. Saved a little bit on time, and the wattage was lower overall
<bemeurer> Also idling it was lower, IIRC
<bemeurer> Tests done while on a full battery, rest was plugged in
<bemeurer> I did it as soon as I got the Thinkpad P1, so sometime Q4 last year
<simpson> Interesting. I expect that a similar Nix-based workflow would involve far less compiling, but perhaps with an impact to your idling power consumption. However, I'm not sure what to expect.
<{^_^}> [nixpkgs] @peterhoeg merged pull request #55870 → zoneminder: add some of the missing ONVIF dependencies → https://git.io/fh5Yy
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fjvay
<bemeurer> simpson: I'd be up for testing it :)
<{^_^}> [nixpkgs] @peterhoeg merged pull request #56334 → shairplay: 2016-01-01 -> 2018-08-24 and add avahi-compat convenience derivation → https://git.io/fhbr5
<{^_^}> [nixpkgs] @peterhoeg pushed 4 commits to master: https://git.io/fjvaS
<bemeurer> I can do the non-optimized test right now, actually
stepcut has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #57777 → broadlink-cli: init at 0.9 → https://git.io/fjvnW
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjvaH
<bemeurer> Building our nix-shell
<bemeurer> simpson: Timing
* simpson equips safety goggles and stands back an appropriate distance
* edef dresses simpson up all nice in a lab coat
rardiol1 has left #nixos [#nixos]
<bemeurer> real 3m52.335s
<bemeurer> user 11m53.562s
<bemeurer> sys 0m13.396sY
<bemeurer> simpson: The results are in :P
<bemeurer> Release build from a clean cache
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
erasmus has quit [Read error: Connection reset by peer]
<simpson> That's in the ballpark, right? That's not bad.
vk3wtf has quit [Ping timeout: 250 seconds]
<bemeurer> Yeah, it's kinda there, I suppose
<bemeurer> Now we'd have to time it with a build-everything setup I guess
endformationage has quit [Quit: WeeChat 2.4]
vk3wtf has joined #nixos
<pie_> i always get hung up on one or the other variation of this
<pie_> how can i get the binaries of a built package to be in my PATH if i run something like nix-shell mystuff.nix#
<Church-> Oh heya bemeurer
<{^_^}> [nixpkgs] @peterhoeg merged pull request #55105 → mpw: point upgrade and minor cleanups → https://git.io/fhSRd
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjvVf
<Church-> Never actually seen you here :p
<pie_> i discovered the mozilla nix repo the other day
<bemeurer> Church-: I come by sometimes
<bemeurer> simpson: I really wish NixOS made it easy to customize CFLAGS, etc
<Church-> Nod
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #57251 → ocamlPackages.ocp-index: 1.1.8 -> 1.1.9 → https://git.io/fhh7H
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocp-index: 1.1.8 -> 1.1.9 »: https://git.io/fjvVt
rauno has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
drakonis_ has joined #nixos
nicolas has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
fusion809 has joined #nixos
devalot has quit [Remote host closed the connection]
<infinisil> bemeurer: Doesn't `NIX_CFLAGS_COMPILE` do that for nix builds?
o1lo01ol1o has joined #nixos
<bemeurer> infinisil: I don't know, literally first day trying NixOS :)
<{^_^}> [nixpkgs] @vbgl opened pull request #57844 → dune: 1.6.2 -> 1.8.2 → https://git.io/fjvVZ
o1lo01ol1o has quit [Ping timeout: 272 seconds]
illegalprime has quit [Ping timeout: 252 seconds]
nicolas has quit [Quit: asaaa]
nicolas has joined #nixos
rcshm has joined #nixos
jtojnar has joined #nixos
jtojnar has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57709 → vala updates → https://git.io/fjep2
<{^_^}> [nixpkgs] @worldofpeace pushed 10 commits to staging: https://git.io/fjvVu
Purple-mx has joined #nixos
nicolas has quit [Quit: asaaa]
nicolas has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #57845 → minicom: 2.7.1 -> 2.7.90 → https://git.io/fjvVg
wfranzini has quit [Remote host closed the connection]
rcshm has quit []
illegalprime has joined #nixos
nicolas has quit [Quit: asaaa]
chreekat has joined #nixos
Dr8128 has joined #nixos
jasongro` has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
jasongrossman has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
chreekat has quit [Ping timeout: 264 seconds]
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
adam_ has quit [Ping timeout: 246 seconds]
InFlames has joined #nixos
hyper_ch2 has joined #nixos
crmlt has joined #nixos
Izorkin has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
Izorkin has joined #nixos
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
Izorkin has quit [Client Quit]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/6a3a05560a4 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
random_yanek has joined #nixos
Makaveli7 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has joined #nixos
rauno has joined #nixos
Myhlamaeus has quit [Quit: WeeChat 2.2]
<musicmatze> I don't know whether I asked this before: Would it technically be possible to build deb/rpm packages with nix? Maybe even from the already existing package defintions in nixpkgs? I do not have any experience with deb/rpm, that's why I don't know whether it would be possible on the deb/rpm side of things...
adetokunbo has quit [Quit: This computer has gone to sleep]
<musicmatze> bemeurer: I have a function for that, but am at the office right now where I do not have access to my devices, unfortunately.
<bemeurer> musicmatze: What exactly?
Glider_IRC__ has joined #nixos
<musicmatze> I have a function `optimizeForHost` which you can call on a package and it alters the package to include CFLAGS "-O3" and others for the package.
periklis has joined #nixos
<bemeurer> musicmatze: Interesting
<musicmatze> but I guess the NIX_CFLAGS_COMPILE is what you want
<bemeurer> I just wanted a way to apply something like that globally
<musicmatze> ah, okay... no I do not have that unfortunaltely. I guess if you find an easy way, you can submit a patch to nixpkgs for it.
<bemeurer> Definitely :)
wfranzini has joined #nixos
Glider_IRC_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @tomfitzhenry opened pull request #57847 → llvm: mark as big-parallel → https://git.io/fjvwB
reinhardt has joined #nixos
pie_ has quit [Ping timeout: 255 seconds]
adetokunbo has joined #nixos
Izorkin has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ff43f0a7b51 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
johanot has joined #nixos
bemeurer has quit [Quit: WeeChat 2.4]
Izorkin has quit [Ping timeout: 245 seconds]
grizwako has joined #nixos
reinhardt has quit [Ping timeout: 255 seconds]
civodul has joined #nixos
balsoft has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/b2b2ff73782 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
balsoft has quit [Read error: Connection reset by peer]
balsoft has joined #nixos
reinhardt has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #57848 → compcert: fix source hash → https://git.io/fjvrL
linarcx has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #57849 → hydra: 2019-02-01 -> 2019-03-18 → https://git.io/fjvrq
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #57708 → coqPackages.coq-simple-io: 0.2 -> 1.0.0 → https://git.io/fjep0
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.coq-simple-io: 0.2 -> 1.0.0 »: https://git.io/fjvrm
pie_ has joined #nixos
crmlt has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
adetokunbo has quit [Quit: This computer has gone to sleep]
reinhardt has quit [Ping timeout: 250 seconds]
countingsort is now known as buffet
<srhb> Yaargh. I have this really annoying issue where every virt-viewer console I have, regardless of guest OS, tends to suddenly be unresponsible for like 10 seconds. It appears to happen more often when I'm actually typing something into the console. I have no idea where to start debugging this, any great ideas? :)
<srhb> Resources look fine on both host and guest
reinhardt has joined #nixos
<srhb> Er, unresponsive. Though frankly, most of them are Windows, so I guess irresponsible too.
pmiddend has joined #nixos
jasongro` has quit [Remote host closed the connection]
crmlt has joined #nixos
adetokunbo has joined #nixos
<pmiddend> I'm building an expression which uses "Cython" and am not sure if I have to explicitly set an rpath via some additional linker flags in Nix.
jasongrossman has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
thc202 has joined #nixos
<Taneb> Is there anything in nixpkgs for rust that's similar to callCabal2nix?
linarcx has joined #nixos
<Taneb> Aha, maybe rustPlatform.buildRustPackage is what I'm looking for
crmlt has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #57850 → pythonPackages.pysideTools: fix compilation → https://git.io/fjvrF
<balsoft> Who can ask grahamc automation to build a package?
<balsoft> Only contributors?
<{^_^}> [nixpkgs] @vbgl merged pull request #57639 → coqPackages.contribs.containers: enable for Coq 8.9 → https://git.io/fjezu
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.contribs.containers: enable for Coq 8.9 »: https://git.io/fjvrN
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos
<balsoft> So basically I have to wait for a trusted or known user to come and build?
<musicmatze> balsoft: what PR?
<balsoft> I have two waiting
<balsoft> Though the one I care about is https://github.com/NixOS/nixpkgs/pull/57834
<{^_^}> #57834 (by balsoft, 11 hours ago, open): kanshi: init at 2019-02-02
crmlt has joined #nixos
balsoft has quit [Client Quit]
balsoft has joined #nixos
<balsoft> Cause I use this software, and I don't like having packages in my local repo without sharing them with thte world
<balsoft> Kanshi is very useful on wayland, it's basically an autorandr replacement
<musicmatze> I triggered grahamcofborg for you
<balsoft> Thank you very much!
<balsoft> Now let's hope it builds
<musicmatze> you're welcome
zupo has joined #nixos
<balsoft> musicmatze: it builds, thank you again.
zupo_ has joined #nixos
<sphalerite> srhb: yeah I have that too… updating libvirt and friends would be nice, but it seems that that's a non-trivial task
zupo has quit [Ping timeout: 272 seconds]
slack1256 has joined #nixos
balsoft_ has joined #nixos
balsoft has quit [Quit: Konversation terminated!]
balsoft_ has quit [Client Quit]
balsoft has joined #nixos
balsoft has joined #nixos
balsoft has quit [Client Quit]
balsoft has joined #nixos
balsoft has quit [Client Quit]
InFlames has quit [Ping timeout: 250 seconds]
balsoft has joined #nixos
pmiddend has quit [Quit: WeeChat 2.4]
balsoft has quit [Quit: Quit]
balsoft has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57834 → kanshi: init at 2019-02-02 → https://git.io/fjvza
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjvoM
<srhb> sphalerite: Oh, I didn't realize that was problematic.
ilmu has quit [Ping timeout: 246 seconds]
reinhardt has quit [Ping timeout: 268 seconds]
<sphalerite> srhb: libvirt itself seems fine, but the graphical stuff moved to gobject-introspection, and those files don't seem to be generated/installed if you upgrade libvirt the obvious way
xkapastel has joined #nixos
ThatDocsLady has joined #nixos
balsoft has quit [Read error: Connection reset by peer]
balsoft has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57822 → nmap: lua scripting support is optional → https://git.io/fjvR9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjvoj
ng0 has joined #nixos
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #57851 → reuse: Init at 0.3.3 → https://git.io/fjvKk
reinhardt has joined #nixos
vanyaklimenko has joined #nixos
infinee has quit [Quit: WeeChat 2.3]
vanyaklimenko is now known as ksixty
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos
slack1256 has quit [Remote host closed the connection]
crmlt has quit [Ping timeout: 246 seconds]
rycwo has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 259 seconds]
Avaq has joined #nixos
Avaq has quit [Client Quit]
Izorkin has joined #nixos
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos
domogled has quit [Quit: domogled]
<teto> what's the most elegant way to check if an attribute is/has a haskell package? python has `hasPythonModule`
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.32 « fixup! pantheon.elementary-photos: fix build »: https://git.io/fjvKA
Guest60922 has quit [Read error: Connection reset by peer]
sinner has joined #nixos
sinner is now known as Guest15817
crmlt has joined #nixos
Ralith_ has quit [Ping timeout: 245 seconds]
Ralith_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #57850 → pythonPackages.pysideTools: fix compilation → https://git.io/fjvrF
And has joined #nixos
And has quit [Killed (freenode-connect (The application you are using is no longer permitted to connect to the freenode network. For questions, contact kline@freenode.net))]
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos
alex`` has joined #nixos
<dhess> Why would a derivation that does an import-from-derivation complain that "attribute 'out' missing, at /nix/store/qfb4phv9y1wcs4caxb0d5c9rggjdwpwh-source/lib/customisation.nix:170:22" ?
Andrey__ has joined #nixos
<Andrey__> Hi, does anybody run Sway on NixOS, I am stuck with the configuration.
<dhess> this particular derivation does exactly what nixpkgs's pkgs.dhallToNix does, except that it sets src = ./. so that I can pull in a whole directory of Dhall files, rather than just the one
jomik has joined #nixos
<jomik> Hey, I am trying to patch rpath for a binary given by my university, troupec. It needs ncurses5 - I get this error though `no version information available (required by troupec)`
linarcx has quit [Ping timeout: 250 seconds]
<jomik> I also get a lot of `wrong ELF output` probably because it is touching stuff in a node_modules folder, which is bundled with the binaries.
dycan has joined #nixos
linarcx has joined #nixos
simukis has joined #nixos
balsoft has quit [Ping timeout: 250 seconds]
Izorkin has quit [Quit: ZNC 1.7.2 - https://znc.in]
Izorkin has joined #nixos
balsoft has joined #nixos
cransom has quit [Ping timeout: 258 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @michaelpj to release-19.03 « generic Haskell builder: don't copy packages from GHC »: https://git.io/fjv6P
__monty__ has joined #nixos
<Taneb> If I wanted to override the version of haddock that all the Haskell stuff uses, how would I go about it?
vk3wtf has joined #nixos
equivrel has quit [Quit: ERC (IRC client for Emacs 26.1)]
Andrey__ has quit [Quit: Page closed]
equivrel has joined #nixos
balsoft has quit [Ping timeout: 250 seconds]
vk3wtf has quit [Ping timeout: 264 seconds]
crmlt has quit [Ping timeout: 245 seconds]
Izorkin has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @Enzime opened pull request #57852 → anki: 2.1.9 -> 2.1.11 → https://git.io/fjviY
linarcx has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
linarcx has joined #nixos
silver has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
vk3wtf has joined #nixos
ilmu has joined #nixos
<{^_^}> [nixpkgs] @buffet opened pull request #57853 → cherry: 1.2 -> 1.3 → https://git.io/fjviW
<{^_^}> [nixpkgs] @buffet closed pull request #57853 → cherry: 1.2 -> 1.3 → https://git.io/fjviW
Izorkin has joined #nixos
<gchristensen> up from here too (also, we don't actually host it)
<gchristensen> oops....
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
periklis has quit [Ping timeout: 246 seconds]
<pie_> infinisil, turns out i dont actually need an old version of eclipse
<pie_> infinisil, 1) i didnt know what this ant thing is 2) i still dont know how to make it not be missing
freeman42x has joined #nixos
<{^_^}> [nixos-homepage] @grahamc pushed to master « Packet.net -> Packet.com »: https://git.io/fjviV
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jomik has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b16f32acd42 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
crmlt has joined #nixos
vk3wtf has quit [Ping timeout: 244 seconds]
Makaveli7 has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
waleee has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
rprije has quit [Ping timeout: 245 seconds]
regulus_ has quit [Ping timeout: 244 seconds]
arjen-jonathan has joined #nixos
zupo has joined #nixos
dycan has quit [Remote host closed the connection]
martinb has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Taneb opened pull request #57854 → Doc fix: use correct function name in type signature for concatIMapStringsSep → https://git.io/fjviH
Fare has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjvPv
<{^_^}> [nixpkgs] @grahamc merged pull request #57854 → Doc fix: use correct function name in type signature for concatIMapStringsSep → https://git.io/fjviH
mmlb977 has quit [Ping timeout: 246 seconds]
regulus_ has joined #nixos
drakonis has joined #nixos
arjen-jonathan has quit [Ping timeout: 245 seconds]
rycwo has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
init_6 has quit [Ping timeout: 250 seconds]
regulus_ has quit [Ping timeout: 246 seconds]
regulus_ has joined #nixos
<Taneb> That's the quickest I've ever seen a PR get merged for, like, anything
<Taneb> I guess obvious documentation fixes don't need much review :D
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
crmlt has quit [Read error: Connection reset by peer]
everybodyHertz has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crmlt has joined #nixos
arjen-jonathan has joined #nixos
eskytthe has joined #nixos
eskytthe has left #nixos [#nixos]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
camsbury has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
balsoft has joined #nixos
linarcx has joined #nixos
o1lo01ol1o has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
Ralith_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nix] @edolstra merged pull request #2729 → backport nix-daemon fork safety to 2.2 → https://git.io/fjejA
<{^_^}> [nix] @edolstra pushed 2 commits to 2.2-maintenance: https://git.io/fjvP5
<{^_^}> [nix] @edolstra merged pull request #2731 → Link to `builders-use-substitutes` in chapter on distributed builds → https://git.io/fjvYB
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjvPd
Rusty1 has joined #nixos
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
jtojnar has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @dotlambda opened pull request #57855 → python.pkgs.cairocffi: make withXcffib work again → https://git.io/fjvPh
<{^_^}> [nixpkgs] @7c6f434c merged pull request #57847 → llvm: mark as big-parallel → https://git.io/fjvwB
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging-18.09: https://git.io/fjvPj
vidbina has quit [Ping timeout: 246 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « abcm2ps: 8.14.3 -> 8.14.4 »: https://git.io/fjvXU
vidbina has joined #nixos
uwap has joined #nixos
vidbina has quit [Ping timeout: 250 seconds]
arjen-jonathan has quit [Ping timeout: 250 seconds]
ilmu has quit [Ping timeout: 268 seconds]
martinb has left #nixos ["Leaving"]
timor has joined #nixos
reinhardt has quit [Ping timeout: 246 seconds]
uwap has quit [Remote host closed the connection]
uwap has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57840 → colord: 1.4.2 -> 1.4.4 → https://git.io/fjva0
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjvXo
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<spacekookie> I'm on nixos-unstable and I've been having this weird issue for a week or so where glibc/lib/locales doesn't contain any locales which has been causing all sorts of issues for me. Anyone know what could cause this?
hyper_ch_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch has joined #nixos
arjen-jonathan has joined #nixos
reinhardt has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.32 « squash! gnome3.totem: 3.30.0 -> 3.32.0 »: https://git.io/fjvXx
schjetne has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 255 seconds]
ilmu has joined #nixos
xkapastel has joined #nixos
regulus_ has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
Fare has quit [Ping timeout: 250 seconds]
<musicmatze> Hi. I'm trying to install nix on a centos7 right now and experiencing problems with the installer script
<musicmatze> I get a "error: cloning builder process: Invalid argument" from the script
<musicmatze> does someone have a pointer for me?
<manveru> musicmatze: hmm, no support for user namespaces maybe?
<{^_^}> nix#2632 (by joelthompson, 8 weeks ago, open): Nix 2.2.x fails install on CentOS 7
o1lo01ol1o has quit [Ping timeout: 250 seconds]
regulus_ has joined #nixos
rauno has quit [Ping timeout: 272 seconds]
ramses_ has joined #nixos
linarcx has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
regulus_ has quit [Ping timeout: 272 seconds]
Makaveli7 has quit [Quit: Leaving]
rycwo has joined #nixos
Ralith_ has joined #nixos
zupo has joined #nixos
erasmus has joined #nixos
arjen-jonathan has quit [Ping timeout: 272 seconds]
bwbush[m] is now known as Brio[m]
miguelnegrao has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #57856 → nixos/zsh: enable configure history and custom options → https://git.io/fjv1F
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/757bbe726ff (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
arjen-jonathan has joined #nixos
balsoft has quit [Ping timeout: 268 seconds]
miguelnegrao has quit [Quit: miguelnegrao]
<Dandellion[m]> does anyone happen to know the current way of installing azure-cli 2 (the python one)?
Jetien_ has joined #nixos
<Dandellion[m]> There's an old overlay and some abandonded issues for packaging it
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
HatesLongFiles has joined #nixos
o1lo01ol1o has joined #nixos
miguelnegrao has joined #nixos
Jetien has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<musicmatze> manveru: I think it might be https://github.com/NixOS/nix/issues/2651
<{^_^}> nix#2651 (by braedenf, 7 weeks ago, open): Installing Nix fails on Ubuntu 18.04.1 LTS Error: cloning builder process: Invalid argument
<musicmatze> currently trying with `sandbox=false`
<musicmatze> yeah, it was that.
<musicmatze> and `sandbox=false` helps
endformationage has joined #nixos
npmccallum has joined #nixos
camsbury- has joined #nixos
ilmu has quit [Ping timeout: 250 seconds]
jomik has joined #nixos
vidbina has joined #nixos
Makaveli7 has joined #nixos
miguelnegrao has quit [Quit: miguelnegrao]
Jetien__ has joined #nixos
regulus_ has joined #nixos
reinhardt has quit [Ping timeout: 246 seconds]
hellauer has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #57745 → csvkit: move out of pythonPackages → https://git.io/fjvTb
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjvM5
miguelnegrao has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
Jetien_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fjvMd
hellauer has quit [Remote host closed the connection]
philippD has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.mysqlclient: fix build »: https://git.io/fjvMj
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « python.pkgs.mysqlclient: fix build »: https://git.io/fjvDv
miguelnegrao has quit [Quit: miguelnegrao]
winem_ has joined #nixos
<jomik> Anyone know how to fix this error? `no version information available (required by troupec)` I haved patched the interpreter and rpath - it happened after I added ncurses5 to the rpath.
<jomik> I am setting rpath to `{stdenv.cc.cc.lib.out}/lib:${pkgs.ncurses5.out}/lib`
reinhardt has joined #nixos
regulus_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.pycaption: fix build »: https://git.io/fjvDY
<{^_^}> [nixpkgs] @dotlambda merged pull request #57843 → python3Packages.PyChromecast: 2.5.2 -> 3.0.0 → https://git.io/fjvaa
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « python3Packages.PyChromecast: 2.5.2 -> 3.0.0 (#57843) »: https://git.io/fjvDO
<jomik> this is the full derivation https://git.io/fjvDL
Fare has joined #nixos
stepcut has joined #nixos
rycwo has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @srhb opened pull request #57857 → pythonPackages.secretStorage: 3.1.0 -> 3.1.1 → https://git.io/fjvDE
hellauer has joined #nixos
matthewbauer[m] is now known as matthewbauer
regulus_ has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
waleee has quit [Quit: WeeChat 2.4]
camsbury- has quit [Remote host closed the connection]
stepcut has quit [Ping timeout: 250 seconds]
ramses_ has joined #nixos
reinhardt has quit [Quit: Leaving]
miguelnegrao has joined #nixos
stepcut has joined #nixos
<ramses_> Hey guys. I have a NixOS server which has curl 7.64 installed but which consistently throws errors while downloading from cache.nixos.org during nixos-rebuild. When I run curl manually I get the same error (HTTP error 200 (curl error: Stream error in the HTTP/2 framing layer)) but when I run curl with --http1.1 or when I use wget, everything works fine
<ramses_> Is there any way to have nixos-rebuild not use http2 ?
hellauer has quit [Ping timeout: 272 seconds]
miguelnegrao has quit [Quit: miguelnegrao]
hellauer has joined #nixos
<srhb> ramses_: http2 = false for your nix config.
<{^_^}> [nixpkgs] @jtojnar pushed 8 commits to gnome-3.32: https://git.io/fjvDd
<ramses_> srhb: I put this in nix.extraOptions in my NixOS config?
<srhb> ramses_: Yup.
takeda has joined #nixos
<ramses_> srhb: Aight, I try that right away, thanks!
<srhb> ramses_: Sure thing.
Ralith_ has quit [Quit: Lost terminal]
<srhb> I'd be more curious why it fails though :-)
fusion809 has quit [Remote host closed the connection]
HatesLongFiles has quit [Ping timeout: 245 seconds]
pie_ has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #57284 → jl: Patch to work with MonadFail GHC 8.6 change → https://git.io/fhhxK
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to gnome-3.32: https://git.io/fjvyL
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjvyt
stepcut has quit [Ping timeout: 255 seconds]
pointfourone has joined #nixos
<takeda> What's the correct way to use private repos? I have an golang application that has few internal dependencies. The dependencies are on github but in private repos. And I'm running into issues, because nix (correctly) changes environment variables (such as HOME) to prevent side effects. I already modified vgo2nix so it uses ssh://git@github.com for github repos and it can generate deps.nix but now I am still
miguelnegrao has joined #nixos
<takeda> running into issues when building the code. I found about fetchGitPrivate but it looks like nixpkgs doesn't support it with golang. Any suggestion what can be done?
pointfourone has quit [Client Quit]
<{^_^}> [nixpkgs] @srhb pushed to release-19.03 « jl: Patch to work with MonadFail GHC 8.6 change »: https://git.io/fjvyY
<jomik> takeda: If you have your own checkout locally, then you can use that, I am pretty sure. Not sure why you can't use fetchGitPrivate though.
vidbina has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> takeda: You could try overriding buildGoPackage, passing builtins.fetchGit instead of fetchgit
<srhb> takeda: Not sure if it's entirely argument compatible, but worth a shot
<{^_^}> [nixpkgs] @fgaz opened pull request #57858 → drawpile: 2.1.2 -> 2.1.3 → https://git.io/fjvyG
devalot has joined #nixos
<jomik> Oh, srhb he could pass fetchGitPrivate as fetchGit, couldn't he? From what I see, fetchGitPrivate just wraps fetchGit
vidbina has quit [Read error: Connection reset by peer]
<srhb> jomik: I think builtins.fetchGit in general has nicer behaviour for fetching private repositories than fetchGitPrivate
<takeda> I think there are two fetchGit one that is now builtin and another that is defined in nixpkgs. The later can't use .gitconfig from $HOME. I had some weird issue that the build initially worked then I did nix-collect-garbage and started seeing the issue, I suspect that vgo2nix porecached it.
<srhb> takeda: Exactly.
<takeda> jomik: I'll try extraSrcs
<srhb> takeda: So if you pass buildGoPackage.override { fetchgit = builtins.fetchGit; } -- what happens?
<srhb> This relies on them being sufficiently argument compatible that it'll "just work" which I'm not sure it is, but worth a quick try.
<{^_^}> [nixpkgs] @dotlambda pushed to master « bonfire: use pytest_3 »: https://git.io/fjvyn
<jomik> oooh, yeah, that makes sense too
<takeda> oh, that could work :)
stepcut has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « bonfire: use pytest_3 »: https://git.io/fjvyC
<srhb> takeda: Hmm, no, builtins.fetchGit does not take sha256...
<srhb> But we can mangle it and manipulate the arguments.
<srhb> Nix, crazy stuff... :-)
<takeda> let me try
<yl[m]> Mic92: w.r.t #57805 what's the reservation for backporting migration of existing packages?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/57805 (by kalbasit, 23 hours ago, open): buildGoModule: backport the new Go infrastructure to release 19.03
<srhb> Oh, needs a rev too to be stable.
<srhb> But yeah, just inherit that too.
benhoman has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
benhoman has joined #nixos
pie_ has joined #nixos
pie_ has quit [Changing host]
<takeda> srhb: I'm getting now a different error (looks like unrelated), but I think it is working, thank you.
<srhb> takeda: Welcome. :)
hyper_ch2 has quit [Ping timeout: 256 seconds]
<srhb> As to whether this should be in the go infrastructure.... I think because builtins.fetchGit is a lot slower than the usual method, and it's so simple to override this behaviour, it probably doesn't warrant a new feature.
<srhb> But opinions may differ.
<takeda> but maybe fetchPrivateGit could be added to that list? TBH I would prefer if deps.nix was a proper nix file, so I could just use the right fetch that I need for the right repo.
<srhb> takeda: I don't have a strong opinion, but I don't think it's better than reusing the existing override machinery, really.
<srhb> But yes, I suppose you could argue that goDeps.nix should really just be an expression that ensures the sources are there.
<srhb> That seems pretty clean semantically.
erasmas has joined #nixos
scientist has joined #nixos
<srhb> There's already too much logic in dep2src...
<takeda> but override applies to all dependencies I only have two private repos and as you said the builtin is slower
<scientist> hello guys, i would like to set a terminal command to execute automatically right after each boot or reboot. how would i do this in nixos ?
<srhb> takeda: I guess I sort of agree. So, what I guess I think should happen is make dep2src overrideable. Then you can just provide your own type as you see fit, falling back to the default dep2src when it's not your custom type.
<srhb> scientist: Sounds like a job for systemd.
<srhb> scientist: What does the command do? :)
<srhb> scientist: (There might be better mechanisms in place, depending on what you need)
<elvishjerricco> srhb: I think the perf problems with builtins.fetchGit have been fixed IIRC (not sure if it's released yet). Now the main issue is submodules.
ddellacosta has joined #nixos
<srhb> Oh really? Nice!
<elvishjerricco> Also what is dep2src?
<scientist> srhb: xkbcomp layout.xkb $DISPLAY , i would like to set this command to automatically execute right away so i can sign in and use my custom layout without having to always do it manually (you can see how this will get very annoying after some time) any tips ?
<srhb> elvishjerricco: It's a go specific thing, an unexposed function that transform a single goDep from goDeps.nix into a fetched source
<srhb> scientist: Personally I do that in my xsession file (since $DISPLAY actually exists at that point) but that depends on what desktop environment you use I suppose.
<scientist> srhb: kde plasma 5
hellauer has quit [Quit: WeeChat 2.4]
<srhb> scientist: You'll have to tweak it a bit to not rely on home manager things, but it should do the job for you, triggering once a) you log in and b) you have a graphical session
waleee has joined #nixos
yl has joined #nixos
crmlt has quit [Read error: Connection reset by peer]
Ariakenom has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #57857 → pythonPackages.secretstorage: 3.1.0 -> 3.1.1 → https://git.io/fjvDE
<{^_^}> [nixpkgs] @dotlambda pushed commit from @srhb to master « pythonPackages.secretstorage: 3.1.0 -> 3.1.1 (#57857) »: https://git.io/fjvSU
<scientist> srhb: well i want that command to execute right after bootup, so i can sign in with my custom keyboard layout (it would be to confusing switching back in forth between qwerty and my custom layout)
<elvishjerricco> Is there a tool for auditing a derivation's closure for packages/versions with known vulnerabilities?
<{^_^}> [nixpkgs] @dotlambda pushed commit from @srhb to release-19.03 « pythonPackages.secretstorage: 3.1.0 -> 3.1.1 (#57857) »: https://git.io/fjvSk
drakonis has quit [Quit: WeeChat 2.3]
i1nfusion has joined #nixos
<srhb> elvishjerricco: I haven't checked, but I *thought* that's what vulnix does.
<elvishjerricco> Oh neat
<srhb> Also what a cool name. Just needs an evil bird logo. Eating a lambda.
<elvishjerricco> srhb: Haha. Just checked it out. Seems to only operate on a whole store, not specific derivations
<srhb> elvishjerricco: "Check nix-build output together with its transitive closure: vulnix result/"
<elvishjerricco> This honestly seems like something that could be written in straight Nix
rycwo has joined #nixos
<elvishjerricco> Oh good
<mdash> today I got a snazzy new Thunderbolt dock for my Lenovo X1C. Now I'm learning about `boltctl`
<mdash> Any of y'all have advice on how to get a dbus activated system service configured?
<jomik> Anyone here good with patching elf files? I can't seem to solve this issue patching a compiler that my university has made :/ It gives me the error `no version information available` after I add ncurses5 to the rpath, which, google tells me is because of a version mismatch.
<scientist> srhb: well where is this xsession file and does it execute right after the nixos bootup ?
<scientist> srhb: well where is this xsession file and does it execute right after the nixos bootup ?
<scientist> srhb: well where is this xsession file and does it execute right after the nixos bootup ?
<catern> aha! I found an MTA which uses IPC for local mail submission instead of a setgid binary! OpenSMTPD! at last!
slack1256 has joined #nixos
<scientist> srhb: well where is this xsession file and does it execute right after the nixos bootup ?
<scientist> srhb: well where is this xsession file and does it execute right after the nixos bootup ?
<mdash> in particular I am getting this error message: " dbus-daemon[1166]: [system] Activation via systemd failed for unit 'bolt.service': Unit bolt.service not found."
crmlt has joined #nixos
scientist has quit [Quit: WeeChat 2.2]
<mdash> I put pkgs.bolt in services.dbus.packages -- is there something else I need to do to hook this up?
scientist has joined #nixos
<scientist> srhb: well where is this xsession file and does it execute right after the nixos bootup ?
<jomik> If you add it where it says there, it will be run as soon as the display manager is shown.
<jomik> scientist: You should probably stop spamming.
<catern> scientist: look here as jomik says: https://nixos.wiki/wiki/Keyboard_Layout_Customization
<{^_^}> [nixpkgs] @aaronjanse opened pull request #57859 → ulauncher: init at 4.3.2.r8 → https://git.io/fjvSc
<scientist> i am still getting used to nixos, it is very different from ubuntu
<Mic92> yl[m]: It is just that we try to avoid invasive changes to release branches and instead try to only backport fixes.
camsbury- has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57805 → buildGoModule: backport the new Go infrastructure to release 19.03 → https://git.io/fjv47
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to release-19.03: https://git.io/fjvSW
<yl> Mic92: I see what you mean! I've updated the PR to include only the function itself.
rcshm has joined #nixos
<scientist> catern: my custom keyboard layout works, but i have not been able to set it up in my configuration.nix file, when i rebuild it just does not switch to my custom keyboard layout so i am trying a different alternative
equivrel has quit [Read error: Connection reset by peer]
<Mic92> yl: merged
equivrel has joined #nixos
<srhb> scientist: Did you see the link I gave you to how home-manager implements this using a systemd user service?
<srhb> scientist: The reason that I'm linking to this specifically is that your idea of "just after boot" won't work at all. You need a graphical session first. So the problem is more complicated than you're envisioning. Similarly, the solution is, too.
<jomik> scientist: look at the link I sent you... https://nixos.wiki/wiki/Keyboard_Layout_Customization
<jomik> srhb: It seems rather simply, from the wiki entry :o
<srhb> (jomiks solution works fine too!)
<srhb> Yeah, just trying to illustrate the difference between "at-boot" and "actual solution to the problem" :)
waleee has quit [Quit: WeeChat 2.4]
<srhb> X-Y and stuff.
<jomik> True :P
<scientist> jomik: i tried already, configuration.nix does not want to switch to my custom keyboard layout, that is why i am looking for an alternative
shreyansh_k has joined #nixos
<srhb> scientist: It will only happen at login time with the sessionCommands solution. Are you sure that didn't work?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<srhb> (I'm unaware whether plasma mucks this up, but I feel it really shouldn't)
<jomik> scientist: Can you try to link us your configuration.nix then?
<scientist> jomik: ok i'll show you guys, give me a sec
<jomik> srhb: I think the DE may set its own keyboard layout, but that should be after the DM
i1nfusion has quit [Remote host closed the connection]
tdammers has joined #nixos
waleee has joined #nixos
<shreyansh_k> Hi guys, I believe 19.03 was scheduled at the start of this month but it isn't out yet. What am I missing?
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
i1nfusion has joined #nixos
<samueldr> nothing, the schedule for nixos is a bit different than other "month-based" distros (e.g. ubuntu)
<samueldr> the .03 is for march, but what happens at the start of the month is the stabilization period
<samueldr> right now things are being worked on to release it hopefully soon™
<jomik> Can someone tell me of a way to figure out what version of ncurses a binary file needs? I am trying to bundle troupe-lang : http://lbs-troupe.troupe-lang.org/download/troupe-linux.zip
<shreyansh_k> samueldr: Oh! okay. thank you for answering.
<samueldr> no worries :)
kuznero has joined #nixos
<kuznero> Hi All!
<samueldr> last two releases were marked stable around the first week of the following month, we still have ~12 days to make it so 19.03 releases in march
<srhb> samueldr: Do you still have the ability to make those reports you did for 18.09? If so, do they exist? If not, what does it take to make them? :-)
<srhb> (That was you, right?)
o1lo01ol1o has quit [Remote host closed the connection]
<samueldr> that was me, I've (sadly) been so busy lately I feel like I'm letting the release down :/
<srhb> Is it difficult? Maybe I can offload you.
<samueldr> maybe isn't difficult
<kuznero> Is there any way to override [flashplayer-ppapi] version when [nixpkgs.config.chromium.enablePepperFlash = true;]?
<srhb> kuznero: I believe you can just override flashplayer
<srhb> samueldr: Thanks, I'll take a look
<samueldr> I'm not sure it still works, since it relies on the HTML data, but it probably should still work fine
<scientist> jomik: https://hastebin.com/ogavutejax.bash , when i set the xkbDir option, x server would glitch out after reboot and shut down, after removing xkbDir, nixos-rebuild switch works but does not switch to my custom keyboard layout when i reboot. i tried to be as clear as possible.
<srhb> samueldr: Got it :)
<samueldr> srhb: it will clobber PWD heavily, but can be called from out-of-tree
<samueldr> that clobbering is caching
<camsbury-> hi guys - trying to override an attribute of my python36Packages
<srhb> samueldr: Alright :)
<shreyansh_k> samueldr: can "hopefully soon" come soon enough?
<camsbury-> what is the cleanes way of doing this from the top level configuration.nix?
<Church-> Hey someone see something obviously wrong with this? https://paste.rs/XXX Getting the error; "error: attribute 'nginx' in selection path 'nginx.nix' not found"
<shreyansh_k> I've been holding off updates since the start of this month as I've got slow internet here in India. I know I'm being a little impatient as I'm very excited to get my hands dirty with the latest and greatest BUT would also thank you guys to ensure that updates are polished for us noobs.
o1lo01ol1o has joined #nixos
<samueldr> good question
<srhb> shreyansh_k: Consider that the longer you wait, the higher the (relative) shinyness difference!
<elvishjerricco> srhb: Let me know if you manage to do that report. It sounds interesting
<srhb> shreyansh_k: Now you can rationalize patience ;-)
<srhb> elvishjerricco: I'll probably ZHF post it if I manage, but I'll try to remember :)
<elvishjerricco> ZHF?
<srhb> Ah, sorry, post it in the pinned Zero Hydra Failures issue.
<elvishjerricco> Ah
cransom has joined #nixos
<elvishjerricco> Good luck!
InFlames has joined #nixos
<scientist> jomik: i linked you to my configuration.nix file like you asked, did you take a look ?
Mateon1 has quit [Quit: Mateon1]
<kuznero> srhb: you mean, like this: https://pastebin.com/w4pzVSBY ?
ddellacosta has quit [Ping timeout: 246 seconds]
<samueldr> srhb: running the script, seems to be working (or at least doing some work)
Mateon1 has joined #nixos
<Church-> Heya samueldr!
<srhb> samueldr: Yup, looks good here
<shreyansh_k> srhb: That's a good way to look at it. :D
<srhb> kuznero: I see it's defined in chromiums plugins directly.
<srhb> kuznero: So I guess it's not that simple, sorry.
<kuznero> srhb: example I showed didn't help it, unfortunately. And I cannot find a single example on github :(
<kuznero> I tried installing unstable.chromium... but enabling pepper flash on unstable does not seem to be possible either
<kuznero> :(
<Church-> Okay wait think I have my error
ddellacosta has joined #nixos
<Church-> So the package I'm trying to grab is in nixos not pkgs. Would I still be able to import that when I do a "{pkgs ? import <nixpkgs> {} };" at top of .nix file?
<samueldr> srhb: it outputs to stdout, pipe into | gist -p --description "some nice description"
<srhb> samueldr: Thanks :)
<samueldr> seems to work
<srhb> Oops, it failed. Guess I need to do some tweaking.
<srhb> Oh
kuznero has quit [Quit: Konversation terminated!]
pie_ has quit [Ping timeout: 250 seconds]
scientist has quit [Quit: WeeChat 2.2]
<samueldr> it still has the issue where some failures are misattributed, but otherwise the report still seems to work as expected
novakovic has joined #nixos
<srhb> samueldr: Cool! So, do you mind if I try posting this semi-regularly? :)
<samueldr> not at all
<srhb> Alright.
<samueldr> I'm not hoarding the cool stuff :)
<srhb> Didn't think so, just making sure though ;-)
<elvishjerricco> samueldr: That's really cool. What constitutes a "problematic dependency", and what is the associated count?
<Church-> samueldr: Yes you are :P
<Church-> Okay why aren't you working... hmm.
<samueldr> elvishjerricco: for linux-5.0-rc8, open the row, every attribute of the attributeset has been marked as failing due to *that* dependency failing
<samueldr> so fixing that dependency might make all dependent work
<elvishjerricco> Church-: I think samueldr is working hard! :P
<Church-> elvishjerricco: Lol
<Church-> elvishjerricco: I meant my code
<samueldr> elvishjerricco: does it make sense?
<Church-> Trying out over rides and trying to create a docker container via nix finally
<samueldr> so, in other words, perl5.29.6-File-Slirp-9999.25 is possibly causing 68 builds to fail
crmlt has quit [Ping timeout: 245 seconds]
<elvishjerricco> samueldr: Ah, so there are 103 jobs that failed because the linux build failed?
<takeda> srhb: so the another issue I was having was that the builtin.fetchGit only passed the url and forgot about ref (I was getting compile errors, because it fetched different versions). There is an issue since builtin.fetchGit has two arguments rev and ref and fetchgit only has rev. So substitution is a bit more complex. I substituted it with pkgs.fetchprivateGit and passed values to ssh config and agent and
<takeda> looks like it works. Thank you.
i1nfusion has quit [Remote host closed the connection]
<samueldr> the blame is sometimes misattributed
<elvishjerricco> Or, 103 jobs to which linux is an input?
pointfourone has joined #nixos
pointfourone has quit [Remote host closed the connection]
<Church-> Welp almost chucked my work laptop
<Church-> This is the most vaguely unhelpful error ever
<samueldr> elvishjerricco: most likely
<Church-> Since I started writing services that is, heh
ramses_ has joined #nixos
<ramses_> srhb: that option does not seem to change anything and is also not documented in the nix.conf man page... Am I missing something?
i1nfusion has joined #nixos
winem_ has quit [Ping timeout: 245 seconds]
<ramses_> I'm running nix 2.1.3
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8ec6905aaed (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @andir opened pull request #57861 → [18.09] firefox 65.0.2 -> 66, 60.5.2esr -> 60.6.0esr, firefox-bin: 65.0.2 -> 66.0 → https://git.io/fjv9f
Soo_Slow has joined #nixos
<ramses_> srhb: I'd also like to figure out the cause but I'm at a loss as to how to debug this... I'm open to suggestions though
<ekleog> Hmm is anyone running tinc on unstable or 19.03?
<Church-> Finally working, christ
<ekleog> (I'm hitting a bug which I currently assume is due to tinc being compiled with the wrong kernel headers, but…)
<srhb> ramses_: It ought to work in 2.1.3. Just checked the commit log for that tag. Weird.
<andi-> ekleog: yes I am running it on 18.09, 19.03 and unstable
drakonis has joined #nixos
<ekleog> andi-: did you see `Could not create a tun/tap interface from /dev/net/tun: Invalid argument`? I'm getting it since switching to 19.03
<samueldr> srhb: looks like it's missing the problematic dependencies part. possibly because of uncomitted code laying aroun in my local repo
<samueldr> oops
<srhb> :D
<andi-> only at the unstalbe notebook right now. The device works but let me grab the logs
<camsbury-> to be more clear, trying to use the `pipenv` package with `python36`
<camsbury-> and so I've just copied the derivation over with `python3Packages` changed to `python36packages`
<andi-> ekleog: negative
<samueldr> srhb: if you want to re-run (since things are cached it should be quick and not hit hydraa)
<ekleog> andi-: hmm ok guess I'll have more look around my config, then, thanks!
<samueldr> srhb: if you want to pull and re-run
<srhb> samueldr: I do, thanks :)
<camsbury-> which nearly worked, but I'm unable to call `pipenv install` without it saying that the module doesn't exist
<camsbury-> just doing a `callPackage` on it and putting it in my `environment.systemPackages`
drakonis_ has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<camsbury-> so then I was wondering if I could jam it into python36Packages instead of pkgs
o1lo01ol1o has joined #nixos
<camsbury-> and how best to do that
InFlames has quit [Ping timeout: 250 seconds]
<ramses_> srhb: I put the option but I get the same http2 error, in any case. Verbose output is not giving any additional info either
drakonis_ has joined #nixos
<srhb> ramses_: Did the nix daemon restart automatically when you changed the option? I can never remember if that's still a gotcha.
simukis has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
simukis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
ixxie has joined #nixos
equivrel has quit [Remote host closed the connection]
<ramses_> srhb: Ah! Let me restart it explicitly to check, I didn't think of this
stepcut_ has quit [Ping timeout: 250 seconds]
InFlames has joined #nixos
crmlt has joined #nixos
chaker has quit [Ping timeout: 252 seconds]
chaker has joined #nixos
pemeunier has joined #nixos
stepcut has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
Fare has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tokudan opened pull request #57862 → PuTTY: 0.70 -> 0.71 → https://git.io/fjv9c
<ekleog> andi-: hmm maybe… how is your tinc tun interface called?
<tdammers> so I'm trying to install nix on debian, and I'm getting this: https://gist.github.com/tdammers/cd02380667364c779c66f9f606b13c86
<tdammers> any ideas?
* ekleog trying to figure out what could have went wrong in the upgrade
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<ekleog> and also, are you creating it with `networking.interfaces."tinc.myinterface".virtual = true`?
<ekleog> huh found it I think
<andi-> ekleog: custom name foo.bar.net
takeda has quit [Quit: leaving]
<ekleog> hmm'k thanks :)
<andi-> ekleog: no, i ama not
o1lo01ol1o has quit [Remote host closed the connection]
<ekleog> so my current suspicion is that virtualType appears to no longer default to tun, but looking at the git history it looks like it's been this way since 2018-01
<andi-> ekleog: i had to add an ip link set up $dev after some 18.09 update broke it
<ekleog> (unfortunately I need to have it so that applications could bind on it)
InFlames has quit [Ping timeout: 246 seconds]
<ekleog> hmmmmmhmm you set that around where?
<{^_^}> [nixpkgs] @tokudan opened pull request #57863 → PuTTY: 0.70 -> 0.71 → https://git.io/fjv9E
stepcut has quit [Ping timeout: 250 seconds]
<andi-> ekleog: environment.etc."tinc/${name}/tinc-up".text = ".... ip link set up $dev ";
<ekleog> actually I can confirm that adding `virtualType = "tun";` solved my issue… wonder how that can be made into release notes, though, given I don't really understand what exactly broke my setup :/
<andi-> there was some issue with systemd networkd and that is why that line was removed... Let me search for the PR.
<ekleog> hm I think it's done by the `virtual = true; virtualType = "tun";` in my case
<ekleog> yeah ISTR something about it, it's likely I was involved in it somehow :°
<andi-> It was a bit debatable.. All other distries already required those tinc-up scripts that is why I didn't bother further
rycwo has quit [Quit: WeeChat 2.2]
rycwo has joined #nixos
wfranzini has quit [Quit: wfranzini]
<{^_^}> #27070 (by nh2, 1 year ago, open): Tinc -netdev systemd service can fail with ioctl(TUNSETIFF): Device or resource busy
<ekleog> though it's not the same error here
o1lo01ol1o has joined #nixos
scientist has joined #nixos
<{^_^}> [nixpkgs] @tomberek opened pull request #57864 → teleport: 2.4.1 -> 3.1.8 → https://git.io/fjv9r
<{^_^}> [nixpkgs] @tokudan opened pull request #57865 → PuTTY: 0.70 -> 0.71 → https://git.io/fjv9K
<ekleog> andi-: anyway, thank you! :)
<andi-> np
* andi- idles at the office waiting for 3 ffx builds to finish so he can leave..
<scientist> if you guys would please take a look, https://hastebin.com/axugufipox.bash https://nixos.wiki/wiki/Keyboard_Layout_Customization , i copied the instructions exactly but when i reboot the xkbDir option causes x server to glitch out and turns off my computer.
<scientist> any tips to solve this problem would be greatly appreciated
balsoft has joined #nixos
<ekleog> andi-: `wait $(pidof x.py) && poweroff` and just go? :°
stepcut has joined #nixos
rycwo has quit [Quit: WeeChat 2.2]
rycwo has joined #nixos
NickSeagull has joined #nixos
<scientist> i copied the instructions exactly from the nixos wiki, i have no idea why it is not working ?
<{^_^}> [nixpkgs] @dtzWill merged pull request #57784 → ghc{822,863}Binary: fix to work w/musl again, __strdup -> strdup → https://git.io/fjvWt
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjv99
stepcut has quit [Ping timeout: 272 seconds]
Ariakenom has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0dd99c0fa0c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to release-19.03: https://git.io/fjv9d
<andi-> ekleog: I want the binaries on my notebook ;)
<scientist> have you guys taken a look at the two links i posted ?
<ekleog> oh right… well, I guess xkcd archive-reading or something then :p
linarcx has joined #nixos
<andi-> scientist: have never played with the custom keymaps, sorry
jb55 has quit [Ping timeout: 246 seconds]
<scientist> andi-: :(
<{^_^}> [nixpkgs] @mkgvt opened pull request #57866 → file-rename: removed redundant packaging → https://git.io/fjv9N
<andi-> scientist: how does turn off your computer look like? Shuts down? just powers off? Do you have something in the log after rebooting?
<{^_^}> [nixpkgs] @dtzWill merged pull request #57495 → udisks: 2.8.1 -> 2.8.2 → https://git.io/fhjwq
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjv9A
<{^_^}> [nixpkgs] @Mic92 merged pull request #57821 → highlight: use $CXX instead of c++ to build → https://git.io/fjvRM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjv9p
<scientist> it just says starting x server, glitches out and then turns off, i know it has something to do with the xkbDir option, but i don't know what to change
<srhb> scientist: Don't set xkbDir. It's not what you think it is.
<srhb> scientist: The relevant information from that wiki page for your use case should _only_ be the sessionCommands stuff.
<{^_^}> [nixpkgs] @andir merged pull request #57569 → [18.09] nodejs_{6,8,10,11}_x: update, security fixes → https://git.io/fjefu
<{^_^}> [nixpkgs] @andir pushed 4 commits to release-18.09: https://git.io/fjvHf
<{^_^}> [nixpkgs] @andir merged pull request #57570 → [19.03] nodejs_{6,8,10,11}_x: update, security fixes → https://git.io/fjefa
<{^_^}> [nixpkgs] @andir pushed 5 commits to release-19.03: https://git.io/fjvHJ
<{^_^}> [nixpkgs] @xeji pushed commit from @hedning to master « meld: fix checkPhase »: https://git.io/fjvHU
rycwo has quit [Ping timeout: 246 seconds]
<srhb> scientist: (You _can_ use xkbDir, but that requires you to create a full xkb tree like the one in the xkeyboard_config package -- it's probably not what you want)
<scientist> srhb: so i don't need to set the: Relevant other options ?
<{^_^}> [nixpkgs] @andir merged pull request #57018 → davix: 0.6.4 -> 0.7.2 → https://git.io/fhpim
<srhb> scientist: Right, a more apt description would have been "Further reading" -- you're not intended to use it for this purpose unless you have very specific needs.
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjvHt
<{^_^}> [nixpkgs] @xeji closed pull request #56705 → Fix trash-cli and meld's checkPhase after #53440 → https://git.io/fhAD9
<srhb> scientist: The sessionCommands bit should suffice for you.
<srhb> My only worry is whether it's even used properly in plasma.
<srhb> (I don't know plasma, so I can't say)
<scientist> srhb: thanks for the tips, do i need to change this option as well: services.xserver.layout = "us";
<srhb> scientist: I don't think it matters.
<{^_^}> [nixpkgs] @xeji pushed commit from @hedning to release-19.03 « meld: fix checkPhase »: https://git.io/fjvHO
<scientist> srhb: yeah, maybe plasma is the problem, i have no idea at this point.
<srhb> scientist: Well, try with just sessionCommands at least.
reinhardt has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<scientist> srhb: ok i will give it a try, what is the command to give karma on weechat
rycwo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Church-> Hmm anyone see why I'm getting an error building su-exec as part of my build? Error: https://paste.rs/Cdh build.nix: https://paste.rs/yAd
<srhb> scientist: A name follow by ++ ;-)
o1lo01ol1o has joined #nixos
<scientist> srhb++
<{^_^}> srhb's karma got increased to 35
Acou_Bass has joined #nixos
<Church-> Hmm
<Ralith> is there a concise way to get a nix shell for a standalone package expression yet?
<srhb> Church-: You probably wanted musl.dev, but I'm not sure whether any of this is feasible. :)
<srhb> Ralith: Can you pseudo your desired level of conciseness?
<Church-> Oh hey that worked
waleee has quit [Quit: WeeChat 2.4]
knupfer has joined #nixos
<Ralith> `nix-shell -E 'with import <nixpkgs> {}; callPackage ./foo.nix'` did the trick, actually
<srhb> where foo.nix is something like a mkDerivation?
Fare has joined #nixos
<Church-> Hmm but it didn't load into docker
<Church-> ...
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fjvHl
scientist has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to release-18.09: https://git.io/fjvH4
<{^_^}> [nixpkgs] @Ekleog merged pull request #57863 → PuTTY: 0.70 -> 0.71 → https://git.io/fjv9E
<srhb> Church-: This is why "with pkgs;" is dangerous :)
<srhb> Church-: You didn't notice that you were accidentally grabbing pkgs.su_exec
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to release-19.03: https://git.io/fjvHB
<{^_^}> [nixpkgs] @Ekleog merged pull request #57865 → PuTTY: 0.70 -> 0.71 → https://git.io/fjv9K
alex`` has quit [Ping timeout: 246 seconds]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #57862 → PuTTY: 0.70 -> 0.71 → https://git.io/fjv9c
<{^_^}> [nixpkgs] @xeji merged pull request #57841 → cherry: 1.2 -> 1.3 → https://git.io/fjvaz
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « cherry: 1.2 -> 1.3 (#57841) »: https://git.io/fjvHV
<Church-> Huh... how?
<srhb> Church-: You don't have a rec on your attrset
<srhb> Church-: But you are bringing all pkgs.* attributes in scope
<Church-> Crud
<srhb> Church-: So, su_exec refers to pkgs.su_exec
<srhb> Church-: I like to keep my withs very local because of this :)
<srhb> Hours, hours down the drain....
<Church-> Huh tbh I just copied this and modified as needed just to try out
<Church-> So guess they got it wrong as well. >_>
<Church-> Good to know.
<srhb> Ouch :P
<{^_^}> [nixpkgs] @balsoft opened pull request #57867 → olive-editor: init at 2019-03-18 → https://git.io/fjvHo
jb55 has joined #nixos
<timor> I am currently looking at this failed hydra build: https://hydra.nixos.org/build/90794318, which fails because a dependency (deluge in this case) fails to build. This test is for i686 though. The corresponding test and package on x86_64 work correctly. Why are there tests run for i686, when the packages are only built for x86_64?
<Church-> srhb: Hmm, so where I should place that rec then?
<Church-> Still fuzzy on doing stuff like that
<srhb> Church-: rec { foo = 42; bar = foo; }
<srhb> Church-: So, the one right after your with pkgs;
<Church-> Ah so it's just shorthand for expect a record set?
<srhb> Church-: It's actually short for recursive
<Church-> Ah doy
ramses_ has quit [Ping timeout: 256 seconds]
<srhb> Church-: (If you do other FP, maybe you'll recognize "let rec")
<Church-> So "with pkgs; rec {..." or pkgs.stdenv.mkDerivation rec {
<Church-> Yeah that looks familiar :P
sigmundv__ has joined #nixos
<srhb> You only need the outer rec
<srhb> But really, I prefer getting rid of the with pkgs;
<srhb> And then letting the errors guide you
scientist has joined #nixos
<srhb> It's just so easy to accidentally refer to something you didn't mean to.
<Church-> Okay mind telling me where I'm screwing up in the nginx build part? Trying to run upx on my binary and it seems to never be in $out/bin/nginx like I think. >_>
<{^_^}> [nixpkgs] @Kaali opened pull request #57868 → Add CoreAudio to sox on macOS → https://git.io/fjvH1
<srhb> Church-: Sorry, I didn't understand that.
<scientist> srhb: well the bootup works with nixos-rebuild switch , but it still does not switch to my custom keyboard layout ? https://hastebin.com/kajevetuvi.bash
crmlt has quit [Ping timeout: 246 seconds]
<Church-> srhb: So in my install phase I'm trying to run upx(a packer) on my buolt nginx binary
<Church-> However I'm getting an error that it doesn't exist at $out/bin/nginx
<Church-> Even though when I check with an already built version that yes it does exist there.
<srhb> scientist: Sorry, I don't know. I suspect plasma might make this method infeasible.
<srhb> Church-: What you just pasted doesn't build at all due to other errors. Can you paste the actual expression?
<scientist> srhb: yeah, i think so too
<Church-> Huh. Sec
<srhb> Church-: Ah, but I see your problem anyway
<Church-> Oh?
<srhb> Church-: You seem to be overriding the installPhase of nginx. So now nginx does not get put into $out
<Church-> Ah.
<srhb> (try postInstall)
<Church-> Oh wait that would work yeah
<Church-> doy
reinhardt has quit [Ping timeout: 246 seconds]
<srhb> Church-: And to make matters worse, nginx installs into sbin.
<Church-> ...
<srhb> The fixupPhase changes this to bin.
InFlames has joined #nixos
<Church-> Grrr
crmlt has joined #nixos
<Church-> So fixupPhase and then postInstall?
<srhb> postInstall is fine, just patch the sbin one, it'll be moved to bin
<Church-> Nod
<srhb> Assuming that change in path doesn't somehow mess with upx (which I don't know what is)
<Church-> Binary packer
<Church-> Trying to get my binary size down more
scientist has quit [Quit: WeeChat 2.2]
<Church-> Since I'm trying to win a bet and make the smallest docker binary I can.
<Church-> For nginx
lurpahi has joined #nixos
<srhb> I see. :)
<srhb> Well, the above should work then
fyuuri has quit [Quit: WeeChat 1.6]
<srhb> At least from a nix perspective. No idea if it'll run.
<Church-> srhb: And nope
<Church-> My binary actually got bigger
<Church-> Wat
<srhb> upx = Unshrink Pertinent eXecutables?
<Church-> Nod
<Church-> Seems it screwed with patchelf a bit?...
<srhb> Aaah
<srhb> OK, yeah, probably need to run it after fixup then
<balsoft> How do I become known to grahamc automation? Just add a PR?
<srhb> That might also mess things up, but..
goibhniu has quit [Remote host closed the connection]
<srhb> balsoft: Yes :)
<balsoft> Is being a contributor enough?
<srhb> No.
<Church-> srhb: so postFixup then?
<Church-> Or postFixupPhase?
<balsoft> srhb: What do I need to get that PR accepted
<balsoft> ?
<srhb> Church-: postFixup iirc
<Church-> Nod
<Church-> Thanks!
<srhb> balsoft: Sorry, I think we misunderstood each other
<srhb> balsoft: You PR the json file in grahamcofborg to grant yourself permission
goibhniu has joined #nixos
reinhardt has joined #nixos
goibhniu has quit [Client Quit]
<Church-> srhb: Learning so many fun and interesting things again :P
<balsoft> Oh, and that's it? I don't need to be some sort of godlike nixpkgs member?
<{^_^}> [nixpkgs] @robertseaton opened pull request #57869 → init: pdfsandwich at 0.1.7 → https://git.io/fjvQJ
<Church-> With both Nix and SaltStack again this week
<Church-> What a monday
<{^_^}> ofborg#327 (by delroth, 2 weeks ago, merged): extra-known-users: add myself (delroth)
<Church-> I should probably go do real work
<srhb> balsoft: no, usually seeming like a genuinely nice person who contributes to nixpkgs is good enough. Some might argue that that's godlike qualities though. :-)
<Church-> Oh yeah!
<balsoft> Oh ok, PR submitted
<Church-> srhb: So once I get these in a container, talking... like less then a Mb
<srhb> Church-: Ah, it helped?
<balsoft> It's just that I have written a lot of nix expressions for various software I need and now I'd like to share
<srhb> balsoft++
<{^_^}> balsoft's karma got increased to 1
<srhb> balsoft: Much appreciated :)
<Church-> srhb: Yarp
<balsoft> And waiting for literally days for someone to toggle the build is tedious
<Church-> srhb: Stupid question, you know why the last bit would turn it into a single result? The dockerTools.buildImage step
<srhb> balsoft: Yeah, I'm afraid we're always a bit short-staffed, no intention to keep anyone waiting, but time is a real constraint. :) Glad you want to help out.
<Church-> Wanna load this into my docker fs
<srhb> Church-: Sorry, I didn't understand that either.
<Church-> Lol one sec, my apologies.
growpotkin has joined #nixos
<Church-> So I modified this nix expression, https://yann.hodique.info/blog/using-nix-to-build-docker-images/
<Church-> To get mine
crmlt has quit [Quit: Lost terminal]
<Church-> Supposed to build and then can be loaded into docker via: "docker load < result"
<Church-> But I just get an error that it's trying to load a dir
<srhb> Church-: So you have an attribute like foo = nginxImage yourBaseImage yourNginx ?
<Church-> Hmm, wait a minute.
<srhb> In which case, nix-build -A foo
goibhniu has joined #nixos
camsbury- has quit [Remote host closed the connection]
<Church-> Hmm that didn't work
<srhb> Church-: You're not building an image at all in that file
<srhb> Church-: You just have a function that is able to build an image.
<Church-> Crud
<Church-> Welp apologies
<srhb> Church-: In the blog post you linked, it was essentially "let ... everything you have ... in everything you're missing"
<Izorkin> Mic92: checked pr?
rycwo has quit [Ping timeout: 246 seconds]
<Church-> Yep that fixed it. Doy
<Church-> Thanks for all the help srhb
<srhb> Church-: Welcome :)
<Church-> Can start implementing this at work for our images soon
<Church-> Just need to experiment a bit more.
<Church-> srhb: So one last error, getting this when I try to build my image now: https://paste.rs/m5K
<Church-> Oh wait I see it I think
<Church-> Or not... why do I need the kvm feature for this...
<srhb> Church-: the vm framework that is spun up to build the docker image requires it
<srhb> Because you're using runAsRoot
<Church-> Ah.
ThatDocsLady_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #57740 → commandergenius: update and move to gitlab → https://git.io/fjvJ9
<{^_^}> [nixpkgs] @xeji pushed commit from @stephengroat to master « commandergenius: update and move to gitlab (#57740) »: https://git.io/fjvQs
<{^_^}> [nixpkgs] @xeji pushed commit from @stephengroat to release-19.03 « commandergenius: update and move to gitlab (#57740) »: https://git.io/fjvQZ
<srhb> Church-: I hit 997k for nginx..
<Church-> Hmm what to change that to.
<Church-> srhb: Huh, I hit 730K
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
<srhb> Ah, okay.
* srhb tries harder
<Church-> Still less then a mb
<Church-> Is that for the whole image or just the binary?
<srhb> Just the binary.
<Church-> Nod
<Church-> Did you try with upx?
<srhb> No.. I wanted to make something simpler and beat you :-P
<Church-> Can probably go smaller still if I use more agressive settings
<Church-> lol
<srhb> I think I was being overly confident
<Church-> srhb: What should I replace the run as root bit with?
<Church-> Not seeing a docker for the buildDockerImage func
<Church-> doc for*
<srhb> Church-: I don't think there's a good way to get rid of that. You'll probably need to add the kvm feature
<Church-> Hmm, so how do I add it is my question?
<Church-> Do I just use requiredFeatures?
jomik has quit [Quit: WeeChat 2.4]
<srhb> Church-: I think it's automatically enabled if /dev/kvm exists
<Church-> Huh
<Church-> So this is an xps13 on latest ubuntu
* Church- googles
<srhb> Church-: Maybe "accessible", not "exists"
<srhb> Might just be permissions
<srhb> ie if you're using single user nix, you may need to grant your user access to it
<Church-> Oh no I thought it came standard
<Church-> Needed to install it
ayerhart_ has quit [Read error: Connection reset by peer]
<srhb> wat. ok. Apparently I no longer know how "standard" Linux distros work :)
<ixxie> LSB is laaaame
<Church-> Well gotta use it for work sadly
<Church-> I miss my nixos beast of a laptop
<{^_^}> [nixpkgs] @xeji merged pull request #57858 → drawpile: 2.1.2 -> 2.1.3 → https://git.io/fjvyG
<{^_^}> [nixpkgs] @xeji pushed commit from @fgaz to master « drawpile: 2.1.2 -> 2.1.3 (#57858) »: https://git.io/fjvQB
<srhb> Church-: 633K
<Church-> Nice!
<srhb> Church-: So what I wanted to show you is that some things have happened since that blog post was written :-P
<srhb> As you may see...
arjen-jonathan has joined #nixos
hyper_ch has joined #nixos
<Church-> Like it being super simple to actually build it? :P
Dr8128 has quit [Ping timeout: 246 seconds]
<srhb> Something like that :P
<balsoft> srhb: Can I get my PR to known users accepted?
<{^_^}> ofborg#333 (by balsoft, 21 minutes ago, open): Update config.known-users.json
<balsoft> I'm sorry to worry you
<Church-> srhb: Still fiddling here
<srhb> balsoft: Sorry, I don't have permission to do that. You'll probably have to give it a few days this once. :)
<Church-> So try this for upx
<Church-> bin/upx --best
<balsoft> Thank you anyways
<Church-> See what it gives.
<balsoft> I have a lot of stuff to package :)
<Church-> balsoft: I know that feeling!
<srhb> balsoft: Glad to hear it. :)
<timor> Does deleting /nix/store/.links break consistency?
<srhb> Church-: 617K. Still. :)
<Church-> Alright try -9
<Church-> instead
<{^_^}> [nixpkgs] @balsoft opened pull request #57870 → Gtk wave cleaner init → https://git.io/fjvQ0
<Church-> Or try: --ultra-brute --overlay=strip
<srhb> Church-: -9 says 61K. Wat
<srhb> Can that be right though...
<hyper_ch> just tried to setup dnsmasq and I failed :(
<srhb> Church-: No, something broke..
<Church-> Okay try just --ultra-brute
<srhb> Church-: 521K. Anyway. Just wanted to show you pkgsCross really :)
<Church-> Cool.
<Church-> srhb: Does that one work is the question though? :P
<Church-> And yeah thanks
<Church-> It looks awesome
<{^_^}> [nixpkgs] @xeji merged pull request #57852 → anki: 2.1.9 -> 2.1.11 → https://git.io/fjviY
<{^_^}> [nixpkgs] @xeji pushed commit from @Enzime to master « anki: 2.1.9 -> 2.1.11 (#57852) »: https://git.io/fjvQr
<srhb> Church-: Er, actually I don't think it does.
<Church-> Fracl
<Church-> Frack*
<srhb> Church-: Is there a specific size you're trying to beat? :)
<Church-> Still less then a MB is damn good
<Church-> srhb: Oh I beat it already
<Church-> It was like 2.1MB
<srhb> Ah.
<Church-> That was the win condition to beat
<srhb> I feel like at this point, you can win more by disabling features :P
rfold has joined #nixos
<srhb> And it would be interesting to know what features the other one had
<Church-> Nod
camsbury- has joined #nixos
<Church-> And huh even adding my user to the kvm group it fails
<Church-> Grrrj
<Church-> Grrrh
<Church-> Guess I have to wait till I get to my nixos laptop later this week
<srhb> Church-: Is it a multi user setup?
<srhb> Nix setup, I mean
<Church-> Nope, single user
<srhb> Hm..
<Church-> All I did was run the install script really
camsbury- has quit [Remote host closed the connection]
<srhb> Without --daemon I assume
<Church-> And source it for my user
<Church-> Yarp
<Church-> All I did was curl ... | bash really
<Church-> And then start writing
<srhb> OK. You might be able to just enable it in nix.conf manually.
<srhb> As long as qemu-kvm can actually access it
<Church-> nix.conf?
<srhb> Church-: Yeah. /etc/nix/nix.conf
<srhb> Church-: man nix.conf, see system-features
<Church-> Huh
<Church-> So I have no /etc/nix
<Church-> Only /nix/
<srhb> I think you just create it.
<Church-> Ahhhh
<srhb> You can verify with `nix show-config` after setting it
<Church-> Nod nod
<Church-> srhb: So features why like with your example, I can see what I can enable and what not on the options page for nginx right?
<Church-> Err, searching for nginx on our options page
<srhb> Church-: Sadly no. You'll have to actually inspect the nginx expression
<srhb> nix edit nixpkgs.nginx
<Church-> Ahhhh
Guest15817 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56689 → firefox 65.0.2 -> 66, 60.5.2esr -> 60.6.0esr, firefox-bin: 65.0.2 -> 66.0 → https://git.io/fhAXZ
<{^_^}> [nixpkgs] @7c6f434c pushed 7 commits to master: https://git.io/fjvQ5
<srhb> I'm guessing configureFlags is the big one
<Church-> Oh that's really nifty
<srhb> It is :)
<Church-> srhb: So just set the flags in my over ride exp then ja?
<srhb> Church-: Yes, easiest is probably to start by copying the entire thing and then trimming it down
<Church-> Yep, what I was gonna do. Cool.
Dr8128 has joined #nixos
<srhb> Church-: Or just, like, configureFlags = [];, but it might not be a very usable nginx then ;-)
<Church-> heheh, nope
<srhb> It's 341K though, so at least it's small and useless...
<Church-> heh
<Church-> But does it run is the question :P
<srhb> It runs enough to throw an error about config files..
<Church-> heh
<Church-> srhb: So for that cross example would I just copy as is, or copy solely the section in the let block
miguelnegrao has quit [Quit: miguelnegrao]
<Church-> Like how would I replace my over ride example with it
Notkea has joined #nixos
<srhb> Church-: In the dots of `oa: { ... }` you can place configureFlags = ...;
InFlames has quit [Ping timeout: 246 seconds]
<srhb> Mind, you won't be able to refer to any of the arguments to the original nginx expression (like, say, gd)
<Church-> Err oa: { ... }?
<srhb> Church-: In my paste?
<{^_^}> [nixpkgs] @Izorkin opened pull request #57871 → nixos/datadog-agent: change start command → https://git.io/fjv7v
<srhb> Church-: pkgs.pkgsCross.musl64.nginx.overrideAttrs (oa: { ... });
domogled has joined #nixos
<Church-> Oh dang it
<Church-> Eyes completely drifted past it
<Church-> srhb: I meant more how do I replace my pkgs.nginx.overrideDerivation {}; with it?
<Church-> Just copy and paste in it's place
<Church-> And nginx will get read in via the container build step correctly
<srhb> Church-: oh, ah.. That's a bit more fiddling than I have time to show you now. Honestly, you're probably better off starting with mine and recreating the docker container. :)
<srhb> Church-: 301K and time for me to run. Good luck :)
<Church-> Not a prob
<Church-> Thanks for letting me waste your time srhb!
<Church-> Have a good one
<srhb> Sure, epic nerdsnipe. :-P Seeya
<simukis> Can I have `outputHash{,Algo}` for derivations that produce a directory, not a signle file?
<tilpner> Yes, that should work just fine
<srhb> simukis: as long as outputHashMode = "recursive" you can.
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e0e29a5996e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<srhb> (Which is usually the case)
<tilpner> What's the default? "flat"?
<srhb> I think recursive?
<srhb> No, flat, apparently.
<tilpner> Guessing from how often nixpkgs sets it to recursive... probably flat
i1nfusion has quit [Remote host closed the connection]
<srhb> You're right, yeah :)
i1nfusion has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #57872 → ecdsatool: init at 0.0.1 → https://git.io/fjv7q
<simukis> srhb: Thanks, that seems to be a step in the right direction... Now it is saying `error: path '/nix/store/5834axmr8hwcg53sw62hfhcbxmik7dm7-pkgname' is not valid` :(
<simukis> (that’s after the installPhase completes)
<tilpner> Maybe paste your expression
<simukis> okay, sec.
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
ixxie has quit [Ping timeout: 244 seconds]
<Mic92> Izorkin: no, sorry, maybe you can ask someone else.
<tilpner> simukis: $file won't work like that
doyougnu has joined #nixos
<simukis> tilpner: okay ${file}.
<tilpner> Yes
<simukis> I’m confident that my installPhase is right, this only started failing once I attempted to add hashing
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #57873 → [backport] arx-libertatis: 2018-08-26 -> 2019-02-16 → https://git.io/fjv7W
<tilpner> simukis: That works here
<tilpner> simukis: Did you perhaps copy the hash from some other expression?
<tilpner> (By works I mean "prints hash mismatch error")
<simukis> tilpner: yeah, I did copy the hash from an unrelated derivation with a different name
sinner has joined #nixos
sinner is now known as Guest93099
<tilpner> simukis: Try altering a single character in there
<simukis> didn’t help, still the same error.
<tilpner> In the hash, not the directory
Glider_IRC_ has joined #nixos
<simukis> yeah, I did change the hash to `0v6a8x9hs9nyn3xih4fm6pp1s3si5vn9fkbb2817gcbmjln9zdz9` (note the last character changed from 8 to 9(
shabius has quit [Ping timeout: 258 seconds]
shabius_ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #57776 → ffsend: init at 0.2.36 → https://git.io/fjvne
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjv7z
<tilpner> Hmm. Paste full nix-build error. If it's just that line, maybe add a few -v
ixxie has joined #nixos
reinhardt has quit [Quit: Leaving]
Glider_IRC__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.5.15 -> 1.6.0 »: https://git.io/fjv72
<growpotkin> is there a particular commit message we should use for adding to `maintainers-list.nix`?
<{^_^}> [nixpkgs] @erictapen opened pull request #57874 → [release-19.03] haskellPackages.arbtt: 0.10.1 -> 0.10.2 → https://git.io/fjv7a
<tilpner> growpotkin: "maintainers: add growpotkin" would be fine
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #57875 → maintainers-list.nix: added "growpotkin" → https://git.io/fjv76
<simukis> tilpner: https://gist.github.com/nagisa/e2fd7add5260db0e915ce1efe84f6868 seem to be the relevant lines
<growpotkin> nice haah
<growpotkin> that was exactly what I had
<growpotkin> well close enough
<tilpner> simukis: I can't tell what's wrong. https://gist.github.com/a147898791e77be4489c3d2c9c558b2b is what I tried (and it worked)
<{^_^}> [nixpkgs] @dtzWill opened pull request #57876 → fx_cast: init at 0.0.3 → https://git.io/fjv7y
<growpotkin> simukis: where did you pull that dummy hash from?
Shouou has joined #nixos
<tilpner> "yeah, I did copy the hash from an unrelated derivation with a different name"
<growpotkin> simukis: If it (by some insane miracle) happen to be the same as another package it can have issues.
<tilpner> "yeah, I did change the hash to `0v6a8x9hs9nyn3xih4fm6pp1s3si5vn9fkbb2817gcbmjln9zdz9` (note the last character changed from 8 to 9"
<growpotkin> oh sorry those messages were for tilpner
<simukis> nah, they were for me, tilpner just quoted me
<tilpner> growpotkin: No, simukis is the one having a problem
<growpotkin> gotcha
<simukis> tilpner: okay, I guess I’ll just have to narrow it down by bisecting...
<simukis> the "found reference" seems suspicious
<growpotkin> simukis: what was your issue? I'm note seeing it above.
<simukis> growpotkin: nix-build outputs "error: path '/nix/store/kxqcl5za0ka12cmb0r4w371wxx8rrjzd-pkgname' is not valid" after I added outputHash{,Algo,Mode} to the derivation
<simukis> it works fine without those attributes.
<Shouou> Can I run something like `node2nix` or `pypi2nix` inside a Nix file and then import the result?
<Shouou> (follow up: is this a good idea?)
<growpotkin> Shouou: You might be able to get away with it, but I don't think its stable.
<growpotkin> Shouou: I would definitely be amazed if it worked haha
<tilpner> Shouou: It's not a great idea, it interferes with remote builds (as done by Hydra and some deployment scripts)
vk3wtf has joined #nixos
<growpotkin> Shouou: I kind of want to try it now
<tilpner> Shouou: For that reason, it's not allowed in nixpkgs. But it can be fine for personal use
<growpotkin> Shouou: tbh tho, those tools barely work as is in my experience. I almost always have to do some kind of fixing.
<Shouou> tilpner, ah fair enough. This is for a Nixpkgs contribution so I'll forego it then.
Guest93099 has quit [Read error: Connection reset by peer]
<growpotkin> oh yeah if its for a contribution definitely make a real derivation.
sinner has joined #nixos
goibhniu1 has joined #nixos
sinner is now known as Guest36183
goibhniu has quit [Ping timeout: 255 seconds]
vk3wtf has quit [Ping timeout: 246 seconds]
scientist has joined #nixos
<Shouou> growpotkin, yeah I've had a tough time with pypi2nix before, and not much experience with node2nix. Hit some barriers with recursive imports and then I assume I have to do some manual work to fix that... but that's a whole other issue I'll have to revisit soon.
stepcut has joined #nixos
<simukis> Oh, my problem seems to be related to soft links. Are there any gotchas to be aware of when creating soft links to other files within a derivation?
<simukis> changing from absolute link destinations to relative ones seems to have helped...
Guest36183 has quit [Read error: Connection reset by peer]
ilmu has joined #nixos
<growpotkin> They're definitely better than nothing :) to be sure. I bump into these kind of issues with all of those scripts, and I don't know enough about python, node, or rust to usually "debug" when things get too thick. But my experience with Haskell Modules and VimPlugs lead me to believe a lot of the issues stem from bad version resolutions.
doyougnu has quit [Ping timeout: 272 seconds]
alex`` has quit [Quit: WeeChat 2.4]
<growpotkin> Luckily I can debug those ones :)
tdammers has left #nixos ["WeeChat 1.6"]
<{^_^}> [hydra] @grahamc merged pull request #607 → Add JSON search API endpoint → https://git.io/fxbix
<{^_^}> [hydra] @grahamc pushed 3 commits to master: https://git.io/fjv7h
<scientist> if you guys could take a quick look at this: https://hastebin.com/efiqedequt.bash nixos-rebuild switch works fine but for some reason it does not switch to my custom keyboard layout
<tilpner> scientist: Did you login again?
<growpotkin> scientist: oof the keyboard stuff can get messy.
<scientist> https://nixos.wiki/wiki/Keyboard_Layout_Customization the let in expression seems to work but it is not switching to my custom keyboard layout.
<growpotkin> scientist: Xinput and all of that stuff is hard enough without the complications of the store.
<tilpner> scientist: Did you login again?
<scientist> tilpner: i did nixos-rebuild switch , then rebooted
<tilpner> Oh
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<tilpner> scientist: You could try setting i18n.consoleKeyMap
<tilpner> Which accepts paths too
<scientist> growpotkin: my custom keyboard layout is working fine but, i can'k get configuration.nix to load it at bootup
<tilpner> (But note that I have never tried custom layouts, anywhere)
zupo has joined #nixos
<tilpner> Hmm, that might be the wrong way of reuse
<scientist> tilpner: i was told not to use revelevant other options by the other programmers
<{^_^}> [nixpkgs] @xeji closed pull request #57875 → maintainers-list.nix: added "growpotkin" → https://git.io/fjv76
arjen-jonathan has quit [Quit: WeeChat 2.3]
<tilpner> Okay
<growpotkin> scientist: I know `home-manager` has a startup script that they've added to help with this. (possibly fixing the way the global config manages it)
<growpotkin> scientist: You might be able to get some insight from their module without using the whole tool.
<scientist> tilpner: i am getting the same output like when i do it manually so it compiles correctly but it is just not switching, and ok ill check out those links
<growpotkin> scientist: see "setxkbmap", you might want to compare their service settings to the NixOS module's settings.
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57873 → [backport] arx-libertatis: 2018-08-26 -> 2019-02-16 → https://git.io/fjv7W
<{^_^}> [nixpkgs] @primeos opened pull request #57877 → [19.03] python.pkgs.distro: Re-enable the package → https://git.io/fjv5L
<{^_^}> [nixpkgs] @xeji pushed commit from @rnhmjoj to release-19.03 « arx-libertatis: 2018-08-26 -> 2019-02-16 (#57873) »: https://git.io/fjv5t
civodul has joined #nixos
<{^_^}> [hydra] @grahamc merged pull request #571 → Additional helpful information in error messages. → https://git.io/f4AgW
<{^_^}> [hydra] @grahamc pushed 3 commits to master: https://git.io/fjv5Y
<scientist> could you guys pastebin those links, i am having problems with weechat
<growpotkin> yeah
<colemickens> so if I'm writing a derivation and it's complaining about <filesystem.h> what should I reach for? Clang? overriding GCC?
<scientist> thanks
<tilpner> scientist: Press Alt+L to get raw mode with weechat
<tilpner> (If you're having trouble selecting things)
<growpotkin> scientist: from what I can tell NixOS just writes the config files, but I don't see it setting up services for XKB. Home-Manager makes a service to reload `setxkbmap`
<growpotkin> fb71d9ee6502614c90eb81ef17d/modules/xsession.nix
<growpotkin> 15:16 scientist: tilpner: i am getting the same output like when i do it manually so it compiles correctly but it is just not switching, and ok ill check out
<growpotkin> those links
<growpotkin> 15:16 growpotkin: scientist: see "setxkbmap", you might want to compare their service settings to the NixOS module's settings.
<growpotkin> vk3wtf+
<growpotkin> 15:17 {^_^}: [nixpkgs] @xeji merged pull request #57873 → [backport] arx-libertatis: 2018-08-26 -> 2019-02-16 → https://git.io/fjv7W
growpotkin has quit [Remote host closed the connection]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/57873 (by rnhmjoj, 46 minutes ago, merged): [backport] arx-libertatis: 2018-08-26 -> 2019-02-16
growpotkin has joined #nixos
<tilpner> Quick reaction to stop flood?
<growpotkin> Sorry my paste just exploded
InFlames has joined #nixos
<growpotkin> yeah haah
<{^_^}> [nixpkgs] @jansol opened pull request #57878 → gxi: init at 0.5.5 → https://git.io/fjv5s
<growpotkin> I tried to middle mouse paste
<growpotkin> and it dumped some random buffer
<vaibhavsagar> how do you set `nix.envVars` when you're not using NixOS?
<growpotkin> instead of a link
<growpotkin> vaibhavsagar: .config/nixpkgs/config.nix
<scientist> sorrymy dpi is messed up so it doesnt let me copy link addresses in weechat
<vaibhavsagar> thanks growpotkin!
<tilpner> scientist: Go to search.tx0.co and click the first result for xkbcomp
<rnhmjoj> scientist: are you trying to setup a custom xkb layout?
<scientist> thanks, i will take a look
<growpotkin> rnhmjo: yep
<scientist> tilpner++
<{^_^}> tilpner's karma got increased to 18
<scientist> growpotkin++
<{^_^}> growpotkin's karma got increased to 1
<growpotkin> whoa
<growpotkin> we have a karma system? lol
<growpotkin> ty
<scientist> yeah lol
<growpotkin> wow I feel like a scrub. tiplner's crushing me
<wrl> growpotkin++
<{^_^}> growpotkin's karma got increased to 2
<growpotkin> lol
<growpotkin> <3
<growpotkin> wow
<rnhmjoj> scientist: if you have a symbol file you may take a look at this https://github.com/NixOS/nixpkgs/issues/56826
<{^_^}> #56826 (by lheckemann, 2 weeks ago, open): Zero Hydra Failures: 19.03 edition
<wrl> i got you bruh
<growpotkin> such kindness
<growpotkin> wrl++
<{^_^}> wrl's karma got increased to 1
<growpotkin> scientist++
<{^_^}> scientist's karma got increased to 1
<rnhmjoj> scientist: oops, wrong link: https://github.com/NixOS/nixpkgs/pull/47764
<{^_^}> #47764 (by rnhmjoj, 23 weeks ago, open): nixos/xserver: add option to install custom xkb layouts
<wrl> growpotkin: ayyy <3
<colemickens> Anyone else have locale/python issues: https://github.com/NixOS/nixpkgs/issues/56347 ?
<{^_^}> #56347 (by jluttine, 3 weeks ago, closed): Locales broken on FHSUserEnv
wfranzini has joined #nixos
<growpotkin> colemickens: wow I was literally just trying to resolve the same thing
<scientist> rnhmjoj++
<{^_^}> rnhmjoj's karma got increased to 1
<growpotkin> colemickens: My `xmessage` fails with that as the root cause.
<colemickens> I don't really understand any of it. I just know that the Plex PR that uses userFHS breaks for similar reasons :S
<growpotkin> colemickens: I was read that it is a `glibc` issue.
<growpotkin> colemickens: the fix is to add `glibcLocales` and `glibc.locales` options (supposedly). I added them to my config and rebuilt with no luck. I'm crossing my fingers that restarting magically applies the changes.
<{^_^}> [nixpkgs] @kalbasit merged pull request #57871 → nixos/datadog-agent: change start command → https://git.io/fjv7v
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Izorkin to master « nixos/datadog-agent: change start command (#57871) »: https://git.io/fjv5C
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<growpotkin> colemickens: Is if a font issue for you?
<growpotkin> it*
<colemickens> growpotkin: this is how it manifests for me: https://github.com/NixOS/nixpkgs/pull/56565#pullrequestreview-215261954
<growpotkin> colemickens: see issue #56347
<{^_^}> https://github.com/NixOS/nixpkgs/issues/56347 (by jluttine, 3 weeks ago, closed): Locales broken on FHSUserEnv
vk3wtf has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 272 seconds]
<growpotkin> oh nvm you already linked that lol
<growpotkin> oh wait no they're just super close and by the same author about the same issue... Check out the one I posted.
i1nfusion has quit [Remote host closed the connection]
ddellacosta has joined #nixos
i1nfusion has joined #nixos
<colemickens> It is the one I linked, haha. It's all good. Let me know if it fixes it for you, I'll try the workaround if so.
<colemickens> We should make sure we have some sort of open issue though...
<Dandellion[m]> Is there any way to use direnv and load a function from shell.nix?
<growpotkin> colemickens: I'm gonna do a restart to see if it helps.
alex`` has joined #nixos
<growpotkin> Dandellion[m]: yeah i've generally seen it as a part of the startup script.
<growpotkin> Dandellion[m]: https://github.com/direnv/direnv/wiki/Nix
shibboleth has joined #nixos
<Dandellion[m]> growpotkin: Yeah I read that but I didn't see anything about functions
<{^_^}> [nixpkgs] @primeos merged pull request #57877 → [19.03] python.pkgs.distro: Re-enable the package → https://git.io/fjv5L
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fjv52
<{^_^}> [nixpkgs] @timor opened pull request #57879 → Fix FreeCAD build 19.03 → https://git.io/fjv5a
wfranzini has quit [Remote host closed the connection]
<growpotkin> Dandellion[m]: I know `home-manager` has a ton of modules specifically for `direnv`. It might be worth using those or referencing them. I made the switch to `home-manager` recently and I'm really loving it.
<Dandellion[m]> yeah I'm using home-manager ^^
<Dandellion[m]> The question isn't about how to install it I'm quite a happy user already
<Dandellion[m]> but rather if it's possible to define functions finside a .direnv use_nix file
<Dandellion[m]> .envrc I mean
<growpotkin> Dandellion[m]: `programs.direnv.config` sounds like what you're looking for?
Soo_Slow has quit [Remote host closed the connection]
<growpotkin> Dandellion[m]: or `programs.direnv.stdlib` which is for `~/.config/direnv/direnvrc`
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Dandellion[m]> no, ther project file
stepcut has quit [Ping timeout: 246 seconds]
<Dandellion[m]> I already have a nix shell that is automatically installing packages and setting environment variables, I just also want it to set a bash function
<growpotkin> Dandellion[m]: Oh, do you have the `zshIntegration`/`bashIntegration` enabled?
<clever> Dandellion[m]: nix-shell will source the shellHook on the derivation it is opening
<Dandellion[m]> yep, so the function works if I run nix-shell shell.nix
<growpotkin> Dandellion[m]: But it doesn't work with a normal shell?
<Dandellion[m]> growpotkin: correct, but everything else does
<growpotkin> Dandellion[m]: can I see your `home.nix` for `programs.direnv`
cyraxjoe has joined #nixos
rycwo has joined #nixos
sinner has joined #nixos
sinner is now known as Guest2847
stepcut has joined #nixos
shibboleth has quit [Quit: shibboleth]
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
zupo has joined #nixos
<growpotkin> Dandellion[m]: Do you let `home-manager` do your whole `.bashrc`? Or do you have another file?
<Dandellion[m]> home-manager is working, but yes home-manager is doing my whole bashrc/zshrc
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos
timor has quit [Ping timeout: 244 seconds]
<growpotkin> Hmm, are you doing like a python project I assume? I see some folks doing `ln -s nix/envrc-nix-python .envrc; direnv allow` manually.
<{^_^}> direnv/direnv#73 (by pwaller, 5 years ago, open): Picking up aliases and functions
<growpotkin> ie, simlinking .envrc into subdirectories and manually activating.
doyougnu has joined #nixos
<Dandellion[m]> but it works
drakonis_ has joined #nixos
stepcut has quit [Ping timeout: 244 seconds]
<Dandellion[m]> like everything is fine, I'm just wondering how to export functions through it
_kwstas has joined #nixos
<growpotkin> Dandellion[m]: OH. I thought it was fully broken or something
vk3wtf has joined #nixos
<Dandellion[m]> but I've said everytime it's working ;_;
drakonis has quit [Ping timeout: 258 seconds]
<growpotkin> Dandellion[m]: yeah it was just a miscommunication
stepcut has joined #nixos
<growpotkin> Dandellion[m]: I didn't read carefully
<Dandellion[m]> I think it's just not possible
<Dandellion[m]> thanks anyways ^^
<Dandellion[m]> Maybe I can do something silly, like package a bash script and add it to PATH :P
<manveru> Dandellion[m]: yeah, direnv only does env vars...
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<Dandellion[m]> it also has a standard library of functions, and runs whole nix-shells
<manveru> there's #direnv btw :)
<manveru> well, the way it does nix-shells is that it invokes the nix-shell, prints out the env vars, and sources them in the original shell
<manveru> more or less like that, which is why you shouldn't print stuff in the shellHook of a shell.nix when using direnv
<scientist> is home-manager useful ?
rycwo has quit [Ping timeout: 258 seconds]
<growpotkin> scientist: I strongly recommend it
stepcut has quit [Ping timeout: 250 seconds]
<manveru> scientist: it's pretty much for desktops what nixos is for servers... kinda :)
<growpotkin> scientist: if it were me I would add a localized project "bin" of bash scripts and use `direnv` to add them to my path.
<{^_^}> [nixpkgs] @basvandijk opened pull request #57880 → megacli: 8.07.07 -> 8.07.14 → https://git.io/fjvdk
<scientist> ok
<growpotkin> scientist: It's not as convenient as functions in an rc, but it's pretty close.
<scientist> sounds good
<manveru> https://github.com/manveru/dotfiles/blob/master/zsh.nix that's my zsh config for home-manager
<growpotkin> scientist: also you could just modify your `cd` command to look for `.functions.sh` or something and source it if it's found. Without `direnv` altogether
<Dandellion[m]> manveru: yeah I figured
<{^_^}> [nixpkgs] @stephengroat opened pull request #57881 → pyside-tools: fix build → https://git.io/fjvdm
stepcut has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
<growpotkin> scientist: `function cd () { [ -e .functions ] && source .functions; }`
rcshm has joined #nixos
<growpotkin> scientist: BOOM, no fancy tools required lol
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<balsoft> I'm sorry to bother you, but can somebody with the right to build stuff on grahamcofborg do that for some of my pulls?
shabius_ has quit [Quit: Leaving]
Dr8128 has quit [Ping timeout: 245 seconds]
<{^_^}> #57870 (by balsoft, 2 hours ago, open): Gtk wave cleaner init
<{^_^}> #56132 (by balsoft, 3 weeks ago, open): wmfs: init at 201902
<{^_^}> #57867 (by balsoft, 3 hours ago, open): olive-editor: init at 2019-03-18
<scientist> could you guys post a link on how to setup a custom xkb layout in the home-manager
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0f3146eda73 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<growpotkin> eyyy I just got it to work with zsh
<manveru> not super fancy, but works for me ...
<balsoft> scientist: it's really easy
<growpotkin> scientist: `function chpwd () { emulate -L zsh; [ -e .functions.zsh ] && source .functions.zsh; }`, then cd into a directory with `.functions.zsh` in it. It sources all the functions for me.
<balsoft> If I understand you correctly
stepcut has quit [Ping timeout: 255 seconds]
<scientist> thanks i'll take a look
<scientist> manveru++
<{^_^}> manveru's karma got increased to 5
<scientist> balsoft++
<{^_^}> balsoft's karma got increased to 2
<scientist> growpotkin++
<{^_^}> growpotkin's karma got increased to 3
shabius has joined #nixos
fendor has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
goibhniu has joined #nixos
dashkal has quit [Read error: Connection reset by peer]
<growpotkin> Damn I should have done this so long ago, I hadn't even considered it. Super useful to have project local stuff without popping into nix-shell.
stepcut has joined #nixos
goibhniu1 has quit [Ping timeout: 268 seconds]
<growpotkin> It's a nice solution for times when you aren't realistically going to load up a nix-env.
<noonien> i've instealled discord in systemPackages and did a nixos-rebuild switch
<noonien> KDE did not seem to register the .desktop file existing
<clever> noonien: kde has trouble detecting such changes until you relog
<noonien> i reboot did not help either
NickSeagull has quit [Quit: WeeChat 2.4]
<clever> noonien: is the discord command available in a shell?
dashkal has joined #nixos
<noonien> `Discord` is, yes
grizwako has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/74e25d2f534 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<noonien> this was on a friend's PC, he switched to rofi anyway, i was just curious if this is a known issue
<growpotkin> noonien: Is the .desktop non-existant? or is it just undetected?
<colemickens> growpotkin: how'd the reboot go?
knupfer has quit [Ping timeout: 264 seconds]
<growpotkin> colemickens: I got distracted lol
<noonien> growpotkin: it was not detected
<shachaf> Hmm, updating ghc from nix still breaks Unicode in ghci for some reason.
<growpotkin> colemickens: Lemme pull the trigger now
<shachaf> How can I figure out what's going on?
<growpotkin> shachaf: same for me.
silver_ has joined #nixos
<shachaf> growpotkin: Ah, good to hear it's not just me.
<noonien> there were other .desktops, such a google-chrome.desktop in the same folder sommewhere in /nix/store/...-system-path/share/applications
<growpotkin> noonien: check your global and local profiles for them. If you have `nix-index`/`nix-locate` I'd spin those up to find it quickly
<growpotkin> brb
<clever> noonien: you want to be looking in /run/current-system/sw/
growpotkin has quit [Remote host closed the connection]
erasmas has quit [Read error: Connection reset by peer]
camsbury- has joined #nixos
erasmas has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
silver has quit [Ping timeout: 255 seconds]
<camsbury-> hey - using overlays to do evrrides on `python36` to use `pipenv`
<camsbury-> but doesn't seem to be working
<camsbury-> presumably because it does't know about the executable for `python36`
silver_ is now known as silver
rycwo has joined #nixos
growpotkin has joined #nixos
philippD has joined #nixos
scientist has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<growpotkin> no luck on the reboot for fixing the font locale stuff for me :(
drakonis_ has quit [Ping timeout: 245 seconds]
rfold has quit [Quit: leaving]
<sphalerite> how can I work out which module is bringing a particular package into the system path?
<colemickens> How does NixOS choose between things like config.nixpkgs.config.firefox.enable{feature} and things more akin to /run/current-system/sw/share/{applications,vim-plugins} ?
<growpotkin> colemickens: Could you give an example? I don't think I see the conflict
<sphalerite> colemickens: what do you mean?
work_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<colemickens> Maybe I'm missing an important difference, but with /share/vim-plugins, a package can output to $(out)/share/vim-plugins and they will appear at runtime under /run/... and thus can be used for plugins.
<colemickens> But for Firefox, it's done differently: https://github.com/NixOS/nixpkgs/pull/57876/files
<sphalerite> well nixpkgs config sucks
<sphalerite> basically
<sphalerite> :p
<colemickens> In this case, the Firefox wrapper is told to include the FXCast extension host file, rather than it just picking up any that are present in /run/.../share/firefox-native-ext-hosts for example?
<sphalerite> Firefox is almost the only case where it's still used
rcshm has quit [Read error: Connection reset by peer]
<colemickens> aha okay
<sphalerite> the disadvantage of having nixos options for this kind of stuff is that it doesn't allow per-user configuration, or use of the features outside nixos
rcshm has joined #nixos
<sphalerite> The preferred approach for stuff that can be done without systemwide config (so that excludes setuid wrappers and systemd services for instance) is wrapper generators
<sphalerite> s/^The/My/
<sphalerite> I don't know if this is a generally accepted viewpoint :p
<colemickens> Oh, I get it now, I think.
<colemickens> Seems like package flags + home-manager could be a "Better" way?
<sphalerite> So sort of like firefox, except instead of having your nixpkgs.config thing you install a wrapped weechat like https://nixos.org/nixpkgs/manual/#sec-weechat
rcshm has quit [Remote host closed the connection]
<sphalerite> home-manager isn't as versatile, since you can't just stick a home-manager config into systemPackages
rcshm has joined #nixos
<sphalerite> just having a function allows use in nixos, home-manager, plain nix-env… without tying you to any particular one
rycwo has quit [Quit: WeeChat 2.2]
rycwo has joined #nixos
<colemickens> Right. Ack on the plain function. Maybe home-manager would be more apt for a more wholistic approach toward per-user runtime plugin-y thing? Not sure, I don't use home-manager.
rprije has joined #nixos
<sphalerite> yes and no. home-manager is nice in that it provides a way to configure even applications that are completely stubborn about using your $HOME
<sphalerite> but it still involves nasty state
kvda has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<colemickens> Hm, more so than regular NixOS? Aren't they both laying down readonly ini/conf files at the end of the day?
mkaito has quit [Remote host closed the connection]
mkaito has joined #nixos
mkaito has joined #nixos
<sphalerite> sure
<sphalerite> but wrapper scripts will work anywhere
* colemickens nods
balsoft has quit [Ping timeout: 246 seconds]
stepcut has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: Leaving]
<delroth> does nixops support mixed-architecture deployments? i.e. one machine x86_64 and one machine armv7
<delroth> and if so, how do I encode that in the machine's configuration?
stepcut has joined #nixos
<delroth> (either with cross-compilation or using a native armv7 builder defined in my /etc/nix/machines -- I don't particularly care, but I'd guess the latter is more likely to work)
jasongrossman has quit [Remote host closed the connection]
<clever> delroth: if you set nixpkgs.system (a nixos option), then you can control what arch its targeting
<clever> and each machine in the deployment has its own nixos config, so you should be able to freely mix things
<kvda> Does anyone have example of Golang dev env in Nix?
hellauer has joined #nixos
<delroth> clever: ah great, thanks, nixpkgs.system was what I was looking for :)
<clever> delroth: you can use some of the flags under nixpkgs.system to configure cross-compile, but ive not seen all of nixos build like that yet
Fare has quit [Ping timeout: 250 seconds]
<tilpner> Yeah, I tried setting nixpkgs.crossSystem, but it didn't work well (at all)
<tilpner> Setting localSystem and then picking compatible cross-built packages works better
growpotkin has quit [Remote host closed the connection]
hlolli has joined #nixos
<{^_^}> [nixpkgs] @nixy opened pull request #57882 → [WIP] hy: 0.15 -> 0.16 → https://git.io/fjvF3
rycwo has quit [Quit: WeeChat 2.2]
evanm_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #57880 → megacli: 8.07.07 -> 8.07.14 → https://git.io/fjvdk
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjvFl
erasmas has quit [Quit: leaving]
<evanm_> building a haskell project fails even though I have hpack installed in my environment. Can someone look at: https://gist.github.com/EvanMisshula/eb07ba90193b9560d0643ba6a6ed9309
<evanm_> Thank you
<clever> ,libraries evanm_
<{^_^}> evanm_: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<clever> evanm_: installing hpack system wide will never make it available to nix-build jobs
o1lo01ol1o has quit [Remote host closed the connection]
* colemickens has never understood why this is the case
<colemickens> is there extra linking that happens with nix-shell?
o1lo01ol1o has joined #nixos
<clever> colemickens: nix-shell lets it happen, which can mislead users into thinking it works, then fails when you use nix-build
<clever> nix-shell --pure prevents it
<clever> systemPackages land in /run/current-system/sw/bin
<clever> nix-env packages land in ~/.nix-profile/bin/
<clever> nix-build simply doesnt put either one into $PATH
<clever> so those packages are just not found
fendor has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: Leaving]
<evanm_> clever: So are you saying I should delete hpack and garbage collect?
aanderse has quit []
<clever> evanm_: you dont have to garbage collect, just add hpack to the buildInputs for the derivation that needs ot
Shouou has quit [Ping timeout: 255 seconds]
<evanm_> clever: ok
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<evanm_> clever: I tried that and got an infinite recursion. I will repeat and resubmit...give me 5
aanderse has joined #nixos
hellauer has quit [Ping timeout: 258 seconds]
rcshm has quit [Remote host closed the connection]
hellauer has joined #nixos
npmccallum has quit [Ping timeout: 255 seconds]
rcshm has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<evanm_> clever: here is the output from trying to add hpack to the build products ...https://gist.github.com/EvanMisshula/13b226bb264e3b8826e384868120a9ce
<evanm_> clever: thank you
<clever> evanm_: you want to add hpack to common, not add hpack to the overrides
stepcut has quit [Ping timeout: 272 seconds]
<evanm_> clever: just a regular build-dependancy?
<clever> evanm_: i believe so
<evanm_> clever: thank you. Man I owe you a beer if you come to NYC....
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4c6be1f00c3 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
Fare has joined #nixos
stepcut has joined #nixos
<{^_^}> [nixpkgs] @jansol closed pull request #57878 → [WIP] gxi: init at 0.5.5 → https://git.io/fjv5s
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__monty__ has quit [Quit: leaving]
growpotkin has joined #nixos
growpotkin has quit [Client Quit]
_kwstas has quit [Quit: _kwstas]
growpotkin has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
silver has joined #nixos
adetokunbo has quit [Quit: This computer has gone to sleep]
jackdk has joined #nixos
<doyougnu> Hi all, I'm trying to do some plotting in Julia with the Plots library. However I cannot generate any plots due to an error for a missing binary "gksqt". Looking at the libraries docs it seems this depends on qt so I've installed qt5.full but to no avail. Anyone have any ideas on where to get gksqt? Anyone on here using Julia with NixOs?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e408cd43902 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Fare has quit [Ping timeout: 246 seconds]
MarcWeber has joined #nixos
goibhniu1 has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
goibhniu has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #55856 → update xhyve to tip of master → https://git.io/fh5Lb
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fjvFp
<growpotkin> Hey anybody else use URxvt? I've been so frustrated with it for the last few weeks. Any alternative suggestions that are similarly lightweight/configurable?
<{^_^}> [nixpkgs] @aszlig pushed 4 commits to master: https://git.io/fjvFj
stepcut has joined #nixos
rcshm_ has quit [Read error: Connection reset by peer]
<doyougnu> growpotkin: I've been using alacritty, no regrets so far
rcshm has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #54508 → nixos/overlayfs: add test → https://git.io/fhViu
<growpotkin> doyougnu: thanks
<LnL> ^ eh? that wasn't me
hellauer has left #nixos ["WeeChat 2.4"]
<evanm_> I am getting an error when building my project on tests when my override attempts to invoke dontCheck: https://gist.github.com/EvanMisshula/e13aa303b1ed941f0afd339eb35d4bc8
<{^_^}> [nixpkgs] @LnL7 merged pull request #57641 → linuxPackages: 4.14 -> 4.19 → https://git.io/fje2i
<evanm_> The first file in the gist is the bash output and the second default.nix
<aszlig> LnL: hm, maybe github has issues with octopus merges
<LnL> yeah, this isn't the first time I've seen that
<aszlig> mhm, maybe it's just an issue of that bot, who knows...
<gchristensen> github has issues
<gchristensen> not the bot
justanotheruser has quit [Quit: WeeChat 2.2]
<LnL> indeed, I also received merge event emails
<aszlig> gchristensen: ah, so you're passing through these events 1:1?
justanotheruser has joined #nixos
<gchristensen> pretty much
<aszlig> LnL: https://github.com/NixOS/nixpkgs/pull/57641 <- you were also attributed as the merger down there
<{^_^}> #57641 (by aszlig, 4 days ago, merged): linuxPackages: 4.14 -> 4.19
justanotheruser has quit [Client Quit]
m0rphism has quit [Ping timeout: 245 seconds]
hamishmack has joined #nixos
jackdk has quit [Remote host closed the connection]
justanotheruser has joined #nixos
<aszlig> LnL: did this happen only for octopus merges or also for recursive merges?
<aszlig> in the past i mean
<LnL> don't know the conditions that cause(d) it
<aszlig> well, we'll see once this hits release-19.03 =)
slack1256 has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @stephengroat closed pull request #57881 → pyside-tools: fix build → https://git.io/fjvdm
astronavt has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
astronavt has left #nixos ["Leaving"]
yl has quit [Ping timeout: 244 seconds]
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
adetokunbo has joined #nixos
jasongrossman has joined #nixos
<aszlig> LnL: just reported the problem to GH
ng0 has quit [Quit: Alexa, when is the end of world?]
rcshm_ has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<LnL> thanks, the fact that it's a special merge does seem suspicious
<aszlig> i guess it's related to the fact that the parent commit in master is from you... so maybe they just fall back to the last commit they recognize as a "valid" commit
<aszlig> LnL: why? it's a standard merge method in git since its inception
<aszlig> or okay, maybe not inception, but early days
<LnL> sure, but it's not used often so a bug like this wouldn't be noticed by most users
camsbury- has quit [Ping timeout: 255 seconds]
<aszlig> LnL: well, i did such merges a bunch of times in the past
<aszlig> but maybe i didn't notice back then
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<aszlig> but yeah, most people even don't do merges by hand but just click the merge button
i1nfusion has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 245 seconds]
i1nfusion has joined #nixos
jackdk has joined #nixos
alex`` has joined #nixos
growpotkin has quit [Remote host closed the connection]
Rusty1 has joined #nixos
<aszlig> this one got correctly recognized
drakonis has joined #nixos