gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
smyds has joined #nixos
<boomshroom> HEX0: If you like uber-customizing your packages and compiling everything from scratch, NixOS has you covered.
<MichaelRaskin> Atomic upgrades and rollbacks
<fogbugz2345> I've found NixOS very similar to Arch in the sense it's minimal. The base installation is totally barebones.
<HEX0> boomshroom: so does nix have something similar to gentoo use flags?
<MichaelRaskin> (be it NixOS or anything else where system is a Nix package)
<fogbugz2345> Vs gentoo, well nix allows customizing packages very easily. I think it has many advantages of binary and source distros, as it combines both approaches.
<MichaelRaskin> Most failed updates fail before touching anything you care about.
<MichaelRaskin> Nixpkgs is actually weaker than Gentoo in terms of global use flag support
<fogbugz2345> Yeah, but i've found it covers most of what i need.
<boomshroom> HEX0: Not directly, but Nix packages are writen in its own programming language and you can operate on packages like objects in a programming language. Most packages are actually functions that take parameters for each of their dependencies and some options.
<HEX0> boomshroom: so no global use flag variables but per package customization ?
<Guest77739> HEX0: I found gentoo complicated. I'm sure what you say is right for you, but it depends on where you start from.
<MichaelRaskin> I would say Nix is better at local overrides and Nixpkgs has very few global use flags
<Guest77739> I think if you enjoy customising packages and if you don't mind having to fiddle with dependencies a lot then gentoo is unbeatable.
<HEX0> Guest77739: well gentoo is like any other distro imo. there's not really much to learn when it comes to portage and how it operates. nix is very different and unique imo. nothing else quite like it
<boomshroom> HEX0: There are ways to override the entire repository at once, but for the most part, it's based around modifying individual packages.
fogbugz2345 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<Guest77739> NixOS is largely about sane management of dependencies. (IMO it's mostly about orthogonality, which is related.)
<Guest77739> (I should say IMHO since I'm a newbie to it.)
<Guest77739> NixOS certainly is different. It's arguably not even GNU/Linux, since it breaks the standard layout of directories. (For a good reason, IMO.)
<MichaelRaskin> Writing/changing/overriding Nix packages: Nix is a programming language of its own, but once you know it, a lot of things are done in a very simple way
<HEX0> what about being rolling release? I noticed that nix has point releases? so when a new major version bump happens is there an upgrade procedure like on debian/fedora or does it endlessly update like arch or switch profiles like gentoo?
<Guest77739> No, NixOS unstable is rolling release.
<MichaelRaskin> It is GNU/Linux, and its SUS compliance is acceptable: coreutils are in PATH, glibc is close to upstream
<MichaelRaskin> It is not even close to FHS, though
<Guest77739> MichaelRaskin: Right. I find it close enough to other G/Ls, but I think opinions may differ.
<Guest77739> Maybe we should advertise the fact that NixOS unstable is rolling release better?
<boomshroom> HEX0: Often how I think of Nix is that it's not a package manager so much as a build system like Make. The NixOS system is itself a build target that depends on other build targets. Most "derivations" are packages, but they can be anything that you can tell Nix how to build, up to and including the entire system itself. You can even build systems that don't run on your own hardware with a few lines of code and
<boomshroom> it won't interfere with anything else.
<HEX0> boomshroom: yeah it makes sense when you put it that way :)
adetokunbo has quit [Quit: This computer has gone to sleep]
<Guest77739> As for being rolling release, NixOS allows you to very easily swap back and forth between the rolling release channel and the stable channel, without losing your configuration! IMO that's an unbeatable use of orthogonality (management of dependencies).
<Guest77739> (Unbeatable except for other pure build systems like Guix, I guess.)
<boomshroom> NixOS has point releases, and an unstable branch. The main diference is how often they're updated. Nix and NixOS can be pointed at any "channel" that's available, or you can clone the entire repository and update it as you please making it even more unstable than "unstable".
<HEX0> I should give nix another try probably. I've tried pretty much every non-derivate distro out there at this point
<Guest77739> boomshroom: Yes, AND swap back and forth willy nilly. Try doing that with Gentoo!
<MichaelRaskin> If you _really_ want it, you can have some things installed from stable and some from unstable
<MichaelRaskin> (do not do this until you have understood the Nix manual well)
<Guest77739> MichaelRuskin: I think you only need to understand the section on channels before you do that. I was doing that from very early in my learning of Nix.
<MichaelRaskin> In reality, you don't even need channels for this…
<boomshroom> If that's not enough. You can set your system to run the latest stable, and then build the latest unstable, run it in a VM, and then set it as the boot target with no changes to your running system happening prior to the last step.
<catern> hey #nixos, how do I dual-boot NixOS with another distro, with the other distro managing the bootloader?
<jcrben> HEX0: you might just want to spend a bunch of time with nixpkgs and try to port over as many dependencies as you can to that first. the nix learning curve is even harder than I expected
<Guest77739> HEX0: I don't know whether it's worth your time, since you're already happy with Gentoo, but if I were you I'd make a note of these points and see how much they appeal to you later. :-)
<MichaelRaskin> You do need to understand the global data model, and how imports work
<catern> essentially, I don't want NixOS to manage the bootloader - how do I do it?
<catern> I want to use the already-existing GRUB, and configure it somehow, to see NixOS...
<jcrben> if I had been running Arch, I would've just done that. but I was/am running mac and there's too many bugs on mac - especially when you're new and you don't know if it's a mac-specific issue or things are just broken in general
<MichaelRaskin> catern: NixOS needs to manage its bootloader
<MichaelRaskin> You can install it elsewhere and chainload from the main one, if you prefer
<catern> is there any information on how to do that?
<boomshroom> catern: `boot.loader.grub.enable = false;` That should disable the bootloader and let it be handled externally.
<catern> boomshroom: where does Nix then put the initrd/kernel that I should configure grub to start?
<HEX0> jcrben: yeah, I've tried (arch, void, gentoo/funtoo, exherbo, source mage, lunar linux, slackware, alpine, crux, all the major BSDs and then some). I could grasp most of OS'es that I've tried well maybe except for exherbo because of paludis package manager but nothing even compares to Nix :P It seems very over-engineered on a surface and not very KISS. and there's so much documentation to read and learn
<boomshroom> catern: /boot/EFI/nixos/ at least on my UEFI system. I actually don't know what happens if you disable the bootloader. I just have NixOS manage my bootloader for multibooting Arch and Windows.
<jcrben> HEX0: I've read the docs and gone thru the nix pills a couple times - probably will want to read it all. but some stuff still doesn't make sense to me, so did some stepping thru the nix code earlier today
<boomshroom> HEX0: KISS is most definately not a goal of NixOS. Resilience is.
jperras has quit [Ping timeout: 260 seconds]
<boomshroom> checking for x86_64-unknown-linux-gnu-gcc... gcc
<MichaelRaskin> Nix package manager: you can convert Sanity damage into HDD waste, at a rate of 1 GiB for 1 point of Sanity damage from qualifying sources
<boomshroom> checking for suffix of native executables... ./configure: line 11990: gcc: command not found
<jcrben> HEX0: currently trying to get my preferred C IDE (vscode cpptools) to work, which of course is broken due to a hardcoded path to a linker :) https://github.com/NixOS/nixpkgs/issues/35088
<jcrben> anyone else in SF? I'm gonna go check out https://www.meetup.com/Bay-Area-Nix-NixOS-User-Group/events/250223476/
jperras has joined #nixos
<catern> MichaelRaskin: okay, hmm, I buy that maybe having NixOS manage its own bootloader is best
<boomshroom> catern: One benifit to NixOS managing its own bootloader is it can keep old generations in the boot menu.
<jcrben> HEX0: but ultimately, hoping that nix will be the ultimate death to "works on my machine" bugs. which are especially terrible in open-source
<catern> boomshroom: yes
<HEX0> I guess since there are no global USE flags or no global way to configure dependencies (probably doesn't even make sense) as I'm guessing nix installs multiple versions of dependencies kind of like containers work so it's not really afraid of bloat. I'm guessing there's no point to using nix as a 100% source based distro and telling it to compile everything to remove optional dependencies like source distros
<HEX0> work? This sentence probably doesn't make much sense :P
<MichaelRaskin> catern: you can install it onto a partition, I think
<MichaelRaskin> jcrben: not really
<catern> I think i'll try it
<MichaelRaskin> jcrben: but at least «works on my machine» will imply that running the software in the same way is an easy to reproduce option
griff_ has quit [Quit: griff_]
<boomshroom> HEX0: Nix is a source PM, but it allows for binary caches, namely cache.nixos.org because Nix can tell that the package in the cache should be identical to the package compiled locally.
<Guest77739> HEX0: I think what you mean by "simple" (in KISS) is "the same as what I'm used to". Which is fine! NixOS is for people who don't mind it being different.
klntsky has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 240 seconds]
<HEX0> Guest77739: you're probably right, as every single linux distro is more or less the same, minus package manager, init system and a few minor things
Guest77739 has quit [Remote host closed the connection]
<HEX0> except for nix :P
<boomshroom> HEX0: GoboLinux has some similarities with Nix, but Nix takes the ideas common to both to the extreme.
<HEX0> there's also Guix SD which is somehow related to Nix?
<MichaelRaskin> Well, by now I would call it «inspired by»
<MichaelRaskin> They initially reused some parts of Nix
<gchristensen> don't theey still use the daemon?
<boomshroom> HEX0: Guix is derived from Nix and is really just an alternative frontend. They use the same backend, but Guix using Guile scheme for the syntax while Nix uses its own language.
<MichaelRaskin> I think their daemon is different by now
<boomshroom> It's even possible to build Guix to use the existing Nix setup.
<HEX0> Are there any plans for openrc or runit?
rauno has joined #nixos
aarvar1 is now known as aarvar
<MichaelRaskin> HEX0: nothing that can be actually called plans
klntsky has joined #nixos
<MichaelRaskin> On the other hand, a few minimalistic Nix-based systems without systemd do exist
<boomshroom> HEX0: At the moment, things are still up in the air. There are some who want to decouple Nix from Systemd whether to allow more choices or just because they don't like Systemd, and others that are hesitant to try switching because it would mean sacrificing what Systemd provides in favour of apealing the the lowest common denominator.
<HEX0> boomshroom: I also understand that you can install Nix on any distro. I'm guessing it would not work on a distro without systemd then
<MichaelRaskin> I works without systemd
<gchristensen> it does work without systemd
<boomshroom> HEX0: Nix itself should work with any init. It's NixOS that is too tightly coupled.
<MichaelRaskin> I run Nix-based system without systemd running
<HEX0> ah
ryantrinkle has quit [Ping timeout: 250 seconds]
<MichaelRaskin> Nix is completely happy — in the full nix-daemon mode with sandboxing, ro mount for /nix/store etc
<rain1> what features of systemd does nixos make use of?
<gchristensen> its init system
<rain1> what a dumb answer
<MichaelRaskin> NixOS the OS uses systemd as init system, for logging, for login tracking etc
<gchristensen> frankly it isn't a very good question
<MichaelRaskin> Nix the package manager doesn't care
<rain1> im not trying to impress you with my amazing insightful questions or whatever
<rain1> I just want to know something
silver__ has joined #nixos
<boomshroom> HEX0: As MichaelRaskin said, the core NixOS build system is init agnostic, but too many modules assume the use of systemd. There are alternate systems build on the NixOS core that reimpliment those modules to use alternate inits like runit.
<HEX0> Does NixOS have something similar to genkernel or dracut? or do you reuse something to generate initramfs
<MichaelRaskin> You can export NixOS services as starter shell scripts
<MichaelRaskin> Not always what you want, not officially fully supported, still useful
<MichaelRaskin> There is a Nix expression for initramfs
<HEX0> well I guess I'll install and play around with it during the weekend again :P
<MichaelRaskin> Some shell scripts, some parameters get substituted, all that
silver_ has quit [Ping timeout: 240 seconds]
andreabedini has joined #nixos
<HEX0> sorry with all the questions. I'm just really curious about nixos :P
<boomshroom> HEX0: It's fine. NixOS is really interesting and it's only natural that there'd be a lot of questions to try to understand it.
<boomshroom> I'll be heading out now, so goodbye! It was fun chatting!
boomshroom has quit [Quit: WeeChat 2.0]
<gchristensen> rain1: I'm sorry for being rude. NixOS uses quite a lot of what systemd has to offer
<rain1> ok, thanks
<HEX0> I personally don't have anything against systemd. it makes some things easier on the user end. but I run multiple PCs with totally configurations just because :P
acarrico has joined #nixos
<MichaelRaskin> The problem is also that different init systems use different models of dependencies
<MichaelRaskin> And NixOS currently fully mimics systemd model
<MichaelRaskin> There are some things that systemd does plain wrong, then there are some things that it forbids doing
<HEX0> 1 systemd 1 openrc. 1 binary 1 source based. with different tools and configurations :P
<HEX0> as a user the only thing I really hate is when systemd does the running stop job for bla when rebooting/power off. I just pull the plug at that point
<MichaelRaskin> You might be able to write a system expression that generates stuff for openrc
<MichaelRaskin> You could reuse NixOS config generators for services and of course all of Nixpkgs; the rest is not that much (especially if you already have the openrc configs to start the things you want)
drakonis has joined #nixos
<MichaelRaskin> Bootscripts… well, it's not much if you know what you do
Have-Quick has joined #nixos
hph^ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40309 → xmrig: 2.6.1 -> 2.6.2 → https://git.io/vpMhn
<HEX0> another thing that I have to try is pure LFS :P though it almost seems like setting up lfs is more straighforward
jackdk has joined #nixos
<MichaelRaskin> Well, if you use A/B LFS…
<gchristensen> nixos is sorta like LFS every single time you update it
<MichaelRaskin> A/B LFS is quite nice until you try to update it
<HEX0> yeah it's more for learning experience. I'm guessing maintaining lfs is a bit like slackware but more painful and time consuming
<MichaelRaskin> I had three iterations of A/B LFS.
<MichaelRaskin> First it was a normal A/B LFS. An attempt to update something became a mess
<MichaelRaskin> Second I tried to use make_uninstall but then it turned out that make_uninstall has linear stack logic, uninstalling something in the middle is still complicated.
<simpson> HEX0: I'm a little opinionated, LFS is a massive waste of time. I can understand the *goal*, which is to have the feeling of building everything from scratch for security/customization/etc., but the fact is that it *isn't* more secure, and Nix is a lot easier to customize.
<MichaelRaskin> Then I installed every package into its own slice of a huge unionfs. It was a FUSE unionfs, and I did a chroot into unionfs
<HEX0> MichaelRaskin: I'm guessing after a while you end up with a huge pile of orphaned files on an LFS and it's insanity trying to keep it clean besides actually working
<MichaelRaskin> Then I looked at MEPIS just to see what it is, by the time I the system mutated into Debian sid I found Nix and understood that it is a much better implementation of what I was trying to do with unionfs slices.
<MichaelRaskin> HEX0: Orphaned files? I double-dare them to evade a funionfs slice lookup!
<HEX0> I suppose you can "build" bare bones LFS and install pacman or something :D
thc202 has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b1a9f68ed07 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @matthewbauer closed pull request #37655 → googleearth: 7.1.4.1529 -> 7.1.8.3036-r0 → https://git.io/vx8vw
silver__ has quit [Read error: Connection reset by peer]
<MichaelRaskin> Well, A/B LFS is «Automated LFS and Automated Beyond LFS»
<HEX0> ah
<MichaelRaskin> And funionfs was my attempt to do something about keeping track of stuff after automated builds
romildo has joined #nixos
<HEX0> simpson: well gentoo or anything source based is waste of time, but I use it because it's fun somehow. I have a morbind way to spend my free time
<romildo> Is a log of the building of the packages in the hydra binary cache available somewhere?
<MichaelRaskin> Well, NixOS can be used in a source-based style, you just send that to background and use once/if the build succeeds
semantim1ncer has quit [Quit: Lost terminal]
<simpson> HEX0: I've done lots of Gentoo. It's not bad, but it's not even close to Nix. I think that the big problem with source-based stuff is those few packages written in ways that take figurative eons to build, like Firefox or Chromium or OpenOffice.
<MichaelRaskin> Don't you dare put Firefox in the same bin as Chromium
<MichaelRaskin> (or even LibreOffice)
<MichaelRaskin> Firefox build is almost bearable (not quite)
ericsagnes has joined #nixos
<MichaelRaskin> Chromium is just beyond good and evil
sir_guy_carleton has joined #nixos
jackdk has quit [Ping timeout: 276 seconds]
<HEX0> simpson: I've been using firefox ESR on gentoo and that one seems to be updated less frequently but don't quite me on that. the newer quantum takes longer to build. chromium is the worst offender imo taking ~10 hours on core 2 duo
<MichaelRaskin> It also uses two-stage build, with first stage making its quick progress to compiling ~900 small files. Once you hope that everything is good, the second stage comes with ~25 000 significantly larger files…
Have-Quick has quit [Quit: Have-Quick]
<romildo> The enlightenment package from master built on my nixos unstable system links /run/wrappers/bin/freqset.orig to /alt/nixpkgs/result/lib/enlightenment/modules/cpufreq/linux-gnu-x86_64-0.22/freqset but in the package installed from the binary cache this link is missing. Any clues why does this happen?
<gchristensen> romildo: yes `nix log <thestorepath>`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40310 → python27Packages.youtube-dl: 2018.05.01 -> 2018.05.09 → https://git.io/vpDvI
<drakonis> if you're all checking out libreoffice's nix file
<drakonis> please give it a wrapper
<drakonis> aaaaa i can't stand it running without using any toolkits
<drakonis> for some unknown reason
<drakonis> the function for making wrappers isn't called for some reason
jgertm has quit [Ping timeout: 265 seconds]
<drakonis> i don't have the hardware for a libreoffice build
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
jackdk has joined #nixos
<romildo> The log for the enlightenment package from the binary cache has the line:
<romildo> + mv -v //nix/store/rbqj21fr7zhwgg0h24ydgzxl8g4mxmld-enlightenment-0.22.3/lib/enlightenment/modules/cpufreq/linux-gnu-x86_64-0.22/freqset{,.orig}
<romildo> mv: missing destination file operand after '//nix/store/rbqj21fr7zhwgg0h24ydgzxl8g4mxmld-enlightenment-0.22.3/lib/enlightenment/modules/cpufreq/linux-gnu-x86_64-0.22/freqset{,.orig}'
<romildo> Why does it work on my system, and fails on the machine where the binary cache was built?
<MichaelRaskin> drakonis: the wrapper is a different expression, you can grab nixpkgs-unstable build of main libreoffice and experiment with wrapper
<drakonis> yes i've noticed
<drakonis> then there's missing icons
<drakonis> ah you're the person that did it
<drakonis> wow i feel terrible now
<MichaelRaskin> That should have reached nixpkgs-unstable
<drakonis> i forgot how to update my packages
<MichaelRaskin> That was indeed a change in the main build
<drakonis> how do i shoot web
<MichaelRaskin> The toolkit situation is just crazy
<drakonis> i know that a environment variable is needed
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
<MichaelRaskin> irreproducible heavy load… the natural fix that breaks stuff from some points of view…
<drakonis> libreoffice is too big
<MichaelRaskin> True.
<MichaelRaskin> And we build some of the libraries in-build
<drakonis> it is by far one of the biggest packages, just behind the browsers
<MichaelRaskin> Because nothing else uses them
<MichaelRaskin> It is ahead of Firefox
Supersonic112 is now known as Supersonic
<MichaelRaskin> Although it is a question of accounting
<drakonis> i seriously forgot how to update my packages on nix
<drakonis> accounting? hehehehehe
<MichaelRaskin> Rust stuff is easier to autoconvert, so some libraries that only Firefox will ever use are not part of Firefox build
oltoAltn has joined #nixos
<MichaelRaskin> And LibreOffice build includes the libraries that are LibreOffice-only and a pain to update separately
<drakonis> is there a way to upgrade installed packages without needing to modify the configuration file?
<MichaelRaskin> In what sense?
<MichaelRaskin> installed systemPackages or nix-env packages?
<drakonis> i have a lot of packages i installed outside of the configuration file
<drakonis> nix-env
<drakonis> systempackages = configuration.nix packages i assume?
<MichaelRaskin> nix-env should have something like --upgrade I think
<MichaelRaskin> And you need nix-channel if you use channels
<drakonis> not sure if there's a upgrade all
<MichaelRaskin> I just nix-build from a checkout
<drakonis> hey hey i don't have that much power
olto has quit [Ping timeout: 268 seconds]
<MichaelRaskin> Manpages says there is
<MichaelRaskin> drakonis: you do, if you normally use a commit reached by nixpkgs-unstable
<drakonis> hmm
<drakonis> i mean
<drakonis> if libreoffice updates, can i update directly from nixpkgs-unstable without building it?
Cale has quit [Ping timeout: 276 seconds]
<MichaelRaskin> Yes. But the channel is just a snapshot of expressions, binary cache carries the package
<drakonis> right
<drakonis> do we have a glossary yet :V
mbrgm has quit [Ping timeout: 255 seconds]
<MichaelRaskin> If you pick the commit to build wisely (it will not always be the head, although sometimes head is OK), you grab the stuff from cache without building too much, and you can pick how much is too much
<MichaelRaskin> I will sleep now
<MichaelRaskin> Good… whatever is upcoming time in your TZ
mbrgm has joined #nixos
srdqty has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #40311 → enlightenment: remove bashism from patch → https://git.io/vpDT9
srdqty has quit [Quit: WeeChat 1.9.1]
<drakonis> well
xcmw has joined #nixos
<drakonis> its almost 11pm
alphor_ has quit [Ping timeout: 240 seconds]
alphor has joined #nixos
stumble has joined #nixos
adisbladis has joined #nixos
Cale has joined #nixos
romildo has quit [Quit: Leaving]
ThatOtherGuy has quit [Ping timeout: 260 seconds]
hph^ has quit [Ping timeout: 240 seconds]
<sir_guy_carleton> hey, has anybody been able to get dictionaries in qutebrowser to work?
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « libjpeg: always use libjpeg_turbo »: https://git.io/vpDLu
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MP2E has joined #nixos
griff_ has joined #nixos
hamishmack has quit [Ping timeout: 246 seconds]
xcmw has joined #nixos
iqubic has joined #nixos
acarrico has quit [Ping timeout: 260 seconds]
jD91mZM2 has joined #nixos
andreabedini has joined #nixos
andreabedini has quit [Ping timeout: 256 seconds]
sir_guy_carleton has quit [Quit: Lost terminal]
sir_guy_carleton has joined #nixos
<sir_guy_carleton> hello
<jD91mZM2> Is there a good way to use buildRustPackage inside shell.nix and not override rustc?
<jD91mZM2> I'm trying to import a package to avoid code reuse: (import <nixpkgs>).package-goes-here
<jD91mZM2> but that also pulls rustc instead of using my rustup install
<sir_guy_carleton> so i am trying to add dictionary support to qutebrowser, which according to the documentation i need to run dictcli.py
<sir_guy_carleton> but running it i get ModuleNotFoundError: No module named 'attr'
layus has quit [Quit: ZNC 1.6.5 - http://znc.in]
layus has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis> jD91mZM2: Probably not. Rust needs to be a build input of your derivation.
<adisbladis> sir_guy_carleton: How can I reproduce your error?
<sir_guy_carleton> just have qutebrowser in your system enviroment (or your user env? idk)
<sir_guy_carleton> also python3
<sir_guy_carleton> goto /run/current-system/sw/share/qutebrowser/scripts
<adisbladis> sir_guy_carleton: That's where your problem is I believe. You have a python3 which is not wrapped with the qutebrowser deps.
<adisbladis> sir_guy_carleton: Just executing ./dictcli.py should work. The correct python interpreter path is already set in the shebang.
<adisbladis> /nix/store/ykvqg6h2ra1cp7vb3gzswl6y200f3xqq-qutebrowser-1.2.1/share/qutebrowser/scripts/dictcli.py list
<adisbladis> ^ works for me
<jD91mZM2> adisbladis: Is there a way to copy all my properties over to a normal mkDerivation then? Like "inherit this other thing's properties"?
<sir_guy_carleton> still doesn't work for me
<sir_guy_carleton> same error
<adisbladis> sir_guy_carleton: Can you paste the output of `nix-info` and your commandline?
<sir_guy_carleton> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<adisbladis> sir_guy_carleton: Oh I need `nix-info --host-os`
<adisbladis> sir_guy_carleton: Also I want the exact command line you are using.
<sir_guy_carleton> system: "x86_64-linux", host os: Linux 4.14.34, NixOS, 18.03.132016.f3353fffc4b (Impala), multi-user?: yes, version: nix-env (Nix) 2.0, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<sir_guy_carleton> /nix/store/7cj5gjh8yv5bqvizb2s89rqlhi7ysaav-qutebrowser-1.2.0/share/qutebrowser/scripts/dictcli.py list
<adisbladis> jD91mZM2: How would that help?
Have-Quick has joined #nixos
jackdk has quit [Ping timeout: 260 seconds]
chessai has quit [Remote host closed the connection]
griff_ has quit [Quit: griff_]
<jD91mZM2> adisbladis: Since not using buildRustPackage would mean I'm not depending on rust anymore but rather using the system's already installed
<adisbladis> jD91mZM2: That would not work (ok it _might_ work if you have sandboxing disabled).
<adisbladis> sir_guy_carleton: And what exactly is the error you are getting?
<adisbladis> sir_guy_carleton: I get this output: https://paste.pound-python.org/show/W0eVylaUfDUc6l2wQhKm/
<jD91mZM2> adisbladis: Why not? `nix-shell` still allows you to access the current profile...
drakonis has quit [Remote host closed the connection]
Aexoden has quit [Remote host closed the connection]
blankhart has joined #nixos
Arcaelyx_ has joined #nixos
maingo has quit [Quit: Connection closed for inactivity]
Arcaelyx has quit [Ping timeout: 246 seconds]
<colemickens> can I get nixops to not push the full closure over and instead rely on a binary cache server?
<colemickens> I might be dealing with 3000 machines at a time and waiting for pssh sounds prohibitive.
<iqubic> Let's say a FireFox plugin creates some data on my machine, like last pass does.
jtojnar has quit [Remote host closed the connection]
<iqubic> I should have a ~/.lastpass folder, but I don't.
<jD91mZM2> adisbladis: You're right, it didn't work. I tried "manually" copying over the variables with `buildInputs = pkgs.powerline-rs.buildInputs`, but that included rustc for some reason
jperras has quit [Quit: WeeChat 2.1]
<jD91mZM2> adisbladis: Should I just give up and copy over the whole package definition minus the rust part
<adisbladis> jD91mZM2: You could just filter the buildinputs
<adisbladis> buildInputs = builtins.filter (x: x != rustc) powerline-rs.buildInputs;
<adisbladis> jD91mZM2: ^
<adisbladis> That still pulls in cargo though, you might wanna filter that too.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40312 → wayland-protocols: 1.13 -> 1.14 → https://git.io/vpDYe
<jD91mZM2> adisbladis: Seems like there's also lib.remove for doing that, but yeah that's pretty cool. Thanks! :)
<jD91mZM2> Why isn't rustc in nativeBuildInputs btw :thinking:
<adisbladis> jD91mZM2: Probably no good reason ^_^
<jD91mZM2> So the final file is: https://gist.github.com/20962557fff676c9cc7269f913a5020b. Is there no better way?
<adisbladis> jD91mZM2: Ohh thats what you want :) Gimme a sec
<adisbladis> jD91mZM2: https://ptpb.pw/VA8x
Aexoden has joined #nixos
<jD91mZM2> Ooooooo good point
<jD91mZM2> How is rustc added to buildInputs btw? I never do it implicitly, so buildRustPackage does it somehow
chrisbarrett has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
jgertm has joined #nixos
<jD91mZM2> Woah, awesome. Thanks for all the help :)
<adisbladis> jD91mZM2: No problem :)
<adisbladis> jD91mZM2: Btw, why are you using rustup?
<adisbladis> Instead of nix
<iqubic> Can Nix build rust programs?
<adisbladis> iqubic: Yes
<adisbladis> But I'm talking about pulling rustc/cargo from nix for development
<jD91mZM2> rustc isn't updated in stable yet
schoppenhauer has quit [Ping timeout: 250 seconds]
<adisbladis> jD91mZM2: Mozilla has a nightly overlay
<jD91mZM2> Too much work. I'm not going to package these things yet, just try them locally
<jD91mZM2> Plus, I like rustup. It's the most widely used tool for managing rust stuff
<adisbladis> I'm using it like this to build static musl builds in development: https://ptpb.pw/0-DC
schoppenhauer has joined #nixos
<iqubic> Yeah, I've had to uninstall and comment out ripgrep from my system.evironmentPackages to prevent rustc from being a pain.
<cheater> why?
<jD91mZM2> I feel like those overlays could come in real handy when making a proper package, but I see no reason to add them in a shell.nix adisbladis
andreabedini has joined #nixos
<adisbladis> jD91mZM2: You use whatever workflow works for you :) I just wanted to make sure you are aware that there is nix tooling to accomplish the same as rustup
klntsky has quit [Ping timeout: 255 seconds]
<iqubic> cheater: I got a billion compiler errors when I tried to build ripgrep, because it is a rust package.
<cheater> oh
pingu_ has joined #nixos
<iqubic> And rustc still has issues with Nix.
* adisbladis is using ripgrep and tons of other rust applications on nix without any issues
<jD91mZM2> adisbladis: Don't get me wrong, I do want to improve. What's the advantage of using mozilla's overlays (well, I mean, you wouldn't need to install rustup I guess)
<pingu_> I'm trying to package a python package which has a depency that's disabled on python2.7, I'm calling buildPythonPackage with python = python3 to try and fix that, but I'm still getting the same error (disabled on 2.7).
<simpson> iqubic: The perils of system.environmentPackages.
<pingu_> Does anyone know how to specify the python version?
<iqubic> simpson: I don't know any other ways to install ripgrep without rustc throwing a billion errors.
blankhart has quit [Quit: WeeChat 1.9.1]
<simpson> pingu_: Use python3Packages, python35Packages, pypyPackages, etc. as needed.
<adisbladis> jD91mZM2: If you pin the overlay everyone can use the same version, purity etc etc. I dont feel comfortable letting tools like rustup scattering files around my system.
<simpson> iqubic: I just tried, but unfortunately mine came from cache rather than being built from source. Do you have a way to reproduce your problem?
<pingu_> simpson: that was it, thanks!
<iqubic> No. I don't.
<iqubic> Sorry.
<iqubic> It's fine, I'm just waiting for rustc to get fixed.
<jD91mZM2> adisbladis: rustup can already do the same thing, but I see your point. I don't think I can leave rustup sadly since it's too widely used and depended upon.
<iqubic> and I only use grep like once in a blue moon anyways so I'm not too invested in getting this to work.
<joepie91> jD91mZM2: afaik the Rust overlay for Nix is on feature parity with rustup
<adisbladis> And you can let the people who want to use rustup keep using rustup
<jD91mZM2> adisbladis: But I see your point there. I might change my shell.nix to just use unstable rustc instead of rustup's.
<joepie91> if a little underdocumented at times :)
<adisbladis> joepie91: Like all things nix, get ready for a deep dive ;)
<joepie91> yeah :(
<simpson> iqubic: Okay. So, I hope it makes sense that I'm forced to conclude that the problem is your setup rather than nixpkgs.
<jD91mZM2> adisbladis: joepie91: Well, at least it's something to keep me busy :^)
<joepie91> but it'd be nice if I didn't have to dig around directory listings and Nix source for an our just to figure out how to install a nightly from a particular date...
<joepie91> for an hour*
Have-Quick has quit [Quit: Have-Quick]
<simpson> iqubic: Actually, I am so sorry, I was building from an old feature branch. Lemme try again on master.
<simpson> ...Nope, sorry, still builds from cache: /nix/store/n9mlxg0agy637i6rcgb033a0lvc5zxhy-ripgrep-0.8.1
<sir_guy_carleton> hmm, i used nix-shell -p qutebrowser and ./dictcli.py did worked as expect (could list, but obiviously not install into the store).
Have-Quick has joined #nixos
klntsky has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> Oh, you use qutebrowser?
<iqubic> sir_guy_carleton: Do you have any issues running userscripts on NixOS?
<sir_guy_carleton> iqubic: yes, along with firefox
<sir_guy_carleton> i want to get a spell checker in there so i write stuff there, because my spelling has always sucked
<iqubic> Why do you use both qutebrowser and firefox?
<sir_guy_carleton> i was using firefox, but tried qutebrowser and liked it
andreabedini has joined #nixos
<stumble> I (different person!) use qutebrowser for most things but firefox for the odd thing that doesn't work well with qutebrowser. E.g. my firefox is packaged with multimedia extensions and my qutebrowser isn't.
<sir_guy_carleton> but as i said, i would really like spell checker in it.
<stumble> Anyway, with the sad state of stupid effing web sites that expect you to have one of the three web browsers they recognise, it'd be crazy not to have one of FireFox, Chrome or Safari to hand.
<sir_guy_carleton> ublock origin isn't in qutebrowser, so i use ff for yt as well.
<adisbladis> stumble: How is qutebrowser for touch screens?
<adisbladis> I'm using Falkon on my tablet now but it's not super great
<jD91mZM2> Woah, rustc 1.26 isn't in unstable yet. Maybe if I'm fast enough I get to do the honor :)
<jD91mZM2> I get the honor*
<adisbladis> I would use firefox on it but qtvirtualkeyboard doesn't work in gtk apps
<stumble> adisbladis: I'm not sure what the POINT would be of using qutebrowser on a touch screen. I mean, it's not a very polished browser; it's one big selling point is being keyboard-driven.
<iqubic> adisbladis: qutebrowser is keyboard driven.
<stumble> (Another selling point is that the developer is super helpful, BTW. But that's not worth much on its own.)
<adisbladis> Aww :/
<pingu_> OK one more python question: I want to install a specific spacy model that seems to be packaged here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/spacy/models.nix
<pingu_> But I cant' work out what the path is to it.
<iqubic> adisbladis: What were you expecting?
<adisbladis> iqubic: I was hoping for a better browser on my tablet
<pingu_> I've searched with nix-env -f "<nixpkgs>" -qaP, but no luck, just spacy
<iqubic> adisbladis: Oh. I see. I too want that.
rauno has quit [Ping timeout: 250 seconds]
<sir_guy_carleton> stuble: so you use qutebrowser without any of the dictionaries installed, right?
<stumble> I'm afraid there is a sad shortage of browsers, and although it's sad it's not surprising, because the big four have got so complicated and web sites insist on relying on their complicated features. :-/
<stumble> sir_guy_carleton: Yes.
<stumble> sir_guy_carleton: I love how you misspelled my name to illustrate your point. :-)
<adisbladis> iqubic: Generally I think qtvirtualkeyboard is pretty nice for tablets
<adisbladis> But it only works with qt apps
jtojnar has joined #nixos
Ross has quit [Ping timeout: 264 seconds]
<sir_guy_carleton> hmm, i see. i feel like the only way to solve by modifying the nix expression for qutebrowser (and maybe some of its dependencies?), but i'm not at that skill level.
Ross has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #40265 → cocoapods: 1.3.1 -> 1.5.0 → https://git.io/vpXXQ
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpDO1
<{^_^}> → 18f4abb0 by @eqyiel: cocoapods: 1.3.1 -> 1.5.0
<{^_^}> → 8e99a2ba by @adisbladis: Merge pull request #40265 from eqyiel/cocoapods-1.5.0
<iqubic> adisbladis: What tablet do you use? Android or IOS?
<adisbladis> iqubic: NixOS :)
<adisbladis> iqubic: It's a Teclast X98 Pro (using an Intel Atom)
<andreabedini> super silly question, how do I log in the nixos AMI ? :P
<andreabedini> is there a default user defined somewhere?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40313 → virtualbox: 5.2.10 -> 5.2.12 → https://git.io/vpDO5
<adisbladis> andreabedini: Log in as root
<andreabedini> ah, cheers adisbladis
jackdk has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #40115 → certbot: 0.23.0 -> 0.24.0 → https://git.io/vpo0v
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpD3e
<{^_^}> → 335931b0 by R. RyanTM: certbot: 0.23.0 -> 0.24.0
<{^_^}> → f90d8d5d by @adisbladis: Merge pull request #40115 from r-ryantm/auto-update/certbot
jtojnar has quit [Quit: jtojnar]
stumble has quit [Quit: Leaving]
andreabedini has quit [Ping timeout: 250 seconds]
Have-Quick has quit [Quit: Have-Quick]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #40231 → [RDY] pythonPackages.configobj: enable tests → https://git.io/vpPF1
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpD3O
<{^_^}> → eb2ba8ac by @teto: pythonPackages.configobj: enable tests
<{^_^}> → c361d5a3 by @adisbladis: Merge pull request #40231 from teto/configobj_tests
andreabedini has joined #nixos
Have-Quick has joined #nixos
aarvar has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #40067 → qutebrowser: 1.2.1 -> 1.3.0 → https://git.io/vpovX
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpD3G
<{^_^}> → 871bffd9 by R. RyanTM: qutebrowser: 1.2.1 -> 1.3.0
<{^_^}> → c182cf47 by @adisbladis: Merge pull request #40067 from r-ryantm/auto-update/qutebrowser
jgertm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #40060 → unbound: 1.7.0 -> 1.7.1 → https://git.io/vprh0
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging: https://git.io/vpD3l
<{^_^}> → 64bb5797 by R. RyanTM: unbound: 1.7.0 -> 1.7.1
<{^_^}> → 805b3ecc by @adisbladis: Merge pull request #40060 from r-ryantm/auto-update/unbound
Wharncliffe has quit [Quit: Lost terminal]
jb55 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #40058 → xterm: 332 -> 333 → https://git.io/vprpp
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpD3w
<{^_^}> → 0fb46721 by R. RyanTM: xterm: 332 -> 333
<{^_^}> → 83cc86a7 by @adisbladis: Merge pull request #40058 from r-ryantm/auto-update/xterm
endformationage has quit [Quit: WeeChat 1.9.1]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40314 → wesnoth: 1.14.0 -> 1.14.1 → https://git.io/vpDsL
lo_mlatu has joined #nixos
hiroshi has quit [Ping timeout: 264 seconds]
adetokunbo has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
<lo_mlatu> Hello, is it possible for a function to know its callers location? I want to write a helper function to build a nix-shell, set the HISTFILE to the file's location which called that function, is there a way?
hiroshi has joined #nixos
TheAppleMan has quit [Remote host closed the connection]
ThatOtherGuy has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/vpDsw
<{^_^}> → 352f8cb6 by @matthewbauer: retroarch: fix on macOS
<{^_^}> → 4d141bd4 by @matthewbauer: tests: move to attribute set
<{^_^}> → a0ab41ca by @matthewbauer: release: disable tests.cc-wrapper-gcc8.x86_64-darwin
<{^_^}> [nixpkgs] @matthewbauer pushed to master « dwarf-fortress: revert to 44.09 »: https://git.io/vpDs1
<simpson> lo_mlatu: ui coi! Kind of.
<simpson> You could write a bash script which uses a nix-shell shebang, sets up an environment, and then becomes interactive: https://stackoverflow.com/questions/21234025/making-a-bash-script-switch-to-interactive-mode-and-give-a-prompt
<simpson> There might be a cleaner way, but I can't find it in the manual.
Sonarpulse has joined #nixos
Guanin_ has quit [Ping timeout: 250 seconds]
obadz- has joined #nixos
obadz has quit [Ping timeout: 246 seconds]
obadz- is now known as obadz
Guanin_ has joined #nixos
chrisbarrett has joined #nixos
robstr has joined #nixos
chrisbarrett has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40306 → lib: Simplify float handling → https://git.io/vpMEB
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to master: https://git.io/vpDGu
<{^_^}> → c9f6a82b by @Ericson2314: gcc: Factor out "platform flags"
<{^_^}> → 1fe81a4b by @Ericson2314: lib: Clean up float/fpu options
<{^_^}> → e9881446 by @Ericson2314: glibc: Remove old-style nullable "cross" variable
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40307 → lib: Simplify float handling → https://git.io/vpMEo
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to release-18.03: https://git.io/vpDGg
<{^_^}> → c9f6a82b by @Ericson2314: gcc: Factor out "platform flags"
<{^_^}> → 1fe81a4b by @Ericson2314: lib: Clean up float/fpu options
<{^_^}> → e9881446 by @Ericson2314: glibc: Remove old-style nullable "cross" variable
Sonarpulse has quit [Remote host closed the connection]
jwynn6 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 255 seconds]
Lisanna has quit [Quit: Lisanna]
alex`` has joined #nixos
xy2_ has joined #nixos
joehh has joined #nixos
dvim has quit [Quit: WeeChat 2.1]
rauno has quit [Ping timeout: 264 seconds]
dvim has joined #nixos
klntsky has quit [Remote host closed the connection]
alexteve_ has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheAppleMan has joined #nixos
leat has quit [Ping timeout: 264 seconds]
alexteves has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos
griff_ has joined #nixos
smallville7123 has joined #nixos
rauno has joined #nixos
oltoAltn has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
<unlmtd> does nix-serve require an http proxy server?
maingo has joined #nixos
<unlmtd> oops, one minute
raynold has quit [Quit: Connection closed for inactivity]
pingu_ has quit [Ping timeout: 240 seconds]
<unlmtd> can nix-serve bind to an ipv6 address?
pingu_ has joined #nixos
sanscoeur has joined #nixos
<unlmtd> `could not determine host from "[fdef"`
<unlmtd> obviously, thats not working
<wilornel> Hi #nixos! I am having trouble with `bundix` when it tries to install something and checks for `sqlite3.h` header files. I have installed `nix-env -iA nixos.sqlite` but the header files cannot be found by whatever bundix is running
<wilornel> I was wondering if someone encountered an issue like this before
joehh has quit [Ping timeout: 256 seconds]
johann__ has joined #nixos
MercurialAlchemi has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
<unlmtd> wilornel: is sqlite in the `buildInputs` of what your building?
sir_guy_carleton has quit [Quit: Lost terminal]
<unlmtd> I dont know bundix but it sounds like a missing buildinput
coot has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #40314 → wesnoth: 1.14.0 -> 1.14.1 → https://git.io/vpDsL
<{^_^}> [nixpkgs] @abbradar pushed commit from R. RyanTM to master « wesnoth: 1.14.0 -> 1.14.1 »: https://git.io/vpDny
udono has joined #nixos
<wilornel> unlmtd: I don't think that is the issue
<wilornel> I did install sqlite
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40315 → gnome3.webkitgtk: 2.20.1 -> 2.20.2 → https://git.io/vpDnQ
<wilornel> and I'm using bundix to install packages defined in a Gemfile
<unlmtd> I didnt ask if you installed sqlite
<unlmtd> thats irrelevant, nix doesnt work that way
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/vpDnd
<{^_^}> → 97dde3ca by R. RyanTM: python27Packages.youtube-dl: 2018.05.01 -> 2018.05.09
<{^_^}> → 2230b073 by @Fuuzetsu: Merge pull request #40310 from r-ryantm/auto-update/youtube-dl
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #40310 → python27Packages.youtube-dl: 2018.05.01 -> 2018.05.09 → https://git.io/vpDvI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40316 → wireless-regdb: 2017.12.23 -> 2018.05.09 → https://git.io/vpDnF
<wilornel> I'm confused then
griff_ has quit [Quit: griff_]
<wilornel> I did add sqlite to the buildInputs of a shell.nix that I use in my project. However, I run `bundix -l` before I run `nix-shell shell.nix`
<unlmtd> a nix expression builds the same on any system
<unlmtd> what you installed or didnt install isnt the issue, everything has to be in the nix expression youre using
<wilornel> right
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40317 → sundials: 3.1.0 -> 3.1.1 → https://git.io/vpDnp
<wilornel> Here is something that confuses me
<wilornel> `nix-build '<nixpkgs>' -A sqlite' will make a `result-bin`
<wilornel> and not a `result` directory
<unlmtd> sounds like one of the packages has a missing dependency
<wilornel> nix-build '<nixpkgs>' -A sqlite` will make a `result-bin` and not a `result` directory
<wilornel> however!
<wilornel> but I can't find it when I build `sqlite`
<wilornel> so I'm confused
<wilornel> Do I need to update nixos maybe?
zybell_ has quit [Ping timeout: 268 seconds]
<wilornel> I am on 18.03
klntsky has joined #nixos
smichel has joined #nixos
iqubic` has joined #nixos
zybell_ has joined #nixos
tbetbetbe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40318 → streamlink: 0.10.0 -> 0.12.1 → https://git.io/vpDc2
iqubic has quit [Ping timeout: 246 seconds]
MichaelRaskin has left #nixos [#nixos]
adetokunbo has quit [Ping timeout: 256 seconds]
allana` has quit [Ping timeout: 255 seconds]
pie_ has quit [Ping timeout: 248 seconds]
smallville7123 has quit [Quit: rosa]
MP2E has quit [Remote host closed the connection]
<wilornel> Heeelp~
Lears has quit [Remote host closed the connection]
__Sander__ has joined #nixos
Lears has joined #nixos
pingu_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40319 → sleuthkit: 4.6.0 -> 4.6.1 → https://git.io/vpDCE
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40320 → remarshal: 0.7.0 -> 0.8.0 → https://git.io/vpDCa
<clever> wilornel: nix-build '<nixpkgs>' -A sqlite.dev
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
reinzelmann has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40321 → rust-bindgen: 0.36.0 -> 0.36.1 → https://git.io/vpDCj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40322 → scowl: 2017.08.24 -> 2018.04.16 → https://git.io/vpDWI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40323 → rabbitmq-c: 0.8.0 -> 0.9.0 → https://git.io/vpDWL
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40324 → sfml: 2.4.2 -> 2.5.0 → https://git.io/vpDWY
tbetbetbe has quit [Quit: Leaving]
smallville7123 has joined #nixos
sanscoeur has quit [Remote host closed the connection]
reinzelmann has joined #nixos
andreabedini has joined #nixos
smallville7123 has quit [Client Quit]
raynold has joined #nixos
smallville7123 has joined #nixos
andreabedini has quit [Client Quit]
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @FRidh merged pull request #40278 → googleearth: init at 7.1.8.3036 → https://git.io/vpXxd
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vpDlc
<{^_^}> → 406e9d25 by @FRidh: Merge pull request #40278 from markus1189/googleearth
<{^_^}> → d12afa66 by @markus1189: googleearth: init at 7.1.8.3036
smallville7123 has quit [Quit: rosa]
andreabedini has joined #nixos
johann__ has quit [Quit: Leaving.]
johann__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40325 → skrooge: 2.12.0 -> 2.13.0 → https://git.io/vpD8n
civodul has joined #nixos
jackdk has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
jwynn6 has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
dbe has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40326 → poppler_data: 0.4.8 -> 0.4.9 → https://git.io/vpD4M
qknight has joined #nixos
smallville7123 has joined #nixos
johann__ has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40322 → scowl: 2017.08.24 -> 2018.04.16 → https://git.io/vpDWI
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpDBq
<{^_^}> → 35a3194e by R. RyanTM: scowl: 2017.08.24 -> 2018.04.16
<{^_^}> → db426cec by @7c6f434c: Merge pull request #40322 from r-ryantm/auto-update/scowl
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40319 → sleuthkit: 4.6.0 -> 4.6.1 → https://git.io/vpDCE
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpDB3
<{^_^}> → cbbd5564 by R. RyanTM: sleuthkit: 4.6.0 -> 4.6.1
<{^_^}> → b04deca3 by @7c6f434c: Merge pull request #40319 from r-ryantm/auto-update/sleuthkit
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40327 → poppler_utils: 0.63.0 -> 0.64.0 → https://git.io/vpDBs
<angerman> how do I pass environemnt variables to the ./configure call from the standard builder?
nico202 has joined #nixos
<nico202> anybody using home-manager + emacs?
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
<jD91mZM2> angerman: I think you could use `configureFlags`
<jD91mZM2> An array of strings, arguments
<jD91mZM2> In the worst case scenario you could always override buildPhase
<angerman> jD91mZM2: hmm... alright let's try.
devhell has joined #nixos
<manveru> wilornel: moin
<manveru> wilornel: bundlerEnv packages each gem in its own derivation, so it doesn't matter what you put in your buildInputs, you'll have to configure the buildInputs of that gem
<manveru> wilornel: usually you'll use the sqlite3 gem, which is already configured in nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/gem-config/default.nix#L288
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
devhell has quit [Quit: WeeChat 2.1]
lo_mlatu has quit [Quit: Connection closed for inactivity]
<jD91mZM2> Ok so I'm trying to package both an application and a library that it requires
orbekk has quit [Quit: WeeChat 2.0]
<jD91mZM2> When compiling the binary it complains about the binary being missing
orbekk has joined #nixos
<jD91mZM2> I have added the library to buildInputs, and the library specifies `outputs = [ "out" "dev" ]` to ensure that it creates a dev package with headers and stuff
<jD91mZM2> library being missing*
<jD91mZM2> Never mind, I have to go :(
jD91mZM2 has quit [Quit: WeeChat 2.0]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40328 → powerdns: 4.1.1 -> 4.1.2 → https://git.io/vpDRB
devhell has joined #nixos
devhell has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40329 → picard-tools: 2.18.3 -> 2.18.4 → https://git.io/vpDRo
fatsaucisson has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
orivej has joined #nixos
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40330 → pdfpc: 4.1.1 -> 4.1.2 → https://git.io/vpD0u
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ad1af297911 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
johann__ has joined #nixos
smallville7123 has quit [Quit: rosa]
joncfoo_ has quit [Ping timeout: 276 seconds]
seanparsons has quit [Read error: Connection reset by peer]
joncfoo has joined #nixos
kreetx has joined #nixos
Arcaelyx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
stumble has joined #nixos
seanparsons has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to release-18.03 « nixos/systemd-networkd: wait for udev to settle »: https://git.io/vpDuJ
<stumble> Hi all! I'm having trouble getting garbage collection to save much space. I seem to still have a lot of derivations that are not in my recent generations of profile.
<stumble> I've used
<stumble> nix-collect-garbage --delete-older-than 6d
<stumble> That should get rid of all derivations not being used by recent profiles, right?
<makefu> stumble: it might be the case that you need to reboot because the current kernel may still be old
<tilpner> stumble - You may also need to run it as root
<stumble> makefu: Ah! Thank you.
<tilpner> System generations are not collected if run as non-root
<stumble> tilpner: I should have thought of that.
<stumble> Running it as root now and it's collecting a lot more garbage.
<stumble> \o/
<stumble> tilpner++
<{^_^}> tilpner's karma got increased to 2
<{^_^}> [nixpkgs] @dezgeg pushed to master « kernel: Drop bitrotted MIPS patches »: https://git.io/vpDuu
stumble has quit [Remote host closed the connection]
Twey has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « openbsm: add audit_token_to_pid symbol »: https://git.io/vpDzc
giaco has quit [Remote host closed the connection]
chrisbarrett has joined #nixos
chrisbarrett has quit [Client Quit]
simukis has joined #nixos
smallville7123 has joined #nixos
winem_ has joined #nixos
johann__ has quit [Quit: Leaving.]
<capisce> I want to override a pkg from nixpkgs to use a local git checkout as src instead, how would I achieve that?
<nico202> stumble: also check nix-du https://github.com/symphorien/nix-du
<nico202> I found 30Gb of lost derivations (./results dirs) with it
smallville7123 has quit [Client Quit]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 260 seconds]
Mateon3 is now known as Mateon1
pingu_ has joined #nixos
siraben has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vpD2Q
<{^_^}> → f3c85f9e by @edolstra: Revert "Throw a specific error for incomplete parse errors."
<{^_^}> → 1ad19232 by @edolstra: Don't return negative numbers from the flex tokenizer
<{^_^}> [nix] @edolstra closed pull request #2129 → Throw an error when a unicode character is parsed in a identifier → https://git.io/vpE8y
<{^_^}> [nixpkgs] @domenkozar pushed to master « i3status: 2.11 -> 2.12 »: https://git.io/vpDaU
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.03 « i3status: 2.11 -> 2.12 »: https://git.io/vpDat
adisbladis has quit [Ping timeout: 260 seconds]
johann__ has joined #nixos
siraben has quit [Read error: Connection reset by peer]
smallville7123 has joined #nixos
pingu_ has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
johann__ has quit [Client Quit]
orivej has joined #nixos
pie_ has joined #nixos
smallville7123 has quit [Quit: rosa]
johann__ has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
hlolli has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40332 → palemoon: 27.9.0 -> 27.9.1 → https://git.io/vpDwX
<azazel> anyone using kubernetes on nixos here? I'm having problems even with running an "all-in-one" node on 18.03, the pods never leave the "pending" state... any clue?
stumble has joined #nixos
johann__ has quit [Quit: Leaving.]
johann__ has joined #nixos
spear2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40333 → opendht: 1.7.1 -> 1.7.2 → https://git.io/vpDr5
joehh has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-4 « hostapd: remove assertion (allow 5GHz channels) »: https://git.io/vpDoY
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40334 → hostapd: remove assertion (allow 5GHz channels) → https://git.io/vpDon
johann__ has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @jlesquembre opened pull request #40335 → kitty: 0.9.0 -> 0.9.1 → https://git.io/vpDoa
<{^_^}> [nixpkgs] @xeji merged pull request #40311 → enlightenment: remove bashism from patch → https://git.io/vpDT9
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpDod
<{^_^}> → 8408c36d by @romildo: enlightenment: remove bashism from patch
<{^_^}> → 2f6ac31d by @xeji: Merge pull request #40311 from romildo/fix.enlightenment
<elvishjerricco> This is driving me nuts. I want to do `ssh foo -t gpg --export-secret-keys | gpg --import` to import GPG keys from another machine. But the pinentry for the remote machine always clobbers stdout.
<elvishjerricco> Obviously the workaround is to just store the keys in files and copy them over, but I'd really like to know how to do this regardless
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/77a26e1246e (from 56 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<clever> elvishjerricco: i have my gpg configured to always ask with a gui, even for ssh sessions
<elvishjerricco> clever: On which machine does the GUI show up?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40336 → mopidy-iris: 3.17.5 -> 3.18.0 → https://git.io/vpDKT
<clever> elvishjerricco: the remote one
<elvishjerricco> clever: The remote one from which perspective? :P The client logging in, or the server that's actually running the gpg command?
<clever> the remote gpg connects to the xorg that is "local" relative to itself
<elvishjerricco> Got it
<elvishjerricco> Yea I want to authenticate on the client, not the server
<clever> and sometimes that means a pinentry prompt appearing on a laptop i left upstairs
periklis has joined #nixos
<clever> anoying, but not as bad as the ssh stuff it did before
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40337 → mediainfo: 18.03.1 -> 18.05 → https://git.io/vpDK3
<periklis> hi, i am having trouble to establish a mac remote builder from my macbook with nix 2.0.2 without using the old NIX_BUILD_HOOK. I've a valid key and /etc/nix/machines file, but still on `nix build` i get the answer `hook reply is 'decline'`. Any idea, help or assistance welcome!
<elvishjerricco> It's weird because I see all these answers online of people telling people to do `ssh foo gpg --export-secret-keys | gpg --import`, but that just doesn't work. Without `-t` on the `ssh`, you get `error receiving key from agent: No such file or directory.` But with `-t` you get these problems with pinentry clobbering stdout
<clever> elvishjerricco: what if you take the | gpg import off the end, and take off -t?
<elvishjerricco> periklis: With Nix 2.0, `NIX_BUILD_HOOK` shouldn't be the way to set up remote builders IIRC
<elvishjerricco> periklis: You should just have to add something to `/etc/nix/machines`
<elvishjerricco> clever: Same thing
<periklis> elvishjerricco: right, i haven't used it from the start.
<moredhel_[m]> Hi all, does anyone have experience with the arduino IDE and getting it running?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40338 → mediainfo-gui: 18.03.1 -> 18.05 → https://git.io/vpDKr
<periklis> elvishjerricco: i've started with a machines file and checked twice that no ssh-agent or password reqeust comes into my way.
<elvishjerricco> periklis: You have to make sure you're checking that from the right user
<elvishjerricco> If you have multi-user nix, you'll want to test it with `sudo -i ssh ...` instead of just `ssh` or `sudo ssh`
<periklis> elvishjerricco: you mean from the user nix-daemon is running on my local machine?
<moredhel_[m]> specifically I'm trying to work on the Adafruit Circuitboard Express
<elvishjerricco> periklis: yea
<{^_^}> [nixpkgs] @fadenb opened pull request #40339 → emby: 3.4.0.0 -> 3.4.1.0 → https://git.io/vpDKi
<{^_^}> [nixpkgs] @Mic92 merged pull request #40308 → backup (gem) : remove → https://git.io/vpMrN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpDKH
<{^_^}> → d01a13b7 by @Mic92: Merge pull request #40308 from mrVanDalo/remove_backup
<{^_^}> → 4baafa9c by @mrVanDalo: backup (gem) : remove
<goibhniu> moredhel_[m]: FWIW, I have used the arduino IDE with success, what's not working?
<{^_^}> [nixpkgs] @Mic92 merged pull request #40334 → hostapd: remove assertion (allow 5GHz channels) → https://git.io/vpDon
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpDKb
<{^_^}> → 35375aa7 by @yegortimoshenko: hostapd: remove assertion (allow 5GHz channels)
<{^_^}> → 9c174783 by @Mic92: Merge pull request #40334 from NixOS/yegortimoshenko-patch-4
spear2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to yegortimoshenko-patch-4: https://git.io/vpDKj
spear2 has joined #nixos
tennat has joined #nixos
<periklis> elvishjerricco: actually nix-daemon runs on root in macos and when i change to with `sudo su -` into this user i can properly connect to my remote machine with the according key
NightTrain has joined #nixos
<elvishjerricco> periklis: Yea, so then there should be no problem
<elvishjerricco> What happens when you try that in /etc/nix/machines?
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40340 → libwebsockets: 2.4.2 -> 3.0.0 → https://git.io/vpD6Y
<elvishjerricco> periklis: Also, just in case, make sure /etc/nix/machines is itself owned by root
<elvishjerricco> Not sure if that's necessary...
<moredhel_[m]> goibhniu: I'm trying to compile a program but it is a precompiled binary `arm-none-eabi-g++` is trying to be executed for compilation reasons
<tennat> Hey Guys, im exhausted.. i read the tomcat manual to understand the tomcat-module and i can't get it working. My experience so far: i created another output of my package where my webpage is located also the tomcat module pulls those files and creates /var/tomcat/ for it.
<periklis> elvishjerricco: however, what did you mean with "try in /etc/nix/machines"
<moredhel_[m]> I've written a wrapper which runs it under `steam-run`, but it's not working :/
<elvishjerricco> periklis: What happens if you just try configuring /etc/nix/machines?
<periklis> elvishjerricco: it is configured from the start
<elvishjerricco> periklis: So it's already got the remote builder listed in there with the key file?
<periklis> elvishjerricco: right
<goibhniu> moredhel_[m]: hrm, you could try using patchelf, or packaging the binary
<elvishjerricco> Ok, so what happens when you try to do a build on it?
<periklis> elvishjerricco: it tries to address the remote machine and ends with: `considering building on remote machine 'ssh://remote-hostname'
<periklis> hook reply is 'decline'`
smyds has left #nixos [#nixos]
<elvishjerricco> periklis: unset NIX_BUILD_HOOK, maybe?
<elvishjerricco> You said you were using Nix 2.0
<elvishjerricco> double check that the daemon was properly updated as well
<moredhel_[m]> true, but that feels like a lot of effort... I'm working my way through all of the binaries at the moment and wrapping each one in a steam-run script... That is a lot of yak-shaving which sadly I don't have time for at the moment. I was hoping for a quick fix :)
<elvishjerricco> `sudo ps aux | grep nix-daemon` ought to tell you :P
<moredhel_[m]> no worries though, I'll see what I can do
<periklis> elvishjerricco: NIX_BUILD_HOOK is unset, nix and nix-daemon on 2.0.2, plist is pointing to the correct nix-daemon.
<elvishjerricco> And still you get the `hook reply is 'decline'` thing?
<periklis> exactly
<elvishjerricco> periklis: Huh
<elvishjerricco> unset NIX_REMOTE_SYSTEMS?
<elvishjerricco> Otherwise I'm out of ideas :P
<elvishjerricco> Maybe NIX_BUILD_HOOK needs to be unset for the launchd environment running the daemon?
<periklis> it's also unset. Bu let me try to unset for the daemon
<goibhniu> moredhel_[m]: that's a shame that it doesn't work in the steam environment :/
<moredhel_[m]> I almost have it working. but it's dynamically building a 'bossac' binary which is compiled in the steam-run environment then is executed outside of it. so it is being a serious pain
<moredhel_[m]> the other option is to start up the arduino ide within the steam-run env
<periklis> elvishjerricco: same status. i've unset both env variables in the org.nixos.nix-daemon.plist :(
<elvishjerricco> periklis: I think the daemon might have to be restarted after changing its env variables. Not sure...
<periklis> elvishjerricco: i know that and did that :)
<elvishjerricco> periklis: Darn. Then I have no idea, sorry :/
<elvishjerricco> periklis: I manage to avoid the problem entirely by just using `nix-darwin`
<elvishjerricco> It's a life saver, I definitely recommend it
<periklis> elvishjerricco: anyway thanks, but what does nix-darwin do here different?
leat has joined #nixos
<elvishjerricco> periklis: I have no idea. But it works out of the box for me :P Just have to write a couple of lines of Nix and do a darwin-rebuild
<periklis> elvishjerricco: you mean nix-darwin has a module for remote builds?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/83b3e6d705e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<elvishjerricco> periklis: Yea it's got the same Nix configuration abilities as NixOS's configuration.nix
<elvishjerricco> So you can do `nix.buildMachines = [{ ... }];`
coot has quit [Read error: No route to host]
pie_ has joined #nixos
johann__ has joined #nixos
reinzelmann has quit [Ping timeout: 260 seconds]
maingo has quit [Quit: Connection closed for inactivity]
coot has joined #nixos
<periklis> elvishjerricco: can you check please and give an anonymized sample of your /etc/nix/machines?
ericsagnes has joined #nixos
<elvishjerricco> periklis: user@host x86_64-linux /etc/nix/key.pem 4 1
<periklis> hmm the only difference is the user@. But adding this doesn't make any difference.
<gchristensen> periklis: on the remote builder, anything in dmesg or system logs / ssh logs?
<elvishjerricco> gchristensen: dmesg is a linux thing, right? periklis is on darwin
<gchristensen> is their remote builder also mac?
<elvishjerricco> gchristensen: Oh i misread your last one. Sorry
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40341 → miniupnpd: 2.0.20180503 -> 2.1 → https://git.io/vpDPl
<periklis> gchristensen: remote builder is also a mac
<gchristensen> no worries! :)
<gchristensen> ooh fun
acarrico has joined #nixos
justan0theruser has joined #nixos
<gchristensen> as any user, on your machine, can you run `ssh user@remote nix-store --realize /nix/store/9xg3d7r173zzybgh8v4lhf3zcf0wx51g-bash-4.4-p12`
justanotheruser has quit [Ping timeout: 246 seconds]
<periklis> gchristensen: an nice, that brings something: 'nix-store: command not found'
jacob has joined #nixos
<gchristensen> nice! the profile file your users shell is loading isn't sourcing the nix profile
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/77a26e1246e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jacob is now known as Guest88001
reinzelmann has joined #nixos
<periklis> gchristensen: right. I've checked that /etc/profile is properly cofnigured. However, maybe macOS is different in terms of profile/rc files for bash
<gchristensen> periklis: in the authorized_keys file for the user on the remote builder, instead of just the key, put: https://gist.githubusercontent.com/grahamc/9393e5218f000d15a26faf1d9a52de7e/raw/d1aafeea590e9174746fd6fd512311b5b861b21f/gistfile1.txt ... note the `...` in the path is because I don't remember the exact path :D
<periklis> gchristensen: nice, i'll try this
johann__ has quit [Quit: Leaving.]
* gchristensen crosses fingers
<{^_^}> [nixpkgs] @srhb merged pull request #40304 → nixos/tests/graphite: fix test → https://git.io/vpMWk
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vpDXn
<{^_^}> → 840e5d8b by @xeji: nixos/tests/graphite: fix test
johann__ has joined #nixos
<{^_^}> → 0e1e0df2 by @srhb: Merge pull request #40304 from xeji/fix-graphite-test
NightTrain has quit [Quit: leaving]
romildo has joined #nixos
griff_ has joined #nixos
<periklis> gchristensen: actually `nix-store --serve --write` never ends
<gchristensen> like if you run it yourself?
<periklis> yes also when i run it on the remote machine locally
<gchristensen> right, it shouldn't, it is trying to speak nix's protocol over stdin/stdout
<gchristensen> unless you're fluent? :)
tennat has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
romildo has left #nixos ["Leaving"]
<periklis> hehe :) Ok this means that it will intercet any com from nix-build?
johann__ has quit [Quit: Leaving.]
<gchristensen> nix-store --serve --write is what nix will be calling on the remote anyway
<gchristensen> specifying command=... in the authorized keys means that key can only call that commanndc now
<gchristensen> ... something I should have probably explained before I instructed you to do it, blindly
<periklis> ic. thanks that made it work
<gchristensen> cool!
<gchristensen> I should probably document this somewhere
<periklis> i hardly remember command in ssh to lock down possible exposure in old sysadmin days. However, i could not imagine that nix-store can be run as server, too :)
<{^_^}> [nixpkgs] @joachifm pushed to master « tor-browser-bundle-bin: 7.5.3 -> 7.5.4 »: https://git.io/vpD1n
<{^_^}> [nixpkgs] @joachifm pushed to release-18.03 « tor-browser-bundle-bin: 7.5.3 -> 7.5.4 »: https://git.io/vpD1w
<gchristensen> actually periklis can you break your config (ie: remove that command=... prefix) and test something for me?
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vpD1Q
<{^_^}> → d283368d by @dotlambda: Merge pull request #39681 from pstn/gnunet-service
<{^_^}> → c3dba0b7 by Philipp Steinpass: nixos/gnunet: create switch for package.
<{^_^}> [nixpkgs] @dotlambda merged pull request #39681 → nixos/gnunet: create switch for package. → https://git.io/vpBCh
<{^_^}> [nixpkgs] @joachifm pushed to release-17.09 « tor-browser-bundle-bin: 7.5.3 -> 7.5.4 »: https://git.io/vpD1x
nuncanada has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<CrazedProgrammer> is it possible to chroot into an installation and do nixos-rebuild switch from the install media? a windows reinstall borked my efi partitions.
<joachifm> Izorkin: sorry, what?
<periklis> gchristensen: sure i can
<Izorkin> joachifm: ?
<joachifm> Izorkin: my away log indicated you asked me something. but I see it's a month ago, so nvm :)
Rusty1_ has joined #nixos
Neo-- has joined #nixos
<Izorkin> joachifm: how to need to merge PR https://github.com/NixOS/nixpkgs/pull/33835
<srhb> CrazedProgrammer: Yes, see the --chroot flag to nixos-install. Or maybe that was exchanged for nixos-enter, I didn't check recent install media.
acarrico has quit [Ping timeout: 240 seconds]
<joachifm> Izorkin: ah, forgot all about that one, sorry. I think just squash it & we can integrate
johann__ has joined #nixos
<CrazedProgrammer> srhb: thanks!
<srhb> CrazedProgrammer: And I think you might need to give rebuild a specific switch to have it redo the bootloader.
lord| has quit [Quit: WeeChat 2.1]
<srhb> --install-bootloader iirc
<srhb> (If that's what Windows mangled)
grumble has quit [Read error: Connection reset by peer]
grumble has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « seafile-client: 6.1.7 -> 6.1.8 »: https://git.io/vpDDu
acarrico has joined #nixos
<CrazedProgrammer> srhb: that worked, thanks a lot! :)
<srhb> CrazedProgrammer: Welcome. :)
lonokhov has joined #nixos
jD91mZM2 has joined #nixos
<Izorkin> joachifm: now is not build, error - warning: jobserver unavailable: using -j1
johann__ has quit [Quit: Leaving.]
thblt has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to release-18.03 « nixos/tests/graphite: fix test »: https://git.io/vpDyZ
johann__ has joined #nixos
johann__ has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40342 → krita: 4.0.1 -> 4.0.2 → https://git.io/vpDSf
broccoli has joined #nixos
<broccoli> hi
johann__ has joined #nixos
Neo-- has quit [Remote host closed the connection]
Neo-- has joined #nixos
<broccoli> Is there a way to install the CUDA Toolkit (+CuDNN) without Xorg? (I'm rather new to NixOS)
griff_ has quit [Quit: griff_]
<srhb> broccoli: At least not in its current form. xorg is a hard coded dependency. I don't know enough about cuda to know if that could be made not to be the case.
griff_ has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
<srhb> I think the libraries are a hard dependency of CUDA, from looking at Nvidias docs.
<srhb> Not sure what brought you to want this?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/32aecad0f86 (from 23 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40343 → libpqxx: 6.2.2 -> 6.2.3 → https://git.io/vpD94
<broccoli> srhb: ok, i'll try to learn and make a derivation for a headless mode then, it should be possible to just install the driver kernel modules & cuda libs
freeman42x]NixOS has joined #nixos
<broccoli> i'm using the computer in a headless mode for machine learning
<{^_^}> [nixpkgs] @markuskowa opened pull request #40344 → openmpi: 3.0.1 -> 3.1.0 → https://git.io/vpD9V
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « darwin.architecture: add postPatch back in »: https://git.io/vpD9K
<{^_^}> [nixpkgs] @Twey opened pull request #40345 → pythonPackages.plover.dev: 4.0.0.dev6 -> 4.0.0.dev8 → https://git.io/vpD9P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40346 → libraw: 0.18.10 -> 0.18.11 → https://git.io/vpD9M
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40347 → libfilezilla: 0.12.1 -> 0.12.2 → https://git.io/vpD9S
humanoyd has quit [Quit: WeeChat 2.1]
<Twey> #updatefridays
<{^_^}> [nixpkgs] @matthewbauer closed pull request #31809 → Firefox on MacOS → https://git.io/vFHCi
<{^_^}> [nixpkgs] @matthewbauer closed pull request #31637 → blender: fix on Darwin → https://git.io/vFK6E
anon has joined #nixos
anon is now known as Guest98595
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « docker-edge: 18.04.0-ce -> 18.05.0-ce »: https://git.io/vpDHm
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « docker-edge: 18.04.0-ce -> 18.05.0-ce »: https://git.io/vpDHG
jperras has joined #nixos
Guest98595 has left #nixos [#nixos]
Neo-- has quit [Ping timeout: 260 seconds]
smallville7123 has joined #nixos
johann__ has quit [Quit: Leaving.]
grp has joined #nixos
<sphalerite> how do I set console parameters? I'm trying to get nixos running on a scaleway C1 server, and it's mostly working — but the serial console seems to get its parameters screwed up
<sphalerite> specifically the baud rate, I think
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40348 → libdrm: 2.4.91 -> 2.4.92 → https://git.io/vpD7D
<sphalerite> i.e. it's set to the correct value by the image that loads nixos, but then nixos (systemd?) changes it to an incorrect value somewhere down the line, after starting nscd by the looks of it
<sphalerite> it has the console=ttyS0,9600n8 parameter on the kernel command line
johann__ has joined #nixos
<Dezgeg> in the getty settings probably
sir_guy_carleton has joined #nixos
<Dezgeg> but to me it sounds like a bug if it's changing serial port options
acarrico has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40349 → jackett: 0.8.929 -> 0.8.953 → https://git.io/vpD5D
<gchristensen> joepie91: do you do contract work?
johann__ has quit [Client Quit]
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/vpDdv
<{^_^}> → 93b4e695 by @globin: acpid: fix cross
<{^_^}> → 183f56f2 by @globin: acpid: 2.0.28 -> 2.0.29
<schoppenhauer> hi. is there any howto for upgrading from 17.08 to 18.03?
<gchristensen> https://nixos.org/nixos/manual/release-notes.html#sec-release-18.03 has some things to kekep in mind
endformationage has joined #nixos
<schoppenhauer> gchristensen: yes, but I don't really know how to upgrade.
griff_ has quit [Quit: griff_]
johann__ has joined #nixos
<gchristensen> silly, isn't it? all these greate relaese notes and we don't even tell you how to do it
<gchristensen> as root, nix-channel add https://nixos.org/channels/nixos-18.03 nixos; nixos-rebuild boot --upgrade; sudo reboot
<gchristensen> that should do it :)
<{^_^}> [nixpkgs] @alexfmpe opened pull request #40350 → Fix typo → https://git.io/vpDdb
<{^_^}> [nixpkgs] @grahamc merged pull request #40350 → Fix typo → https://git.io/vpDdb
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vpDFf
<{^_^}> → cb44120b by @alexfmpe: Fix typo
<{^_^}> → aa762930 by @grahamc: Merge pull request #40350 from alexfmpe/fix-typo
broccoli has quit [Ping timeout: 260 seconds]
broccoli has joined #nixos
<schoppenhauer> gchristensen: thank you :)
<gchristensen> :) can you open a bug report about this? :P
<schoppenhauer> gchristensen: huh? is this considered a bug?
<gchristensen> "long time user doesn't know how to upgrade" seems like a bug to me
<gchristensen> at the very least, the release notes should contain instructions on how to switch too it
<schoppenhauer> ok I'll file a bug report
<catern> how do people usually manage their configuration.nix? what's the best way? just have a git repo in my home directory and copy the configuration.nix over when I want to change it?
<{^_^}> [nixpkgs] @primeos merged pull request #40298 → tdesktop: fix icon path → https://git.io/vpMkW
<{^_^}> [nixpkgs] @primeos pushed commit from @cruizh to master « tdesktop: Fix the icon path (#40298) »: https://git.io/vpDFp
<sphalerite> catern: I have a git repo in /etc/nixos itself on most of my systems
<catern> sphalerite: do you commit hardware-configuration.nix in that?
<sphalerite> for a number of them I share the same repo and put configuration.nix in .gitignore and make it a symlink to the actual config
<sphalerite> catern: usually no. On several I don't even use hardware-configuration.nix
<gchristensen> thank you, schoppenhauer!
FRidh has joined #nixos
<stumble> catern: I back up a copy of configuration.nix (almost) every time I switch configurations. Apart from that, it's just a file, nothing special.
tmaekawa has joined #nixos
<catern> alright, thanks, I will consider these
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40352 → hstr: 1.24 -> 1.25 → https://git.io/vpDNH
iqubic` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
thblt has quit [Ping timeout: 255 seconds]
<sphalerite> catern: I've been planning ofr ages to have a wrapper for nixos-rebuild that will make a commit with the generation number on a separate branch each time I build a configuration, and put the nixpkgs revision in the commit message as well, so I can exactly reproduce any historical config.
<sphalerite> Never got around to it though.
<goibhniu> I just upgraded an imperative container from 17.03 to 18.03 and now when I run `nixos-rebuild switch` in the container it fails a few of these messages: "error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system" ... any idea how to fix that?
<goibhniu> the host system is nixos-unstable
martingale has quit [Read error: Connection reset by peer]
martingale has joined #nixos
spear2 has quit [Quit: Leaving]
johann__ has quit [Quit: Leaving.]
johann__ has joined #nixos
* goibhniu gets that error for any nix command too
<catern> sphalerite: that's the equivalent of etckeeper for NixOS I guess
<catern> would be neat
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/967e40787c5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
martingale has quit [Read error: Connection reset by peer]
<samueldr> catern: doing similar to what sphalerite does, https://gitlab.com/samueldr/nixos-configuration I gitignore configuration.nix and have configuration.nix import machines/$HOSTNAME;
martingale has joined #nixos
<samueldr> and yes, I do commit the hardware-configurations
<{^_^}> [nixpkgs] @Assassinkin opened pull request #40353 → mail-parser python(2/3) package → https://git.io/vpDxC
freeman42x[nix] has joined #nixos
johann__ has quit [Quit: Leaving.]
reinzelmann has quit [Quit: Leaving]
<Lears> I have base.nix and a $(hostname).nix importing base.nix for each machine in my regular configs repo, then set $NIXOS_CONFIG appropriately.
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/967e40787c5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<joepie91> gchristensen: yeah, depending on the type of work, why?
<gchristensen> PM?
* goibhniu wonders if there's some way to start a container from a previous generation
<{^_^}> [nixpkgs] @FRidh opened pull request #40354 → ncurses: use a different mirror / archive → https://git.io/vpDpD
<joepie91> gchristensen: sure :)
aristid has quit [Ping timeout: 255 seconds]
<infinisil> > option = (import <nixpkgs/options.nix>).option
<{^_^}> option defined
<infinisil> > option "services.nginx.virtualHosts.<name>.enableACME"
<{^_^}> "Whether to ask Let's Encrypt to sign a certificate for this vhost.\nAlternately, you can use an existing certificate through <option>useACMEHost</option>.\n"
<infinisil> :D
<gchristensen> > builtins.unsafeGetAttrPos option
<{^_^}> <PRIMOP-APP>
<gchristensen> > builtins.unsafeGetAttrPos option "services"
<{^_^}> value is a function while a string was expected, at (string):34:1
<gchristensen> ehh :)
<gchristensen> that is cool, infinisil
xeji has joined #nixos
aristid has joined #nixos
<infinisil> It's a modified version of <nixpkgs/nixos/doc/manual/default.nix>, because nixos doesn't export the options list as a nix value :/
<infinisil> Thanks :)
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #40356 → rustc: 1.25.0 -> 1.26.0 → https://git.io/vpDjW
<{^_^}> [nixpkgs] @dotlambda merged pull request #40189 → Add pythonPackages.immutables, pythonPackages.contextvars → https://git.io/vpiam
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vpDjE
<{^_^}> → 5862c683 by @catern: pythonPackages.immutables: init at 0.5
<{^_^}> → 1bfa8c29 by @catern: pythonPackages.contextvars: init at 2.2
<{^_^}> → 188fdf5b by @dotlambda: Merge pull request #40189 from catern/contextvars
<{^_^}> [nixpkgs] @scotttrinh opened pull request #40357 → Fix small typo in configuration documentation → https://git.io/vpDjM
broccoli has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40358 → flow: 0.71.0 -> 0.72.0 → https://git.io/vpyv2
jwynn6 has quit [Quit: ZNC - http://znc.in]
jwynn6 has joined #nixos
broccoli has joined #nixos
<jD91mZM2> Do we have any mind readers here? I'm trying to package a thing and the thing complains and I literally have no more detail than that.
<jD91mZM2> Output:
<jD91mZM2> CMake Error at /nix/store/9hmhxgj4jk6jmxihgavj6gm0p759misc-cmake-3.10.2/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
<jD91mZM2> Could NOT find BAMF (missing: DAEMON) (found suitable version "0.5.3",
<jD91mZM2> minimum required is "0.5.0")
<jD91mZM2> Call Stack (most recent call first):
<jD91mZM2> /nix/store/9hmhxgj4jk6jmxihgavj6gm0p759misc-cmake-3.10.2/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
<jD91mZM2> cmake/FindBAMF.cmake:111 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
<jD91mZM2> CMakeLists.txt:58 (find_package)
<jD91mZM2> Somehow it can't find the bamf package, even though plank is using it and I assume that package works just fine.
<sphalerit> Looks like it's missing *part* of BAMF
<jD91mZM2> Note: It says "missing: DAEMON" and not "missing: LIB"
<jD91mZM2> Which is weird because they're both packaged in the same package I think
<Mic92_> jD91mZM2: you should checkout what they test in there cmake file for
<sphalerit> Yeah it's provably a dodgy cmake find script
<Mic92_> I mean the other package not bamf
Sonarpulse has joined #nixos
<jD91mZM2> Yeah sorry I was gonna link both
periklis has quit [Ping timeout: 268 seconds]
<jD91mZM2> Seems like it's using $PATH
<Mic92_> jD91mZM2: /nix/store/ggs8pak81akpb0yjzkr92sr9xbnl0bb9-bamf-0.5.3/libexec/bamf/bamfdaemon
<jD91mZM2> Yeah that's not in $PATH. oh noes
<Mic92_> bamfdaemon is not in the $PATH they look in ${CMAKE_INSTALL_FULL_LIBEXECDIR}
<jD91mZM2> But what's that
<Mic92_> not sure you could use the `message` function in cmake in an example cmake project
<Mic92_> you could add an additional hint though
<Mic92_> ${bamf}/libexec/bamf/
<jD91mZM2> How do I add that hint and have ${bamf} resolved?
<jD91mZM2> patches can't inline nix, can they?
griff_ has joined #nixos
sir_guy_carleton has quit [Quit: Lost terminal]
spear2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40359 → falkon: 3.0.0 -> 3.0.1 → https://git.io/vpyUK
<{^_^}> [nixpkgs] @mnacamura opened pull request #40360 → rPackages: fix binutils path on Darwin → https://git.io/vpyTv
humanoyd has joined #nixos
lonokhov has quit [Ping timeout: 240 seconds]
nico202 has quit [Ping timeout: 260 seconds]
<jD91mZM2> Mic92_: Seems like that still doesn't work
<jD91mZM2> wait never mind I'm stupid
<jD91mZM2> sec
leat has quit [Ping timeout: 256 seconds]
<jD91mZM2> How do I know if the patches are applied correctly? Nothing seems to be printing
<jD91mZM2> ok never mind that as well I just had to include the necessary phase
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40361 → dunst: 1.3.1 -> 1.3.2 → https://git.io/vpykK
<{^_^}> [nixpkgs] @dotlambda opened pull request #40362 → Libb2 0.98 → https://git.io/vpyk5
<Izorkin> joachifm: https://github.com/NixOS/nixpkgs/pull/33835 - thats norm?
acarrico has joined #nixos
<jD91mZM2> Mic92_: Ok this time I'm pretty sure the patches are applied... but nothing
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40363 → lib: Add more configure flag helpers → https://git.io/vpyIO
<Mic92_> jD91mZM2: it will usually print the full path of the patch applied.
<jD91mZM2> Mic92_: Ok turns out I just did the patch substitution wrong. Now I'm finally getting another error. Thanks for the help, and sorry for being stupid :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40364 → closurecompiler: 20180402 -> 20180506 → https://git.io/vpyIj
<goibhniu> it looks like imperative containers are broken on nixos-unstable: https://github.com/NixOS/nixpkgs/issues/40355 ... can anyone verify?
Ariakenom has joined #nixos
broccoli has quit [Ping timeout: 240 seconds]
<Izorkin> joachifm: my local pc normal build
__Sander__ has quit [Quit: Konversation terminated!]
winem_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40365 → emby: 3.4.0.0 -> 3.4.1.0 → https://git.io/vpyta
drakonis has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #40363 → lib: Add more configure flag helpers → https://git.io/vpyIO
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @Ericson2314 to master « lib: Add more configure flag helpers »: https://git.io/vpyqo
jb55 has joined #nixos
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40366 → acpica-tools: 20180427 -> 20180508 → https://git.io/vpymU
griff_ has joined #nixos
ryantrinkle has joined #nixos
<sphalerite> yay I have nixos running on a scaleway C1 (arm) server
<drakonis> noice
<goibhniu> sweet!
the_real_plumps has quit [Remote host closed the connection]
<sphalerite> The serial console doesn't work right though :/ I just get garbage from it
the_real_plumps has joined #nixos
<sphalerite> it seems to be getty's fault, since I can echo to it and that works just fine
<sphalerite> yep, getty keeps resetting the baud rate to 57600 when it's supposed to be 9600
<sphalerite> is there a way to make it not do that?
<tilpner> services.mingetty.serialSpeed
<sphalerite> perfect! Thanks
sigmundv_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #40359 → falkon: 3.0.0 -> 3.0.1 → https://git.io/vpyUK
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master:
<{^_^}> → 09521956 by R. RyanTM: falkon: 3.0.0 -> 3.0.1
<{^_^}> → 2f37fecf by @adisbladis: Merge pull request #40359 from r-ryantm/auto-update/falkon
spion_ has quit [Ping timeout: 265 seconds]
spion has joined #nixos
maingo has joined #nixos
<sphalerite> why does it even reset it?
<tilpner> I want to type umlauts (ö, ä, ü) in tty2, but they show up as [, ], and @. Has anyone seen this?
<tilpner> If that works for anyone, what are your locale settings?
<sphalerite> tilpner: `loadkeys de` should make it work
<tilpner> That's the first thing I tried, although via su
<sphalerite> huh
<tilpner> (It does nothing)
<sphalerite> does `i18n.consoleKeyMap = "de";` work?
<sphalerite> or maybe `i18n.consoleUseXkbConfig = true;`
<tilpner> My consoleKeyMap is "de" already. I haven't tried UseXkbConfig yet
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40368 → bobcat: 4.07.00 -> 4.08.03 → https://git.io/vpy3v
<tilpner> I just tried UseXkbConfig. Didn't restart X, but logged in again on tty, but that didn't do anything either
<jcrben> https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix - just noticed that Github is cropping this file at around 15800 lines without any sort of warning message
<sphalerite> tilpner: you may need to restart systemd-vconsole-setup or something. Or you could just reboot to be sure
sigmundv_ has joined #nixos
periklis has joined #nixos
<jcrben> also Github seems to be skipping the cropped code in search (vscode does not show up in all-packages) - is this a common/known issue? usually I feel like I would've seen a warning or somethin
<{^_^}> [nixpkgs] @sifmelcara opened pull request #40369 → powerline-go: 1.10.0 -> 1.11.0 → https://git.io/vpys3
<sphalerite> jcrben: nixpkgs is an excellent place to find github bugs :p
<samueldr> I think it's known that the github UI doesn't like huge files
<tilpner> Oh hey, a reboot did it! Thanks, sphalerite :)
d4 has joined #nixos
<samueldr> there is a service to search through nix stuff with a web UI: https://search.nix.gsc.io/
<ryantm> jcrben: sphalerite: yeah I broke mobile insights for nixpkgs
fatsau has joined #nixos
<fatsau> Hi here
<fatsau> I have a binary in an AppImage format, did somebody succeed in launching those under nixos ?
d4 has quit [Quit: WeeChat 2.1]
d4 has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
<sphalerite> fatsau: an FHS user env might be helpful https://nixos.org/nixpkgs/manual/#sec-fhs-environments
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/32aecad0f86 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<tilpner> sphalerite - Those usually don't work because they don't support FUSE
<catern> hey #nixos, how would I make /dev/kvm be owned by a "kvm" group, so I can put my user in the kvm group to get direct access to /dev/kvm?
<sphalerite> tilpner: oh. idk
<tilpner> I tried patchelfing them a few times, but lost motivation along the way
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40370 → adapta-gtk-theme: 3.93.1.1 -> 3.93.1.14 → https://git.io/vpysA
<sphalerite> catern: using a udev rule I believe
<sphalerite> catern: something like KERNEL=="kvm", GROUP="kvm", and create the group using users.groups.kvm = {}
<catern> sphalerite: cool, I'll try it! thanks
<catern> btw, adding a group to extraGroups and setting the membership of the group in users.groups.group have the same effect, right?
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/vpyG8
<{^_^}> → 9d0202fa by @fpletz: tzdata: 2017c -> 2018e
<{^_^}> → 59a6f939 by @fpletz: pythonPackages.prometheus_client: init at 0.2.0
<{^_^}> → c4f5d559 by @fpletz: home-assistant: add prometheus component dependency
<{^_^}> [nixpkgs] @Ma27 opened pull request #40371 → git-cola: port to qt5 → https://git.io/vpyGu
<catern> oh wait, /dev/kvm is already world-writable!
<catern> nevermind :)
<catern> (on NixOS)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40372 → cava: 0.6.0 -> 0.6.1 → https://git.io/vpyGx
d4 has quit [Quit: WeeChat 2.1]
hotfuzz_ has quit [Ping timeout: 260 seconds]
hotfuzz_ has joined #nixos
broccoli has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/870bb44a7db (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
ambro718 has joined #nixos
broccoli has quit [Ping timeout: 256 seconds]
jgertm has joined #nixos
dbe has joined #nixos
d4 has joined #nixos
<fatsau> ok, so after building a FHSUserEnv with everything I need, I hit a FUSE problem wall
sanscoeur has joined #nixos
<fatsau> it says it can't mount AppImage
<tilpner> Yes, that matches my experience
drakonis has quit [Ping timeout: 255 seconds]
broccoli has joined #nixos
griff_ has quit [Quit: griff_]
sigmundv_ has quit [Ping timeout: 248 seconds]
<sphalerite> [ OK ] Started D-Bus System Mess
<sphalerite> lopl
spear2 has quit [Read error: Connection reset by peer]
leat has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to master « graphite2: fix cross »: https://git.io/vpyCv
judson has joined #nixos
smallville7123 has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/870bb44a7db (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<elvishjerricco> Uh oh. I had two catastrophes happen on a system: Ran out of disk space, and had to force a shutdown. Now when I try to run `nix-collect-garbage`, I get `error: executing SQLite statement 'pragma synchronous = normal': unable to open database file (in '/nix/var/nix/db/db.sqlite')`
<gchristensen> I think if you can delete a single file, it'll fix that, elvishjerricco
jperras has joined #nixos
<elvishjerricco> gh0st[m]: 1) I thought nix-collect-garbage could operate with no remaining disk space? 2) Why is this the error I'm presented with?
<elvishjerricco> gchristensen: ^ Sorry, gh0st[m]
hlolli_ has joined #nixos
<elvishjerricco> gchristensen: Nonetheless, that did work. Thanks :)
martinga_ has joined #nixos
<gchristensen> I think it has to create like a .wal file or something? I'm not sure :/
hlolli has quit [Remote host closed the connection]
martingale has quit [Ping timeout: 264 seconds]
bebarker has quit [Ping timeout: 264 seconds]
<sphalerite> elvishjerricco: 1) no, because it needs to access the database and sqlite doesn't like accessing a database on a full disk 2) because "disk full" isn't a condition accounted for in nix's sqlite code :)
bebarker has joined #nixos
<gchristensen> <3 sqlite, possibly one of the best projects ever
<elvishjerricco> sphalerite: Weird. I could have sworn I've used nix-collect-garbage on full disks before
<sphalerite> elvishjerricco: I think it's hit-and-miss
<sphalerite> it's definitely not guaranteed to work
<gchristensen> it should be :)
<sphalerite> elvishjerricco: actually, maybe you didn't run it as root, and the daemon already had the database open? I'm not sure though.
<elvishjerricco> Maybe Nix should keep a dummy file lying around the nix store so that nix-collect-garbage has something to delete :P
<elvishjerricco> I definitely ran it as root
<elvishjerricco> but there was a daemon running
<gchristensen> elvishjerricco: agreed
<niksnut> elvishjerricco: it already does
<niksnut> /nix/var/nix/db/reserved
<elvishjerricco> niksnut: Oh. So why didn't that work for me this time? I see that file does exist
<niksnut> however, I've noticed it not working well recently
<niksnut> especially on macs
<elvishjerricco> This is on NixOS
<clever> also in the case of ZFS, you need free space to even delete a file
<elvishjerricco> This is just whatever NixOps deploys, which doesn't use ZFS I believe
<LnL> periklis: did you get the distributed builds working?
<judson> Has anyone been able to use --add-root with nix-shell since 2.0?
<elvishjerricco> Judson: I haven't :/
<mt_caret_> I'm trying to deploy a wireguard server via nixops, but I get 'Cannot find device "wg0"' (https://gist.github.com/mt-caret/6d8aa904bd0ce8fdb94ba949d2f69363)
<mt_caret_> I can't figure how to make this work...
<periklis> LnL: yes i did with the suggestion of gchristensen's to put nix-store --serve --write in the command block of my authorized key
<LnL> ah yeah, nix-store is not in PATH by default
<judson> elvishjerricco, I was just looking for that issue.
<judson> For a second I thought I was imagining it.
<sphalerite> As a workaround you should be able to use nix-instantiate
<elvishjerricco> sphalerite: Kinda. You have to also have `keep-outputs` in your nix.conf for that to do the same thing
<judson> sphalerite, instead of --add-root? How would that work?
<sphalerite> Judson: nix-instantiate foo.nix --add-root foo --indirect
sanscoeu_ has joined #nixos
<sphalerite> elvishjerricco: and you don't with nix-shell --add-root? How did that work?
<elvishjerricco> Judson: If you have keep-outputs, then having a root pointing to a .drv file keeps all the .drv files alive, and keep-outputs keeps their outputs alive
<judson> So you'd nix-instantiate the shell.nix?
<elvishjerricco> sphalerite: I guess I never really checked. But I thought nix-shell --add-root added one root per build input, pointing at that build's output
<sphalerite> elvishjerricco: I don't think so, I think it just added a root for the drv
<elvishjerricco> sphalerite: I remember getting many roots when using nix-shell --add-root
<judson> I would hope it was just one.
<sphalerite> Judson: yes. You might need to set the IN_NIX_SHELL env var as well if your expressions use lib.inNixShell
orivej has quit [Ping timeout: 260 seconds]
HEX0 has quit [Quit: WeeChat 2.1]
sanscoeur has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #40373 → nixos/mesos: fix non-deterministic service and test failure → https://git.io/vpy4L
phreedom has quit [Ping timeout: 255 seconds]
phreedom has joined #nixos
sanscoeu_ has quit [Remote host closed the connection]
<catern> hey #nixos, is there any support for providing a wireless access point with my wireless card on NixOS?
<catern> I get my internet over ethernet and use my desktop as my wireless router
<sphalerite> catern: it depends on the hardware.
sanscoeur has joined #nixos
<sphalerite> or the hardware and the driver
<catern> I know my hardware supports it since I had it set up on Arch
<catern> capisce: aha! indeed!
sanscoeur has quit [Remote host closed the connection]
<sphalerite> capisce: right, in that case yes, you should be able to do it with network-manager, I don't know about other ways of configuring it
<catern> can I do declarative configuration of it with networkmanager?
sanscoeur has joined #nixos
aarvar has joined #nixos
<catern> hostapd seems good enough, thanks capisce
<capisce> catern: nix is great ;)
<{^_^}> [nixpkgs] @dotlambda merged pull request #40371 → git-cola: port to qt5 → https://git.io/vpyGu
toby1851 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vpyRR
<{^_^}> → 1a695870 by @Ma27: git-cola: port to qt5
<{^_^}> → 45ce5880 by @dotlambda: Merge pull request #40371 from Ma27/git-cola/qt5-port
reinzelmann has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/183f56f2d62 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<periklis> LnL: That's how i solved it in the end with the distributed builds: https://gist.github.com/periklis/13e757e3add9d5966f758edb179fbe8e
<{^_^}> [nixpkgs] @xeji merged pull request #40339 → emby: 3.4.0.0 -> 3.4.1.0 → https://git.io/vpDKi
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpyRF
<{^_^}> → d510ab93 by @fadenb: emby: 3.4.0.0 -> 3.4.1.0
<{^_^}> → 62ee7b7b by @xeji: Merge pull request #40339 from fadenb/emby_3.4.1.0
<boomshroom> In trying to build a cross-compiled NixOS, freetype failed because The local gcc wasn't in the PATH when building.
freeman42x[nix] has quit [Ping timeout: 250 seconds]
agile has quit [Quit: v]
<{^_^}> [nixpkgs] @dotlambda opened pull request #40375 → home-assistant: 0.68.1 -> 0.69.0 → https://git.io/vpy0C
<jD91mZM2> boomshroom: Ohai :D
<periklis> LnL: It means that nix-docker needs an update of it's README? right?
<boomshroom> jD91mZM2: Sup?
agile has joined #nixos
<jD91mZM2> boomshroom: I'm trying to get a global menu in xfce4 panel :P
<boomshroom> jD91mZM2: I'm trying to cross-compile NixOS, except someone wanted a local compiler as well as a target compiler.
<LnL> periklis: no, that's only for darwin builders the docker will have nix-store in PATH by default
<LnL> periklis: the instructions have not been updated for nix 2.0 / nix-daemon installs tho
<jD91mZM2> boomshroom: How do you even do that?
<periklis> LnL: right nix-docker is a linux image. However, i suppose that we have the PATH-issue with darwin builders because on non-interactive no-login shells used by launchd right?
<LnL> periklis: the system bash only looks at ~/.bashrc or ~/.profile (don't remember which) for some reason
<elvishjerricco> periklis: FWIW, LnL's nix-darwin seems to handle putting nix on the path in the right places
<elvishjerricco> Didn't require any special work to use my nix-darwin machine as a remote builder
<LnL> hmm, you sure?
<elvishjerricco> other than making sure nix-darwin was allowed to overwrite /etc/bashrc
<elvishjerricco> LnL: Yea, I believe so
<periklis> afaik i couldn't located anything in this direcion in nix-darwin
<jD91mZM2> boomshroom: (Ouch)
<LnL> I think only if you chsh to the nix bash or setup ~/.bashrc
<LnL> but it does help with some other potential issues
ambro718 has quit [Quit: Konversation terminated!]
<periklis> who uses csh nowdays...*confused*
<LnL> chsh not csh :)
<periklis> another beast
<LnL> ie. change your login shell
<boomshroom> So, ya. Is there any way to get a local compiler in the path when cross-compiling?
vaninwagen has joined #nixos
<elvishjerricco> LnL: Ah, right, I did have to chsh
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #40376 → vala-panel-appmenu: init at 0.6.94 → https://git.io/vpyE9
humanoyd has quit [Quit: WeeChat 2.1]
<LnL> that would fix the path issue
<{^_^}> [nixpkgs] @xeji closed pull request #40365 → emby: 3.4.0.0 -> 3.4.1.0 → https://git.io/vpyta
<periklis> elvishjerricco: any gist on how you did that?
<elvishjerricco> periklis: `chsh -s /run/current-system/sw/bin/bash will`
<elvishjerricco> periklis: Plus `environment.shells = ["/run/current-system/sw/bin/bash"];` in Darwin-configuration.nix
<{^_^}> [nixpkgs] @dotlambda merged pull request #40191 → add pythonPackages.outcome, pythonPackages.trio → https://git.io/vpiaN
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/vpyuv
<{^_^}> → 46fa7ab6 by @catern: pythonPackages.outcome: init at 0.1.0a0
<{^_^}> → f78c2523 by @catern: pythonPackages.trio: init at 0.4.0
<{^_^}> → c983bbb5 by @catern: pythonPackages.trustme: init at 0.4.0
<periklis> elvishjerricco: alrright
acarrico has quit [Ping timeout: 256 seconds]
<boomshroom> Lets see if overriding freetype to add a local gcc to its nativeBuildInputs solves anything.
<catern> is there a way to do a nixos-rebuild build with an arbitrary configuration file? instead of the one in /etc/nixos/configuration.nix
<catern> it would be nice to be able to build-vm with an arbitrary configuration.nix also
<elvishjerricco> boomshroom: Does the package have configure options for the native and cross compilers? Or does it just assume it's not cross compiling?
<elvishjerricco> catern: nixes-rebuild -I nixos-config=/path/to/config.nix
<{^_^}> [nixpkgs] @Ericson2314 pushed 74 commits to staging: https://git.io/vpyuw
<{^_^}> → 4c66aa89 by @peterhoeg: bluez: add tools to output that we were building anyway
<{^_^}> → 0fb46721 by R. RyanTM: xterm: 332 -> 333
<elvishjerricco> s/nixes/nixos/
<{^_^}> → 871bffd9 by R. RyanTM: qutebrowser: 1.2.1 -> 1.3.0
FRidh has quit [Quit: Konversation terminated!]
<boomshroom> elvishjerricco: It checks for both riscv64-unknown-linux-gnu and x86_64-unknown-linux-gnu. It can only see the riscv one.
<boomshroom> The strange part is that it claims that it found gcc, before marking it as not found. It probably has a gcc built to run on riscv and tried running that.
<elvishjerricco> boomshroom: Ahh. I've run into that before. Didn't find a solution, though I didn't try very hard.
<boomshroom> A simple union + overrideAttrs didn't work.
<Izorkin> joachifm: please recheck PR. Fixed build with gcc6
<boomshroom> I managed to isolate it further: cross compiling freetype for riscv64 doesn't work.
<boomshroom> The nix repl is very nice.
hph^ has joined #nixos
ryantrinkle has quit [Ping timeout: 240 seconds]
RyanGlScott has joined #nixos
<RyanGlScott> Hello all. I'm trying to figure out what I'm doing wrong here.
<RyanGlScott> $ nix-env -qaP -A nixpkgs.haskell.packages.ghc802 'hail.*'
<RyanGlScott> error: anonymous function at /nix/store/7y04vj44h8gc1s5f2gydbzbbv8bg0n9d-nixpkgs-18.09pre139869.83b3e6d705e/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:49755:6 called without required argument 'ghc-compact', at /nix/store/7y04vj44h8gc1s5f2gydbzbbv8bg0n9d-nixpkgs-18.09pre139869.83b3e6d705e/nixpkgs/pkgs/development/haskell-modules/m
<RyanGlScott> ake-package-set.nix:88:27
<RyanGlScott> Note that replacing ghc802 with ghc822 fixes the issue.
hlolli_ has quit [Ping timeout: 240 seconds]
<boomshroom> Freetype doesn't crosscompile for aarch64 either.
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40335 → kitty: 0.9.0 -> 0.9.1 → https://git.io/vpDoa
<{^_^}> [nixpkgs] @xeji pushed commit from @jlesquembre to master « kitty: 0.9.0 -> 0.9.1 (#40335) »: https://git.io/vpygm
toby1851 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40369 → powerline-go: 1.10.0 -> 1.11.0 → https://git.io/vpys3
<{^_^}> [nixpkgs] @xeji pushed commit from @sifmelcara to master « powerline-go: 1.10.0 -> 1.11.0 (#40369) »: https://git.io/vpygW
<{^_^}> [nixpkgs] @matthewbauer pushed to master « gimp: only use libgudev on linux »: https://git.io/vpygz
broccoli has quit [Ping timeout: 260 seconds]
jgertm has quit [Ping timeout: 260 seconds]
<fatsau> Hi, I've followed the nixos manual way to setup a shell for python environment : https://nixos.org/nixpkgs/manual/#how-to-consume-python-modules-using-pip-in-a-virtualenv-like-i-am-used-to-on-other-operating-systems
<elvishjerricco> RyanGlScott: Looks like the versions of hail and its dependencies checked into nixpkgs include a dependency on `ghc-compact`, which made its debut in 8.2
<fatsau> My problem is that I got an error from pip._internal import main, no module named _internal
<RyanGlScott> elvishjerrico: I see. I suppose the error message can't be helped, then?
<elvishjerricco> RyanGlScott: You could add some overrides to downgrade the versions of things until they no longer need that dependency
<RyanGlScott> Gotcha, thanks.
<elvishjerricco> RyanGIScott: The most convenient / powerful way to do it is with `extend` and `packageSourceOverrides`: https://www.irccloud.com/pastebin/RJbTY43H/
<RyanGlScott> Nifty
<elvishjerricco> RyanGlScott: If you end up needing git checkouts of anything, you can replace the version string with a derivation that returns source code.
vaninwagen has quit [Ping timeout: 256 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
<fatsau> same thing if I use python36Packages instead of python27Packages
toby1851 has joined #nixos
Twey has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 248 seconds]
obadz- has joined #nixos
spear2 has joined #nixos
ambro718 has joined #nixos
jperras has joined #nixos
obadz has quit [Ping timeout: 250 seconds]
obadz- is now known as obadz
jacereda has joined #nixos
MichaelRaskin has joined #nixos
<jacereda> hi... quick question, how can I enter the environment of a failed build (nix-build -K) to diagnose what went wrong?
<catern> elvishjerricco: thanks!
<catern> hmm. when I do nixos-rebuild build -I nixos-config=/path/to/config.nix, I see that it says it's building '/nix/store/...-nixos-system-17.03.1556.4d1e1d07f9.drv'. but why is it 17.03? I can't figure out what on my system is picking up an old 17.03 release; my system channel and user channel are both 18.03 AFAICT
<{^_^}> [nixpkgs] @xeji merged pull request #40344 → openmpi: 3.0.1 -> 3.1.0 → https://git.io/vpD9V
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « openmpi: 3.0.1 -> 3.1.0 (#40344) »: https://git.io/vpyV5
<sphalerite> jacereda: nix-shell
<sphalerite> jacereda: so you have the build dir in /tmp/nix-build-foo
<sphalerite> jacereda: and you can just do nix-shell /nix/store/<hash>-foo.drv to enter an approximation of the build environment
<jacereda> sphalerite: great, thanks!
<sphalerite> It should tell you the path to the .drv in the error message
<{^_^}> [nixpkgs] @xeji merged pull request #40357 → Fix small typo in configuration documentation → https://git.io/vpDjM
<{^_^}> [nixpkgs] @xeji pushed commit from @scotttrinh to master « Fix small typo in configuration documentation (#40357) »: https://git.io/vpywf
ftzm has joined #nixos
<fatsau> For the record, I resolved my problem in switching the line "export PATH=$PWD/venv/bin:$PATH" to "export PATH=$PATH:$PWD/venv/bin". PATH order seems to matter for pip
RyanGlScott has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @xeji merged pull request #40352 → hstr: 1.24 -> 1.25 → https://git.io/vpDNH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « hstr: 1.24 -> 1.25 (#40352) »: https://git.io/vpywR
rain1 has quit [Quit: Leaving]
<neonfuz> anyone know if there's a nixos package that contains the android cli tools?
<neonfuz> like adb, fastboot, etc
jacereda has quit [Ping timeout: 240 seconds]
<boomshroom> neonfuz: nixos.org/nixos/options.html#android programs.adb.enable I'm not sure if they'll work without the system module.
spear2 has quit [Quit: Leaving]
<infinisil> > option "programs.adb.enable"
<{^_^}> "Whether to configure system to use Android Debug Bridge (adb).\nTo grant access to a user, it must be part of adbusers group:\n<code>users.extraUsers.alice.extraGroups = [\"adbusers\"];</code>\n"
<neonfuz> hmm, these are the tools I need, they seem to not be referenced in all-packages.nix
<infinisil> (I should make `option` link to it probably)
orivej has joined #nixos
<neonfuz> programs.adb.enable seemed to give me fastoboot too
<neonfuz> so I guess "programs.adb" is really referring to android-platform-tools, not just adb
broccoli has joined #nixos
hph^ has quit [Ping timeout: 250 seconds]
broccoli has quit [Ping timeout: 250 seconds]
<mpickering> I am struggling to set up the postgresql service, the error is "FATAL: could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission denied"
<mpickering> what am I doing wrong?
<srl295> xeji: thanks for looking at the libvirt thing. What's the best way to drop to a minimal nixos environment from within nixos? OR maybe I should say, is there a better way to make a minimal sample for https://github.com/NixOS/nixpkgs/issues/40177#issuecomment-388335615
broccoli has joined #nixos
<elvishjerricco> catern: Sometimes I have to do sudo -i instead of just sudo to get things to properly see root stuff instead of user stuff. Are you sure the root user's channel is updated?
<xeji> srl295: what you provided was just fine. I mainly needed your current version and a virt-install command line to reproduce the bug
<srl295> xeji: cool
<srl295> xeji: this one is tricky because it doesn't appear without the inject option
<xeji> that's why I asked :D
sanscoeu_ has joined #nixos
ArdaXi is now known as ArdaXi[m]
dbe has quit [Ping timeout: 256 seconds]
jbboehr has quit [Ping timeout: 246 seconds]
sanscoeur has quit [Ping timeout: 264 seconds]
<infinisil> Um, what does that mean: error: store path mismatch in file downloaded from 'https://github.com/NixOS/nix/archive/1ad19232c4bbecb06e6acbb2a3a538544a28e1f2.tar.gz'
<infinisil> I'm trying to fetch the latest nix master with `builtins.fetchurl { url = https://github.com/NixOS/nix/archive/1ad19232c4bbecb06e6acbb2a3a538544a28e1f2.tar.gz; sha256 = "0000000000000000000000000000000000000000000000000000"; }
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40378 → lib/systems: Sort platforms, and space CPUs → https://git.io/vpyKb
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40379 → lib/systems: Sort platforms, and space CPUs → https://git.io/vpyKx
<infinisil> For some reason it doesn't display the correct hash when i do it like this :/
acarrico has joined #nixos
taktoa has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « fuse3: 3.2.2 -> 3.2.3 »: https://git.io/vpy6v
MercurialAlchemi has quit [Ping timeout: 240 seconds]
qknight has quit [Quit: leaving]
<infinisil> Replacing it with the correct hash via nix-prefetch-url --unpack makes it work, but i don't like doing that
<eacameron> Is there a simple function like concatMapStringsSep but takes an attrset instead?
<boomshroom> infinisil: Why are you using fetchurl rather than fetchFromGitHub?
joehh has quit [Ping timeout: 256 seconds]
<infinisil> boomshroom: Because it's a builtin
<jD91mZM2> Okay so my rustc version bump complains about a "relro-level" test failing. Apparently setting this value to zero doesn't actually disable it on NixOS. I'm guessing this is because of the GCC wrapper and default hardenings... So what is the best plan of attack? Leave the test be as it's intended behavior?
reinzelmann has quit [Quit: Leaving]
<sphalerite> neonfuz: they're in androidEnv.platformTools in nixpkgs
ftzm has quit [Quit: WeeChat 2.2-dev]
<sphalerite> neonfuz: I think the nixos option just adds udev rules to allow users access to devices, or something
<sphalerite> in addition to adding the platform tools to systemPackages
<xeji> srl295: thanks for catching this bug. not only file is missing but also cpio, gzip, e2fsprogs, findutils...
<sphalerite> infinisil: iirc github's archives are nondeterministic
<sphalerite> infinisil: builtins.fetchTarball might serve you better
<infinisil> Well I've discovered that I need to include the .git
<infinisil> And fetchGit { url = ...nix; rev = ...; } nicely for that
<sphalerite> fair enough :)
<boomshroom> infinisil: fetchFromGitHub will usually download straight from the archive.
<infinisil> I need to build latest nix because the memory issues are really bad..
<infinisil> boomshroom: I need the .git though, so can't use that
<infinisil> Well I know there's the keepDotGit
<infinisil> But then it's just a normal git fetch, not optimized
jsantucci has joined #nixos
cheater has left #nixos [#nixos]
<srl295> xeji: welcome - thank you for NixOS!
<jsantucci> hi -- i'm having trouble with switching profiles. i just commented in #1396 in NixOS/nix, since the proposed strategy for making the `--switch-profile` command from the tutorial work was unsuccessful for me
<{^_^}> https://github.com/NixOS/nixpkgs/pull/1396 (by DriesVanDaele, closed): added package dsharp
<jsantucci> here's the output of the nix-shell cmd: system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 2.0.2, channels(james): "nixpkgs-18.09pre139886.183f56f2d62", nixpkgs: /home/james/.nix-defexpr/channels/nixpkgs
<infinisil> nix#1396
<{^_^}> https://github.com/NixOS/nix/issues/1396 (by eluuk, closed): "nix-env --switch-profile=PATH" does not create PATH
<jsantucci> oops thanks
civodul has joined #nixos
<jsantucci> do i only get profile magic if i have a multi-user install?
markus1189 has quit [Ping timeout: 255 seconds]
<neonfuz> sphalerite: alright yeah, I already had added the android udev rules myself
chessai has joined #nixos
<catern> elvishjerricco: ah, the root user's channel was not updated, oops, thanks :)
rain1 has joined #nixos
udono has quit [Ping timeout: 250 seconds]
cybrian has quit [Ping timeout: 276 seconds]
dbe has joined #nixos
grp has quit [Quit: box shutting down...]
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
<infinisil> Phew, I was able to get enough RAM for a nixos-rebuild by shutting down a lot of services..
<infinisil> (it's actually a nixops deploy)
<{^_^}> [nixpkgs] @xeji opened pull request #40380 → virtmanager: add missing virt-install runtime dependencies → https://git.io/vpyXJ
cybrian has joined #nixos
jD91mZM2 has left #nixos ["Good night everyone :)"]
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #40381 → pythonPackages.sasmodels: fix hash → https://git.io/vpy1e
<Lisanna> it's a major pain point in my builds... it means I have to copy the disk image I'm booting twice, once in preVM and again in postVM
<CrazedProgrammer> Lisanna: if the file/directory $out doesn't exist then nix will think the build has failed
klntsky has quit [Ping timeout: 255 seconds]
<Lisanna> CrazedProgrammer well, that *would* be a failed build...
<Lisanna> I still don't understand why vmRunCommand must force it to be a directory that exists before the main program starts.
<Lisanna> shouldn't the user be responsible for creating that, according to their own needs?
<Lisanna> or does it need to exist in order for it to be mapped into the VM's /nix/store correctly?
<{^_^}> [nixpkgs] @markuskowa opened pull request #40382 → hwloc: 1.11.9 -> 1.11.10 → https://git.io/vpy17
klntsky has joined #nixos
<infinisil> The build couldn't finish after all, adding 8GB swap to my 16GB RAM in the hopes of that working..
<Lisanna> seems like a whole bunch of usecases for passing random packages into runInLinuxVM would break because it's forcing it to be a directory... whenever the output of a derivation is a file rather than a directory. Fix for this seems trivial enough I guess
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40378 → lib/systems: Sort platforms, and space CPUs → https://git.io/vpyKb
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpyMl
<{^_^}> → 341794a4 by @Ericson2314: lib/systems: Sort platforms, and space CPUs
<{^_^}> → 0a77a728 by @Ericson2314: Merge pull request #40378 from obsidiansystems/lib-platform-sort
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40379 → lib/systems: Sort platforms, and space CPUs → https://git.io/vpyKx
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.03: https://git.io/vpyMR
<{^_^}> → 341794a4 by @Ericson2314: lib/systems: Sort platforms, and space CPUs
<{^_^}> → 62ccc232 by @Ericson2314: Merge pull request #40379 from obsidiansystems/lib-platform-sort
<{^_^}> [nixpkgs] @Ericson2314 pushed 14 commits to staging: https://git.io/vpyMr
<{^_^}> → 46fa7ab6 by @catern: pythonPackages.outcome: init at 0.1.0a0
<{^_^}> → c983bbb5 by @catern: pythonPackages.trustme: init at 0.4.0
<{^_^}> → f78c2523 by @catern: pythonPackages.trio: init at 0.4.0
dbe has quit [Ping timeout: 240 seconds]
shabius has quit [Quit: Leaving]
griff_ has joined #nixos
nineteen8d has joined #nixos
shabius has joined #nixos
<nineteen8d> I'm definitely way into the idea of including shell.nix files in project. I have a project that is believed to require Ruby 2.3.6 (probably doesn't, but this is a good exercise). nixpkgs currently provides 2.3.7 at nixos.ruby_2_3. I produced the following shell.nix: https://gist.github.com/198d/b0e4c110f22500756c5923ca4418582e. I'm curious if anyone could provide a little code review to show me some shortcuts.
<nineteen8d> The biggest bit I had trouble with was that `postUnpack`. Without copying it to my overrides map, cp complained about not being able to create source/rubygems`, which, I think, means it had resolved `sourceRoot` to
<nineteen8d> The biggest bit I had trouble with was that `postUnpack`. Without copying it to my overrides map, cp complained about not being able to create "source/rubygems", which, I think, means it had resolved `sourceRoot` to "source".
<nineteen8d> This, then, caused me to have to copy over the `rubygemsPatch` stuff.
Guest88001 has quit [Quit: Lost terminal]
<nineteen8d> I'm also pretty sure I can use the `rubygemsSrc` definition from nixpkgs with import (i.e. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/ruby/default.nix#L14) but don't know what the "fully qualified" import path looks like to do it in my shell.nix.
seanparsons has quit [Read error: Connection reset by peer]
mkoenig has quit [Remote host closed the connection]
shabius has quit [Ping timeout: 256 seconds]
obadz has quit [Ping timeout: 256 seconds]
seanparsons has joined #nixos
shabius has joined #nixos
chessai has quit [Remote host closed the connection]
TonyTheLion has joined #nixos
<nh2[m]> how can I use nix-copy-closure to fetch something already built on a remote machine, if I only know the .drv file locally, not the final store path?
cheshircat has quit [Quit: ZNC 1.6.5 - http://znc.in]
hiratara has quit [Ping timeout: 276 seconds]
<infinisil> nh2[m]: nix-build -r /nix/store/...foo.drv
<infinisil> And add something with extra-substitutors
<infinisil> nh2[m]: And .drv files contain the final store path: nix-store -q --binding out /nix/store/sw7jwfz8f4lkfn10zm9aandzhkl2hwij-hello-2.10.drv => /nix/store/kajincka2wm4qdp4vnrnjr9jrc94gb6z-hello-2.10
cheshircat has joined #nixos
hiratara has joined #nixos
<cheshircat> hey, do you guys know if there's a way to use an emacs package that's in share/emacs-lisp of another package?
simukis has quit [Ping timeout: 240 seconds]
<cheshircat> specifically, I want to use lilypond-mode, which is installed in ${lilypond}/share/site-lisp
obadz has joined #nixos
<cheshircat> oh, sorry, ${lilypond}/share/emacs/site-lisp
jsantucci has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
shabius has quit [Quit: Leaving]
griff_ has quit [Quit: griff_]
NightTrain has joined #nixos
acarrico has quit [Ping timeout: 260 seconds]
<infinisil> cheshircat: emacsPackagesNg.trivialBuild { src = "${lilypond}/share/emacs/site-lisp"; pname = "lilypond"; }
Ariakenom has quit [Quit: Leaving]
boomshroom is now known as boomshroom-away
lord| has joined #nixos
shabius has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
Have-Quick has joined #nixos
shabius has quit [Quit: Leaving]
broccoli has quit [Ping timeout: 240 seconds]
griff_ has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
shabius has joined #nixos
<jcrben> does nixos automatically use the libinput version that is in nixpkgs? (1.10.0 per https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/libinput/default.nix)
broccoli has joined #nixos
<{^_^}> [nixpkgs] @YorikSar opened pull request #40384 → chromium: 66.0.3359.139 -> 66.0.3359.170 → https://git.io/vpy7K
<jcrben> when I do nix-env -qaP I see that I have nixos.libinput-1.9.4 while nixpkgs is has libinput-1.10.0... but neither are installed while I did enable libinput
robstr has quit [Quit: WeeChat 1.9.1]
<LnL> that's your user profile
<jcrben> yep, I get those are the packages available to be installed from channels. so how I find out what's running on my system?
<LnL> nix-store -qR /run/current-system will show you everything your system currently depends on
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.10.0 -> 1.10.1 »: https://git.io/vpy5s
jqqq has joined #nixos
<jqqq> I kinda thought `nix run` was supposed to be a drop in replacement for `nix-shell` but `cabal` can find `zlib.h` when I provide it via `nix-shell` but not with `nix run`
<jqqq> What does `nix run` actually do/what are the differences?
shabius has quit [Quit: Leaving]
hiratara has quit [Quit: ZNC - http://znc.in]
<LnL> it's more like nix-shell -p
hiratara has joined #nixos
<LnL> it starts a shell where the programs are available, not a development shell
shabius has joined #nixos
<jqqq> What do you mean by development shell? All I did when I invoked nix-shell was pass the packages with `-p`?
<eacameron> Is there something in nixpkgs that generates plist files from nix data types?
shabius has quit [Remote host closed the connection]
coot has quit [Quit: coot]
<eacameron> like `{ a = 1; b = "text"; }` becomes `<dict><key>a</key><number>1</number><key>b</key><string>text</string></dict>`?
<LnL> nix-shell/nix-shell -A and nix-shell -p are very different
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
jperras has quit [Ping timeout: 240 seconds]
<LnL> eacameron: not that I know of, I wrote something myself for nix-darwin https://github.com/LnL7/nix-darwin/blob/master/modules/launchd/lib.nix
<eacameron> LnL: Oh fantastic! This is exactly what I wanted.
<eacameron> I'll see if I can pull this in somehow...
kreetx has quit [Ping timeout: 240 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
<eacameron> LnL: If you were to you upstream that somehow...that would be amazing ;)
sbach has joined #nixos
infinisil has quit [Client Quit]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40385 → lib: Add 32-bit Android platforms → https://git.io/vpydL
<LnL> I could make a pr to nixpkgs
shabius has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40386 → lib: Add 32-bit Android platforms → https://git.io/vpydm
infinisil has joined #nixos
<LnL> it's not that complex and we do have other things like toINI
<eacameron> LnL: Yeah my thoughts exactly. The only thing I might is a variant of toPLIST that allows to splice verbatim as well at the bottom of the list or or something
<eacameron> *might want
<cheshircat> thank you!
LysergicDreams has quit [Ping timeout: 260 seconds]
LysergicDreams has joined #nixos
xy2_ has quit [Ping timeout: 265 seconds]
<infinisil> Oh my god, out of all things that could have broken with an update it has to be one of the worst ones
<infinisil> My backup tool..
<infinisil> And no fix in sight
<infinisil> Using znapzend btw
drummeur has joined #nixos
sanscoeur has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40385 → lib: Add 32-bit Android platforms → https://git.io/vpydL
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpyFZ
<{^_^}> → e3f6c6d1 by @Ericson2314: lib: Add 32-bit Android platforms
<{^_^}> → 98a1b899 by @Ericson2314: Merge pull request #40385 from obsidiansystems/lib-android-platforms
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40386 → lib: Add 32-bit Android platforms → https://git.io/vpydm
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.03: https://git.io/vpyFc
<{^_^}> → e3f6c6d1 by @Ericson2314: lib: Add 32-bit Android platforms
<{^_^}> → c674fa8e by @Ericson2314: Merge pull request #40386 from obsidiansystems/lib-android-platforms
<drummeur> Which channel would be appropriate to ask for installation help?
<infinisil> drummeur: This one
<drummeur> Okay, fantastic. I’m going through the installation instructions. I’ve mounted the iso, but when I run NixOS-generate-config —root /mnt I get an error saying it’s read-only
<drummeur> I suspect this is because i’m Installing from a CD?
<infinisil> Nah, you must've made a mistake, /mnt should be your new mutable filesystem on a disk
<Ralith> is there any way to upload new signatures for already-uploaded data to a binary store?
<drummeur> Okay. Should I start the whole thing over again, or is there a way to figure out where I went wrong?
Arcaelyx has joined #nixos
<infinisil> drummeur: Yeah you just need to fix the things that went wrong, no need to redo everything. What's the output of `df`?
<drummeur> Uh, a lot. I’m on my phone atm, so it would take a minute to type. What specifically should I be looking for?
ryantrinkle has joined #nixos
<drummeur> devtmpfs ... /dev
<drummeur> Eh, that didn’t work. Can I do a new line in this client?
<infinisil> ,paste drummeur
<{^_^}> drummeur: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<drummeur> Oh wait, I forgot that i’m Networked. One second.
drummeur_ has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40387 → android cross: Support 32-bit too → https://git.io/vpyFQ
drummeur has quit []
<drummeur_> that *should* work unless I messed up creating it.
<infinisil> Yeah I can see it
<infinisil> You must not have done all steps in the install section
<jcrben> so, vscode-cpptools contains a hardcoded link out to a dynamic linker and we use patchelf to fix that in nixpkgs. is it possible for Microsoft to fix the way they build it upstream to avoid us needing to even use patchelf? https://github.com/Microsoft/vscode-cpptools/issues/1345
<infinisil> drummeur_: Read from point 8 onwards
shabius has quit [Quit: Leaving]
griff_ has quit [Quit: griff_]
<drummeur_> hmm, I thought I did all of that.
<drummeur_> I partitioned, created a swap
<drummeur_> oh, i didn't initialize the ext4
shabius has joined #nixos
<infinisil> And you need to mount them
<jcrben> I'm wondering if maybe LD_LIBRARY_PATH could allow it to avoid being hardcoded? I'm far from a C developer
<drummeur_> mount boot too?
<drummeur_> swap, rather
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/62ccc2324f6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<infinisil> drummeur_: nope
<drummeur_> okay.
<drummeur_> thank you so much for your help!
<infinisil> You at least forgot to mount all the partitions, df should show mountpoints for /mnt
<drummeur_> yes, I was able to run the nixos-generate-config this time.
<drummeur_> df has an extra line with /dev/sda2 mounted on /mnt
<drummeur_> compared to last time.
<{^_^}> [nixpkgs] @xeji merged pull request #40348 → libdrm: 2.4.91 -> 2.4.92 → https://git.io/vpD7D
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/vpyb1
<{^_^}> → ea502c68 by R. RyanTM: libdrm: 2.4.91 -> 2.4.92
<{^_^}> → 6d9f8b8f by @xeji: Merge pull request #40348 from r-ryantm/auto-update/libdrm
shabius has quit [Quit: Leaving]
romildo has joined #nixos
<drummeur_> okay, just one other question. I have an instance of grub alredy installed on another drive from an ill-fated installation of debian. Should I try to use that instance or just reinstall it? I currently have my other drives unplugged because I didn't want to accidentally mess something up while partitioning.
<clever> drummeur_: nixos needs to rewrite the grub config on every config change, so it needs to know where grub is configured to even work
<drummeur_> okay.
<drummeur_> thank you!
<{^_^}> [nixpkgs] @xeji closed pull request #37087 → ncurses: 6.0-20171125 -> 6.1-20180303 → https://git.io/vxLgv
smichel has quit [Quit: smichel]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40387 → android cross: Support 32-bit too → https://git.io/vpyFQ
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vpyNY
<{^_^}> → f4de6697 by @Ericson2314: lib/systems/inspect: Fix after assertions
<{^_^}> → 28bacc20 by @Ericson2314: lib/systems: Add assertion to "android" ABI
<{^_^}> → 827ef091 by @Ericson2314: prebuilt android cc: Edit wrapper to pass the right -m flags for armv7a
<drummeur_> getting an error with the install...in hardware-configuration.nix i have fileSystems."/" defined twice--I think one is the iso on the cd and one is the actual disk, but I'm not sure. can I just remove the iso one?
<infinisil> Is it still twice in there if you rerun "nixos-generate-config --root /mnt"?
<drummeur_> yes
<clever> drummeur_: can you gist the output of `mount` and the config that command wrongly generated?
<drummeur_> yes. one second.
justan0theruser has quit [Ping timeout: 240 seconds]
sary has joined #nixos
hlolli_ has joined #nixos
athan has joined #nixos
<infinisil> Yeah you mounted two devices on /mnt, at the very bottom of the mount output
<drummeur_> oh, right
<drummeur_> you are correct.
<drummeur_> i didn't unmount the original one,
the_real_plumps has quit [Ping timeout: 250 seconds]
<drummeur_> just remounted the new one.
the_real_plumps has joined #nixos
<{^_^}> [nixpkgs] @dezgeg merged pull request #40230 → Do not kill udev during boot → https://git.io/vpPd5
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/vpyAq
<{^_^}> → e4777ae2 by @ngortheone: Fix kernel panic on ec2 kvm instances caused by io timeout on nvme root volume
<{^_^}> → 08ebd830 by @ngortheone: Fix kernel crash caused by absent root device
<drummeur_> okay, it's gone now in the regenerated hw config.
shabius has joined #nixos
migy has joined #nixos
migy has quit [Client Quit]
migy has joined #nixos