gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<ottidmes> Guest21612: That would be nice, I have packaged some things in the past that would randomly change something in the source files, making the hash invalid, but since I did not want to host my own mirrors and they weren't that important I just gave up on them
dan_b_ has joined #nixos
dan_b has quit [Read error: Connection reset by peer]
Fare has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36585: grpc: 1.9.1 -> 1.10.0 (master...auto-update/grpc) https://git.io/vAxw9
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #36520: folly: 2017.11.06.00 -> 2018.02.26.00 (master...auto-update/folly) https://git.io/vAAqI
NixOS_GitHub has left #nixos [#nixos]
<rawtaz> johnhamelink: also check the user michalrus on github, he has a bunch of nice nixos stuff in his dotfiles repo
* rawtaz &
slyfox has joined #nixos
<__monty__> Guest21612: Someone asked about ipfs yesterday, it was experimented with but it can't handle the write traffic, so unless that changes I think it's unlikely.
siva has joined #nixos
muzzy has joined #nixos
<siva> Hello all, nixos newbie here. Installed nixos 17.09 in my laptop and it uses the stable channel. However, I'd like to install a few packages from unstable as a user (not system wide). I tried to search online and found a few answers, but it's not clear as a newbie what to do. Any suggestions and/or pointers to read on my own?
<electrocat> siva: probably just do 'nix-channel --add https://nixos.org/channels/nixpkgs-unstable'
<electrocat> (as normal user)
dan_b_ has quit [Read error: Connection reset by peer]
<__monty__> siva: Do realize that the entire closure for the derivation will be installed so a small program can turn into a big install.
<siva> electrocat: Thanks. Wouldn't that pollute the other packages too? I mean, wouldn't that 'upgrade' all other packages too?
<__monty__> siva: No, you need to specify the channel when installing packages.
boomshroom has joined #nixos
<boomshroom> Joining from school.
<symphorien> siva: iirc there is an extended description on the faq page on nixos.wiki
<__monty__> You're still in school and already using nixos? I envy you, wish I could've found the path to enlightenment back then.
<boomshroom> I managed to get the tarballs that were clever showed me, but they seem to generate source tarballs.
<siva> __monty__: Ok. Just so I'm getting this right: As a user there's no harm in adding unstable to the list of channels as nothing changes yet. And, when I want to install (I presume through nix-env -i) I'd have to specify a channel (in my case unstable) and existing packages won't get affected. Am I getting this right?
<boomshroom> __monty__: It's more accurate to say I'm in 3rd year university. (College for you 'mericans)
dan_b has joined #nixos
<__monty__> siva: Yes, you'd do something like nix-env -iA unstable.attributename
<boomshroom> __monty__: also I've been visiting this channel for about as long as I've been using nixos, which I think has been since last summer.
<__monty__> boomshroom: Ah, still you've got a full year's headstart on functional principles.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36586: gsm: 1.0.14 -> 1.0.17 (master...auto-update/gsm) https://git.io/vAxoQ
NixOS_GitHub has left #nixos [#nixos]
<siva> __monty__ & symphorien: Thanks for your help. I didn't know about nixos.wiki (I was just following nixos.org). I'll check that out!
aramiscd has quit [Quit: WeeChat 2.0.1]
Fare has quit [Ping timeout: 240 seconds]
<boomshroom> __monty__: I should mention that I think of myself less as a computer science student learning valuable skills, and more as a kid with a god complex and a keyboard.
<cstrahan> Has anyone had this experience? I've set a boolean option in configuration.nix to something other than the default, and see that the value isn't sticking
<cstrahan> Specifically, this isn't working: virtualization.virtualbox.host.enableHardening = false;
<boomshroom> People keep talking about "money" and "jobs". All I want to do is make the impossible possible and bend the world to my will, starting with my own computer.
<cstrahan> If I put a builtins.trace in the respective module in the nixpkgs source tree, I can see it print "true".
<cstrahan> However, I can disable vbox host entirely like so (and builtins.trace appropriately reflects this): virtualisation.virtualbox.host.enable = true;
takeda has joined #nixos
<cstrahan> err, I mean, make that last line [...] = false;
<cstrahan> ^ that works.
<boomshroom> Back to my real question. I want a simple, static, build of nix that can run on arm7l so I can transfer it and bootstrap the rest from there.
sonarpulse has quit [Ping timeout: 260 seconds]
<cstrahan> I'm feel like I'm starting to lose my mind. Everything in my config seems to be working fine, but the nix module system seems to be convinced somehow that virtualization.virtualbox.host.enableHardening is set to true, when it absolutely, certainly is not.
<johnhamelink> rawtaz: will do!
hakujin has joined #nixos
jadsh has joined #nixos
spear2 has joined #nixos
erasmas has quit [Quit: leaving]
hakujin has quit [Ping timeout: 240 seconds]
<jadsh> How do I list all the gnome3-related packages I have installed on my NixOS system? I'm trying to slim down gnome via environment.gnome3.excludePackages
scribbler has joined #nixos
__monty__ has quit [Quit: leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36587: gssdp: 1.0.1 -> 1.0.2 (master...auto-update/gssdp) https://git.io/vAxKX
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> I can use nix-shell to get a build environment for a package, right? If so, why is autoreconf and automake not included?
spietz has quit [Ping timeout: 245 seconds]
scribbler has quit [Ping timeout: 256 seconds]
Fare has joined #nixos
<elvishjerricco> boomshroom: You can add them. They're just not there by default.
<boomshroom> I managed to get an environment by changing a previous nix-build command to use nix-shell. A simple nix-shell wouldn't have worked anyways because I'm cross-compiling.
<cstrahan> Wow. So I can do this with zero complaints from the module system: virtualization.virtualbox.host.enableHardening = "this aint a boolean, now is it?";
<cstrahan> But this immediately fails: virtualization.virtualbox.host.enable = "nor is this ....";
scribbler has joined #nixos
<cstrahan> (because, you know, type = types.bool)
xeji has quit [Quit: WeeChat 2.0]
dbe has quit [Ping timeout: 252 seconds]
<ryantm> cstrahan: How does it fail with enable?
<cstrahan> ryantm: error: The option value `virtualisation.virtualbox.host.enable' in `/home/cstrahan/src/nixos-config/configuration.nix' is not of type `boolean'.
<cstrahan> ... and yet I don't get that sort of error when I do something equally ridiculous for enableHardening
<cstrahan> Also surprising (but maybe there's a reasonable explanation???): if I put a builtins.trace like so: config = mkIf (builtins.trace cfg.enable cfg.enable) [.....]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #36324: okular: add support for CHM, ZIP and markdown files (master...f/okular) https://git.io/vAHji
NixOS_GitHub has left #nixos [#nixos]
scribbler has quit [Ping timeout: 260 seconds]
<cstrahan> I see these two lines in the stdout when doing a nixos-rebuild build:
<cstrahan> trace: true
<cstrahan> trace: false
<ryantm> Maybe this is a sign enableHardening is not being used.
dan_b has quit [Ping timeout: 240 seconds]
<boomshroom> Does nix statically link by default when cross-compiling from source?
<gchristensen> no
<boomshroom> gchristensen: I should be able to add -static to LD_FLAGS right?
<gchristensen> no idea
<ryantm> boomshroom: I don't think it's that simple, because you'd need to do that for all the dependencies, etc.
<boomshroom> ryantm: The idea is that I'll be able to build a bootstrap nix on one machine, transfer it to another which doesn't have a compiler installed, and then copy a closure for a full install afterwords to bootstrap.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36588: gtk-doc: 1.25 -> 1.27 (master...auto-update/gtk-doc) https://git.io/vAx6S
NixOS_GitHub has left #nixos [#nixos]
scribbler has joined #nixos
<ryantm> boomshroom: my coworker made his own tiny version of something like nixpkgs to do cross-platform static linking https://github.com/pololu/nixcrpkgs
jbetz has left #nixos [#nixos]
<boomshroom> ryantm: That actually looks very promissing.
<ryantm> boomshroom: It's not clear what you mean by "nix". Are you trying to compile some particular program?
<boomshroom> I'm trying to cross compile Nix itself so I can transfer a build of nix that was build with nix.
<boomshroom> I'm trying to cross compile Nix itself so I can transfer a build of Nix that was built with Nix.
digitus has quit [Quit: digitus]
<ryantm> Ah, okay. Yeah, maybe nixcrpkgs could help you, if it supports all the tools you need to build the nix compiler.
<boomshroom> Nix doesn't have any prebuilt arm builds, so I have to make one myself. I have one built with Nix, but it's dynamically linked to libraries in the local store.
scribbler has quit [Ping timeout: 260 seconds]
<elvishjerricco> There has been significant work on cross compiling with nixpkgs proper. They do have aarch64 builds now, boomshroom. No idea about rpi though
<boomshroom> Actually, this is for my Nexus 4 running SailfishOS. :P
<elvishjerricco> Ah. Well... Android cross compilation was recently added to nixpkgs, but I guess that doens't help you :P
<boomshroom> I am interested on the possibility of running Nix on the Nintendo Switch once the bootrom exploit gets released.
<elvishjerricco> Is SailfishOS compatible with aarch64-*-linux-gnu?
<boomshroom> elvishjerricco: It comes with bash that targets armv7l-unknown-linux-gnueabi
<boomshroom> elvishjerricco: In other words, it's a full linux distro, not a custom OS on top of the linux kernel like Android.
rardiol1 has left #nixos [#nixos]
<elvishjerricco> Ah. I'm not sure if nixpkgs supports that one
muzzy has quit [Read error: Connection reset by peer]
<boomshroom> I know it has arm7l support with hard floats. It probably won't take much effort to get it to build with soft floats if nessisary.
Fare has quit [Ping timeout: 256 seconds]
<elvishjerricco> boomshroom: It'd be sweet if you got that working and submitted a PR :) I'd kill to be able to run an open source phone and cross compile to it with Nix
Tobba has joined #nixos
boomshroom_ has joined #nixos
<boomshroom_> My laptop rebooted for no aparent reason
boomshroom has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36589: gtkdatabox: 0.9.2.0 -> 0.9.3.0 (master...auto-update/gtkdatabox) https://git.io/vAxix
NixOS_GitHub has left #nixos [#nixos]
boomshroom_ is now known as boomshroom
ona has quit [Quit: ...]
<cstrahan> Figured out what was going on: https://github.com/NixOS/nixpkgs/issues/36590
<boomshroom> Simply adding -static did not work. The libraries aren't available statically unless I can override the LDFLAGS for nix and all transitive dependencies.
<boomshroom> It's also silly because I can't run it on the host because it's the wrong cpu nor on the target because it links into the store. Unless... >:D
<jadsh> Hey guys, I'm trying to do `services.gnome3.evolution-data-server.enable = mkForce false;` (as per https://github.com/NixOS/nixpkgs/issues/10241) but `nixos-rebuild switch` errors with "undefined variable 'mkForce'". Without mkForce, it errors saying there's a conflicting definition in gnome3.nix and my configuration.nix
<ryantm> cstrahan: Darn, I saw you had a discrepancy between z and s and I thought it was just you typing.
<cstrahan> Hehe, it's alright.
<ryantm> jadsh: Do you have lib available in your current context? try lib.mkForce
simukis has quit [Ping timeout: 256 seconds]
<cstrahan> I'm kind of surprised we spell it "virtualisation" -- that seems like a wildly unpopular way to spell it, if not flat out wrong.
<cstrahan> ... but then you stumble across this weird sort of shit: https://azure.microsoft.com/en-gb/overview/what-is-virtualization/
<ryantm> cstrahan: My understanding is that's the UK spelling?
<cstrahan> "virtualization" in the url, but "virtualisation" throughout the copy.
<cstrahan> Oh, nvm - just saw the "en-gb". Must be localization.
<jadsh> ryantm: `lib.mkForce` makes nixos-rebuild complain "undefined variable 'lib'"
<cstrahan> <cough>localisation</cough>, I mean.
<ottidmes> jadsh: You have to put it at top in your config file, like so: { config, lib, pkgs, ... }:
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vAxXT
<NixOS_GitHub> nixpkgs/master 98d1772 Shea Levy: Merge branch 'libav-shebangs' of git://github.com/xeji/nixpkgs
<NixOS_GitHub> nixpkgs/master adbd25c xeji: libav: remove /bin/sh dependencies...
NixOS_GitHub has left #nixos [#nixos]
<jadsh> ottidmes: that worked, thank you!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to release-18.03: https://git.io/vAxXL
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 8e58deb xeji: libav: remove /bin/sh dependencies...
boomshroom has quit [Ping timeout: 260 seconds]
<bitonic> i'm getting `warning: substituter 'ssh://XYZ' does not have a valid signature for path '/nix/store/ASD' when specifying a substituter using `--option substituter ssh://XYZ`. i don't think this happened in nix < 2. does anybody have pointers?
<ottidmes> bitonic: I have some pointers, but I have to say I have not gotten it to work yet, fixed that issue though, but got others in return (probably because I am still on stable 17.09)
<bitonic> ottidmes: alternatively, is there an easy way to downgrade to nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #36583: libav: remove /bin/sh dependencies (master...libav-shebangs) https://git.io/vAxa8
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> bitonic: You will have to set secret-key-files and trusted-public-keys and generate them via nix-store (see manpage of nix-store or the Nix manual on secret-key-files)
<bitonic> mhm
<bitonic> i'd probably be better off just installing 1.11.something for now, but i'm not sure what the best way to do that is
<ottidmes> bitonic: And then you have to sign the things already in your store with: nix sign-paths --all --key-file <secret-key-file>
<djahandarie> In this thing I'm trying to package, it does cdll.LoadLibrary("libjack.so.0"), and that doesn't seem to work by default
<ottidmes> bitonic: Are you on unstable?
<djahandarie> I guess I might need to wrapProgram and fix some environment variable...?
<bitonic> ottidmes: i just installed with `curl https://nixos.org/nix/install | sh` on a new machine
<ottidmes> bitonic: Ah Nix only, not sure
<ottidmes> bitonic: https://nixos.org/releases/nix/nix-1.11.16/ can be found on the download page, but then you still have to do the steps taken by the install script, not sure how to get the old version of the install script
<bitonic> ottidmes: yeah i'm trying to do it manually now
<djahandarie> This seemed to work, but is this actually the right way to do this? wrapProgram $f --prefix LD_LIBRARY_PATH ":" "${libjack2}/lib"
<ottidmes> djahandarie: I think patchelf is preferred over wrapProgram, but I could be talking nonsense, not my area of expertise
<djahandarie> Hmm, in this case it's a python script, so I'm not sure how I'd patchelf it
<ottidmes> djahandarie: For example, from one of my packages: patchelf --set-interpreter "$(cat ${stdenv.cc}/nix-support/dynamic-linker)" --set-rpath ${libPath} $elf
<ottidmes> djahandarie: Hmm, than wrapProgram is probably the best you can do
<djahandarie> I guess the alternative would be to patch the python to do something more supported, though I'm not sure there is anything more supported than LoadLibrary
<djahandarie> But in good news, I think I've finally succeeded in packaging cadence (claudia, etc), and its dependency ladish
<djahandarie> If there's any useful docs someone could point me to on the procedure to get something into nixpkgs, that'd be lovely
<djahandarie> (Especially if there's a procedure which causes someone more experience to review my code)
<djahandarie> These are actually C++ programs which have some python in them, which is sort of what has been making this annoying, since I don't think I can really use any of the python derivation makers
<ottidmes> djahandarie: You could always first paste it here (via a paste website), but my experience is that people will just give you feedback once you make your pull request
<djahandarie> Alright. So procedure is to make the change on master and create a pull request?
jadsh has quit [Quit: Leaving]
<genesis> djahandarie : you can prefix your pr with a [wip] to show it's not ready to merge but ask for reviewing
<genesis> and be patient :D
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 260 seconds]
Rusty1_ has joined #nixos
pkill9 has quit [Ping timeout: 260 seconds]
<ryantm> gchristensen: Does OfBorg figure out how many packages will change from a given commit by running the command at https://github.com/NixOS/ofborg#running-meta-checks-locally on master and the changed branch and comparing how many lines have changed?
rogue_koder has joined #nixos
boomshroom has joined #nixos
<boomshroom> This is almost certainly not the recomended way, but I packaged nix and its transitive dependencies, transfered them over and unpacked them into root. Attempting to run it fails when trying to load libnghttp2.so.14.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36592: gzdoom: 3.1.0 -> 3.2.5 (master...auto-update/gzdoom) https://git.io/vAxMw
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> FYI, I used something like `tar -cf nix-arm.tar.gz $(nix-store -q --references result)`
pie___ has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9b4ffd9 Herwig Hochleitner: chromium: 64.0.3282.186 -> 65.0.3325.146...
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vAxMD
pie__ has quit [Ping timeout: 240 seconds]
<boomshroom> It appears as though "transitive dependencies" weren't so transitive.
<boomshroom> Quick check of the manual reveals --requisites is what I wanted rather than --references.
<boomshroom> OMG, this might actually work.
<boomshroom> Fingers crossed this doesn't blow up my phone's internal storage
mizu_no__ has joined #nixos
<boomshroom> `/nix/store/r7zcxm9df2yi3mvl30q3818safrqbapv-nix-2.0pre5968_a6c0b773-arm-unknown-linux-gnueabihf/bin/nix-store --version` > "nix-store (Nix) 2.0pre5968_a6c0b773"
<boomshroom> SUCCESS!
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
thc202 has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 27c57b0 Herwig Hochleitner: chromium: 64.0.3282.186 -> 65.0.3325.146...
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to release-17.09: https://git.io/vAxD3
Supersonic112 is now known as Supersonic
markus1189 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to release-18.03: https://git.io/vAxDl
<NixOS_GitHub> nixpkgs/release-18.03 058417c Herwig Hochleitner: chromium: 64.0.3282.186 -> 65.0.3325.146...
NixOS_GitHub has left #nixos [#nixos]
markus1199 has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36593: help2man: 1.47.5 -> 1.47.6 (master...auto-update/help2man) https://git.io/vAxD0
NixOS_GitHub has left #nixos [#nixos]
<clever> boomshroom: nice, which route worked?
<boomshroom> clever: tar -cf pkgs.tar $(nix-store -qR $PKG)
<clever> boomshroom: ah, you wanted `nix-store -qR` or the `make-system-tarball` previously mentioned
<clever> make-system-tarball includes a "backup" of the db.sqlite you can restore, because your nix doesnt believe itself to be a valid store path
<clever> nix will try to delete itself pretty quickly if you do anything like a GC
<boomshroom> clever: I figured static linking would have been simpler, but simply throwing all it's dependencies was easier than I thought I would be.
<clever> yeah, thats the magic of nix
<clever> -qR just automagically knows what it depends on (if its written right), and just works
<clever> then you have dbus that crashes the entire program if /etc/machine-id is missing, lol
d4g has joined #nixos
<boomshroom> Interestingly it managed to create its own db.sqlite. I am getting `error: creating directory '/nix/var/nix/channel-cache': Permission denied` when trying to set the channel.
<boomshroom> I already made some builder users even though it's a single user machine. Should I undo that and just chown?
<clever> you only need build users if nix is being ran as root
d4g_ has quit [Ping timeout: 252 seconds]
<clever> if it never gets root, and it has +w to the store, it works without build users
<boomshroom> I'm generally not going to run nix as root.
<boomshroom> The directory is currently owned by root, but I can chown it.
<clever> then you can just omit build users and give the primary user full ownership
<clever> thats how single-user nix works on most linux distros
<boomshroom> How do I remove the build users?
<clever> how did you create them?
<boomshroom> I copied the command from the manual
<clever> adduser or useradd?
<clever> the oposite of useradd is userdel
<boomshroom> Done.
<boomshroom> should the whole store be chowned, or just /nix/var?
CMCDragonkai has joined #nixos
<clever> whole thing
jtojnar has quit [Read error: Connection reset by peer]
<clever> otherwise it will fail to create things in /nix/store/
CMCDragonkai is now known as Guest38658
<boomshroom> clever: Thank you.
ottidmes has quit [Ping timeout: 256 seconds]
jtojnar has joined #nixos
timokau has joined #nixos
Guest21612 has quit [Ping timeout: 245 seconds]
Mateon1 has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36594: hivex: 1.3.14 -> 1.3.15 (master...auto-update/hivex) https://git.io/vAxy2
NixOS_GitHub has left #nixos [#nixos]
Mateon1 has joined #nixos
etu has quit [Read error: Connection reset by peer]
timokau_ has quit [Ping timeout: 255 seconds]
etu has joined #nixos
<boomshroom> Setting remote builderscan have them cross-compile right? I can tell my phone that my desktop (an x86_64 machine) can make arm7l executables?
<boomshroom> packages rather?
<clever> boomshroom: if its a proper cross-compiler, then you need to pass the cross-compile flags to nixpkgs when you import <nixpkgs> { ... };
<clever> boomshroom: then nix will know that the compiler needs x86, and will force you to setup build slaves
<clever> and the device will NEVER be able to compile its own files, even a simple "echo foo > $out"
<clever> because it wants to use the x86 bash for echo
<boomshroom> More imediate problem: nix-channel --update >> "unable to download 'https://nixos.org/channels/nixpkgs-unstable': Peer certificate cannot be authenticated with given CA certificates (60)"
<clever> [clever@amd-nixos:~/Downloads]$ ls /etc/ssl/certs/
<clever> ca-bundle.crt ca-certificates.crt
<clever> boomshroom: these 2 files need to exist, just steal them from a nixos machine for the moment
<boomshroom> Got ca-bundle.crt and ca-bundle.trust.crt. No ca-certificates.crt.
<clever> just copy whatever you got and see what happens
lukec has joined #nixos
<boomshroom> Note to self, if something is highlighted, check what kind of file it is before sending it. It might be a symlink.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36595: hsqldb: 1.8.0.9 -> 2.4.0 (master...auto-update/hsqldb) https://git.io/vAxSz
NixOS_GitHub has left #nixos [#nixos]
<lukec> I'm using nix 2.0 on darwin and nix-env is ignoring my substituters line in my /etc/nix/nix.conf. Any ideas?
<boomshroom> Or worse, a symlink to a symlink.
Mic92 has quit [Ping timeout: 240 seconds]
<lukec> I know it's reading the file because if I put garbage in it, nix-env complains.
<clever> boomshroom: run realpath on it to resolve every level
mizu_no__ has quit [Quit: Computer has gone to sleep.]
<boomshroom> Now it's complaining about `error: path '/nix/store/r7zcxm9df2yi3mvl30q3818safrqbapv-nix-2.0pre5968_a6c0b773-arm-unknown-linux-gnueabihf' does not exist and cannot be created` despite the fact that nix-channel itself is running in that directory.
<clever> boomshroom: you didnt load the db.sqlite backup
<clever> boomshroom: so nothing you copied over with tar is "valid"
<boomshroom> I'm far from surprised. It was incredibly hacky.
<clever> boomshroom: the correct way to generate a tar is like this: https://github.com/cleverca22/nix-tests/blob/master/kexec/kexec.nix#L39-L44
<clever> object points to the nix 2.0 derivation, and symlink is just a path of your choosing
<clever> it will generate a tar file with symlink (in my case, /kexec_nixos) pointing to object, and everything object depends on
mbrgm has quit [Ping timeout: 256 seconds]
<clever> it will also generate a nix-path-registration file in the root of the tar
<clever> run `nix-store --load-db < nix-path-registration` to restore the db backup
<clever> which makes every path in that tar valid
<boomshroom> What I was surprised about is the fact that it generated a db.sqlite
<mduggie> i'm writing a PR that bumps a version of a package and some text in a nixos module that references that version number (it used to be hard coded to an even older verion, now I'm accessing `pkgs.znc.version). should this be in 1 PR or 2?
<clever> it will auto-generate a db.sqlite any time its missing
<clever> but it will be empty
<clever> mduggie: id make it a single PR
<mduggie> alright
<mduggie> that's what I was thinking
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdsib opened pull request #36596: znc: 1.6.5 -> 1.6.6 (master...znc-1.6.6) https://git.io/vAxS5
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> The command I was using to build nix was `nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A nixUnstable` How would I adapt that to use make-system-tarball?
<clever> boomshroom: create a nix file that does
Acou_Bass has quit [Ping timeout: 240 seconds]
<boomshroom> The problem is that that command came from a website that assumed use of --arg which translates non-trivially to a nix file.
<clever> let nix = (import <nixpkgs> { crossSystem = (import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform; }).nixUnstable in (import <nixpkgs> {}).callPackage <nixpkgs/nixos/lib/make-system-tarball.nix> {
<clever> storeContents = [ { object = nix; symlink = "/nix"; }]; }
<clever> it translates very simply, let me type an example
Acou_Bass has joined #nixos
<clever> nix-build '<nixpkgs>' --arg config '{ allowUnfree = true; }' -A google-chrome
<clever> (import <nixpkgs> { config = { allowUnfree = true; }).google-chrome
<boomshroom> I see nixpkgs being imported three different times.
<clever> 2 of those can be merged
<clever> you need one nixpkgs with crossSystem set, for the cross compile
<boomshroom> So --arg is an argument to nixpkgs, not the package itself.
<clever> its a bit more complex then that, one min
<clever> then you need a 2nd nixpkgs for the value of crossSystem (which you already had)
<clever> and then you need a pkgs.callPackage for make-tar, where you can reuse the 2nd nixpkgs
<clever> i didnt notice the 3rd until i got thar far, and didnt feel like optimizing it in a single-line edit box
<clever> when you give a filename to nix-build, it will import that filename
<clever> nix-build '<nixpkgs>' searches the search path, nix-build alone tries default.nix in the current dir, and nix-build whatever.nix opens that directly
<clever> if that file contains a function, it is called with all --arg and --argstr
<clever> if you supplied -A a.b.c, it will index into the .a attribute
<clever> if that attr contains a function, it is called with all --arg and --argstr
<clever> it will then index into the .b attribute
<clever> if that attr contains a function, it is called with all --arg and --argstr
<clever> repeat until you run out of -A parts
<boomshroom> I can see why people think nix isn't very user friendly.
loonquawl has joined #nixos
<boomshroom> Then again I'm far from an average user.
<clever> i didnt even know it recursed like that until i read the source
<clever> and i'm a pretty advanced user
<clever> i assumed it only did the first step, auto-calling the <nixpkgs> function
<boomshroom> Did I mention that I'm still not entirely sure wether or not the Nexus 4 supports hard floats?
<clever> i would expect it to have failed by now if it didnt
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36597: icoutils: 0.31.3 -> 0.32.2 (master...auto-update/icoutils) https://git.io/vAx9z
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> I agree with that.
<clever> rewrote it to be a bit more pretty
<clever> these paths will be fetched (109.31 MiB download, 751.06 MiB unpacked):
<boomshroom> I'm not a huge fan of how complicated it is, but I still think it's amazing that it's even possible.
<clever> i just finished a far more complex nix expression
<boomshroom> clever: Something that does the other thing I want to do (install nix in an unprileged chroot)?
<clever> boomshroom: yep
<clever> that manages setting up a mount namespace in ~/nix-install/
<clever> line 1 accepts an installationSlug argument, which lets you change the directory
<clever> and installedPackages is the primary use right now, other derivations that are pre-installed into it
<boomshroom> Now I happen to recall unshare --user not working.
<clever> this will give you an installation that includes the daedalus wallet
<clever> also, this uses nix-bundle and arx, so the whole thing compiles down to a single 146mb "bash" script
<clever> you run that, and it sets up the entire ~/nix-install/
<clever> no downloads like the https://nixos.org/nix/install
<clever> boomshroom: the other major feature of this, is that you can run an update-runner inside the namespace, to upgrade itself
<boomshroom> The tarball that was generated, I can unpack it into the root and run the closure file?
<clever> boomshroom: and this gets around the problem of the unshare command either being wonky, or just not present: https://github.com/matthewbauer/nix-bundle/tree/master/nix-user-chroot
<clever> boomshroom: yeah
<thoughtpolice> Oh, I have quite a similar project to nix-bundle myself, except it uses makeself
Mic92 has joined #nixos
<clever> thoughtpolice: about 2 weeks ago, i redid a large chunk of nix-user-chroot, to allow customizing the chroot env more
<clever> exec .${nix-bundle.nix-user-chroot}/bin/nix-user-chroot -n ./nix -c -m /home:/home -m /etc:/host-etc -m etc:/etc -p DISPLAY -p HOME -p XAUTHORITY -- /nix/var/nix/profiles/profile/bin/enter-phase2
<clever> thoughtpolice: this uses the ./nix directory for /nix, exposes /home directly, and maps the host /etc to /host-etc, along with passing 3 env vars thru and wiping the rest
<clever> and i'm calling it directly, from a helper script, after everything has been unpacked to ~/nix-install
mutantmell has joined #nixos
<thoughtpolice> I have a few of the same additions. There's roughly 4 different variations of this idea now.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] redfish64 opened pull request #1959: Modified MakeBinOp to no longer produce its name using concatenation … (master...master) https://git.io/vAxHL
NixOS_GitHub has left #nixos [#nixos]
<thoughtpolice> 2.0 --indirect, Luca's original version, this version, and mine, it would seem. (Mine is not published publicly yet)
<clever> this region, modifies the arx package nix-bundle generates, so that the installer script can access your $HOME
<boomshroom> tar: This does not look like a tar archive
<boomshroom> xz is installed.
<clever> boomshroom: you man need to manualy run unxz on it, some tar's are not smart enough to figure it out
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36598: imlib2: 1.4.10 -> 1.5.0 (master...auto-update/imlib2) https://git.io/vAxHs
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 4 new commits to master: https://git.io/vAxHc
<NixOS_GitHub> nixpkgs/master bd59d4c Austin Seipp: icestorm: 2018.02.14 -> 2018.03.07...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ed6a4f4 Austin Seipp: arachne-pnr: 2018.02.14 -> 2018.03.07...
<NixOS_GitHub> nixpkgs/master 679dfdb Austin Seipp: yosys: 2018.02.14 -> 2018.03.07...
fragamus has joined #nixos
<mutantmell> Hello, I'm new to NixOS and am trying attempting to configure a new server to run a program (weechat) as a service. The program is in nixpkgs, but as an application rather than a server. I've been looking for ways to run it and configure it, but most everything I've found is aimed at modules. What resources should I look at to help me run this as a service?
Synthetica has quit [Quit: Connection closed for inactivity]
<clever> mutantmell: what arguments is weechat ran with when acting as a server?
<mutantmell> it's simply invoked and ran, but I need to pass configuration into a file that it looks for
<mutantmell> for instance, ssl support
<mutantmell> ok, I'll take a look, thanks
<clever> mutantmell: ah, then my snmp module would be a perfect example
<clever> lines 11-14 is some SNMP config, and line 21 runs snmpd against that file
Lisanna has joined #nixos
<mutantmell> ok, cool
<clever> just put that file into /etc/nixos/ and add imports = [ ./snmpd.nix ]; to your configuration.nix
<mutantmell> So, the basic approach is installing it as an application, then created a systemd daemon?
<clever> no need to install the application
<clever> line 21 automatically downloads it
<mutantmell> oh ok
mizu_no_oto has joined #nixos
<clever> though, if you want to be able to run it in a terminal, you will need to install it, either seperately, or by adding environment.systemPackages = [ pkgs.weechat ]; between lines 25&26 of my example
cstrahan has quit [Quit: Connection closed for inactivity]
<boomshroom> I've imported the database, but trying to update the channel informs me that it's trying to use an x86_64 bash.
<mutantmell> I don't particularly care about setting it up as a terminal
<clever> boomshroom: can you paste the error?
<Lisanna> the key uploading part of nixops is really slow... is there any way to speed it up? It reuploads each key every single deploy, which is probably unnecessary :/
<mutantmell> main question going through my head right now is if I can pass a config file to weechat on the cmd line, or if I need to set it up ahead of time in the user's home dir
<boomshroom> while setting up the build environment: executing '/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash': Exec format error
<boomshroom> builder for '/nix/store/dpgxvb5zkk9mp4qhx6gdhkiszi733xl4-nixpkgs-18.03pre130569.7a04c2ca296.drv' failed with exit code 1
<boomshroom> error: build of '/nix/store/dpgxvb5zkk9mp4qhx6gdhkiszi733xl4-nixpkgs-18.03pre130569.7a04c2ca296.drv' failed
<boomshroom> error: program '/nix/store/r7zcxm9df2yi3mvl30q3818safrqbapv-nix-2.0pre5968_a6c0b773-arm-unknown-linux-gnueabihf/bin/nix-env' failed with exit code 100
<mutantmell> In that case I believe I can set up a user, move config over to the right dotfile, then start the daemon
<boomshroom> I should probably head home soon.
<boomshroom> Can you get back to me when I log back in?
<clever> boomshroom: i'm guessing that the config.nix inside the nix package has some wrong paths in it
<clever> boomshroom: i'm going to be heading to bed soon
<boomshroom> In that case, good night!
<clever> boomshroom: search for the config.nix file inside nix, and check if the paths in it are arm executables
boomshroom has left #nixos [#nixos]
<clever> mutantmell: its better to pass it on the cmd line
<clever> nix works better when you do it that way
<mutantmell> I'm not sure I have the option to, is my point :/
<clever> mutantmell: ive also just recently started using weechat for a plugin, and am wondering how to get its logging to work right
boomshroom_ has joined #nixos
boomshroom_ has left #nixos [#nixos]
<clever> [clever@amd-nixos:~/Downloads]$ weechat --help
<clever> -d, --dir <path> set WeeChat home directory (default: ~/.weechat)
<mutantmell> oh, there you go
<clever> mutantmell: this lets you point it to a directory where the config probably lives
<clever> though it may also try to write files there, which could cause issues
<mutantmell> it tries to write all the time
<clever> ah, then youll want something more like hydra
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36599: inadyn: 2.3 -> 2.3.1 (master...auto-update/inadyn) https://git.io/vAxQI
NixOS_GitHub has left #nixos [#nixos]
<clever> mutantmell: in the pre-start for your service, you create a symlink to the config in the users home directory
<mutantmell> interesting
<clever> and you dont even have to create the user or homedir, this section auto-generates a user
<mutantmell> alright...
<mutantmell> so I can have it on preStart write a file on start, maybe copy from a template
<mutantmell> thanks, I think you've pointed me in the right direction
<clever> do you know much about how the logging works in weechat?
<mutantmell> Not a ton, I haven't used it as a relay before
<mutantmell> and I didn't pay much attention for local use
<mutantmell> I did stumble accross this blog post earlier: https://blog.jeaye.com/2016/10/31/weechat-logs/
<mutantmell> not sure if that's exactly what you want
<clever> i have a plugin connecting to slack, and i want it to simply log things
<mutantmell> I believe that weechat by default logs excessively
<clever> the config says its logging and that it writes to "%h/logs/"
<clever> but ~/logs didnt exist until i just ran mkdir on it
<mutantmell> ah
<mutantmell> try ~/.weechat/logs
<mutantmell> weechat does everthing in that directory iirc
<clever> aha
<clever> on to phase 2, setting it up as a service so it can log without me having to pay any attention
<mutantmell> :)
<clever> also, any way to control it when its in that mode?
<mutantmell> Slack is a big reason I'm trying to get this set up
<mutantmell> control what in particular, the logging?
<clever> ah, then youll want what i just wrote
<clever> if you run nix-build on this file, it will patch wee_slack.py to work on nixos, and also adjust the type of api token you need
<mutantmell> oh neat
<clever> wee_slack.patch changes it from needing an official api token, to re-using the websocket token from your browser session
<mutantmell> you're running it as an application, rather than a service?
<clever> so you can use it without approval from the workspace admin
<clever> currently, i'm running it in a terminal, but i want to switch it over to being a service
<clever> and if possible, i want to connect to it from a normal irc client
<mutantmell> I'm currently running NixOS in a VM to try and get my configuration correct, then I'm going to run it out of Digital Ocean
boomshroom has joined #nixos
<boomshroom> Now on my phone
<clever> boomshroom: ah, i havent gotten to bed yet
<mutantmell> going to also try and get messenger support up and running via bitlbee
<mutantmell> *Facebook messenger
<boomshroom> config.nix does indeed reference an x86 bash, and a few other packages.
<clever> boomshroom: for the moment, just rsync over a copy of nixpkgs and ignore channels
<boomshroom> Part of the fun of Linux is working on my old phone from my desktop, picking up on my laptop, and picking up again from my new phone.
<clever> mutantmell: this random page i found says to run weechat inside tmux, rather then directly from systemd: http://www.mythmon.com/posts/2015-02-15-systemd-weechat.html
<clever> though the type=oneshot will cause problems...
<mutantmell> hrm
<mutantmell> that feels worse than just daemonizing it imo
<clever> yeah, i'll need to experiment and see what it does
boomshroom has quit [Ping timeout: 260 seconds]
<mutantmell> thank you so much btw
<mutantmell> cheers
roconnor has quit [Ping timeout: 240 seconds]
<clever> nix-repl> lib.foldl' (state: n: state // { "${n}" = 1; }) {} [ "a" "b" ]
<clever> mutantmell: a handy function that i'm using...
<clever> { a = 1; b = 1; }
<mutantmell> huh, neat
<mutantmell> I'm a haskeller, so looks pretty straightforward
<clever> i can never remember the order of the params, had to experiment in nix-repl
<mutantmell> or at least, more straightforward than for others I'd imagine XD
<clever> systemd.services = lib.foldl' (state: name: state // (mkService name)) {} configs;
<clever> so you give it a list of configs, and it generates a list of systemd services, allowing you to run several weechats at once
<mutantmell> cool
acarrico has joined #nixos
<clever> users.extraUsers = lib.foldl' (state: name: state // (mkUser name)) {} configs;
<clever> and each gets his own user!
<mutantmell> that's a pretty cool use of foldl', thanks
<clever> 16 mkUser = name: {
<clever> 17 "${name}" = {
plakband has joined #nixos
<clever> i'll post the full file in a few minutes, but thats an example of what the fn has to return
<clever> i could have also used map over configs, but its simpler to just merge the 2 operations
<clever> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36600: iosevka: 1.14.0 -> 1.14.1 (master...auto-update/iosevka) https://git.io/vAx7C
NixOS_GitHub has left #nixos [#nixos]
<jeaye> mutantmell :)
<clever> mutantmell: and now to test it!
schoppenhauer has quit [Ping timeout: 240 seconds]
<clever> Mar 09 04:09:51 router weechat-example-pre-start[20432]: /nix/store/s1wkdni2rn51jz7chh0r5fr0f1viki50-unit-script/bin/weechat-example-pre-start: line 4: unexpected EOF while looking for matching `]'
<clever> chown -R $[name} /var/lib/weechat/example
<clever> *doh*
<clever> Mar 09 04:11:11 router weechat[20956]: Error: unable to get HOME directory
<clever> jeaye: do you happen to have any experience running weechat under systemd?
schoppenhauer has joined #nixos
<clever> oh, i forgot to set User=
<jeaye> clever: Nope, I just run it in tmux for a few users.
<clever> Mar 09 04:12:16 router weechat-example-pre-start[21394]: mkdir: cannot create directory ‘/var/lib/weechat’: Permission denied
<jeaye> I am interested in setting up a weechat jail on my nixos vps though, when time allows.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAx7V
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0dccb85 Jan Tojnar: phpPackages.php-cs-fixer: 2.10.3 → 2.10.4
<clever> yet it does exist
<clever> ah, createHome didnt give it permission to the parent of home
<jeaye> I've seen that as well.
<jeaye> Seems borked.
<clever> Mar 09 04:14:00 router systemd[21983]: weechat-example2.service: Failed at step CHDIR spawning /nix/store/0jpaib26q5qgshva3v3pzxnlm5n6r57b-unit-script/bin/weechat-example2-pre-start: No such file or directory
<clever> i think systemd tried to run the service before the user/home where created
<clever> oh wait no
<clever> Mar 09 04:16:01 router weechat[22621]: Error opening terminal: unknown.
<jtojnar> hmm "warning: inexact rename detection was skipped due to too many files."
<clever> yeah, i think it demands a tty
<clever> jtojnar: did you try to `mv *`?
<clever> (which overwrites the last file with the 2nd last, and deletes all overs)
<jtojnar> clever: that was just random git warning I got when rebasing an old branch
<clever> ah,
<jtojnar> should not "mv *" error with something like last is not a directory?
linuxdaemon has quit [Ping timeout: 240 seconds]
<clever> jtojnar: it will assume your trying to rename file1 to file2, like `mv file1 file2`
<clever> except, its dumb, when you give it 3 files
<clever> `mv file1 file2 file3` renames 1->3, then 2->3
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36601: jackett: 0.8.151 -> 0.8.716 (master...auto-update/jackett) https://git.io/vAx7j
NixOS_GitHub has left #nixos [#nixos]
robot is now known as uptime
<jeaye> renamelimit = 100000
Guest38658 has quit [Ping timeout: 240 seconds]
<jtojnar> that's terrible
linuxdaemon has joined #nixos
<clever> it can also fail in other fun ways
<clever> `mv file1 file2 directory`
<clever> if directory doesnt exist, it renames file1->directory, then renames file2->directory
<clever> thats why i always do `mv -vi file1 file2 directory/`
<clever> the -i asks before overwriting, the -v tells me exactly what it just did, and the trailing / causes it to fail, it cant rename a file to directory/
<clever> mutantmell: dang, tmux also wants a tty!
<Lisanna> ugh... why does nix-shell set TMPDIR to not /tmp? It's winding up being set to /run/user/<myuid>, which definitely can't handle the file sizes I need it to ):
<clever> Lisanna: i think thats systemd, what is it set to outside nix-shell?
<Lisanna> clever it's not set normally
<Lisanna> I think it's picking up XDG_RUNTIME_DIR
<Lisanna> which is set to /run/user/<myuid>
<clever> mutantmell: that will generate several (based on line 43) systemd services&users, each running a weechat inside tmux
<mutantmell> neat, thanks
<clever> `sudo -u example -i` and `tmux a -t example` to connect to tmux and control it, ^bd to disconnect
<mutantmell> if I have something to contribute, I'll push a PR
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36602: jshon: 20140712 -> 20160111.2 (master...auto-update/jshon) https://git.io/vAx58
NixOS_GitHub has left #nixos [#nixos]
<clever> mutantmell: it also includes the slack plugin, with the patches i previously mentioned, so it needs a different token
<clever> mutantmell: /slack register gives help on how to find it
<mutantmell> My plan is to only have a single instance running, but having some flexibility is nice
<mutantmell> I think wee-slack handles connecting to multiple slacks?
<mutantmell> I see you ended up running it in a tmux session
<clever> yeah, weechat requires a tty to even start
<mutantmell> ooh
<mutantmell> lol
<clever> and you also gain the ability to control it
<mutantmell> ah
<mutantmell> that will be helpful actually, since I will need to manually configure some things on first run
<clever> same
<mutantmell> (at least on the VM while I stage changes for the server)
<clever> [root@router:~]# ls -ltrh /var/lib/weechat-example/.weechat/
[0x4A6F]1 has joined #nixos
<clever> all of the state lands in the home directory, which is over here
<clever> and i just realized some absurdity, i was connecting to tmux to set it up, while inside screen, lol
<mutantmell> XD
<Lisanna> Yeah, I don't think creating temporary directories in /run is a great idea, since it's a tmpfs, so anything that a normal process would expect to be able to do in a temporary directory (like create big files) will fail when run in a nix-shell or a nix-build. Apparently from what I've heard, this isn't something that other distros do either.
<clever> Lisanna: some people try to mount a tmpfs to /tmp!!
<Lisanna> right, but I think those are people who Know What They're Doing™ and are willing and capable of dealing with the potential fallout of trying to run a process which needs to DL a 50GB file to a temporary directory
<Lisanna> I don't think it should be the default behavior
<clever> mutantmell: ehgads!, weechat is using up a gig of ram already, and is forking like crazy
[0x4A6F] has quit [Ping timeout: 260 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<mutantmell> O.o
<clever> 1.2gig
<mutantmell> uh
<mutantmell> it's just idle?
<clever> yes
<clever> note, this slack has 16,000 users, and i had to adjust a timeout to even connect, because the very first API call returns a 27mb blob of JSON
<mutantmell> oh lol
<mutantmell> I wish you luck XD
<clever> on my desktop, its idling at 500mb, and isnt forking
<clever> on the server, its up to 1.6gig
<clever> 1.9 vs 2.0
<mutantmell> 1.9 on your desktop?
<clever> 1.9 on the server
<clever> 2.0 is behaving better
<clever> [clever@amd-nixos:~/apps/slack-irc-gateway]$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
<clever> "18.03pre129076.831ef4756e3"
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<mutantmell> That's good
<clever> thats the machine where it works fine
<clever> adjusting my expression to force that version
<clever> depending on your nix channel, you may not need this
<mutantmell> how many weechat servers are you running right now? just the 1?
<clever> 2, but 1 is un-configured
<clever> the un-configured one is sitting at 3mb
<mutantmell> I think I'm currently pointed to 1.9
[0x4A6F] has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36603: kipi-plugins: 5.2.0 -> 5.8.0 (master...auto-update/kipi-plugins) https://git.io/vAxdv
NixOS_GitHub has left #nixos [#nixos]
[0x4A6F] has joined #nixos
<clever> mutantmell: upgraded the server to 2.0, its using 500mb of ram and 100% cpu, and is still forking
<mutantmell> and increasing?
<clever> ERROR: Failed connecting to Slack with token xxx ratelimited
<clever> 1gig of ram
<jeaye> I've two weechats running; 305M and 344M
<clever> 1.3gig
<mutantmell> does it try and download all of the slack history up-front?
<clever> mutantmell: it seems to wait until you focus the channel
<clever> and this slack is free, so it has a max of 10k messages total
<mutantmell> hrm
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/27c57b03325 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<clever> i suspect its repeatedly hitting a certain endpoint
Fare has joined #nixos
<clever> mutantmell: aha, that might be it, i "stole" the auth token out of my browser session, and then launched 2 weechats from that token
<clever> resulting in 3 sessions
<clever> it may not like that
ryantm_ has joined #nixos
boomshroom has joined #nixos
<boomshroom> Good everning!
ryantm_ has quit [Client Quit]
<mutantmell> oh huh
<mutantmell> you can get auth tokens pretty freely, no?
<clever> mutantmell: the slack admin has to approve the wee-slack app first
<mutantmell> ah
<boomshroom> I notice that the native stdenv doesn't provide a bintools argument to cc-wrapper.
<clever> mutantmell: maybe that sharing isnt it, still fails, i'll try to debug more...
scribbler has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<clever> boomshroom: i think its polling the json endpoint that returns 27mb
<clever> why?!
marusich has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36605: libdigidocpp: 3.12.0.1317 -> 3.13.3.1365 (master...auto-update/libdigidocpp) https://git.io/vAxd6
NixOS_GitHub has left #nixos [#nixos]
blankhart has quit [Quit: WeeChat 1.9.1]
<boomshroom> clever: What? I'm looking at the source code and it agrees with the error, so it's not entirely my problem this time.
<clever> boomshroom: oops, meant to send that to mutantmell
[0x4A6F] has quit [Ping timeout: 240 seconds]
tomberek has quit [Ping timeout: 260 seconds]
<clever> mutantmell: i'm thinking its not cleaning up self.reply_buffer[request_metadata.response_id] when requests fail
<lukec> Found my problem from earlier re setting up alternate cache. Needed to restart nix-daemon for the settings to take effect.
loonquawl has quit [Quit: loonquawl]
<boomshroom> If I'm going to have a non-arm system building binaries for my arm system, it would have to have different dependencies because they'd have different compilers. My understanding is that the "native" stdenv uses the systems native c-compiler, but my target system didn't come with a c compiler.
<clever> boomshroom: there is no way for nix to get versions crossed like that
<clever> boomshroom: so you can safely use any machine as the build slave, as long as the cpu can run the compiler
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36606: libdwarf: 20170709 -> 20180129 (master...auto-update/libdwarf) https://git.io/vAxdj
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> clever: How can I tell Nix that it shouldn't need a local stdenv? It's trying to use a local c compiler that doesn't exist (if I'm understanding stdenv/native correctly).
scribbler has quit [Quit: scribbler]
<clever> boomshroom: always pass crossSystem to <nixpkgs> and it should always cross-compile on an x86 machine
<clever> but it will still want to download the x86 compiler to the phone, then upload it to the build slave
<clever> you may be better off building manually with nix-build on an external machine, running `nix copy`, and then `nix-store -i /nix/store/path`
<boomshroom> clever: Probably. It would be nice if things Just Worked TM, but they never do.
<clever> this is a problem that cross-compiling will always have
<clever> nix believes the cross-built glibc is different from the native build glibc
<clever> so you must either cross-compile everything, always
<clever> or native-build random parts, including the entire gcc and glibc toolchain
Rusty1_ has quit [Quit: Konversation terminated!]
ebzzry_ has joined #nixos
ThatOtherGuy has quit [Ping timeout: 256 seconds]
ebzzry_ has quit [Ping timeout: 260 seconds]
<boomshroom> This isn't a nixos problem, but my phone just refuses to accept my public key.
Hail_Spacecake has left #nixos [#nixos]
<boomshroom> glibc = assert false; null;
<boomshroom> Hmm... Something seems fishy about that line.
<boomshroom> It's making sure it never requsts glibc, because it's lazy.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36607: libf2c: 20100903 -> 20130927 (master...auto-update/libf2c) https://git.io/vAxbe
NixOS_GitHub has left #nixos [#nixos]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
ThatOtherGuy has joined #nixos
MercurialAlchemi has joined #nixos
sigmundv_ has joined #nixos
<boomshroom> I notice that nix eval doesn't just do a nix build without the output, since this derivation crashes on nix eval, but not nix build.
troydm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36608: libinput-gestures: 2.32 -> 2.33 (master...auto-update/libinput-gestures) https://git.io/vAxb6
NixOS_GitHub has left #nixos [#nixos]
tmaekawa has joined #nixos
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 260 seconds]
plakband has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36609: libmysqlconnectorcpp: 1.1.7 -> 1.1.9 (master...auto-update/libmysqlconnectorcpp) https://git.io/vAxNz
NixOS_GitHub has left #nixos [#nixos]
seanparsons has quit [Read error: Connection reset by peer]
<boomshroom> Anyone think it should be safe to override my phones entire nixpkgs such that it claims it's actually an x86_64 system cross-compiling? :P
sigmundv_ has quit [Ping timeout: 252 seconds]
<mbrock> what's a reasonable way to use Hydra from master? I feel like just overriding the src attribute on the Hydra package isn't reasonable, because it wouldn't work if the dependencies have changed
Lisanna has quit [Ping timeout: 256 seconds]
<mbrock> ahh, I see there's a hydra-module.nix in the repository that I should be able to import
seanparsons has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 5210122 Maxime Dénès: pythonPackages.pybtex: init at 0.21
<NixOS_GitHub> nixpkgs/master 0450c59 Maxime Dénès: pythonPackages.latexcodec: init at 1.0.5
<NixOS_GitHub> [nixpkgs] vbgl pushed 6 new commits to master: https://git.io/vAxAI
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e8a5888 Maxime Dénès: pythonPackages.pybtex-docutils: init at 0.2.1
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
<boomshroom> Segmentation fault.
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0ceb110 Vincent Laporte: ocamlPackages.sawja: 1.5.2 -> 1.5.3
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vAxAL
tmaekawa has quit [Quit: tmaekawa]
<boomshroom> Goodnight, guys! Might login tomorrow.
boomshroom has quit []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36610: librime: 1.2.9 -> 1.2.10 (master...auto-update/librime) https://git.io/vAxAW
NixOS_GitHub has left #nixos [#nixos]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
[0x4A6F] has joined #nixos
troydm has joined #nixos
davidlt has joined #nixos
<mbrock> weird. even with the latest Hydra master, I get an error in the evaluator's "nix-prefetch-git", which seems to be a version that's over 2 years old
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<mbrock> oh, hydra has its own copy of that script in its repository
asuryawanshi has joined #nixos
wladz has quit [Ping timeout: 268 seconds]
wladz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #36586: gsm: 1.0.14 -> 1.0.17 (master...auto-update/gsm) https://git.io/vAxoQ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36611: libstrophe: 0.9.1 -> 0.9.2 (master...auto-update/libstrophe) https://git.io/vAxxG
NixOS_GitHub has left #nixos [#nixos]
[0x4A6F] has quit [Ping timeout: 240 seconds]
[0x4A6F] has joined #nixos
atrx has joined #nixos
<mbrock> sometimes I feel like Hydra is way too complicated for what I actually need...
loonquawl has joined #nixos
hyper_ch2 has joined #nixos
hakujin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #36612: unifi: 5.6.30 -> 5.7.20 (master...upgrade-unifi) https://git.io/vAxxj
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36613: libsvm: 3.20 -> 3.22 (master...auto-update/libsvm) https://git.io/vAxpe
NixOS_GitHub has left #nixos [#nixos]
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #36608: libinput-gestures: 2.32 -> 2.33 (master...auto-update/libinput-gestures) https://git.io/vAxb6
NixOS_GitHub has left #nixos [#nixos]
hakujin has quit [Ping timeout: 255 seconds]
rauno has joined #nixos
Itkovian has joined #nixos
rauno has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36614: libzdb: 3.0 -> 3.1 (master...auto-update/libzdb) https://git.io/vAxpP
NixOS_GitHub has left #nixos [#nixos]
<mbrock> what's the replacement for nix-push?
17WAAW1KV has joined #nixos
<17WAAW1KV> nixpkgs/master 9a9eb3e Peter Simons: Merge pull request #36475 from deepfire/ghc-8.4...
17WAAW1KV has left #nixos [#nixos]
<17WAAW1KV> nixpkgs/master 6be7d94 Kosyrev Serge: ghc841: bump to 8.4.1-release
<17WAAW1KV> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vAxp9
<17WAAW1KV> nixpkgs/master 0145a00 Kosyrev Serge: ghc841: fix for the bump-broken integer-gmp: m4 is now a dependency
21WAAERU8 has joined #nixos
<21WAAERU8> [nixpkgs] peti closed pull request #36475: ghc841: bump to 8.4.1-release (master...ghc-8.4) https://git.io/vANVT
21WAAERU8 has left #nixos [#nixos]
<mbrock> nix copy, I guess...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master aa5a079 xeji: v8: build with gcc6 on linux...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAxpQ
<NixOS_GitHub> nixpkgs/master b306490 Jörg Thalheim: Merge pull request #36515 from xeji/v8-gcc6...
NixOS_GitHub has left #nixos [#nixos]
Guest38658 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rdnetto opened pull request #36615: haskellPackages.cuda: Fixed broken dependency (master...cuda_fixes) https://git.io/vAxpd
NixOS_GitHub has left #nixos [#nixos]
aarvar has quit [Ping timeout: 265 seconds]
asuryawanshi has quit [Remote host closed the connection]
rauno has joined #nixos
asuryawanshi has joined #nixos
jensens has joined #nixos
aramiscd has joined #nixos
[0x4A6F]1 has joined #nixos
<Mic92> mbrock: the new --builders arguments works great for me as a mini hydra.
<Mic92> mbrock: nix-shell -p parity parity-beta --builders 'ssh://joerg@10.243.29.170'
[0x4A6F] has quit [Ping timeout: 248 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<Mic92> nix copy also
slyfox has quit [Quit: :)]
rosa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vAxhu
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 3c4c591 xeji: v8: build with gcc6 on linux...
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master d940c79 lassulus: bitcoin-abc: 0.16.0 -> 0.16.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c69407b Jörg Thalheim: Merge pull request #36557 from Lassulus/bitcoinabc...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAxha
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vAxhw
<NixOS_GitHub> nixpkgs/release-18.03 e6d0584 lassulus: bitcoin-abc: 0.16.0 -> 0.16.2...
<mbrock> Mic92: I might give that a go, since I don't really care about the web interface much
<mbrock> hmm, nix-push had the --key-file option which I was using, but which isn't there in nix copy...
<Mic92> mbrock: you have to give your root account the ssh key. appearently also ssh-agent is supported but I don't know how
<Mic92> also note that it does not respect /etc/hosts when pushing for some reason
slyfox has joined #nixos
<Mic92> mbrock: there is also ssh-ng:// which does more then ssh://? at least I found that in the manual
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] viric closed pull request #36599: inadyn: 2.3 -> 2.3.1 (master...auto-update/inadyn) https://git.io/vAxQI
NixOS_GitHub has left #nixos [#nixos]
chrios has quit [Ping timeout: 252 seconds]
chrios has joined #nixos
hyper_ch2 has quit [Ping timeout: 260 seconds]
[0x4A6F] has quit [Read error: Connection reset by peer]
<Mic92> mbrock: I see NIX_SSHOPTS as an environment variable in the code
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36616: matio: 1.5.10 -> 1.5.11 (master...auto-update/matio) https://git.io/vAxjE
NixOS_GitHub has left #nixos [#nixos]
<Mic92> mbrock: and key-file was renamed to ssh-key ?
<mbrock> Mic92: ah, I'm talking about signing the store thingies with my binary cache private key
<mbrock> and I sort of figured out an alternative which is to first run "sudo nix sign-paths --recursive -k /secret/key /nix/store/..."
Tucky has joined #nixos
rindvieh has joined #nixos
<mbrock> the proper way is probably to install that private key as the default in Nix, but this way is a bit easier for me at the moment
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/084445b8f38 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
aramiscd has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
aramiscd has joined #nixos
hyper_ch2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rushmorem pushed 2 new commits to master: https://git.io/vAxjh
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 7b15656 Rushmore Mushambi: Merge pull request #36602 from ryantm/auto-update/jshon...
<NixOS_GitHub> nixpkgs/master b402f4f Ryan Mulligan: jshon: 20140712 -> 20160111.2...
Guest38658 has quit [Ping timeout: 240 seconds]
<mbrock> umm, so nix-push used to deal with .nar.xz and .narinfo files, but nix copy instead creates a whole ./nix/store, so I don't really understand how nix copy is a replacement for nix-push.....
rosa has quit [Quit: rosa]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vApe3
<NixOS_GitHub> nixpkgs/master bea585c Jörg Thalheim: Merge pull request #36614 from ryantm/auto-update/libzdb...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 833bf99 Ryan Mulligan: libzdb: 3.0 -> 3.1...
loonquawl has quit [Quit: loonquawl]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36617: micropolis: 2010-12-18 -> 20100418 (master...auto-update/micropolis) https://git.io/vApea
NixOS_GitHub has left #nixos [#nixos]
<mbrock> (...this bot is so spammy...)
tpanum has joined #nixos
periklis has joined #nixos
<tpanum> I'm running on unstable channel, and when I try to rebuild today I'm getting 'warning: unknown setting 'signed-binary-caches'
<tpanum> error: stack overflow (possible infinite recursion)'. Is it a known issue? (or something wrong with my config)
<tpanum> Running verbose rebuild didn't really help me :-(
<etu> tpanum: That's probably the update to nix2.0
<etu> (the warning)
<tpanum> etu: Aha, do you have any idea of how I can fix it?
<etu> tpanum: I just did a nixos-rebuild boot and it was fine
knupfer has joined #nixos
rauno has quit [Ping timeout: 255 seconds]
<tpanum> So incredibly annoying. Thanks for the input tho, etu.
rosa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36617: micropolis: 2010-12-18 -> 20100418 (master...auto-update/micropolis) https://git.io/vApea
NixOS_GitHub has left #nixos [#nixos]
<mbrock> ohh, I thought that nix-channel would add the channel's binary cache public key as trusted, but actually it doesn't
<mbrock> and I was just deceived all this time because most of my users aren't on NixOS, and before Nix 2, only NixOS would require binary cache signatures at all...
tpanum has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 265 seconds]
<mbrock> so that's why all my users are now having to wait for a bunch of compilations...
<mbrock> I'll have to change our installation instructions to mention editing the nix.conf, I suppose...
vaninwagen_ has joined #nixos
rosa has quit [Quit: rosa]
aramiscd has quit [Ping timeout: 256 seconds]
Itkovian has joined #nixos
mrkgnao has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36618: mosquitto: 1.4.14 -> 1.4.15 (master...auto-update/mosquitto) https://git.io/vApfZ
NixOS_GitHub has left #nixos [#nixos]
vaninwagen_ has quit [Quit: WeeChat 1.9.1]
MP2E has quit [Remote host closed the connection]
spear2 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] brainrape opened pull request #36619: idrisPackages: fix errors (master...fix-idrisPackages) https://git.io/vApfi
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 7 new commits to master: https://git.io/vApJe
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 5037107 Alexander Krupenkin: maintainers: add akru
<NixOS_GitHub> nixpkgs/master fb883eb Alexander Krupenkin: parity-beta: init at 1.9.3
<NixOS_GitHub> nixpkgs/master 5b3e446 Alexander Krupenkin: parity: init at 1.8.10
rogue_koder has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35263: Parity: ethereum client (master...parity) https://git.io/vAEt0
NixOS_GitHub has left #nixos [#nixos]
vaninwagen has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
aramiscd has joined #nixos
hamishmack has joined #nixos
sanscoeur has joined #nixos
goibhniu has quit [Quit: Leaving.]
goibhniu has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
vidbina has joined #nixos
thc202 has joined #nixos
rosa has joined #nixos
Phillemann has joined #nixos
<Phillemann> On my normal user, nix-env -qaP "suddenly" outputs nothing anymore. When I call it with root, it works.
<Phillemann> Have I somehow screwed up my profile?
knupfer has quit [Ping timeout: 240 seconds]
rosa has quit [Client Quit]
rauno has joined #nixos
atrx has quit [Read error: Connection reset by peer]
nico202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36620: mpfr: 3.1.6 -> 4.0.1 (master...auto-update/mpfr) https://git.io/vApTW
NixOS_GitHub has left #nixos [#nixos]
<nico202> I it possible to increase verbosity on nix-2? it saying "copying path /nix/... from https://cache...", I'd like to see the curl output like before
<vaibhavsagar> nico202: you can still use nix-build
<vaibhavsagar> or you can increase verbosity with -vvvv
<vaibhavsagar> but I find the new verbose output is different from the old nix-build output
<vaibhavsagar> or you could try the nix log command
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #36621: rapid-photo-downloader: init at 0.9.9 (master...init-rapid-photo-downloader) https://git.io/vApTa
NixOS_GitHub has left #nixos [#nixos]
ckauhaus has joined #nixos
<nico202> vaibhavsagar: thanks.. nix log package just reports "downloading".. I think vvv/vvvv is what I wanted
vidbina has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0d98016 xeji: libreswan: fix build with gcc7
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vApk4
<NixOS_GitHub> nixpkgs/master ffe2c4b Vladimír Čunát: Merge #36555: libreswan: fix build with gcc7
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-18.03: https://git.io/vApkh
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 b8ec973 Vladimír Čunát: Merge #36555: libreswan: fix build with gcc7...
Ross has quit [Quit: ZNC - http://znc.in]
chaker has joined #nixos
sigmundv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #36555: libreswan: fix build with gcc7 (master...libreswan-gcc7) https://git.io/vAxUS
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36623: mpg123: 1.25.8 -> 1.25.10 (master...auto-update/mpg123) https://git.io/vApLv
NixOS_GitHub has left #nixos [#nixos]
Fare has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vApL7
<NixOS_GitHub> nixpkgs/master fc1ae83 xeji: xtreemfs: build with boost165...
<NixOS_GitHub> nixpkgs/master d2d07a0 Vladimír Čunát: Merge #36518: xtreemfs: build with boost165
NixOS_GitHub has left #nixos [#nixos]
ckauhaus has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #36518: xtreemfs: build with boost165 (master...xtreemfs-boost165) https://git.io/vAAkM
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-18.03 77e99aa Vladimír Čunát: Merge #36518: xtreemfs: build with boost165...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-18.03: https://git.io/vApt3
duckwho has quit [Ping timeout: 240 seconds]
Myrl-saki has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36624: mypy: 0.560 -> 0.570 (master...auto-update/mypy) https://git.io/vApti
NixOS_GitHub has left #nixos [#nixos]
mounty_ has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Ping timeout: 240 seconds]
cmcdragonkai1 has quit [Quit: WeeChat 1.9.1]
aramiscd has quit [Ping timeout: 240 seconds]
rindvieh has quit [Remote host closed the connection]
duckwho has joined #nixos
aramiscd has joined #nixos
Guest38658 has joined #nixos
sanscoeur has joined #nixos
rindvieh has joined #nixos
hellrazor has quit [Ping timeout: 256 seconds]
humanoyd has joined #nixos
hellrazor has joined #nixos
periklis has quit [Ping timeout: 248 seconds]
arjen-jonathan has joined #nixos
<arjen-jonathan> Hi all; I'm trying to make a repository with a default.nix part of my set of privately maintained nix packages.
<arjen-jonathan> I thought this would do the trick: https://gist.github.com/ElessarWebb/adb14c39f8cee999d12d20454e562a71
<arjen-jonathan> Is that the right way to do it?
coot_ has joined #nixos
sanscoeur has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #36615: haskellPackages.cuda: Fixed broken dependency (master...cuda_fixes) https://git.io/vAxpd
NixOS_GitHub has left #nixos [#nixos]
coot_ has quit [Read error: Connection reset by peer]
coot_ has joined #nixos
coot_ has quit [Remote host closed the connection]
coot_ has joined #nixos
coot_ has quit [Remote host closed the connection]
<arjen-jonathan> I can't get this to work
Guest38658 has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36625: nghttp2: 1.24.0 -> 1.31.0 (master...auto-update/nghttp2) https://git.io/vApmX
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
coot has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #36626: libgroove: fix build (master...fix-libgroove) https://git.io/vApmF
NixOS_GitHub has left #nixos [#nixos]
pkill9 has joined #nixos
ckauhaus has joined #nixos
ashgillman has joined #nixos
ottidmes has joined #nixos
ckauhaus has quit [Remote host closed the connection]
TweyII has joined #nixos
ckauhaus has joined #nixos
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #36588: gtk-doc: 1.25 -> 1.27 (master...auto-update/gtk-doc) https://git.io/vAx6S
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8b8ac8a Ryan Mulligan: groovy: 2.4.12 -> 2.4.14...
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vAp3Z
<NixOS_GitHub> nixpkgs/master 3a5b129 Pascal Wittmann: Merge pull request #36584 from ryantm/auto-update/groovy...
NixOS_GitHub has left #nixos [#nixos]
aramiscd has quit [Quit: WeeChat 2.0.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master fbbb6c5 Pascal Wittmann: Merge pull request #36567 from ryantm/auto-update/gource...
<NixOS_GitHub> nixpkgs/master da4e07b Ryan Mulligan: gource: 0.47 -> 0.48...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vAp3W
sigmundv_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36627: ngspice: 26 -> 27 (master...auto-update/ngspice) https://git.io/vAp3i
NixOS_GitHub has left #nixos [#nixos]
lenci has joined #nixos
* lenci KLIKONI http://beratilive.com hyni ne chat me djem dhe takime klikoni direkt START dhe kerkoni ne privat jo main se ju presin djem te bukur
* lenci KLIKONI http://beratilive.com hyni ne chat me djem dhe takime klikoni direkt START dhe kerkoni ne privat jo main se ju presin djem te bukur
lenci has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #36628: bonfire: fix build (master...fix-bonfire) https://git.io/vAp3S
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
sigmundv_ has quit [Ping timeout: 248 seconds]
patrl has joined #nixos
patrl has quit [Client Quit]
Ross has joined #nixos
__monty__ has joined #nixos
TweyII has quit [Quit: WeeChat 1.7]
simukis has joined #nixos
Neo-- has joined #nixos
sigmundv_ has joined #nixos
sigmundv_ has quit [Remote host closed the connection]
<arjen-jonathan> I would like to build agda 2.6.0 instead of 2.5.3 that is in nixpkgs
<arjen-jonathan> Should I redefine it in an overlay entirely or override just the rev somehow?
orivej has joined #nixos
<etu> arjen-jonathan: overideAttrs should be able to do that. But you can also consider doing a PR with it :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vApZW
<NixOS_GitHub> nixpkgs/master ba4d57b Maximilian Bosch: bonfire: fix build...
<NixOS_GitHub> nixpkgs/master f03273a Jörg Thalheim: Merge pull request #36628 from Ma27/fix-bonfire...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vApZR
<NixOS_GitHub> nixpkgs/release-18.03 d308c7f Maximilian Bosch: bonfire: fix build...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1e621ff Matthew Bauer: demo: autologin through xserver...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vApZM
<NixOS_GitHub> nixpkgs/master 558949f Jörg Thalheim: Merge pull request #36357 from matthewbauer/vbox-usable...
alexteves has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vApZ7
<NixOS_GitHub> nixpkgs/release-18.03 02a0fb8 Matthew Bauer: demo: autologin through xserver...
NixOS_GitHub has left #nixos [#nixos]
<Olgierd_> hi, can I use file:/// with nix-prefetch-git?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vApnJ
<NixOS_GitHub> nixpkgs/master 4d4171d Márton Boros: idrisPackages.wl-pprint: 2016-09-28 -> 2017-03-13
<NixOS_GitHub> nixpkgs/master 4f1d262 Márton Boros: idrisPackages: fix errors
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2d2208e Jörg Thalheim: Merge pull request #36619 from brainrape/fix-idrisPackages...
<Olgierd_> oh nevermind
mounty_ has joined #nixos
<Olgierd_> forgot to git init --bare
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 a9ee2cf Márton Boros: idrisPackages: fix errors...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-18.03: https://git.io/vApnu
<NixOS_GitHub> nixpkgs/release-18.03 f1333ee Márton Boros: idrisPackages.wl-pprint: 2016-09-28 -> 2017-03-13...
aerozephyr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yuriaisaka opened pull request #36630: Pr cpp gsl update (master...pr-cpp-gsl-update) https://git.io/vApnA
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36624: mypy: 0.560 -> 0.570 (master...auto-update/mypy) https://git.io/vApti
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] htr opened pull request #36631: nixnote2: fix icon and version (master...htr-nixnote2-improvements) https://git.io/vApcO
NixOS_GitHub has left #nixos [#nixos]
kitttn has joined #nixos
nico202 has quit [Quit: Leaving]
<kitttn> hi, guys :) while trying to build a package, ran into a problem. Can't run curl while nix-build, it shows me error like this: https://github.com/NixOS/nixpkgs/issues/13744
<kitttn> when doing echo $SSL_CERT_FILE, it shows nothing
<kitttn> also as far as i understood, this should not be a problem for building, only for shell there.
MercurialAlchemi has quit [Ping timeout: 256 seconds]
risci has joined #nixos
<kitttn> for me nix-shell works perfectly, curl works there
<LnL> kitttn: nix-shell -p curl -p cacert --run 'curl https://google.com'
<kitttn> but while building, it fails :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36632: obs-studio: 21.0.2 -> 21.0.3 (master...auto-update/obs-studio) https://git.io/vApcH
NixOS_GitHub has left #nixos [#nixos]
<kitttn> LnL: <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved <A HREF="https://www.google.by/?gfe_rd=cr&amp;dcr=0&amp;ei=KHeiWtOqJIKlX_iFjdAK">here</A>. </BODY></HTML>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6625fb8 Jörg Thalheim: libf2c: 20100903 -> 20160102...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vApc7
<LnL> while building a package? network access is not allowed during builds
MercurialAlchemi has joined #nixos
<kitttn> LnL: whaaat
<kitttn> really?
<kitttn> no, really?
<sphalerit> Yes
<LnL> yes, that's fragile and impure
<kitttn> hm, ok, another idea.
<sphalerite> you can get network access in a build if you can guarantee that the output is fixed
<sphalerite> i.e. provide the hash of its output
<kitttn> aha, i understand. Thanks for clearing it out!
<LnL> yeah, things like fetchurl have network access but they essentially don't build anything
ckauhaus has quit []
<kitttn> ok, and if i am building smth like package manager (like npm), how to pass the dir to the tool? I mean, /nix/store is immutable, i can't store loaded packages there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36607: libf2c: 20100903 -> 20130927 (master...auto-update/libf2c) https://git.io/vAxbe
NixOS_GitHub has left #nixos [#nixos]
<Mic92> ryantm: could you include the add a `cc $maintainer for review` in your automatic generated message?
mounty_ has quit [Ping timeout: 252 seconds]
<LnL> separating things that need network access from things that need to compile is essentially what makes caching possible/useful in nix
risci has quit [Quit: Quit]
<Mic92> Ideally maintainer could push to that particular pull requests - but github does limit us here in terms of UI.
<kitttn> LnL: well, so it is possible to define another src2, for example, and use fetch {} to load sources?
<kitttn> and then just unpack it in needed place, or smth like that
<LnL> yes, you can use srcs = [ ... ];
<kitttn> oh, that should work, will try. Thanks for the help, guess will be back very soon :)
<LnL> that works the same as a single source except that you need to specify the sourceRoot yourself
<kitttn> is there a docs for srcs = [ ... ]?
<kitttn> haven't seen it in Nix Pills
<kitttn> LnL: thank you!
<kitttn> sourceRoot should be relative?
<Mic92> kitttn: makeing your package description easy to parse and standarized will help with nix integration.
<LnL> yeah, fetchurl also takes a name argument in case the default name isn't usable
<LnL> fg
<__monty__> Mic92: How does github limit you? Can't you just git push to a PR?
<LnL> no, only projects afaik
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36633: oneko: 1.2.5 -> 2.0b (master...auto-update/oneko) https://git.io/vApWn
NixOS_GitHub has left #nixos [#nixos]
rardiol1 has joined #nixos
<Mic92> __monty__: I mean people that are maintainers of the package, but not project member.
alex`` has joined #nixos
freeman42x]NixOS has joined #nixos
<__monty__> Ah
<infinisil> Wee I found a bug in the nixpkgs modules type system
<__monty__> Is there a type system?
sanscoeur has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
<infinisil> __monty__: lib/types.nix, used for the module system
freeman42x]NixOS has quit [Quit: Leaving]
<ottidmes> infinisil: What bug? I found one, but it was removed in master
sanscoeur has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rprospero opened pull request #36636: sasview: init at 4.1.2 (master...sasview-for-pr) https://git.io/vAplN
NixOS_GitHub has left #nixos [#nixos]
gspia has quit [Read error: Connection reset by peer]
gspia has joined #nixos
<infinisil> ottidmes: In a single line: with types; (coercedTo str toInt int).check "foo" => true
<infinisil> but this should be false
<infinisil> Gonna make a PR to fix it
<joko> Hey, I would like to use a file inside a derivation as a environment.etc.<name?>.source, any example on that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36637: openfst: 1.6.3 -> 1.6.6 (master...auto-update/openfst) https://git.io/vAp81
NixOS_GitHub has left #nixos [#nixos]
<infinisil> joko: just source = "${derivation}/path/of/the/file";
rauno has quit [Remote host closed the connection]
iyzsong has joined #nixos
pkill9 has quit [Ping timeout: 240 seconds]
<ottidmes> infinisil: Is that a bug though? It matches the description, you either give something that is of the type that should be coerced, or you give something of the final type
<ottidmes> infinisil: If you check the implementation you could say that the real type check is postponed until the merge, and in the merge it does an assert on just the final type
<infinisil> The check should verify that the value does indeed work for this type
<infinisil> but "foo" does not work with this type, so check should return false
<infinisil> It's trivial to add this
sigmundv_ has joined #nixos
nico202 has joined #nixos
<nico202> Hi, how do I patchelf to fix missing linux-vdso.so.1?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #36638: lib/types: Fix coercedTo check (master...fix/types) https://git.io/vAp4y
NixOS_GitHub has left #nixos [#nixos]
<infinisil> ottidmes: ^^
rardiol1 has left #nixos [#nixos]
<ottidmes> infinisil: Right, so you just duplicated the check done in the merge, but did you consider: nix-repl> with (import <nixpkgs/lib>); isInt (toInt "foo") gives error: unrecognised JSON value
<infinisil> I could've used a type that always succeeds the coerceFunc, but the finalType check failing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36639: opengrok: 0.12.5 -> 1.0 (master...auto-update/opengrok) https://git.io/vApB3
NixOS_GitHub has left #nixos [#nixos]
<mkaito> So I've got a package for a java servlet. Some of the files inside the WEB-INF folder inside need to be modified for stuff like database credentials, probably as part of a module. How do I best handle this?
alex`` has joined #nixos
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
rosa has joined #nixos
<symphorien> mkaito: be aware that anything which goes into the store will be world readable
<mkaito> and is read-only
<mkaito> both are part of the problem
<TimePath> Yell at upstream for not loading configuration from a file, or create a functuon returning a derivation which unpacks, modifies and repacks
<symphorien> I mean for the secrets
<mkaito> TimePath: apparently, this is how java servlets work. I'm just trying to package this thing. I hate java.
<mkaito> symphorien: oh well yes. I mean, Nix doesn't really have a good secret handling story. nixops key management is what I use for actual... secrets.
<symphorien> this rules out the "create a patched derivation with conf/secrets inside"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vApBA
<NixOS_GitHub> nixpkgs/master 62190a6 Ryan Mulligan: cppcheck: 1.80 -> 1.82...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a346ee2 Joachim F: Merge pull request #36504 from ryantm/auto-update/cppcheck...
<symphorien> you really need to have the package read things in /etc for example
<mkaito> that can be done via symlinks
<mkaito> can I manage a folder inside /etc with nix?
Rusty1_ has joined #nixos
<hyper_ch2> mkaito: nix or nixos?
<mkaito> nixos
rindvieh has quit [Remote host closed the connection]
<mkaito> more specifically, a nixos deployment done via nixops.
<hyper_ch2> well, you generally set options for the services in the configuration.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-18.03: https://git.io/vApRe
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 01360a2 Vladimír Čunát: gnat: mark as broken...
ckauhaus has joined #nixos
nico202 has quit [Ping timeout: 240 seconds]
<mkaito> hyper_ch2: I'm writing a service module.
<hyper_ch2> then you should be able to do that somehow but no idea how
hyper_ch2 has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1959: Modified MakeBinOp to no longer produce its name using concatenation … (master...master) https://git.io/vAxHL
NixOS_GitHub has left #nixos [#nixos]
<mkaito> doesn't look like this handles folders
<gchristensen> who is andrewchambers and why is he grumpy about some nixops tickets :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36640: openlibm: 0.5.4 -> 0.5.5 (master...auto-update/openlibm) https://git.io/vApRz
NixOS_GitHub has left #nixos [#nixos]
<genesis> what is the libgl new thing to use instead of mesa_nonglu ?
<parseval> I noticed that a few of the failing packages in 18.03 zero hydra issues ticket is spam packages that somehow ended up on hackage, hackage-packages.nix is autogenerated. What would be a good way of fixing that?
<srk> anyone familiar with nix-store remote protocol and hydra internals?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to release-18.03: https://git.io/vApR1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 861f8bf Joachim Fasting: electrum: 3.0.6 -> 3.1.0...
<NixOS_GitHub> nixpkgs/release-18.03 67a504e Ryan Mulligan: cppcheck: 1.80 -> 1.82...
<genesis> glproto ?
<gchristensen> parseval: probably leave a comment about it and ask what you should do. optionally, ping peti
<parseval> 10-4 i'll use the issue tracker
<infinisil> I need a sum type in the module system now..
<infinisil> Didn't you have an implementation of that Profpatsch ?
winem_ has joined #nixos
darlan has joined #nixos
darlan has quit [Client Quit]
<ottidmes> infinisil: https://github.com/shlevy/nix-adt might help
pkill9 has joined #nixos
<joko> infinisil: it worked as you said, thanks :D
<infinisil> ottidmes: Oh nice
<shlevy> Please use it :D
<shlevy> We're using it internally at Target to good effect
<shlevy> But I'd love to get more testing.
pareidolia has quit [Ping timeout: 268 seconds]
<infinisil> Hmm.. It might not actually be what i need though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #36641: ocamlPackages: default to 4.05 (master...default-ocaml-4.05) https://git.io/vAp08
NixOS_GitHub has left #nixos [#nixos]
<shlevy> It gives you sum types, but wouldn't be easy to add to the module system probably.
<infinisil> Yeah I need it in the module system
<ottidmes> infinisil: But... Then you have to specify better what you need, because "In particular, they enable the use of sum types"
<shlevy> ottidmes: The problem is integrating it in with mainline nixpkgs, not the features
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master bcd11f6 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 96b5bbd Peter Simons: haskell-free: update overrides for version 5.0.1
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vAp0V
<NixOS_GitHub> nixpkgs/master 2a17cff Peter Simons: haskell-src-exts: update overrides for version 1.20.2
<rosa> Does nix os offer a musl based distro aswell as a glibc based distro
<infinisil> rosa: musl support has been added very recently, you're in luck! But not sure how well it works, and there's no prebuilt stuff for it
<rosa> Ok
<manveru> are there any docs for using musl?
<gchristensen> and it isn't supported or documented ;)
<ottidmes> shlevy: Ah ok, so if it was a clean slate, it would be easy, but combining it with what is already out there is hard. Just like why even though I love the idea of PureScript and the like, I stick with TypeScript if I want types in JavaScript, because it just works better with what is already there
<manveru> :P
<infinisil> This is the main musl PR i think
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timokau opened pull request #36642: sage: Mark as broken on non-86_64 platforms (master...sage-platforms) https://git.io/vAp0b
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36643: opensubdiv: 3.3.0 -> 3.3.1 (master...auto-update/opensubdiv) https://git.io/vApET
NixOS_GitHub has left #nixos [#nixos]
kitttn has quit [Quit: Page closed]
<shlevy> dtz: Can you add some docs for using musl with the cross-compilation infra? :)
<manveru> i guess you can set targetPlatform?
<infinisil> shlevy: your adt library is really nice though! I thought about implementing something like this too some time ago, Nix's syntax is suprisingly well fit for interacting with adt's
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8dcd7f0 Peter Simons: multi-ghc-travis: update to latest git version
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vApEg
<mkaito> so we still can't have Nix read things in constant space, eh? why the heck do I keep running out of memory when dumping a ~260Mb derivation, dammit? there's even a PR that fixes it...
<shlevy> infinisil: Thanks! Yeah I was surprised at how well it worked
rosa has quit [Quit: rosa]
dark has joined #nixos
<infinisil> I also have some ideas and experimented with typing Nix with Nix itself
<infinisil> So something like the module system, but a lot more powerful
<infinisil> It would essentially be an almost Nix-like DSL interpreted within Nix itself
rindvieh has joined #nixos
<electrocat> hey, question, if i write a derivation that builds something with gcc, gcc becomes a dependency, how do i make sure only gcc-libs and glibc and the likes stay runtime dependencies?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yuriaisaka opened pull request #36644: caffe2: fix compilation on gcc7 (master...pr-caffe2-gcc7) https://git.io/vApuv
NixOS_GitHub has left #nixos [#nixos]
<infinisil> And would have lots of applications
<vaibhavsagar> hmm, jailbreak-cabal is broken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #36645: mps: fix build with gcc7 (master...mps-fix-build) https://git.io/vApuL
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] abbradar pushed 8 new commits to master: https://git.io/vApum
<NixOS_GitHub> nixpkgs/master 809297e Nikolay Amiantov: the-powder-toy: disable on AArch64...
<NixOS_GitHub> nixpkgs/master c292489 Nikolay Amiantov: deadbeef: disable on AArch64
<NixOS_GitHub> nixpkgs/master 986ea06 Nikolay Amiantov: dwarf-fortress-packages.dwarf-therapist: disable on AArch64...
<manveru> seems like this works `nix build -f '<nixpkgs>' --arg crossSystem '((import <nixpkgs> {}).lib.systems.examples.musl64)' hello`
<manveru> which seems a bit... verbose
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-18.03 686ce4d Nikolay Amiantov: deadbeef: disable on AArch64...
<NixOS_GitHub> [nixpkgs] abbradar pushed 8 new commits to release-18.03: https://git.io/vApuG
<NixOS_GitHub> nixpkgs/release-18.03 180d071 Nikolay Amiantov: the-powder-toy: disable on AArch64...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 0a0b31d Nikolay Amiantov: dwarf-fortress-packages.dwarf-therapist: disable on AArch64...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3eb7049 Ryan Mulligan: opensubdiv: 3.3.0 -> 3.3.1...
<NixOS_GitHub> nixpkgs/master 0fd204d Eelco Dolstra: Merge pull request #36643 from ryantm/auto-update/opensubdiv...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vApuC
<TimePath> I cheat and wrap those up in an attribute set
<gchristensen> eelco merging nixpkgs PRs? :)
<TimePath> So that I can nix-build -A musl.hello
rindvieh has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36647: openvpn: 2.4.4 -> 2.4.5 (master...auto-update/openvpn) https://git.io/vApuX
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #36649: pingus: fix build with gcc7 (master...pingus-fix-build) https://git.io/vApz4
NixOS_GitHub has left #nixos [#nixos]
<dtz> re:musl, native works a bit better than cross for some things, FWIW:
<dtz> $ nix-build --arg localSystem '{config="x86_64-unknown-linux-musl";}' -A lldb_6
troydm has quit [Ping timeout: 252 seconds]
<dtz> for x86_64 you can just specify the config string (same works for crossSystem)
sigmundv_ has quit [Remote host closed the connection]
<das-g[m]> What is the recommended way to use Python packages that are in PyPI but not in nixpkgs together with Python packages that are in nixpkgs, when I only need that package combination ad-hoc (preferably in a nix-shell), not for any more persistent dev projects?
rindvieh has joined #nixos
<genesis> should i git rm sdlmame and mess in my PR on mame since both are broken old non reachable stuff ?
<dtz> as for using with NixOS that won't really work yet-- both because there isn't a simple way to specify localSystem there (AFAIK) but more problematically the systemd update 234 -> 237 doesn't work "yet" with musl, and NixOS is very dependent on systemd
troydm has joined #nixos
<manveru> das-g[m]: i've used pypi2nix for that... though i'm not sure it uses any deps from nixpkgs, but at least it runs :)
rindvieh has quit [Remote host closed the connection]
<manveru> dtz: easy, kill systemd -> use musl -> ??? -> $$$
rindvieh has joined #nixos
<electrocat> is systemd using too many gnuisms?
<das-g[m]> Can I use that in arguments to `nix-shell -p`? I've only seen examples using it to generate `*.nix` files.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36650: os-prober: 1.73 -> 1.76 (master...auto-update/os-prober) https://git.io/vApgA
NixOS_GitHub has left #nixos [#nixos]
<manveru> my impression was that systemd was designed to be as unportable as possible
<manveru> das-g[m]: well, you can make a nix-shell with it, yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #36651: yate: patch shebangs in configure (master...yate-shebangs) https://git.io/vAp2e
NixOS_GitHub has left #nixos [#nixos]
<manveru> das-g[m]: see `nix-shell requirements.nix -A interpreter`
<dtz> lmao that's a good way to put it manveru :)
<manveru> not sure about -p, but they're added to the env anyway
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roberth opened pull request #36652: haskell.lib.haskellSrc2nix: add extraCabal2nixOptions (master...cabal2nix-extra-options) https://git.io/vAp2t
NixOS_GitHub has left #nixos [#nixos]
<das-g[m]> but I don't get around creating a `requirements.nix` file, then?
<manveru> nope
<manveru> note i'm no expert on python stuff... i merely use it sometimes ;)
knupfer has quit [Read error: Connection reset by peer]
<das-g[m]> Hmm ... that's nice for persistent projects, but for ad-hoc usage I was hoping for something like
<das-g[m]> nix-shell -p 'python3.withPackages(p:[p.shapely p.gdal p.folium p.fromPyPI.fiona])'
<manveru> yeah, no way to do that easily without having hashed inputs for each package
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #36652: haskell.lib.haskellSrc2nix: add extraCabal2nixOptions (master...cabal2nix-extra-options) https://git.io/vAp2t
NixOS_GitHub has left #nixos [#nixos]
Ross has quit [Read error: Connection reset by peer]
Ross has joined #nixos
xcmw has joined #nixos
asuryawanshi has quit [Ping timeout: 252 seconds]
<viric> hm shouldn't I be able to link a static executable with a simple "-static" to the linker?
pkill9 has quit [Ping timeout: 256 seconds]
<viric> fails to find "-lc"
blankhart has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36653: p11-kit: 0.23.9 -> 0.23.10 (master...auto-update/p11-kit) https://git.io/vApaQ
NixOS_GitHub has left #nixos [#nixos]
blankhart has quit [Client Quit]
<viric> AH. buildInputs = [stdenv.cc.libc.static ];
blankhart has joined #nixos
drakonis_ has joined #nixos
roberth has joined #nixos
blankhart has quit [Client Quit]
blankhart has joined #nixos
joelpet has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #36654: jfbview: mark as broken (upstream issue) (master...jfbview-broken) https://git.io/vApVF
NixOS_GitHub has left #nixos [#nixos]
sanscoeur has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
mounty has quit [Read error: Connection reset by peer]
pSub_ has quit [Remote host closed the connection]
blankhart has quit [Ping timeout: 248 seconds]
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rprospero closed pull request #36636: sasview: init at 4.1.2 (master...sasview-for-pr) https://git.io/vAplN
NixOS_GitHub has left #nixos [#nixos]
toogley has joined #nixos
<toogley> what did i forgot to configure in my nixos laptop, when i can ping and use my router, but cannot reach its configuration site via typing "http://speedport.ip" in my browsers (firefox and chrome), when i can do so both on my handy and on my fedora box?
<ryantm> toogley: Are you using a static IP?
<BlessJah> is it normal that I need to run 'automake --add-missing;autoreconf' to generate all missing files?
ckauhaus has quit [Remote host closed the connection]
<catern> BlessJah: try autoreconf -i
toogley has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #36655: perlPackages: MIMEtools and MIMETools (master...perl-1) https://git.io/vAp62
NixOS_GitHub has left #nixos [#nixos]
toogley has joined #nixos
<BlessJah> I'm confused right now, without making any change whatsoever first run of automake --add-missing now installs all the files
<BlessJah> does automake have some sort of cache?
xcmw has quit [Ping timeout: 240 seconds]
toogley has quit [Ping timeout: 240 seconds]
ckauhaus has joined #nixos
detran has joined #nixos
toogley has joined #nixos
jensens has quit [Ping timeout: 245 seconds]
xcmw has joined #nixos
Phillemann has left #nixos ["WeeChat 2.0.1"]
xcmw has quit [Client Quit]
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36656: palemoon: 27.7.2 -> 27.8.0 (master...auto-update/palemoon) https://git.io/vApPK
NixOS_GitHub has left #nixos [#nixos]
joelpet has joined #nixos
MercurialAlchemi has quit [Ping timeout: 245 seconds]
xcmw has quit [Ping timeout: 268 seconds]
mounty has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #36657: prepare for a swtich to `libcardiacarrest` (master...pkgs/pre-cardiacarrest) https://git.io/vApMk
NixOS_GitHub has left #nixos [#nixos]
Myrl-saki has quit [Ping timeout: 252 seconds]
logotags has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36658: paml: 4.9c -> 4.9g (master...auto-update/paml) https://git.io/vApM8
NixOS_GitHub has left #nixos [#nixos]
blankhart has joined #nixos
Myrl-saki has joined #nixos
szicari has joined #nixos
kitttn has joined #nixos
<kitttn> hey, guys :)
<kitttn> how can i substituteInPlace such a thing: --param1="$SOME_VALUE"
<kitttn> oh
<kitttn> looks like i forgot the $ sign, will check
<kitttn> no, it didn't worked. i am trying to do it via substituteInPlace "--param1=\"$SOME_VALUE\"" "some-new-value"
<kitttn> but it doesn't match, probably because of \" \" this quotes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #36659: WIP freeorion: fix build (master...fix-freeorion) https://git.io/vApyb
NixOS_GitHub has left #nixos [#nixos]
drakonis_ has quit [Ping timeout: 265 seconds]
<kitttn> ah, i got it, need to escape $ sign to match it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36660: parallel: 20180122 -> 20180222 (master...auto-update/parallel) https://git.io/vApS0
NixOS_GitHub has left #nixos [#nixos]
<fearlessKim[m]> when defining a module option, how can I set `type = types.function`
erasmas has joined #nixos
<ottidmes> kitttn: Just in case you did not know, in the context of double-singly-quoted strings like ''test'' you can quote $ by prepending it with two single quotes, like so: ''''$test''
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #36660: parallel: 20180122 -> 20180222 (master...auto-update/parallel) https://git.io/vApS0
NixOS_GitHub has left #nixos [#nixos]
simukis has quit [Ping timeout: 240 seconds]
<ottidmes> fearlessKim[m]: I do not actually see it being specified in lib/types.nix, but there is a isFunction builtin, so you could easily define one
<ottidmes> fearlessKim[m]: Probably something like this: function = mkOptionType { name = "function"; description = "function"; check = isFunction; merge = mergeOneOption; };
<fearlessKim[m]> ottidmes: It works without setting anything but it would be nice from the user/documenntation perspective. Thanks for looking into it. I looked there too but couldn't find it
<Profpatsch> infinisil: Yeah, I had an implementation somewhere.
<Profpatsch> I think it even worked with the module system.
sigmundv has quit [Remote host closed the connection]
vaninwagen has quit [Ping timeout: 256 seconds]
sigmundv has joined #nixos
asuryawanshi has joined #nixos
dark has quit [Remote host closed the connection]
spietz has joined #nixos
<Profpatsch> infinisil: fwiw, the last two commits on this branch: https://github.com/Profpatsch/nixpkgs/commits/taggedUnion
ryanartecona has joined #nixos
orivej has joined #nixos
sigmundv has quit [Ping timeout: 268 seconds]
heath has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36661: phrasendrescher: 1.0 -> 1.2.2b (master...auto-update/phrasendrescher) https://git.io/vApQq
NixOS_GitHub has left #nixos [#nixos]
aarvar has joined #nixos
ryanartecona has quit [Ping timeout: 240 seconds]
ckauhaus has quit [Remote host closed the connection]
ryanartecona has joined #nixos
sonarpulse has joined #nixos
iyzsong has quit [Ping timeout: 265 seconds]
hakujin has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36651: yate: patch shebangs in configure (master...yate-shebangs) https://git.io/vAp2e
NixOS_GitHub has left #nixos [#nixos]
CrazedProgrammer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-18.03 d2bf584 Piotr Bogdan: yate: restrict platforms...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vAp7a
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 7b72d7f Piotr Bogdan: yate: patch shebangs in configure...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vAp7o
sanscoeur has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36662: picat: 1.9-4 -> 2.3 (master...auto-update/picat) https://git.io/vAp5n
NixOS_GitHub has left #nixos [#nixos]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has quit [Ping timeout: 240 seconds]
dnovosel has joined #nixos
ckauhaus has joined #nixos
fragamus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master ed3ad74 Pascal Wittmann: spin: 6.4.7 -> 6.4.8
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vAp5p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #36663: hexcurse: fix build with gcc7 (master...hexcurse-fix-build) https://git.io/vApdl
NixOS_GitHub has left #nixos [#nixos]
chisui has joined #nixos
drakonis_ has joined #nixos
digitus has joined #nixos
hiroshi has quit [Ping timeout: 260 seconds]
hiroshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36664: pig: 0.14.0 -> 0.16.0 (master...auto-update/pig) https://git.io/vApF5
NixOS_GitHub has left #nixos [#nixos]
jedai42 has joined #nixos
jedai|2 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
jedai has quit [Ping timeout: 240 seconds]
jedai42 has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #36666: codeblocks: 16.01 -> 17.12, fix build (master...codeblocks) https://git.io/vApNO
NixOS_GitHub has left #nixos [#nixos]
jedai|2 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #36667: perlPackages.libnet: 3.08 -> 3.11 (master...perl-2) https://git.io/vApNl
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36668: pigz: 2.3.4 -> 2.4 (master...auto-update/pigz) https://git.io/vApNM
NixOS_GitHub has left #nixos [#nixos]
<kitttn> from maintaining / packaging point of view - is it ok to clone some org repository for modifying it, and then using fetchgit, pointing to your repo instead?
<kitttn> Or you should use the original repo and then just apply modifications in .nix file?
<makefu> kitttn: normally you would apply patches directly to the source
<makefu> and use the different phases to do the things you would do in your fork
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #36669: [WIP] nix: Replace busybox-sandbox-shell with Bash (master...bash-in-sandbox-shell) https://git.io/vApAk
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #36670: perlPackages.LWPUserAgent = perlPackages.LWP (master...perl-3) https://git.io/vApAL
NixOS_GitHub has left #nixos [#nixos]
<makefu> in parallel you should open an issue for upstream with the things you needed to change ;)
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kitttn> makefu: yeah, i see. They just use custom installer, which doesn't allow to place patchelf in between.
ckauhaus has quit []
<kitttn> Btw, can i somehow insert newline while substituting the strings?
<kitttn> ... "replace-this" "with-this \n two-lines" don't work
Myrl-saki has quit [Quit: WeeChat 1.9.1]
detran has quit [Remote host closed the connection]
toogley has quit [Quit: WeeChat 1.9.1]
rogue_koder has joined #nixos
<makefu> you could use sed instead, newlines are always hard :D or you could create a patch-file from the changes you needed to do and apply this patch via patches = [ ./my.patch ]
ma27 has joined #nixos
<kitttn> wow, i can do it via patch? *_*
greglearns has joined #nixos
<kitttn> this will be much easier, thank you!
<greglearns> Has anyone created an nixpkg for "create-elm-app" (an elm way to make a PWA, Progressive Web App, for deploying webapps to iPhones and Android phones)?
rindvieh has quit [Remote host closed the connection]
<manveru> greglearns: not that i'm aware of
<manveru> elm packages are usually a bit tricky...
Faster-Fanboi has quit [Quit: ZNC 1.7.x-git-876-42939c9 - https://znc.in]
<manveru> but i assume that's yet another npm package
<gchristensen> I have no idea but this is a possibly somewhat related thing https://github.com/NixOS/nixos-homepage/pull/160
<greglearns> that's a good point that it's just another NPM module. This is the README doc for using it:npm install create-elm-app -g && create-elm-app my-app && cd my-app/ && elm-app start.
rindvieh has joined #nixos
rindvieh has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36671: pipelight: 0.2.8 -> 0.2.8.2 (master...auto-update/pipelight) https://git.io/vAppl
NixOS_GitHub has left #nixos [#nixos]
vidbina has quit [Ping timeout: 255 seconds]
<lejonet> srhb: Want me to open a PR with the fix for your issue or you want to do it? ;)
<greglearns> manveru: gchristensen humm, I've never added a new package, much less an NPM one. Is this the right directions?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thefloweringash opened pull request #36672: overmind: init at 1.1.1 (master...overmind) https://git.io/vAppH
NixOS_GitHub has left #nixos [#nixos]
Fare has joined #nixos
detran has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] averelld opened pull request #36673: teamviewer: 12.0.85001 -> 12.0.90041 (master...upgrade-teamviewer) https://git.io/vAphC
szicari has quit [Read error: Connection reset by peer]
szicari has joined #nixos
tomsen has joined #nixos
ma27 has quit [Ping timeout: 260 seconds]
arjen-jonathan has quit [Ping timeout: 248 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
fragamus has joined #nixos
fragamus has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36674: postfix: 3.2.5 -> 3.3.0 (master...auto-update/postfix) https://git.io/vApjj
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vAheZ
<NixOS_GitHub> nixpkgs/master f5ac2dd Tim Steinbach: linux: 4.14.24 -> 4.14.25
<NixOS_GitHub> nixpkgs/master 245dcb4 Tim Steinbach: linux: 4.15.7 -> 4.15.8
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-18.03: https://git.io/vAhen
<NixOS_GitHub> nixpkgs/release-18.03 cc1cda8 Tim Steinbach: linux: 4.14.24 -> 4.14.25...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 72dede4 Tim Steinbach: linux-copperhead: 4.15.7.a -> 4.15.8.a
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAhvI
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-18.03: https://git.io/vAhvt
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 1189fd2 Tim Steinbach: linux-copperhead: 4.15.7.a -> 4.15.8.a...
winem_ has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #36676: rename: fix build (master...rename) https://git.io/vAhvZ
NixOS_GitHub has left #nixos [#nixos]
<disasm> with 18.03 on boot I get filesystem 'zroot/root/tmp' can not be mounted: Read-only file system in the logs (same for /home). I'm using zfsUnstable with encryption on the pool zroot. 17.09 boots fine with identical hardware configuration. It then continues to boot, last thing seen in the logs is Mar 08 23:49:19 sarov systemd[1]: Startup finished in 3.040s (firmware) + 2.299s (loader) + 9.427s (kernel) + 5.179s
<disasm> (userspace) = 19.947s. No UI or tty comes up and it doesn't respond to anything I've tried except ctrl-alt-del.
ckauhaus has joined #nixos
<disasm> Thankfully, grub pointing at last 17.09 release works perfectly! (yay nixos for reliable rollbacks)
loonquawl has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<lejonet> disasm: yeah, the reliable rollback feature has saved me a few times :P
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 36fd566 Michael Raskin: Merge pull request #36649 from pbogdan/pingus-fix-build...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2dfeb6f Piotr Bogdan: pingus: fix build with gcc7
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vAhfw
<disasm> this is my hardware-configuration: https://gist.github.com/546d99f7d4144867c29f8264203719df
johnhamelink has quit [Quit: PanicBNC - https://PanicBNC.net]
johnhamelink has joined #nixos
loonquawl has quit [Quit: loonquawl]
kitttn has quit [Quit: Page closed]
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] efx opened pull request #36677: tmsu: disable for darwin (master...fix-36346) https://git.io/vAhJx
NixOS_GitHub has left #nixos [#nixos]
sanscoeur has joined #nixos
xcmw has joined #nixos
Lisanna has joined #nixos
<Lisanna> I'm struggling to get my nix channel working with HTTP authentication. nix-channel --list shows the channel with the https://username:password@example.com URL, but when I do nix-channel --update example, the URL it uses has the auth components stripped out.
<Lisanna> ...and it fails, of course
simukis has quit [Ping timeout: 240 seconds]
fresheyeball has quit [Quit: WeeChat 1.9.1]
<Lisanna> wtf... if I change the path in the channel with nix-channel --add and do nix-channel --update it starts putting the auth components in the URL, but if I change the path back with nix-channel --add it goes back to stripping them out...
<lejonet> srhb: Interesting, whereas the other python tools can find cephs own modules (mainly rados) with the workaround I did in postFixup, it would seem like the secondary imports from ceph-mgr don't inherit that for some odd reason
TweyII has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1938: keep-paths: keep store paths alive without touching the filesystem. (master...keep-paths) https://git.io/vAy1n
NixOS_GitHub has left #nixos [#nixos]
<TweyII> Is it safe yet to upgrade to Nix 2.0 on NixOS?
asdf__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36679: qutebrowser: 1.1.1 -> 1.1.2 (master...auto-update/qutebrowser) https://git.io/vAhkC
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #36671: pipelight: 0.2.8 -> 0.2.8.2 (master...auto-update/pipelight) https://git.io/vAppl
NixOS_GitHub has left #nixos [#nixos]
dtulig1 has quit [Quit: WeeChat 1.9.1]
<lejonet> srhb: Ah, I know whats happening, daamn, how the heck do I fix that :S
humanoyd has quit [Quit: WeeChat 2.0.1]
tomsen has quit [Ping timeout: 240 seconds]
tkral has left #nixos ["User left"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAhIl
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 7a87102 Tim Steinbach: atom: 1.24.0 -> 1.24.1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-18.03: https://git.io/vAhIR
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 5d1b222 Tim Steinbach: atom: 1.24.0 -> 1.24.1...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #36656: palemoon: 27.7.2 -> 27.8.0 (master...auto-update/palemoon) https://git.io/vApPK
NixOS_GitHub has left #nixos [#nixos]
<disasm> TweyII: I've been using it on and off since November myself :) It is considered stable now, if that's what you're asking.
asdf__ has left #nixos [#nixos]
<Lisanna> could someone on Nix 1.11 try running "nix-shell -p nixStable2 --run nix-channel --list"?
<Lisanna> oops, syntax mistake... nix-shell -p nixStable2 --run "nix-channel --list"
vidbina has joined #nixos
<Lisanna> it's just hanging and spinning at 100% CPU usage for me :/
ma27 has joined #nixos
<TweyII> disasm: I just noticed that it's on -unstable already, rendering my question a little unnecessary :þ
troydm has quit [Ping timeout: 256 seconds]
<TweyII> I wanted to use fetchGit to get a private repository from GitHub, but all I get is ‘repository not found’… I guess I need to provide a username somehow?
spietz has quit [Quit: WeeChat 1.9.1]
<TweyII> Oh, I need to use ssh://git@github.com/user/repo I guess
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #36680: apvlv: fix build with gcc7 (master...apvlv-fix-build) https://git.io/vAhL1
NixOS_GitHub has left #nixos [#nixos]
<disasm> Lisanna: as user it's empty, ran in sudo bash -c I get `nixos https://nixos.org/channels/nixos-17.09`
Guest72151 has joined #nixos
<Lisanna> disasm platform?
<Lisanna> (I'm guessing linux)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36681: redo-sh: 1.2.6 -> 2.0.3 (master...auto-update/redo-sh) https://git.io/vAhtv
<disasm> Lisanna: nixos x86_64
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> OK... might be a darwin thing then
<Guest72151> How do you guys do powersaving w/ nixos on laptops? tlp, powertop, etc?
<pbogdan> is it just me or is https://hydra.nixos.org not loading atm?
<Lisanna> pbogdan not loading for me either
<gchristensen> Guest72151: powertop
knupfer has joined #nixos
goibhniu1 has joined #nixos
<pbogdan> :(, thanks for checking Lisanna
goibhniu has quit [Ping timeout: 240 seconds]
<gchristensen> let's see if we can rustle up an admin :)
<lejonet> not loading for me either, even tho downforeveryoneorjustme.com claims its up
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4d1f618 Eli Flanagan: tmsu: disable for darwin...
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vAht0
<NixOS_GitHub> nixpkgs/master e48ede7 Michael Raskin: Merge pull request #36677 from efx/fix-36346...
NixOS_GitHub has left #nixos [#nixos]
[0x4A6F] has joined #nixos
tomsen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #36676: rename: fix build (master...rename) https://git.io/vAhvZ
NixOS_GitHub has left #nixos [#nixos]
boomshroom has joined #nixos
<boomshroom> Good morning!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #36581: darwin: fixes (master...darwin-fixes) https://git.io/vAxgX
NixOS_GitHub has left #nixos [#nixos]
gcrl has left #nixos ["WeeChat 1.9.1"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-18.03 e06c2d9 Matthew Bauer: network_cmds: fix on darwin...
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to release-18.03: https://git.io/vAhqa
<NixOS_GitHub> nixpkgs/release-18.03 33a4313 Matthew Bauer: darwin: disable broken packages...
NixOS_GitHub has left #nixos [#nixos]
tomsen has quit [Ping timeout: 240 seconds]
xcmw has quit [Ping timeout: 240 seconds]
<boomshroom> What would be the consequences of claiming that the local system is different so any atempt to install would be treated as cross-compilation to be preformed on a foregn builder?
<boomshroom> This is running on my arm7l phone where the "local_system" is spoofed to x86_64 and "cross_system" is set to the actual local system.
hellrazor has quit [Quit: WeeChat 2.0.1]
roberth has quit [Ping timeout: 260 seconds]
troydm has joined #nixos
fragamus has joined #nixos
ma27 has quit [Ping timeout: 240 seconds]
<boomshroom> When setting foreign builders, how do I specify the port of the builder? Can I use a ~/.ssh/ssh_config alias?
<hakujin> how do I pass additional arguments to modules intended to be imported via the `imports = [ ./path/here.nix ];` mechanism?
<srid> Updating to latest nixos unstable allowed linux to access the webcam/ audio/ mic of my Thunderbolt 3 monitor. I wonder what changed ...
ma27 has joined #nixos
<hakujin> (beyond the default `{ config, lib, pkgs, ... }`)
<boomshroom> "The hostname may be an alias defined in your ~/.ssh/config." Looks like there's my answer.
<Lisanna> Figured out my problem with nix-channel and HTTP authentication: if I add the full path to nixexprs.tar.xz, it starts working x_x
<clever> Lisanna: oh, its the http redir
<clever> Lisanna: when it follows the redirect, it looses the auth info, because you didnt give it --user and --pass
<clever> it normally fetches ~2 files from a dir, and to make it atomic, it first follows the redir, then appends the names to that
<Lisanna> clever does nix-channel support passing in user and password information in any way other than in the URL?
<clever> and now that nix-channel has been redone in c++, you cant use curl flags directly
Guest72151 has quit [Remote host closed the connection]
<Lisanna> so nix-channel would need to have support added to read NIX_CURL_FLAGS or something
Neo-- has quit [Ping timeout: 240 seconds]
<Lisanna> yeah, I can understand losing the auth information on a redirect
<boomshroom> `error: cannot add path '/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz' because it lacks a valid signature` This seems to be one of the changes in 2.0 where it demands a signature but doesn't add one by default.
<clever> Lisanna: its using libcurl in this file, so it depends on what libcurl reads by default
<clever> boomshroom: is the daemon 1.11 or 2.0?
chaker has quit [Ping timeout: 245 seconds]
<ottidmes> boomshroom: You will have to set secret-key-files and trusted-public-keys and generate them via nix-store (see manpage of nix-store or the Nix manual on secret-key-files)
xcmw has joined #nixos
<ottidmes> boomshroom: And then you have to sign the things already in your store with: nix sign-paths --all --key-file <secret-key-file>
<boomshroom> The build server (my desktop) is on NixOS with Nix 2.0
<Lisanna> clever ah, since it's using libcurl, NIX_CURL_FLAGS wouldn't make any sense
<boomshroom> ottidmes: Thanks. That seems close to what the manual suggests.
<clever> Lisanna: but libcurl may obey ~/.netrc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36682: sbcl: 1.4.4 -> 1.4.5 (master...auto-update/sbcl) https://git.io/vAh3r
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> clever I think the "correct" solution is to add first-class support for dealing with authentication to nix-channel
<Lisanna> maybe a --user and --password command-line flags
<boomshroom> Now I just need to decide where to put the files because it's not clear where they should go.
<srid> How do I get the list of packages and stuff upgraded in the last `nixos-rebuild --upgrade switch`?
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/27c57b03325 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
loonquawl has joined #nixos
<Lisanna> clever by default netrc is ignored, but it can be enabled with CURLOPT_NETRC=CURL_NETRC_OPTIONAL
<boomshroom> Is there a recomended way to name the public and private nix keys?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #36683: bash: 4.4p12 -> 4.4p19 (staging...update/bash-4.4p19) https://git.io/vAhs3
NixOS_GitHub has left #nixos [#nixos]
tomsen has joined #nixos
<clever> boomshroom: usually hostname-1, and when you remake the key, it becomes hostname-2
xcmw has quit [Ping timeout: 260 seconds]
<boomshroom> clever: That's what it suggests for the key name, but it doesn't say anything about the file names.
<boomshroom> "three arguments expected"
<clever> boomshroom: did you check the nix-store man page?
<boomshroom> clever: Yup. It's verbatim the same as the section of the manual and just says "2. The file name where the secret key is to be stored." and "3. The file name where the public key is to be stored."
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ixmatus opened pull request #36684: nix: Make `perl-bindings` an overridable derivation (master...parnell/overridable-perl-bindings) https://git.io/vAhGu
NixOS_GitHub has left #nixos [#nixos]
tkral has joined #nixos
TweyII has quit [Quit: WeeChat 1.7]
goibhniu1 has quit [Ping timeout: 265 seconds]
goibhniu has joined #nixos
mrkgnao has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 256 seconds]
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36685: sdcc: 3.6.0 -> 3.7.0 (master...auto-update/sdcc) https://git.io/vAhZo
NixOS_GitHub has left #nixos [#nixos]
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b86c746 Luka Blaskovic: luaposix: 33.4.0 -> 34.0.4
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vAhZD
<NixOS_GitHub> nixpkgs/master 2f0ff59 Luka Blaskovic: luaPackages.std._debug: init at 1.0
<NixOS_GitHub> nixpkgs/master 73ec2c2 Luka Blaskovic: luaPackages.std.normalize: init at 2.0.1
vidbina has quit [Ping timeout: 245 seconds]
<boomshroom> Any ideas on what file names to use?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35581: luaposix: 33.4.0 -> 34.0.4, add dependencies (master...luaposix) https://git.io/vArWb
NixOS_GitHub has left #nixos [#nixos]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ckauhaus has quit []
boomshroom has quit []
boomshroom has joined #nixos
<hakujin> clever: what is the best way to pass additional arguments to nixos modules that use the `imports = [ ./path/here.nix ]` mechanism?
vaninwagen has joined #nixos
<hakujin> maybe I'm approaching this problem the wrong way
<clever> hakujin: _module.args.pkgs is how the pkgs argument got there in the first place
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f28e94a Piotr Bogdan: mps: fix build with gcc7
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAhc8
<NixOS_GitHub> nixpkgs/master 897cecf Vladimír Čunát: Merge #36645: mps: fix build with gcc7
fragamus has joined #nixos
greglearns has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36631: nixnote2: fix icon and version (master...htr-nixnote2-improvements) https://git.io/vApcO
NixOS_GitHub has left #nixos [#nixos]
Izorkin_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #36645: mps: fix build with gcc7 (master...mps-fix-build) https://git.io/vApuL
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #36686: darling-dmg: use gcc6 to fix build (master...darling-dmg) https://git.io/vAhc7
NixOS_GitHub has left #nixos [#nixos]
vaninwagen has quit [Quit: WeeChat 2.0.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36687: shairport-sync: 3.0.2 -> 3.1.7 (master...auto-update/shairport-sync) https://git.io/vAhcd
NixOS_GitHub has left #nixos [#nixos]
vaninwagen has joined #nixos
<boomshroom> I generated a key pair and tried to sign all paths, and `error: you are not privileged to add signatures`. Does this need to be done as root? If so, does that mean that the signatures could be set in configuration.nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master e559fa1 Yuri Aisaka: fix compilation on gcc7
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b441512 Vladimír Čunát: Merge #36644: caffe2: fix compilation on gcc7
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAhCU
ryanartecona has quit [Quit: ryanartecona]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAhCB
<NixOS_GitHub> nixpkgs/master 1fedf89 Piotr Bogdan: hexcurse: fix build with gcc7
<NixOS_GitHub> nixpkgs/master 0ce2f04 Vladimír Čunát: Merge #36663: hexcurse: fix build with gcc7
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #36663: hexcurse: fix build with gcc7 (master...hexcurse-fix-build) https://git.io/vApdl
NixOS_GitHub has left #nixos [#nixos]
vidbina has joined #nixos
<Mic92> boomshroom: maybe it works for trusted users too.
<boomshroom> Mic92: I probably should make myself a trusted user.
<Mic92> /etc/nix/nix.conf has a trusted-public-keys option though
<Mic92> that can be also set in configuration.nix
<lejonet> srid: solved it, wrapProgram to the rescue :)
Fare has joined #nixos
<lejonet> srid: erh, sorry, wrong nick
<lejonet> srhb: solved it, wrapProgram to the rescue :)
vidbina has quit [Ping timeout: 252 seconds]
<symphorien> srid: there is a tool called nix-diff
ma27 has quit [Ping timeout: 240 seconds]
<srid> cool
<boomshroom> Enabling ssh serve will only do anything if ssh is enabled elsewhere, right?
roberth has joined #nixos
ma27 has joined #nixos
<srid> but how is it useful to me, symphorien ?
<symphorien> It takes two drv
<symphorien> Find the drv of your precedent system, that of the current system
<symphorien> And then you know what changed
Izorkin has joined #nixos
simukis has joined #nixos
<symphorien> To find the drv from the store path: nix-store -q --deriver path iirc
<boomshroom> Is there any difference between serving an ssh binary cache vs an http one?
<bsima> boomshroom: http isn't encrypted
Itkovian has joined #nixos
<boomshroom> bsima: I mean the nix-serve cache service.
Tobba has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36688: shotcut: 17.11 -> 18.03 (master...auto-update/shotcut) https://git.io/vAhl3
NixOS_GitHub has left #nixos [#nixos]
drakonis has joined #nixos
MichaelRaskin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master de93488 Piotr Bogdan: apvlv: fix build with gcc7
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAhlw
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 922d55a Vladimír Čunát: Merge #36680: apvlv: fix build with gcc7
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/98d177252a9 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
loonquawl has quit [Quit: loonquawl]
<boomshroom> Is one of nix.sshServe or services.nix-serve faster or better than the other? Should I enable both?
boomshroom has quit []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-18.03: https://git.io/vAhlN
<NixOS_GitHub> nixpkgs/release-18.03 08d2a6a Vladimír Čunát: Merge #36680: apvlv: fix build with gcc7...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #36680: apvlv: fix build with gcc7 (master...apvlv-fix-build) https://git.io/vAhL1
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
loonquawl has joined #nixos
loonquawl has quit [Remote host closed the connection]
deepfire has joined #nixos
loonquawl has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/20a91aea71d (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
loonquawl has quit [Read error: Connection reset by peer]
kim0 has joined #nixos
loonquawl_ has joined #nixos
ma27 has quit [Ping timeout: 245 seconds]
deepfire has left #nixos [#nixos]
loonquawl_ is now known as loonquawl
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] YorikSar opened pull request #36690: chromium: fix GCC 7 related build issues (master...fix-chromium-build) https://git.io/vAh8N
NixOS_GitHub has left #nixos [#nixos]
deepfire has joined #nixos
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36691: singularity: 2.4 -> 2.4.2 (master...auto-update/singularity) https://git.io/vAh4f
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 268 seconds]
orivej_ has joined #nixos
loonquawl has quit [Quit: loonquawl]
loonquawl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vAh46
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 42cd03f volth: perlPackages.LWPUserAgent: point to perlPackages.LWP
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #36670: perlPackages.LWPUserAgent = perlPackages.LWP (master...perl-3) https://git.io/vApAL
NixOS_GitHub has left #nixos [#nixos]
<manveru> so... i'd love to get yarn2nix into nixpkgs today: https://github.com/NixOS/nixpkgs/pull/35340
<manveru> anyone wants to merge and/or review?
loonquawl has quit [Quit: loonquawl]
loonquawl has joined #nixos
simukis has quit [Quit: simukis]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36692: softhsm: 2.3.0 -> 2.4.0 (master...auto-update/softhsm) https://git.io/vAhBp
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vAhRs
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0883e1c volth: perlPackages.libnet: 3.08 -> 3.11
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #36667: perlPackages.libnet: 3.08 -> 3.11 (master...perl-2) https://git.io/vApNl
NixOS_GitHub has left #nixos [#nixos]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/36fd5663722 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-18.03: https://git.io/vAhR4
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-18.03 db7068e Hugo Tavares Reis: nixnote2: fix icon and version...
<genesis> qtdesigner is not available :O
<clever> genesis: i see it in nixpkgs still
<genesis> rha i should be tired, i grep designer, qtdesigner, humpf
<clever> nix-env -iA nixos.qtcreator
<genesis> ah creator i'm stupid
<genesis> i wonder if it will give me qt uitools
aerozephyr has quit [Quit: WeeChat 2.0]
<clever> thats a library, not part of creator
<genesis> it needs to be package i guess :P
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> qt510.qtbase i think
<genesis> i've qtbase in my buildInputs, i just have this 3 Project ERROR: Unknown module(s) in QT: script uitools scripttools
<clever> qt5.qtscript.dev 894 r /nix/store/mwhscavyy74qan5yanjspagpnxixdxjv-qtscript-5.8.0-dev/mkspecs/modules/qt_lib_scripttools.pri
<clever> script is part of the qtscript attr
<genesis> i've it yes
<genesis> buildInputs = [qtbase qtserialport qtscript ];
<clever> genesis: and which callPackage are you using?
<genesis> i think you get the point :D
<clever> what about qt510.mkDerivation ?
<genesis> libsForQt5.callPackage
<clever> can you gist your current nix expressions?
civodul has joined #nixos
<clever> genesis: try removing the stdenv. from that
mduggie has quit [Quit: ZNC 1.6.6 - http://znc.in]
<clever> so it uses the mkDerivation from qt
<genesis> hum bad copy past
<genesis> oki i try
<clever> you can also run `gist -p default.nix` after `nix-env -iA nixos.gist`
<clever> which uploads from the console
jarlg has joined #nixos
<genesis> oki
jarlg has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36693: sonarr: 2.0.0.5085 -> 2.0.0.5153 (master...auto-update/sonarr) https://git.io/vAh0o
NixOS_GitHub has left #nixos [#nixos]
eyJhb has joined #nixos
ryanartecona has joined #nixos
ryanartecona has quit [Client Quit]
fragamus has joined #nixos
<genesis> ./74c470bg056397dg6kkndr1qkjgxziyn-qttools-5.10.1-dev/include/QtUiTools this is present right
mduggie has joined #nixos
asuryawanshi has quit [Ping timeout: 252 seconds]
mduggie has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #36694: dislocker: 0.6.1 -> 0.7.1 (master...dislocker) https://git.io/vAhuk
NixOS_GitHub has left #nixos [#nixos]
mduggie has joined #nixos
<genesis> i guess if nixpkgs/pkgs/development/libraries/qt-5/5.10 doesn't mention it, it's not callable
boomshroom has joined #nixos
<boomshroom> Testing out weechat. I won't need to logout when my laptop looses connection.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<genesis> clever : oki it's in qtools, add to buildinputs and it's building :)
<clever> genesis: nice
<genesis> it's a very good software
<genesis> providing spi/can/serial with socket ...
<genesis> and scripting and designer via qt
mduggie has quit [Client Quit]
<clever> nice
<genesis> my mame derivation is improving, clever ; do u think i've to git rm sdlmame and mess derivation, outdated and broken ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36695: soxr: 0.1.2 -> 0.1.3 (master...auto-update/soxr) https://git.io/vAhuj
NixOS_GitHub has left #nixos [#nixos]
tomsen has quit [Ping timeout: 252 seconds]
<boomshroom> I was able to nix build `nix` and `hello` by spoofing my local system as x86. Now I just need to find a way to do that all packages. I have a similar spoof in config.nix, but it still wants to use an 86_64 bash.
<clever> boomshroom: i dont think there is any way to set the right flags in config.nix
<clever> boomshroom: you may need a dummy default,nix in NIX_PATH, that does import <realnixpkgs> { crossSysstem = foo; };
<clever> so when anything tries to import <nixpkgs> it loads your dummy
<boomshroom> When building, I can do this `(let systems = (import ./. {}).lib.systems; in (import ./. { crossSystem = systems.examples.armv7l-hf-multiplatform; localSystem = systems.elabor`
<boomshroom> ate { config = "x86_64-unknown-linux-gnu"; }; }).nixUnstable)
<boomshroom> (let systems = (import ./. {}).lib.systems; in (import ./. { crossSystem = systems.examples.armv7l-hf-multiplatform; localSystem = systems.elaborate { config = "x86_64-unknown-linux-gnu"; }; }).nixUnstable)
<clever> youll need to insert that into a dummy default.nix
<clever> and then put that dummy into NIX_PATH so <nixpkgs> maps to it
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<clever> boomshroom: you can also use this to create a foo channel in nix-env, for nix-env -iA foo.hello
<clever> all nix-env cares about, is that it contains a function that returns a package set
<ottidmes> I almost always see modules define non-constant defaults via mkDefault, but some, like the etc module, refer to their config in defaults. Is there any reason for doing so, seems an abitrary choice: https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/system/etc/etc.nix
<clever> ottidmes: in that case, its part of the magic stuff where you create config like systemd.services.<name>.whatever
<clever> ottidmes: internally, it turns into a list of systemd.services = [ { name = <name>; whatever = things; } ];
<clever> ottidmes: and the .name option defaults to the attribute you originally used
<clever> and because its mkDefault, you can override it without having to mkForce
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #35340: yarn2nix: Init at 0.1.0 (master...yarn2nix) https://git.io/vAgtg
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> clever: Yeah, I got that bit, I already leveraged it in my own modules, but what I am asking is, the default attribute in mkOption, is it safe to refer to the config passed to the module in that attribute? If so, why do most modules define them not in mkOption but via mkDefault in config = { ... }
siva_ has joined #nixos
<clever> ottidmes: i think its either user-preference or to get around infinite recursion
<clever> ottidmes: ive also seen some things where they have a generic "config file contents" option, which it then sets (without mkDefault) in the config={} area, based on all the other settings
<ottidmes> clever: So: group = mkOption { default = "+${toString config.gid}"; ..., but then they define target = mkDefault name; why not define target's default via mkOption
<clever> and it has a type of types.lines, so if you try to set it, you append
<ottidmes> clever: Yeah, that lines one is pretty common as well
<siva_> Newbie here. I was helped yesterday here to install a specific package (as a user) from unstable whereas the machine is configured to use 17.09. I added unstable to the channel as a user and did nix-env -iA nixos-unstable.packagename and it worked. However i the next nix-garbage-collect as a user, that package went away. Is there a way to not garbage collect that package?
<LnL> ottidmes: I think only mkOption default ends up in the manual, mkDefault doesn't so for conditional things it's better to use that
<__monty__> Afaik that shouldn't have happened, siva_.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36696: spin: 6.4.7 -> 6.4.8 (master...auto-update/spin) https://git.io/vAhg7
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> Currently installing nox on my phone with `env NIX_PATH=nixpkgs=$HOME nix run nixpkgs.nox -c nox nox`
<siva_> __monty__: Thanks. I'll try again to see if I'd done some mistake
<ottidmes> LnL: Documentation is good reason to do or not do it, thanks :)
<__monty__> siva_: I'm not sure about nixos but I've had things installed from multiple channels and it's just worked transparently for me.
<boomshroom> nix copy supports copying to a locally mounted nix (that usually lives at /nix) right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas closed pull request #35042: squashfuse : init at unstable-2018-02-20 (master...squashfuse) https://git.io/vACYD
NixOS_GitHub has left #nixos [#nixos]
<siva_> __monty__: user error - It looks like it isn't removed. I'd tried from the KDE menu to run that application and for some reason, that was still pointing to the now uninstalled older version of that application
<LnL> siva_: how did you install it exactly?
spietz has joined #nixos
<LnL> ah, that might happen after a gc if things use the absolute store path
spietz has quit [Client Quit]
<boomshroom> The new interface for 2.0 is very nice to look at.
vidbina has joined #nixos
spietz has joined #nixos
<boomshroom> My desktop must be going crazy compiling everything.
<siva_> LnL: In my case, the KDE 'start' menu link is still pointing to the old path. Not sure if a logout/login will help
<LnL> it should
<siva_> I'm going to try that. Thanks everyone
loonquawl has quit [Quit: loonquawl]
siva_ has quit [Quit: Page closed]
Neo-- has quit [Ping timeout: 268 seconds]
<boomshroom> What experience do you guys have with sharing a store between multiple machines or multiple partitions on one machine?
tomsen has joined #nixos
loonquawl has joined #nixos
<boomshroom> currently building python for armv7l.
<ottidmes> boomshroom: I have used nix-serve and ssh-substitor-hosts (Nix 1) now I am using substituter with ssh-ng, but it only works on one of my machine (haven't figured out what causes the bugs on the other machines)
drakonis has quit [Read error: Connection reset by peer]
<boomshroom> ottidmes: I'm thinking of sharing a store between the macOS an NixOS installations on my laptop, but the single user installation on macOS seems to use the global profiles just like root on NixOS.
<ottidmes> boomshroom: I never use channels or nix-env, and I will never use MacOS if it is up to me, so can't say I share your problems :P But definitely worth a try if you desktop is more powerful. I have setup my desktop and powerful server to do the building
blankhart has quit [Ping timeout: 240 seconds]
<boomshroom> ottidmes: My desktop is more powerful, but I'm more cocerned about building for my phone since it doesn't have a local compiler. Though it is nice that NixOS on my mac would be able to use my desktop without cross compiling.
<boomshroom> Unfortunately building nox failed because python wanted to try running it's own output despite cross compiling.
hiratara has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36697: syncplay: 1.5.0 -> 1.5.2 (master...auto-update/syncplay) https://git.io/vAhap
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> No wonder you can't run `/nix/store/yj487vzh75m2a4i7rfk3l3w2976g747q-python3-3.6.4-arm-unknown-linux-gnueabihf/bin/python3.6m`. You're an x86_64 machine and that's an ARM binary.
hiratara has joined #nixos
<ottidmes> boomshroom: Wait I am confused, do you have a MacBook running MacOS and a NixOS desktop? Or did you mean you run a VM on your MacBook, or do you have one of those Mac all-in-one things when you refer to Mac?
loonquawl has quit [Quit: loonquawl]
<boomshroom> I have three physical devices: A desktop running NixOS, a Macbook duel booting macOS and NixOS, and a Nexus 4 running Sailfish OS. I want Nix running on all of them.
loonquawl has joined #nixos
<MichaelRaskin> Duel booting sounds scary. Whatever OS wins the fight gets to boot. And seriously — Nexus is way too old for aarch64, right?
BlessJah has quit [Quit: leaving]
<ottidmes> boomshroom: Ah, dual boot, that explains. Would indeed be cool if they would! I have NixOS on all my devices, except my laptop, which does not even have Nix, but that thing is so old that tape is holding it together (I had to move some screws to keep the integrity) :P
BlessJah has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
<boomshroom> MichaelRaskin: Correct. It has armv7l. Technically supported by Nix. Not officially supported by Nixpkgs. Running it anyways! :D
<boomshroom> Also I end up using macOS more often because I'm too lazy to reboot and get all the configuration perfect.
<ottidmes> boomshroom: There is this termux app on Android that is its own little ecosystem with a package manager that has a really small subset of some popular Ubuntu packages, so something similar for Nix should be doable on Android I guess
__monty__ has quit [Quit: leaving]
<ottidmes> boomshroom: That is why when I moved to NixOS I took the list of all my packages on Arch Linux and made an as simple as possible config that used similar stuff what I was used to on Arch, so I did not have to learn the new distribution and new software
mizu_no_oto has joined #nixos
<boomshroom> It looks like python-recursive-pth-loader uses the python dependency to build itself. The problem is that the python dependency it gets is the arm version despite being built on an x86_64 machine.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 5797ba9 Jan Malakhovski: pkgs: tiny OCD fix
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 10 new commits to master: https://git.io/vAhwE
<NixOS_GitHub> nixpkgs/master 2af121e Jan Malakhovski: libpressureaudio: better descriptions
<NixOS_GitHub> nixpkgs/master bf44802 Jan Malakhovski: vpnc: fix url
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #36698: include-what-you-use: enable on darwin (master...include-what-you-use_darwin) https://git.io/vAhwV
NixOS_GitHub has left #nixos [#nixos]
<boomshroom> ottidmes: When I transitioned from Arch to Nix on my desktop, I didn't bother copying all the packages. I just set up an environment with the essentials. Also, it was my desktop which meant that internet was 1000x easier than on a laptop.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] knedlsepp opened pull request #36699: mpv: fix darwin build (master...fix-mpv-on-darwin) https://git.io/vAhwD
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> boomshroom: The very first was the essentials, but then I quickly copied over the env I had on Arch, so I would not be tempted to go back
dnovosel has quit [Ping timeout: 245 seconds]
boomshroom is now known as boomshroom-away
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #36700: taktuk: 3.7.5 -> 3.7.7 (master...auto-update/taktuk) https://git.io/vAhwF
NixOS_GitHub has left #nixos [#nixos]
jmob has joined #nixos
loonquawl has quit [Read error: Connection reset by peer]
loonquawl has joined #nixos
<jmob> How do I configure a static IP for my box? I'm using networkmanager and I have an address configured, but it only seems to take effect when I do "nixos-rebuild switch".
<ottidmes> jmob: You can just use the networking options to set a static IP. I am using it together with NetworkManager and it seems to work just fine
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<jmob> ottidmes: can you share your configuration.nix? it doesn't seem to work for me
<ottidmes> jmob: I have a config that is quite similar, but I do have useDHCP = false; set
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 5915f2d Dmitry Kalinkin: include-what-you-use: enable on darwin
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vAhrD
<NixOS_GitHub> nixpkgs/master 6a7dcaf Graham Christensen: Merge pull request #36698 from veprbl/include-what-you-use_darwin...
NixOS_GitHub has left #nixos [#nixos]
szicari has quit [Quit: szicari]
<jmob> Hrmm
<jmob> You have to disable DHCP for everything I guess, I need it disabled for only one address
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #36701: errbot: fix build (master...errbot) https://git.io/vAhov
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> jmob: You can have it per interface and globally: https://nixos.org/nixos/options.html#networking+usedhcp
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #36578: graylog: 2.4.1 -> 2.4.3 (master...auto-update/graylog) https://git.io/vAxEm
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #36577: gramps: 4.2.6 -> 4.2.8 (master...auto-update/gramps) https://git.io/vAxRt
NixOS_GitHub has left #nixos [#nixos]
<jmob> Ah, nice, I didn't have the syntax correct for that to work, thanks @ottidmes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vAhoq
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1557d01 Graham Christensen: Merge pull request #36575 from ryantm/auto-update/grails...
<NixOS_GitHub> nixpkgs/master 7d0f602 Ryan Mulligan: grails: 3.3.0 -> 3.3.2...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #36545: gitless: 0.8.5 -> 0.8.6 (master...auto-update/gitless) https://git.io/vAA56
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #36541: git-secret: 0.2.2 -> 0.2.3 (master...auto-update/git-secret) https://git.io/vAA9I
NixOS_GitHub has left #nixos [#nixos]
winem_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #36563: gocr: 0.50 -> 0.51 (master...auto-update/gocr) https://git.io/vAxqB
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #36539: git-radar: 0.5 -> 0.6 (master...auto-update/git-radar) https://git.io/vAAMO
NixOS_GitHub has left #nixos [#nixos]
CrazedProgrammer has quit [Ping timeout: 256 seconds]
CrazedProgrammer has joined #nixos
sdemos has quit [Ping timeout: 256 seconds]
<makefu> Thanks! i've waited for this for a long time. the PR publish worked in the past probably pretty well but now it is mostly noise
bsima has quit [Ping timeout: 256 seconds]
<gchristensen> oh, should we just disable the bot altogether?
<cransom> i'd have no love lost if it didn't come back.
bsima has joined #nixos
sdemos has joined #nixos
sdemos has quit [Changing host]
sdemos has joined #nixos
<ottidmes> people have to point out that they have done something anyway because most people ignore them I think, then it is just as easy to post a link if it is interesting to others
<samueldr> maybe a notifications-only channel for public "firehose" access to events?
<gchristensen> I'd like to challenge everyone paying attention with merge access to review 10 PRs
<makefu> round-robin PR notification for all maintainers
ancarda has quit [Ping timeout: 256 seconds]
edofic has quit [Ping timeout: 256 seconds]
nand0p has quit [Ping timeout: 256 seconds]
luto has quit [Ping timeout: 256 seconds]
Yaniel has quit [Ping timeout: 256 seconds]
ancarda has joined #nixos
nand0p has joined #nixos
edofic has joined #nixos
Yaniel has joined #nixos
luto has joined #nixos
<MichaelRaskin> Could all the currently open non-mass-rebuild package updates (this is an automatable condition) be Cthulhu-merged into a branch with this branch built and tested on Hydra (and then merged as a whole)?
<gchristensen> like bors?
<MichaelRaskin> I am not sure if it ever Cthulhu-merges.
<gchristensen> oh god I forgot cthulhu merges were a real thing
blankhart has joined #nixos
<gchristensen> clever: it completely ignores platforms :)
<LnL> love that name :p
<gchristensen> :D
<gchristensen> maybe my time would be better spent improving ofborg insteead of merging PRs
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cransom> TIL of cthulhu merges.
<MichaelRaskin> gchristensen: for example, giving it merge-if-build-succeeds-on ?
<gchristensen> yeah :|
<gchristensen> gonna go for a walk and think about that
<gchristensen> LnL: ^ wishing for erlang right now :)
<mpickering> I'm still stuck trying to work out why a certain dylib gets loaded which causes a segfault. I just checked all the .so and .dylib files and they all have the correct paths in. Any hints from anyone?
winem__ has joined #nixos
winem_ has quit [Ping timeout: 265 seconds]
<LnL> gchristensen: :)
<mpickering> The installer copies the copy of Qt into $out but then later somehow the version of qt in the store gets loaded and causes a segfault
<LnL> mpickering: can you give some more info
<mpickering> I'm not sure how to say it properly sorry. Not very experienced with the c++ toolchain
<LnL> euh, it's copying the dylib?
<mpickering> yes it appears to be
<mpickering> then it patches all the executables with install_name_tool
<LnL> that's a bad idea for a number of reasons...
romildo has joined #nixos
<shlevy> mpickering: One thing to check would be DYLD_LIBRARY_PATH
knupfer has quit [Ping timeout: 256 seconds]
<LnL> mpickering: does it patch the install_name of the libraries?
<mpickering> I think so.. let me see
* LnL suspects CoreFoundation
<mpickering> Then it does update the paths
<LnL> does your build depend on any system frameworks directly
<mpickering> Here's another data point. If I delete QtCore from the /nix/store then the program appears to work successfully
<mpickering> so I think there is just one problem
<mpickering> I'm not sure what you mean sorry
<mpickering> If I do "strings ..../QGIS | grep qt" then there is one path to the qt store in there which I can't work out where it comes from (/nix/store/r5m4r6mjcdp1s26vlwmgw73kdwjj1xf2-qt-4.8.7/lib/qt4/plugins)
babyflakes has quit [Quit: Connection closed for inactivity]
<clever> mpickering: have you tried `nix why-depends` yet?
<clever> that might help
<mpickering> I haven't updated to nix 2.0 yet. I can do if it might help. I'm a bit out of my depth by now.
<clever> mpickering: you can use why-depends in a nix-shell i believe
<mpickering> What is the name of the package
vpost has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<obadz> gchristensen: I merged 20+ on sunday :)
<clever> mpickering: nix-shell -p nixUnstable
<obadz> gchristensen: most of them from ryantm
<vpost> anyone know how to enable h264 and such proprietary codecs for qutebrowser? im trying to read the nix expressions, but qt seems a bit different from other stuff
MP2E has joined #nixos
<mpickering> thanks clever, hopefully the command terminates eventually :P
spear2 has joined #nixos
blonkhart has joined #nixos
<mpickering> LnL: Have you ever run into problems with "ditto" whilst packaging things for darwin?
<mpickering> that was another thing I had to do, replace all uses of ditto by cp
<LnL> don't think so, not ever sure what package that would be in
<mpickering> I think it's a default utility? I'd never heard of it before
dbe has joined #nixos
<mpickering> why-depends seems to have delivered..
<ryantm> Mic92: I made that change to the PR message.
<Mic92> ryantm: thanks
vpost has quit [Ping timeout: 260 seconds]
<ryantm> I also added something linking to the source code of the update tools, because people keep asking about it, and maybe they can complain there if it makes a mistake.
vpost has joined #nixos
LnL has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
schoppenhauer has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 256 seconds]
LnL has joined #nixos
vaninwagen has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #nixos
loonquawl has quit [Quit: loonquawl]
tomsen has quit [Ping timeout: 264 seconds]
<ryantm> Mic92: first one with both those changes: https://github.com/NixOS/nixpkgs/pull/36707
hiratara has quit [Quit: ZNC - http://znc.in]
fresheyeball has joined #nixos
chisui has quit [Ping timeout: 260 seconds]
hakujin has joined #nixos
sanscoeu_ has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
<mpickering> It's depressing seeing how many of these packages fail to build on darwin for whatever reason :(
mduggie has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
sanscoeu_ has quit [Ping timeout: 240 seconds]
winem__ has quit [Ping timeout: 248 seconds]
hiratara has joined #nixos
vpost has quit [Quit: Page closed]
romildo has quit [Quit: Leaving]
hiratara has quit [Client Quit]
boomshroom-away is now known as boomshroom
sonarpulse has quit [Ping timeout: 260 seconds]
ryanartecona has joined #nixos
hamishmack has quit [Quit: hamishmack]
spietz has quit [Ping timeout: 248 seconds]
tomsen has joined #nixos
hamishmack has joined #nixos
<boomshroom> I'm back home.
<boomshroom> TIL: Cthulhu Merges.
Drakeson has joined #nixos
hamishmack has quit [Ping timeout: 248 seconds]