gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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, #nixcon
<haslersn> samueldr: should that CPPFLAGS be a string (with spaces) or a set of strings? Both works
<samueldr> both incidentally work AFAICT
<samueldr> the string will be set as-is to the environment variable
<samueldr> and the list will be joined with spaces when set to the environment variable
<haslersn> Yeah both work but I wonder what's recommended
<rawtaz> ok, i finally got both fstab mounting of shared folders under Fusion to work, as well as shared folders mounting when you just enable it in the VMs settings, to work. it's all just about problems with paths to the relevant open-vm-tools binaries in nixos, and systemd units not adhering to path settings. will sum it up in an issue later.
<rawtaz> but dang, this was progress, now things are actually working :)
<{^_^}> [nixpkgs] @grahamc merged pull request #47017 → dockerTools.buildImage: test that created=now makes an unstable date → https://git.io/fAQd6
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fA7gr
<samueldr> if you nix-build foo.nix, you would see what I left as a comment there
<jasongrossman> rawtaz: Great!
<haslersn> samueldr: That's strange, the string with spaces gets converted to an array
<samueldr> haslersn: that's shell scripting, so yeah, many peculiarities will seem strange at first
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon1 has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e40d850fd13 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jonreeve has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47085 → elisa: 0.2.1 -> 0.2.80 → https://git.io/fA72Y
<Enzime> is there an easy way to use my nixpkgs.config.packageOverrides over a custom nixpkgs to see what will get built by nixos-rebuild
* rawtaz &
<haslersn> What should be the commit message if I add changes that were requested by a pull request review? (I suppose squashing that commit can be done later)
<samueldr> is you intend to squash, then it doesn't matter much :)
<samueldr> make an intelligent commit message then
<samueldr> and make it obvious you intend to squash before the merge, possibl
<samueldr> y
<haslersn> Ok, thanks
<haslersn> Does fetchFromGitHub have something similar to the deepClone option of fetchgit?
<haslersn> (In order to init submodules)
Zer000 has joined #nixos
<haslersn> I found it. It's called fetchSubmodules
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47086 → deepin.dtkwidget: 2.0.9.3 -> 2.0.9.4 → https://git.io/fA72g
nD5Xjz has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @grahamc pushed to master « Clarfy the binary reproducibility problems of created=now with dockerTools.buildImage. »: https://git.io/fA72a
camsbury has quit [Ping timeout: 240 seconds]
<Enzime> if you're planning to squash it anywhere
<Enzime> you can make a fixup commit
<Enzime> git commit --fixup=<commit>
<Enzime> then it can easily be detected by git rebase --autosquash
<Enzime> anyway *
nD5Xjz has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47087 → dmidecode: 3.1 -> 3.2 → https://git.io/fA72M
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fA72d
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to release-18.09: https://git.io/fA72F
orivej has quit [Ping timeout: 252 seconds]
<slabity> Is there a way to run something akin to a `nix-locate` without needing `nix-index`? It keeps failing for me
astronavt_ has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47088 → cgal: 4.12 -> 4.12.1 → https://git.io/fA7av
astronavt has quit [Ping timeout: 246 seconds]
<nDuff> Hmm. Even when I pass -j0, the failing component in https://unix.stackexchange.com/questions/470420/bash-cannot-execute-binary-file-during-nix-docker-cross-build-from-macos-host still tries to build, which implies that it's building locally rather than on the remote builder (ignoring the --system argument).
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47089 → chrony: 3.3 -> 3.4 → https://git.io/fA7ak
<haslersn> Enzime: ah, nice!
mizu_no_oto has joined #nixos
<Enzime> haslersn: I think it's the same as setting your commit message to: fixup! <commit message of commit to fixup>
<Enzime> but obviously this is easier ;p
jb55 has quit [Quit: WeeChat 2.1]
<nDuff> ...wait, doesn't imply that at all. Blegh. I need some sleep before picking this back up.
<slabity> Actually, can anyone nix-locate these two files: `libgthread-2.0.so.0` and `libglib-2.0.so.0`? I can't get `nix-index` working
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47090 → afflib: 3.7.16 -> 3.7.17 → https://git.io/fA7a4
<haslersn> slabity: It's not necessarily the same on your system. Do you need it for packaging:
<haslersn> ?
<slabity> Yes
nDuff has quit [Quit: zzz]
astronavt__ has joined #nixos
Kelppo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47091 → apr: 1.6.3 -> 1.6.5 → https://git.io/fA7ag
astronavt_ has quit [Ping timeout: 260 seconds]
<haslersn> slabity: you don't need the store path for packaging: patchelf --set-rpath "${lib.makeLibraryPath [ glib ] }" # I don't know about libgthread
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47092 → ammonite: 1.2.0 -> 1.2.1 → https://git.io/fA7ai
<samueldr> haslersn: the intention (I believe) is to find which package :)
<samueldr> slabity: I think there was a PR merged recently fixing nix-index, not sure if usable yet when installing from their repo (checking)
<samueldr> but meanwhile, slabity, the bot here has some nix-locate functionalities
<samueldr> ,locate libgthread
<{^_^}> Found in packages: glib
<haslersn> I'm currently at unstable and running nix-index. Don't know yet whether it will finish
<slabity> Oh neat
<samueldr> be mindful, slabity, if you need to spam it a bunch do it in #bottest please :)
<slabity> No problem
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d16a7abceb7 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jackjennings has quit [Quit: jackjennings]
hakujin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47093 → burp: 2.1.32 -> 2.2.4 → https://git.io/fA7aQ
jackjennings has joined #nixos
jackjennings has quit [Client Quit]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hakujin has joined #nixos
<jackdk> in recent nixpkgs, ghc821Binary has fixes to work on a musl system, but ghc7103Binary does not. I am trying to backport those fixes, but the configure script is failing with a "not found" while trying to run a binary. This is usually a sign of a failure when dynamic loading, but ldd is not showing any missing files. how do I dig further?
<samueldr> slabity: https://github.com/bennofs/nix-index#installation seems to install and work find
<gchristensen> dtz[m]:
<samueldr> (still indexing, but git errors softly being sent to stderr)
<samueldr> got errors*
hakujin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to gnome-3.30: https://git.io/fA7VV
<jackdk> Found the problem. It was subbing a literal * into the binary instead of expanding it before calling patchelf
carlosdagos has joined #nixos
fragamus has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a84a302732e (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
Fare has joined #nixos
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
camsbury has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
<jackdk> bah, and after all that it segfaults. I give up.
silver has quit [Read error: Connection reset by peer]
Supersonic has joined #nixos
hakujin has joined #nixos
sir_guy_carleton has joined #nixos
hamishmack has joined #nixos
haslersn has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47096 → haskellPackages.x509-system: Override based on the host, not target platform → https://git.io/fA7wH
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47097 → haskellPackages.x509-system: Override based on the host, not target platform for 18.09 → https://git.io/fA7w5
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47096 → haskellPackages.x509-system: Override based on the host, not target platform → https://git.io/fA7wH
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fA7wp
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47097 → haskellPackages.x509-system: Override based on the host, not target platform for 18.09 → https://git.io/fA7w5
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fA7re
isidore has joined #nixos
hakujin has quit [Ping timeout: 272 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
jperras has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d16a7abceb7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
Baughn has joined #nixos
slikts has quit [Read error: Connection reset by peer]
ckauhaus has quit [Ping timeout: 252 seconds]
flokli has quit [Ping timeout: 252 seconds]
sphalerite has quit [Ping timeout: 252 seconds]
ckauhaus has joined #nixos
sphalerite has joined #nixos
<{^_^}> [nixpkgs] @uri-canva closed pull request #46699 → darwin.apple_sdk: update to 10.13 → https://git.io/fAXjM
flokli has joined #nixos
isidore has quit [Quit: WeeChat 2.2]
hakujin has joined #nixos
hakujin has quit [Ping timeout: 246 seconds]
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
troydm has quit [Ping timeout: 240 seconds]
hrk has quit [Ping timeout: 252 seconds]
astronavt__ is now known as astronavt
Wharncliffe has quit [Quit: Lost terminal]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
azdle has quit [Quit: Ping timeout (120 seconds)]
azdle has joined #nixos
hakujin has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ef450efb9df (from 75 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
fragamus has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
fragamus has quit [Ping timeout: 260 seconds]
johnw has quit [Ping timeout: 252 seconds]
johnw_ has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ef450efb9df (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Fare has quit [Ping timeout: 260 seconds]
Fare has joined #nixos
zopsi has quit [Quit: Oops]
zopsi has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
reinzelmann has joined #nixos
countingsort has quit [Ping timeout: 252 seconds]
rprije has joined #nixos
troydm has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
rprije has joined #nixos
nikivi has quit [Ping timeout: 240 seconds]
devopsdeluxe has quit [Quit: ZNC 1.7.1 - https://znc.in]
devopsdeluxe has joined #nixos
<{^_^}> [nixpkgs] @copumpkin pushed to staging « Revert "stdenv/darwin: bump bootstrap tools" »: https://git.io/fA7i4
nikivi has joined #nixos
DigitalKiwi has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #47098 → netbsd: 7.1.2 -> 8.0 → https://git.io/fA7Pv
__this__ has joined #nixos
roconnor has joined #nixos
v0|d has quit [Read error: Connection reset by peer]
mog has quit [Ping timeout: 264 seconds]
mog has joined #nixos
__lawlesseel__ has quit [Remote host closed the connection]
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
hakujin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #47099 → bat: install man page → https://git.io/fA7PP
<{^_^}> [nixpkgs] @dtzWill opened pull request #47100 → utmps: init at 0.0.1.3 → https://git.io/fA7P9
spear2 has quit [Remote host closed the connection]
rotaerk has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47000 → links2: 2.16 -> 2.17 → https://git.io/fAQPc
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA7X3
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/40d22a78b7b (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
rotaerk has joined #nixos
soundray has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8a41a11d669 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
trcc has joined #nixos
<kyren> hey, so I'm trying to set up a local development derivation usable with nix-shell that uses rustup and I'm running into a problem I think with some kind of linker wrapper
<kyren> I have a shellHook that runs cargo, and when building I get an error due to an impure path being used while linking
<kyren> I know it's impure, I just literally want to do the build right in that directory, my goal is not really to make a real derivation just to set up a dev environment
<jackdk> I don't know rust. In the haskell world, the nix files produced by cabal2nix often end with `if pkgs.lib.inNixShell then drv.env else drv`, where `drv` is the derivation you've constructedd
<kyren> I either want to disable whatever the linker wrapper is, or I'm not doing things right at all and should just do this in some vastly different way, I *have* actually figured out how to build this purely, but for dumb reasons there's a completely different problem when building that way that has to do with mozilla's rust overlay
<kyren> the rust equivalent is "carnix", and I'm not using it, it's a *very* simple shell.nix file
andreabedini has joined #nixos
soundray has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos
<kyren> the problem, I think, is just that the shellHook hits a purity test in a wrapper and I basically don't care about that at all, I intend for this to be impure
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47063 → firejail: 0.9.54 -> 0.9.56 → https://git.io/fA7Cm
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA71J
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47069 → eudev: 3.2.5 -> 3.2.6 → https://git.io/fA78v
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA71Y
Fare has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47036 → ioping: 1.0 -> 1.1 → https://git.io/fA7fK
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA71O
pluplog has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47087 → dmidecode: 3.1 -> 3.2 → https://git.io/fA72M
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA71Z
astronavt has quit [Ping timeout: 240 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47090 → afflib: 3.7.16 -> 3.7.17 → https://git.io/fA7a4
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA71l
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47088 → cgal: 4.12 -> 4.12.1 → https://git.io/fA7av
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fA718
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ralith> kyren: there's not much point in using rustup when you have nix
<kyren> holy cow I actually found it, the solution is 1) set NIX_ENFORCE_PURITY=0, and 2) use mkShell instead of mkDerivation just to be totally clear that this is only to set up an impure dev environment
<kyren> I actually agree, and spent a loooong time trying to get the pure version to work
jD91mZM2 has joined #nixos
<kyren> there's a bug... somewhere inside the mozilla rust overlay that messes up builds with with the wasm32-unknown-unknown target
<Ralith> aw
<Ralith> reported it?
<kyren> I think I found the report but I'm unsure of whether they mean a host linker error or a runtime web "linker" error
<kyren> I *believe* it is this, possibly, but I probably should add my experiences to that just in case it isn't: https://github.com/mozilla/nixpkgs-mozilla/issues/92
<{^_^}> mozilla/nixpkgs-mozilla#92 (by P-E-Meunier, 17 weeks ago, open): rust-overlay: can't compile wasm
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/d16a7abceb7 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<kyren> my bug manifests itself as https://imgur.com/cghSRCl.png
<kyren> and I'm a bit fuzzy on how wasm builds work in general or why this is a runtime error, or how the in-browser "linking" works
<ekleog> kyren: I do wasm32-unknown-unknown builds with the mozilla rust overlay, fwiw
<ekleog> shell.nix is basically (rustUnstable.rust.override { targets = [ "wasm32-unknown-unknown" ]; }) from https://github.com/mozilla/nixpkgs-mozilla/archive/cf7bc3ac8c482461d9df1b799b80ee79911af85b.tar.gz
* ekleog didn't read all the discussion, though
<kyren> that's more or less what I'm doing actually, I don't know what the bug is actually
<kyren> I wasn't able to use carnix so I ended up vendoring all of my dependencies and that seemed to work, though it's not ideal
<ekleog> oh if you're compiling via nix then it's maybe different, I'm just using a shell.nix and compiling with regular cargo
<kyren> I'm also attempting to use cargo-web which may have something to do with it, it's bad because I'm new at both wasm32-unknown-unknown *and* nix
<kyren> oh right right
<kyren> yeah that definitely works, it was working before
<ekleog> (rustUnstable being pkgs.rustChannelOf from 2018-08-01 ; ISTR I had issues when I last tried updating)
<kyren> I just couldn't put a command in shellHook because something was freaking out about impurity
<kyren> oh, well sorry no I got confused, you're still using the overlay you're just not doing the build purely, I haven't tried that combination
<kyren> sorry it's late and I'm tired and confused haha
<ekleog> no problem :)
<kyren> I'll try that now because I'd rather not use rustup
<ekleog> if you do that, also try going to a nightly from 2018-08-01, I remember weird problems with both more recent and older nightlies :)
<kyren> yeah I jumped around versions trying to see if the thing I was running into was related to a specific rust version, so I know how to do that and have hard coded the version you recommended :)
<kyren> huh, weird, using the overlay and building impurely results in the same LinkError, I'm going to try using the specific exact overlay archive version that you are...
<kyren> okay, I'm using exactly the same setup as you, and I'm basically just trying to run the contents of the stdweb "echo" example, nothing more
<kyren> that's really weird!
rauno has joined #nixos
<rauno> how can i run fsck on boot partition? tried changing default grub entry's init=/bin/sh but that fails somewhy, sais /mnt-boot/bin/sh does not exist or smth
<clever> rauno: tell it to continue even though it doesnt exist
<ekleog> kyren: hmm, I'm not compiling stdweb examples, just custom-built examples, so it looks like I can't help you on that, sorry :/
<clever> rauno: its a bug in the detection code, not dealing with symlinks under a chroot
<rauno> ahaa! thx will try again :)
<ekleog> kyren: if you try compiling just `#[no_mangle] pub extern "C" fn test() { }` with crate-type=cdylib, does it work out?
<rauno> even thought to try that option but then just went for reboot and searching more infomration
Thra11 has quit [Ping timeout: 272 seconds]
<ekleog> (I also have lto=true, incremental=false, opt-level="z" and panic="abort", for what it's worth, but don't think it should impact anything)
<kyren> hmmm, lto=true and incremental=false might help
<kyren> well, I guess I don't know because I don't actually know how wasm linking works and I guess it uses rust-lld
<kyren> here is the example I'm compiling, if you're interested, but I'm going to try the things you suggested as well: https://github.com/kyren/wasm_test
ambro718 has joined #nixos
<kyren> well, it changed behavior at least, "import object field 'memcmp' is not a Function"
Ariakenom has joined #nixos
<ekleog> you see that… in the javascript console when trying to actually run it?
<kyren> yeah
brejoc has joined #nixos
<ekleog> hmm, so my example will work for you
<kyren> it's in WebAssembly.instantiate actually
<ekleog> I'd be curious what wasm-objdump -x [your .wasm file] gives for memcmp
<ekleog> ,locate wasm-objdump
<{^_^}> Couldn't find any packages
<kyren> I'm guessing it's in wasm? that's what I'm trying now
<kyren> well, nope
<ekleog> huh? is {^_^} running on 18.03? it's in the `wabt` package
<ekleog> or maybe the PR never made it to nixpkgs and I'm just getting it off my fork, idk :°
<kyren> no, it's definitely there
<ekleog> nah, merged a month ago
<kyren> I'm on unstable so I got it
<ekleog> :)
<kyren> man, I am *so* not a web developer, okay
<ekleog> infinisil: suggestion: have {^_^} on unstable? that should have at least as many packages as 18.03 :)
<kyren> it appears that memcmp.... refers to env.memcmp, which there is no other mention of
<kyren> maybe, I have no idea what I'm doing
<ekleog> hmm, so it's likely llvm emitting a dependency on a stdlib function that isn't provided by wasm indeed
* ekleog doesn't do web programming, but does wasm for… other reasons :p
<kyren> I'll compare it with one built with rustup
Kelppo has quit []
<ekleog> worst case, you can implement memcmp yourself as a #[no_mangle] pub unsafe extern "C" fn memcpy(...) { ... }
<ekleog> (I think)
<kyren> that might just be the first of several problems, I have a feeling it's just giving me the *first* error like that?
<ekleog> you can get the list of imported functions from wasm-objdump -x
<ekleog> (the `env.*` stuff is imported from the runtime)
<ekleog> but yeah, there should be a way to tell llvm not to emit function calls, but I can't remember it :/
<kyren> yeah okay, now memcmp appears to not be coming from env.
<ekleog> you can consider looking at https://stackoverflow.com/a/34288242 too, I guess :) there really should be a streamlined solution for wasm, though
<kyren> yeah it's not quite worth it just to not use rustup, clearly there's some kind of bug in the mozilla overlay
ambro718 has quit [Ping timeout: 260 seconds]
<kyren> I *could* reimplement things that cause linker errors, or I could add to the bug reports for the mozilla overlay haha
Zer000 has quit [Ping timeout: 246 seconds]
<kyren> it looks like it's (in the very simple example) only memcmp, memcpy, memset, and memmove so that's actually not *terrible*
<kyren> anyway, thanks for going through that with me :D
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
periklis has joined #nixos
<ekleog> well, good you figured it out :)
andreabedini has joined #nixos
hyper_ch2 has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
rotaerk has quit [Ping timeout: 240 seconds]
goibhniu has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
Anton-Latukha has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #47102 → nixos/tests/atd: wait for atd to start → https://git.io/fA7SN
rotaerk has joined #nixos
georges-duperon has joined #nixos
ixxie has joined #nixos
<ixxie> Hey folks
orivej has joined #nixos
<ixxie> I've been greenlighted to setup NixOS on personal work machine
<ixxie> unfortunately I still need to use some windows stuff, so I need to decide on a way to have them work in tandem
<ixxie> Ideally I want to have a desktop manager
hyper_ch2 has quit [Ping timeout: 256 seconds]
<ixxie> so I am split between the options of virtualizing NixOS on Windows or making the desktop serve a remote desktop protocol to my windows laptop
<ixxie> so I am wondering if there are reliable solutions for remoting
civodul has joined #nixos
sb0 has quit [Quit: Leaving]
Izorkin has quit [Disconnected by services]
mikeplus64 has joined #nixos
<mikeplus64> `nix copy` stalls for me ~250/330MB (it varies each time how far it gets) and it isn't an OOM issue. nix-copy-closure works OK. any ideas?
<mikeplus64> on nix 2.0.4
hyper_ch2 has joined #nixos
<goibhniu> ixxie: how about running windows in a VM?
<mikeplus64> (copying over ssh)
<ixxie> goibhniu: hmmm nice idea :)
<ixxie> after all its only for the office suite
<goibhniu> perfect! it could be more tricky if it was for some dodgy VPN tools etc.
glasserc has quit [Ping timeout: 244 seconds]
Izorkin has joined #nixos
<goibhniu> ixxie: BTW congrats on being able to use NixOS at work \o/ #NixOSAllDay
<srhb> ixxie: I've had to use Windows in a VM before and it's much more tolerable than the other way around, so I second that
<emily> you might also be able to use wine
<srhb> ixxie: (I use a tiling WM, so it was a bit funny that workspace 5 was essentially just Windows. I've had colleagues use my PC in that workspace not knowing that it was a *nix machine, simply because the only "tell" is the shortcut to detach focus from the VM)
<sphalerite> ixxie: yaaaaay! I'd suggest wine if it works for the applications you want to use, otherwise yeah a VM (windows does work in qemu, which is a nice way to avoid virtualbox which I kind of dislike)
<hyper_ch2> sphalerite: but then, vbox is much less pain to work with attaching usb devices IMHO :) but once you have qemu up and running it's nice (also because of SPICE html5)
<{^_^}> [nixpkgs] @luke-clifton opened pull request #47103 → dvtm: refactor (fix on darwin) → https://git.io/fA7QD
<sphalerite> hyper_ch2: how so? I haven't really tried it myself but there are monitor commands for it
reinzelmann has quit [Ping timeout: 260 seconds]
<sphalerite> attaching a virtual USB stick definitely works like a charm, I can't say much about passthrough from the host
<{^_^}> [nixpkgs] @shmish111 closed pull request #47004 → elk6Version 6.3.2 -> 6.4.1 → https://git.io/fAQXa
<srhb> I also find all the qemu and virtd tools lackluster. It's just poor UX really, not lack of capability
<srhb> I still use them out of principle though...
worldofpeace has quit [Ping timeout: 252 seconds]
krav_ has joined #nixos
<sphalerite> Haven't got up to libvirt stuff yet, still plodding along with a shell script that runs qemu directly :')
<srhb> sphalerite: In many cases, that's probably nicer..
<sphalerite> really? Damn
<srhb> Yeah. poor tooling. That's the problem with so many "good enough" tools. :-P
<{^_^}> [nixpkgs] @srhb merged pull request #47102 → nixos/tests/atd: wait for atd to start → https://git.io/fA7SN
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fA77k
georges-duperon has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @srhb pushed commit from @xeji to release-18.09 « nixos/tests/atd: wait for atd to start »: https://git.io/fA77q
<hyper_ch2> it just needs to look more flashy.....
<srhb> I would settle for a less buggy and intolerable virt-manager. :)
<srhb> Or a nice TUI
<srhb> Hmm, actually, there's an idea...
<sphalerite> srhb: what's your opinion on virsh?
<srhb> sphalerite: I love the tab completion
<srhb> sphalerite: If you learn the commands really well, it's pretty good.
<ixxie> goibhniu, srhb, sphalerite - thanks for the tips
<ixxie> why are you avoiding virtualbox?
<ixxie> proprietary or?
<srhb> Oracle is the devil and must be purged from this world.
<ixxie> ah
<ixxie> lol
<sphalerite> something like that? I guess I don't actually have a rational reason, I just "don't like it"
<hyper_ch2> if you need to use the VM on windows as well, then VBox isn't a bad choice IMHO
<hyper_ch2> but yeah, VBox was cool when it was still at Sun....
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47099 → bat: install man page → https://git.io/fA7PP
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « bat: install man page (#47099) »: https://git.io/fA75k
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to release-18.09 « bat: install man page (#47099) »: https://git.io/fA75q
<ixxie> I will trust the wisdom of the crowd on this one
<ixxie> xD
<ixxie> so besides vbox there is qemu and kvm as the main options or?
<sphalerite> qemu uses kvm
<sphalerite> it's basically virtualbox, qemu, maybe vmware stuff? idk if it runs on nixos, but if you're not required to use it I'd suggest not because it's proprietary binary-only stuff and we all know how much fun that is
<ixxie> so qemu it is
hyper_ch2 has quit [Quit: Page closed]
* etu use vbox of old habits and vagrant reasons
<sphalerite> oh or maybe you could use xen or something like that? I don't know things about running a hypervisor "above" linux
<etu> sphalerite: xen for graphical stuff? Not sure, maybe?
<goibhniu> I switched from vbox to qemu after I had some issues with VMs failing after an upgrade of vbox ... quite possibly a user error, but I've never had a problem with qemu
<sphalerite> etu: many years ago a friend of mine was doing that I think
sigmundv__ has joined #nixos
__this__ has quit [Ping timeout: 256 seconds]
kai_w has joined #nixos
abueide has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47073 → gogs: 0.11.53 -> 0.11.66 → https://git.io/fA74g
<{^_^}> [nixpkgs] @xeji pushed commit from @Mic92 to master « gogs: 0.11.53 -> 0.11.66 (#47073) »: https://git.io/fA7d3
lawlesseel has joined #nixos
NightTrain has joined #nixos
v0|d has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #47104 → rubocop: 0.58.1 -> 0.59.1 → https://git.io/fA7dz
<{^_^}> [nixpkgs] @adisbladis merged pull request #47079 → debootstrap: 1.0.108 -> 1.0.109 → https://git.io/fA7zq
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fA7dV
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mvnetbiz27 has quit [Remote host closed the connection]
thc202 has joined #nixos
justan0theruser has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA7FW
<{^_^}> [nixpkgs] @Mic92 merged pull request #47077 → nixos/tests/ferm: disable dhcpcd → https://git.io/fA7ua
<tazjin> setting `doCheck = false;` on the generic Haskell builder skips running the test suite, but still builds it - I'd like to avoid that, does anyone know if there is a toggle for it?
<{^_^}> [nixpkgs] @Mic92 pushed commit from @xeji to release-18.09 « nixos/tests/ferm: disable dhcpcd »: https://git.io/fA7Fg
<srhb> tazjin: You probably need a configure flag for that
NightTrain has quit [Ping timeout: 246 seconds]
<srhb> tazjin: Got a good package to test on?
<srhb> tazjin: I think appendConfigureFlag pkg "--disable-tests" might do it
<tazjin> srhb: doing it on a non-public project atm, but I'll try that - thank you!
<{^_^}> [nixpkgs] @volth opened pull request #47106 → cpan2nix updates → https://git.io/fA7Fj
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a4e9ab65f61 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has joined #nixos
<{^_^}> [nixpkgs] @jwoudenberg opened pull request #47107 → nodejs-10_x: 10.9.0 -> 10.10.0 → https://git.io/fA7bR
NightTrain has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #47108 → [WIP] Mark long-failing packages broken for 18.09 (2) →
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c1328a1779a (from 61 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
mayhewluke has quit [Ping timeout: 260 seconds]
mayhewluke has joined #nixos
slyfox has quit [Ping timeout: 252 seconds]
slyfox has joined #nixos
jackdk has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/ef450efb9df (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
abueide has quit [Ping timeout: 252 seconds]
kai_w has quit [Ping timeout: 260 seconds]
<tazjin> srhb: slight response delay, sorry ... this does in fact work, thanks a lot!
EarlDeLaWarr has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #47109 → lmdbxx: change repo location → https://git.io/fA7Ab
<rawtaz> any idea where i can read more about /run/wrappers in NixOS?
<rawtaz> someone suggested theyre setuid files, but i'd still like to know more
<nbp> elvishjerricco: the `super` of g (fix f)` is `g (fix f)`. the `self` of `g (fix f)` is `fix f`
booglewoogle has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #47110 → mopidy-iris: 3.26.0 -> 3.26.1 → https://git.io/fA7xD
<{^_^}> [nixpkgs] @7c6f434c pushed to master « acl2: 8.0 -> 8.0.post.2018.09.20; fixes build with fresher SBCL »: https://git.io/fA7x9
<{^_^}> [nixpkgs] @edolstra merged pull request #47091 → apr: 1.6.3 -> 1.6.5 → https://git.io/fA7ag
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fA7xx
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to release-18.09: https://git.io/fA7xh
<booglewoogle> hey, currently reinstalling 32-bit nixos on an old machine. while it works, it gave me "warning: unable to download 'https://cache.nixos.org/nix-cache-info': Peer certificate cannot be authenticated with given CA certificates (60);" a few times, it did actually start the DL after about a minute. don't know if this is normal/important?
<realrokka> "No manual entry for cc" what is the package to get cc manpages? I already installed manpages, but can't seem to find the pkg for man cc to work
<{^_^}> [nixpkgs] @xeji pushed commit from @7c6f434c to release-18.09 « acl2: 8.0 -> 8.0.post.2018.09.20; fixes build with fresher SBCL »: https://git.io/fA7pi
<Myrl-saki> realrokka: cc is a symlink to whatever compiler you're using, isn't it?
<Myrl-saki> booglewoogle: I don't know what that means, but if it's an old version of NixOS, it might mean that the certificate is outdated.
<realrokka> realrokka: i see, thx just expected it to work like on other distros :)
<Myrl-saki> realrokka: FWIW, you can try man $(basename $(realpath $(which cc)))
<Myrl-saki> realrokka: Just don't tell #bash. :P
<srhb> tazjin: Great :)
<realrokka> Myrl-saki: /prism (つ ͡° ͜ʖ ͡°)つ
<booglewoogle> Myrl-saki: the nixos ISO is freshly downloaded. It also gave me the "warning: The option `networking.enableIntel3945ABGFirmware' defined in `/mnt/etc/nixos/hardware-configuration.nix' has been renamed to `hardware.enableRedistributableFirmware'." --- maybe the 32 bit ISO from the homepage is outdated?
<Myrl-saki> booglewoogle: I believe that it's nixos-generate-config that's outdated in this case.
asymmetric has joined #nixos
<booglewoogle> myrl-saki: wouldn't that still mean the ISO is outdated as the script comes with it?
<srhb> Arguably.
<booglewoogle> oh, and if it's just the script: is there a way I can update this inside the installer?
<srhb> booglewoogle: I don't think anyone has fixed the script yet :)
<srhb> booglewoogle: So updating = fixing
<booglewoogle> srhb: ah, i see :) alright
reinzelmann has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jwoudenberg closed pull request #47107 → nodejs-10_x: 10.9.0 -> 10.11.0 → https://git.io/fA7bR
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #47089 → chrony: 3.3 -> 3.4 → https://git.io/fA7ak
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « chrony: 3.3 -> 3.4 »: https://git.io/fA7j6
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
trcc has quit [Ping timeout: 272 seconds]
<asymmetric> hi! i'm looking for some guidance regarding packaging - what's the best practice for adding a package to nixpkgs that's already nixified?
<asymmetric> we also provide an overlay at https://github.com/dapphub/dapptools/blob/master/overlay.nix
trcc has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #47071 → earlyoom: 0.11 -> 1.1 → https://git.io/fA78D
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « earlyoom: 0.11 -> 1.1 »: https://git.io/fA5ef
<rawtaz> infinisil: can you merge #46921 so i can backport it?
<tilpner> asymmetric - nixpkgs doesn't allow IFD, so you can't import (fetch...) it, but NUR does. It's not quite as nice as being in nixpkgs, but better than being your own repo. https://github.com/nix-community/NUR
bara has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 252 seconds]
orivej_ has joined #nixos
booglewoogle has quit [Remote host closed the connection]
silver has joined #nixos
waleee has joined #nixos
<asymmetric> tilpner: what does IFD stand for?
<tilpner> ,IDF
<tilpner> ,IFD
<tilpner> Come on
<tilpner> It's import-from-derivation
<shreyansh_k> Hi, can you confirm that switching to 18.09 only requires updating the channel and not the configuration file? I am thinking of switching to 18.09 .
<symphorien> (be aware that 18.09 is not released yet)
<tilpner> shreyansh_k - Generally yes, though there may be deprecation warnings you need to fix. For more safety, it doesn't hurt to skim the release notes
<asymmetric> tilpner: doesn't NUR kind of solve the same problem as overlays?
<tilpner> asymmetric - Not quite. If a user sets up the NUR once, they can use any NUR packages, while they would have to individually setup each overlay they use
<asymmetric> yeah, modulo these differences. i'm going to look into NUR, thx
<tilpner> asymmetric - Additionally, an overlay is much unsafer than the package sets used by the NUR. An overlay has much more power, to e.g. replace systemd. Users would have to audit all used overlays
<asymmetric> that's a good point. so the main reason why someone would add a package to NUR instead of nixpkgs is IFD?
Mic92 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47050 → gpodder: 3.10.3 -> 3.10.5 → https://git.io/fA7Y8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5vQ
<shreyansh_k> tilpner: I googled for 18.09 notes but couldn't find anything. Don't know if I'm missing anything.
<tilpner> No, that's just one possible reason, but the most important one to you
<shreyansh_k> symphorien: I understand. I would like to use software not available in 18.03. Thank you.
<{^_^}> [nixpkgs] @Mic92 merged pull request #47110 → mopidy-iris: 3.26.0 -> 3.26.1 → https://git.io/fA7xD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5vj
<{^_^}> [nixpkgs] @Mic92 merged pull request #47109 → lmdbxx: change repo location → https://git.io/fA7Ab
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5fU
<tilpner> Don't know if there's a rendered version anywhere
iyzsong has joined #nixos
<shreyansh_k> tilpner: Oh! I see. Thank you. Which software can render it locally?
<tilpner> shreyansh_k - Note that you don't have to upgrade your system to 18.09 just to use software that comes with it
<tilpner> No idea, I've had very little contact with the docs
<shreyansh_k> tilpner: I was writing to ask exactly that. Thank you. :-)
<{^_^}> [nixpkgs] @Mic92 merged pull request #47104 → rubocop: 0.58.1 -> 0.59.1 → https://git.io/fA7dz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5fg
<{^_^}> [nixpkgs] @Mic92 merged pull request #47092 → ammonite: 1.2.0 -> 1.2.1 → https://git.io/fA7ai
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5f6
<{^_^}> [nixpkgs] @Mic92 merged pull request #47093 → burp: 2.1.32 -> 2.2.4 → https://git.io/fA7aQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5fi
<{^_^}> [nixpkgs] @Mic92 merged pull request #47085 → elisa: 0.2.1 -> 0.2.80 → https://git.io/fA72Y
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5fS
[Leary] has joined #nixos
Lears has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jhenahan opened pull request #47111 → Remove dontCheck on Hasktags → https://git.io/fA5fh
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
periklis has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Avaq opened pull request #47112 → twa: init at 1.3.1 → https://git.io/fA5JB
trcc has quit [Ping timeout: 240 seconds]
romildo has joined #nixos
Fare has joined #nixos
romildo has left #nixos [#nixos]
NightTrain has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5Uu
<{^_^}> [nixpkgs] @Mic92 merged pull request #47080 → double-conversion: 3.0.0 -> 3.1.1 → https://git.io/fA7zs
orivej_ has quit [Ping timeout: 240 seconds]
sb0 has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d10c5b88de7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
carlosdagos has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @layus opened pull request #47113 → jabref: 3.8.1 -> 4.3.1 → https://git.io/fA5Ty
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #47038 → kotlin: 1.2.61 -> 1.2.70 → https://git.io/fA7UC
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « kotlin: 1.2.61 -> 1.2.70 »: https://git.io/fA5Tj
<{^_^}> [nixpkgs] @baracoder opened pull request #47114 → tensorflow: Add contrib/tensor_forest to rpath → https://git.io/fA5kG
<viric> niksnut: fwiw the boost tests for its coroutine libs all pass in cygwin
Acou_Bass has quit [Read error: Connection reset by peer]
Acou_Bass has joined #nixos
Acou_Bass has quit [Client Quit]
Acou_Bass has joined #nixos
Izorkin has quit [Read error: No route to host]
orivej has joined #nixos
<viric> niksnut: do you think boost coroutines are debuggable at all?
<{^_^}> [nixpkgs] @Profpatsch closed pull request #47100 → utmps: init at 0.0.1.3 → https://git.io/fA7P9
<{^_^}> [nixpkgs] @Profpatsch reopened pull request #47100 → utmps: init at 0.0.1.3 → https://git.io/fA7P9
hyper_ch2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @tokudan opened pull request #47115 → Revert "burp: 2.1.32 -> 2.2.4" → https://git.io/fA5qJ
<tokudan[m]> Mic92: i saw that you merged one of the automatic update PR requests for burp, which is actually not good. I've just made a new PR (#47115) to revert it. could you merge that to avoid someone updates to that old version?
<gchristensen> ryantm: ^
<srhb> tokudan[m]: Can you explain that a bit more in the PR? According to github, 2.2.4 is newer than 2.1.32
<{^_^}> [nixpkgs] @Mic92 merged pull request #47115 → Revert "burp: 2.1.32 -> 2.2.4" → https://git.io/fA5qJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5q6
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #47116 → pyre: 0.0.11 -> 0.0.14 → https://git.io/fA5qD
<srhb> May 31 vs. April 1.
<{^_^}> [nixpkgs] @nthorne opened pull request #47117 → uftrace: init at 0.9 → https://git.io/fA5qb
<tokudan[m]> srhb: burp has to "branches". the stable branch is still 2.1.32, while the latest branch is updated roughly once a month and is currently at 2.2.10
<srhb> Ah, thanks.
<srhb> What a horrible versioning scheme. :D
<{^_^}> [nixpkgs] @shmish111 opened pull request #47118 → elk6Version 6.3.2 -> 6.4.1 → https://git.io/fA5qh
<tokudan[m]> yes ;)
<tokudan[m]> not my decision though
<srhb> No no.
<tokudan[m]> we could add another package burpLatest or something like that, but having it somewhere besides master would make no sense. especially in a release-* would mean the time it's released, there's already one newer version
<gchristensen> I think your revert is the right thing to do, no need to complicate it
<srhb> Yeah, agreed.
<tokudan[m]> last time the automatic update process was running, i caught it in time, but this time you're just working too fast ;)
<srhb> tokudan[m]: Let's put a comment near the version attribute
<gchristensen> open an issue here: https://github.com/ryantm/nixpkgs-update tokudan[m]
<gchristensen> a comment is a good idea, best to do both
<srhb> tokudan[m]: That way a reviewer will see that it says "Should be 2.1.x which is stable" or something
<tokudan[m]> gchristensen: ryan knows about that already (https://github.com/grke/burp/issues/757) ;)
<tokudan[m]> and the developer of burp as well
<tokudan[m]> i'll open a PR for the comment tonight
<betaboon> how robust is the nixos17.09->18.09 upgrade path atm ? XD
<srhb> betaboon: Should be fine. But remember that 18.09 only exists as a beta so far, so caveat emptor.
<srhb> (And 17.09 is unsupported anyway...)
<betaboon> srhb: never got around to go 17.09 -> 18.03 :(
<tokudan[m]> betaboon: you need to read the release notes of 18.03 anyway to see if there are changes relevant to you
<gchristensen> the bash code to generate our docker images is impressive
<tokudan[m]> Mic92: thanks, good to know
<{^_^}> [nixpkgs] @dtzWill opened pull request #47119 → libinput: 1.11.3 -> 1.12.0 → https://git.io/fA5Yu
<gchristensen> yeah that is why I was thinking you'd open an issue -- to add it to that file :)
Phillemann has joined #nixos
Phillemann has left #nixos ["WeeChat 2.2"]
Phillemann has joined #nixos
<betaboon> any ETA on 18.09 release ? (I know it's usually when-it's-done(TM))
<gchristensen> it is usually at the end of the month
mizu_no_oto has joined #nixos
<Phillemann> I'd like to use pysdl2, but with a different version of sdl_ttf. How do I "monkey-patch" that in Nix? Is it possible at all?
<{^_^}> [nixpkgs] @dtzWill opened pull request #47120 → xf86-input-libinput: 0.26.0 -> 0.28.0 → https://git.io/fA5YX
mayhewluke has quit [Ping timeout: 260 seconds]
mayhewluke has joined #nixos
<Mic92> assuming pysdl2 is a python package
alex`` has joined #nixos
<sphalerite> Phillemann: if you just want to use it one-off (as opposed to using it as a dependency of something else in nixpkgs) you can just use python3Packages.pysdl2.override { SDL2_ttf = (your SDL2_ttf); }
<betaboon> a question on nixops+aws: do i realy need to `associatePublicIpAddress = true;` ?
<gchristensen> did somebody actually implement the idea of having each store path be a docker layer?
iyzsong-x has joined #nixos
<sphalerite> gchristensen: what would the point be?
<gchristensen> more sharing between dockerTools.buildImage results
<Phillemann> Mic92: No quite I think. SDL2_ttf is a (C) dependency of pysdl2.
iyzsong has quit [Ping timeout: 252 seconds]
<Mic92> stty columns 212; stty rows 59
<Mic92> h30:
<Mic92> oh man a tmux short going wrong
<Mic92> *shortcut
<sphalerite> gchristensen: not really I think? Because layers can't be mixed and matched AFAIK?
<Mic92> Phillemann: yes, but you want to override a python one.
<gchristensen> sphalerite: they can, layers are content-addressed and order is not fixed at the layer level
<sphalerite> gchristensen: oh sweet
<gchristensen> sphalerite: the problem is there is a maximum of (iirc) 127 layers, so it is only a sometimes-possible optimization.
<Mic92> gchristensen: having too many layers breaks overlayfs so
<Mic92> and make it slow
<gchristensen> also that, so it isn't always possible or desirable.
<Mic92> I still think bind mounts would be the better option
<sphalerite> just bind-mount /nix from the host and set a-rw,a+x on /nix/store
<sphalerite> :D
<Mic92> or the individual dependencies.
<Mic92> /nix/store/<foo>
<gchristensen> I don't disagree, but if we can produce pretty good OCI containers it is a good answer for teams who can't install Nix on their OCI-compatible clusters.
<Mic92> true
<{^_^}> [nixpkgs] @dtzWill merged pull request #47100 → utmps: init at 0.0.1.3 → https://git.io/fA7P9
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fA5Ox
<Mic92> If security is less of an issue, then sharing the nix store does not sound too bad too me.
<Mic92> or sharing the nix daemon that is running in one of the container
<manveru> i tried using nix store in the containers, but that lead to corruption... needs a daemon
<{^_^}> [nixpkgs] @luke-clifton opened pull request #47124 → abduco: refactor (compile on darwin) → https://git.io/fA53q
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<Mic92> manveru: is there not a lock in the sore?
<Mic92> I have used nix shared via NFS even.
Acou_Bass has joined #nixos
<manveru> can't say i've tried it in maybe 2 years...
<manveru> so my memory is fuzzy at best
<manveru> NFS would be cool though, can you mount that in docker easily too?
<exarkun1> anybody familiar with nixops / vbox and have any insights into https://github.com/NixOS/nixops/issues/1009 ?
<Mic92> manveru: yes, you need to enable nfs locks also, only single-user nix will work then: https://nixos.wiki/wiki/NFS#Nix_store_on_NFS
<aanderse> has anyone ever used rsyslog with nixos? i added services.rsyslog.enable = true; to my config, but i don't see any logs
rauno has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/06df7c9a332 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @romildo opened pull request #47125 → rage: revert to using default patched pkg-config → https://git.io/fA5sO
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4eb077bed72 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hiroshi has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
allenj12 has joined #nixos
<allenj12> Hey, I tried nix a while ago and am considering it for a work os between manjaro. How is the project coming along? I remember before there was a learning curve and had trouble finding some docs is the doc situation better now?
reinzelmann has quit [Quit: Leaving]
<goibhniu> allenj12: it's getting better every day :D
<Acou_Bass> there has been a bit of splitting with the docs, theres now https://nixos.wiki/ which is unofficial and (right now) fairly small, theres now a discourse forum as well though which is cool
<etu> allenj12: And changes and suggestions are welcome :)
<sphalerite> allenj12: it's still far from perfect. There's lots of good stuff on the wiki, but I often find myself asking questions here (and I've been using nixos for 2 years now) — people here know lots of things and are very helpful :)
<Acou_Bass> the only thing i would say arch/an arch spin like manjaro has over nixos is, a lot more of the software is more updated (for example theres a lot of music production software that even in Master is horrendously outdated), but if thats not a big deal, come on over ;D
<sphalerite> and nowadays our software tends to be alot fresher thanks to ryantm and his bot
<sphalerite> a lot
<goibhniu> Acou_Bass: ah, I thought the audio stuff was being kept up to date very well by ryantm
<Acou_Bass> most of it is to be fair
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<allenj12> Thank guys! ill check out the wiki page and poke around. I think at the very least ill use it as a home os I really did enjoy what I experienced before
<Acou_Bass> my only real gripe is tuxguitar which is like, yearssss out of date
<mog> and to finish my round of spamming. new shirts for the 18.09 release! https://www.redbubble.com/people/mogorman/works/34062374-nixos-18-09-jellyfish
<gchristensen> mog: _finish_? I've only just seen it! :)
<Acou_Bass> ive botched together an absolutely atrocious nixpkg for the updated version but i dont really want to share it because its a bit crap and some things dont work within it
<mog> gchristensen, i hit discourse and github first
<goibhniu> ah, perhaps that's not easy to update that automatically
<Acou_Bass> yeah just bumping the version number didnt work as the nwer versions have a lot of different features and are built against different stuff to the older one
<Acou_Bass> so it probably needs a clean new re-write really hehe
<goibhniu> hrm, maybe it's better to remove it then
<goibhniu> rather than letting it rot
<Mic92> maybe not in all areas though.
<Acou_Bass> yeah for the vast majority of stuff i reckon nixpkgs are nailing it
<Acou_Bass> just a few small but very specific packages like i mentioned :)
<{^_^}> [nixpkgs] @ckauhaus opened pull request #47126 → lua: 5.2.3 -> 5.2.4 → https://git.io/fA5ZC
<niksnut> viric: to be clear, I have no actual reason to suspect your crash is caused by coroutines
lawlesseel has quit [Ping timeout: 256 seconds]
<Acou_Bass> hey mog just a question - are there any legality issues in using the nixos logo for non-commercial use, ie. if i print it onto a shirt myself? XD
<{^_^}> [nixos-artwork] @mogorman opened pull request #36 → adding artwork for 18.09 release → https://git.io/fA5Zz
<mog> Acou_Bass, you can but let me pull up where it was written as i dont have it at my finger tips
<mog> The logo is made available under a CC-BY license.
<Acou_Bass> ahh col
<Acou_Bass> i mean im not trying to setup a rival shop to yours or anything
<mog> totally fine if you do
<Acou_Bass> but i have a habit of printing logos onto shirts and stuff so y'know its good to know i can do so without issue :P
<mog> and my modifications of the logo fall under same stuff. i dont care if people print them externally
<Acou_Bass> a while ago i made a cycling kit with the nix logo on it, ive not had a chance to wear it in public though so no ones pointed it out yet :(
<mog> they all end up here https://github.com/NixOS/nixos-artwork
<mog> Acou_Bass, photos!
<Acou_Bass> tie-dye!
<mog> i love it
<Acou_Bass> i had one with the arch logo too but it was very shoddily done so eh
<mog> i know that about arch, but how was the clothing... ^__^
<Acou_Bass> well it wasnt done with a sublimation machine so the printing is sort of 'on top of' the fabric... so it doesnt really look any good, it just looks like a sticker hehe
Phillemann has left #nixos ["WeeChat 2.2"]
<{^_^}> [nixpkgs] @ckauhaus opened pull request #47127 → lua: remove lua4 and lua5_0 → https://git.io/fA5nk
<Acou_Bass> the keming?
<Acou_Bass> ahh poo wrong chat
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d10c5b88de7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<viric> niksnut: ok
endformationage has joined #nixos
echel0n_ has joined #nixos
hyper_ch2 has joined #nixos
<shreyansh_k> Hi, with "nixos-rebuild build-vm" how can I specify the ram size of the built qemu machine?
echel0n_ is now known as lictor
lictor is now known as lict0rr
lict0rr is now known as lict0r
simukis has joined #nixos
simukis has quit [Remote host closed the connection]
simukis has joined #nixos
grp has joined #nixos
lict0r is now known as echel0n_
allenj12 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47129 → cryus-sasl: cleanup, fix w/musl (although not at all musl-specific) → https://git.io/fA5WY
simukis has quit [Remote host closed the connection]
<catern> so nix-store --import requires validating signatures to be used safely in a multi-user environment, right?
funkmybios has joined #nixos
iyzsong-x has quit [Read error: Connection reset by peer]
astronavt has joined #nixos
<Myrl-saki> [myrl@myrl:~/Downloads]$ du -hs /nix/store/*.drv
<Myrl-saki> -bash: /run/current-system/sw/bin/du: Argument list too long
<Myrl-saki> lol
romildo has joined #nixos
<hyper_ch2> find /nix/store -iname *.drv -type f
astronavt has quit [Ping timeout: 246 seconds]
<Myrl-saki> Yeah.
<Myrl-saki> find /nix/store -name '*.drv' -maxdepth 1 -exec du -chs {} +
<Taneb> Is there a "This is what needs to be done before nixos 18.09" anywhere?
<Myrl-saki> Apparently 3.8 MB of drvs.
<Myrl-saki> I was expecting 10 MB.
<ckauhaus> Taneb: #45960
<hyper_ch2> :)
<Myrl-saki> With --apparent-size, 24M.
<Myrl-saki> 2.4M*
<Myrl-saki> This is on ext4, so no compression magic.
<hyper_ch2> you still haven't upgraded to zfs? :)
<Myrl-saki> hyper_ch2: I've upgraded my /home/$USER to zfs.
<romildo> I am building a package (enlightenment.rage) which is failing with the message
<romildo> Package gbm was not found in the pkg-config search path.
<romildo> Which dependency should I use to fix this?
<romildo> to the PKG_CONFIG_PATH environment variable
<romildo> Perhaps you should add the directory containing `gbm.pc'
romildo has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Myrl-saki> Sad.
<Myrl-saki> It's happening again. :(
<Taneb> ckauhaus:
<Taneb> Thanks
<samrose> when working with nixos containers declaritively, what is the typical way people are starting the container in the nix expression (for instance in configuration.nix)?
<Myrl-saki> Oh yeah.
<Myrl-saki> Er, nothing.
<Myrl-saki> Oh wait, I guess this is a valid question. Is there a way to pass a user argument to configuration.nix?
<Myrl-saki> I'm thinking of making making my own `nixos-rebuild` where certain services are activated and deactivated.
<Myrl-saki> /nix/var/nix/profiles/system-nodhcpcd/switch-to-configuration
<Myrl-saki> Or is there a better way to do this?
<hyper_ch2> there probably is - but I have no idea what it would be
<Myrl-saki> hyper_ch2: My guess is something along the line of runlevels.
<Myrl-saki> Or in the case of systemd, targets.
<Myrl-saki> But... EW SYSTEMD
<aanderse> just filed this one: https://github.com/NixOS/nixpkgs/issues/47130 scratching my head as nothing obvious jumps out to me as why not working. would really appreciate anyone able to provide some feedback
romildo has joined #nixos
<samrose> or maybe the only way to do it right now is nixos-container start <container> even if you've defined your container in configuration.nix?
<Myrl-saki> aanderse: What does systemctl status say?
orivej has quit [Ping timeout: 252 seconds]
<sphalerite> infinisil: I miss {^_^} 's issue info :(
<romildo> Which dependency should I use so that pkg-config can find *mesa-noglu-18.1.7-dev/lib/pkgconfig/gbm.pc ?
<Myrl-saki> sphalerite: Why was it removed or something?
<aanderse> Myrl-saki: https://pastebin.com/ySGYVekx
<sphalerite> Myrl-saki: it's just down currently I think
<Myrl-saki> Oh.
pluplog has quit [Ping timeout: 252 seconds]
<Myrl-saki> aanderse: ExecStartPre=/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/mkdir -p /var/spool/rsyslog
<infinisil> Will look into it
<Myrl-saki> aanderse: Seems like you have to change syslog's directory.
<Myrl-saki> $WorkDirectory /var/spool/rsyslog
<Myrl-saki> Sadly, you have to do that yourself.
<aanderse> Myrl-saki: yeah, $WorkDirectory /var/spool/rsyslog is defined in the config
<aanderse> so i would think that step wouldn't be required
<Myrl-saki> aanderse: Are you confident with your Nix skills? :P
<Myrl-saki> If you're not, I'd just make a symlink then be done with it.
<aanderse> Myrl-saki: not at all
<Myrl-saki> If you are, I suggest making a PR.
<Myrl-saki> Hm
<aanderse> Myrl-saki: the module hasn't been changed since 2015... i'm confused by it not working
<aanderse> Myrl-saki: yeah i could make a PR for that
<Myrl-saki> aanderse: It's under /var/spool/rsyslog, is it not?
<aanderse> Myrl-saki: thats the work directory, i'm not familiar enough with rsyslog to understand what that dir is used for
<aanderse> but the logs should be written to /var/log, according to the config
<Myrl-saki> Me neither. I'm just basing this on my knowledge of how *NIX processes should work.
<Myrl-saki> Let me give it another look.
<aanderse> Myrl-saki: thanks. appreciate it. i'm at a complete loss here
<Myrl-saki> aanderse: Oh yeah, I see what you mean now.
<Myrl-saki> aanderse: Seems like it should work, TBH.
<aanderse> Myrl-saki: that was my thought too :\
<Myrl-saki> By default, the log file is synchronized every time a syslog message is generated. Use a dash mark (-) as a prefix of the file path you specified to omit syncing:
<manveru> is the nixos cache down?
<Myrl-saki> Oh, that's `sync` like disk sync.
<Myrl-saki> Huh.
<Myrl-saki> aanderse: I'm just as lost as you are! :P
<Myrl-saki> aanderse: Sorry, can't help any further.
<manveru> getting a bunch of `warning: unable to download 'https://cache.nixos.org/df5j3yxyr2y9sdip8y41szfy24pb9dah.narinfo': HTTP error 502;`
<Myrl-saki> aanderse: Try messing around with /var/spool/rsyslog and see what you get from there.
<aanderse> Myrl-saki: understood. appreciate the effort though, thank you
<aanderse> yeah that directory is empty, which is a bad sign i'm guessing
<aanderse> makes me think rsyslog is just not getting any messages, maybe journald is not forwarding it on or whatever
<Myrl-saki> aanderse: Yeah, I was going to tell you to check the pipe/socket or something.
<Myrl-saki> But I'm not sure how you can do that.
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
hakujin has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
erasmas has joined #nixos
orivej has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
mizu_no_oto has joined #nixos
Ariakenom has quit [Ping timeout: 252 seconds]
<aanderse> awesome! arch linux really has the best documentation :)
<aanderse> have to add this to journald.conf: ForwardToSyslog=yes
<alex``> How to use the nix packages from GitHub?
<alex``> I want the last version of packages
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<symphorien> unstabl is not exactly master: see the explanation on https://howoldis.herokuapp.com/
jedahan has joined #nixos
<alex``> symphorien: Is it configurable from /etc/nixos/configuration.nix?
infinisil has joined #nixos
<infinisil> Ahhhhhh, everything is breaking apart
<alex``> instead of the command-line, so I don’t have to remember the channel
<{^_^}> [nixpkgs] @Mic92 merged pull request #47127 → lua: remove lua4 and lua5_0 → https://git.io/fA5nk
<mdash> infinisil: mere anarchy is loosed upon the world!
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5En
<symphorien> alex``: it is possible: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
<tilpner> infinisil - Indeed, your bot was missing :c
<alex``> Why Yarn is an available package but not npm?
Tucky has quit [Remote host closed the connection]
<infinisil> The root of the problem: My server is out of disk space, and that now leads to a whole set of problems..
<alex``> symphorien: Thanks
<symphorien> alex``: npm is provided by node
<alex``> :O
<alex``> nodejs package or just node?
work_ has joined #nixos
<symphorien> alex``: http://xelpaste.net/8vw7Or
<{^_^}> [nixpkgs] @romildo opened pull request #47132 → rage: add dependency on mesa_noglu.dev → https://git.io/fA5EP
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @romildo closed pull request #47125 → rage: revert to using default patched pkg-config → https://git.io/fA5sO
<betaboon> i just ran into full-disk-issues while trying to upgrade t2.nano-machines with nixops from 17.09->18.09. any advice ? oO
<{^_^}> [nixpkgs] @dtzWill opened pull request #47133 → s-tui: 0.7.5 -> 0.8.2 → https://git.io/fA5Ej
<{^_^}> [nixpkgs] @Mic92 merged pull request #47116 → pyre: 0.0.11 -> 0.0.14 → https://git.io/fA5qD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA5uG
<symphorien> betaboon: you can use nix-du to see what is taking space
<alex``> symphorien: I'm not sure I understand about Nix channels
<alex``> After doing: sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
<symphorien> are you on mac ?
<alex``> I have nixos-unstable I can import?
<betaboon> symphorien: are you talking about "du" ? well yeah. its the nix-store on the machines.
<alex``> What will do sudo nix-channel --update nixos-unstable then
<alex``> $ nix-env --install foo
<alex``> foo will be from stable or unstable?
<symphorien> betaboon: I speak about a tool I wrote https://github.com/symphorien/nix-du
<symphorien> ,-A alex``
<symphorien> ah the bot is still down
<symphorien> so: except for nix-env -e, always use nix-env with -A
<symphorien> nix-env -iA nixos.foo takes foo from stable
<symphorien> nix-env -iA nixos-unstable.foo takes it from nixos-unstable
<symphorien> sorry, I can't stay
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
kenshinCH has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @aanderse opened pull request #47134 → rsyslogd: fix broken module → https://git.io/fA5uS
<betaboon> symphorien: just ran `nix-collect-garbage -d` on all the machines. all but one of them now has 1.3-1.6G available. hm
<{^_^}> [nixpkgs] @xeji merged pull request #47132 → rage: add dependency on mesa_noglu.dev → https://git.io/fA5EP
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « rage: add dependency on mesa_noglu.dev (#47132) »: https://git.io/fA5uN
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to release-18.09 « rage: add dependency on mesa_noglu.dev (#47132) »: https://git.io/fA5zv
<betaboon> symphorien: regarding nix-du, well the machines are running on 17.09, there is no space left, no way to install nix-du on them atm
phreedom has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
Neo-- has joined #nixos
romildo has quit [Quit: Leaving]
phreedom has joined #nixos
<betaboon> anyone else has any idea? oO
nDuff has joined #nixos
Neo-- has quit [Ping timeout: 260 seconds]
<clever> betaboon: what happens if you just run `nix-collect-garbage` with no args?
<jD91mZM2> betaboon: Sometimes `nix-store --optimise` helps with disk space
jD91mZM2 has quit [Quit: WeeChat 2.0]
<clever> ah good idea, optimize should work even with a full disk
Ariakenom has joined #nixos
<betaboon> will try
<betaboon> clever: with no args it frees the same amount as with -d
<{^_^}> [nixpkgs] @xeji merged pull request #46996 → nwipe: 0.24 -> 0.25 → https://git.io/fAQKs
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « nwipe: 0.24 -> 0.25 (#46996) »: https://git.io/fA5gL
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46963 → shotcut: 18.08.14 -> 18.09.16 → https://git.io/fAQm9
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « shotcut: 18.08.14 -> 18.09.16 (#46963) »: https://git.io/fA5gG
lawlesseel has joined #nixos
<betaboon> --optimise freed a little, but still not enough it seems
<clever> betaboon: because you already ran it with -d, it deleted all garbage and generations
<clever> old generations
<clever> betaboon: try just installing ncdu, and running `ncdu /nix`, what is the largest path?
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « smarty3: 3.1.32 -> 3.1.33 (#46947) »: https://git.io/fA5gR
<{^_^}> [nixpkgs] @xeji merged pull request #46947 → smarty3: 3.1.32 -> 3.1.33 → https://git.io/fAHjr
<betaboon> just as a side-node: those t2.nano only have 3G in total. then there is a m5d.large which only has 2G.
<{^_^}> [nixpkgs] @romildo opened pull request #47136 → ephoto: add dependency on mesa_noglu.dev → https://git.io/fA5g9
<clever> betaboon: disk or ram? which hoster?
<{^_^}> [nixpkgs] @7c6f434c pushed to master « acl2: 8.1.post.2018.09.20 -> 8.1; turns out there is a release »: https://git.io/fA5gh
<betaboon> clever: disk, aws-ec2
sigmundv__ has quit [Ping timeout: 260 seconds]
<clever> betaboon: disk size is unrelated to the instance type, you can freely resize the disk
<{^_^}> [nixpkgs] @hrdinka opened pull request #47137 → libretro.mame: 2017-03-02 -> 2018-09-13 → https://git.io/fA52f
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
haitlah has joined #nixos
Xyliton has joined #nixos
Xyliton has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji pushed commit from @7c6f434c to release-18.09 « acl2: 8.1.post.2018.09.20 -> 8.1; turns out there is a release »: https://git.io/fA522
romildo has joined #nixos
<romildo> How can I easily list the files installed by a given package?
<haitlah> tree the store ? :D
<betaboon> clever: any suggestion how to resize the default ebs using nixops post instance-creation ?
<sphalerite> romildo: find $(nix-build '<nixpkgs>' -A foo)
Thra11 has quit [Ping timeout: 244 seconds]
Fare has quit [Ping timeout: 240 seconds]
jackjennings has joined #nixos
jackjennings has quit [Client Quit]
<gchristensen> infinisil: {^_^} seems to have gone quiet in #nixos-unregistered
<infinisil> Yeah sorry for that, the bot is on a short.. vacation
<infinisil> In the process of fixing it
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #47136 → ephoto: add dependency on mesa_noglu.dev → https://git.io/fA5g9
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « ephoto: add dependency on mesa_noglu.dev (#47136) »: https://git.io/fA5VE
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to release-18.09 « ephoto: add dependency on mesa_noglu.dev (#47136) »: https://git.io/fA5Vw
<betaboon> any suggest how big a partition for the nix-store should be ?
<{^_^}> [nixpkgs] @Jeschli opened pull request #47138 → pev: init at unstable-2018-07-22 → https://git.io/fA5VD
<{^_^}> [nixpkgs] @Gerschtli opened pull request #47139 → pythonPackages.dependency-injector: 3.13.1 -> 3.13.2 → https://git.io/fA5VQ
Denommus has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47016 → numix-cursor-theme: 20160110 -> 1.1 → https://git.io/fAQdU
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « numix-cursor-theme: 20160110 -> 1.1 (#47016) »: https://git.io/fA5Vp
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/edf50200429 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
jtojnar has joined #nixos
mayhewluke has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47082 → clipgrab: 3.6.9 -> 3.7.0 → https://git.io/fA7zP
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « clipgrab: 3.6.9 -> 3.7.0 (#47082) »: https://git.io/fA5w4
lawlesseel has quit [Ping timeout: 256 seconds]
mayhewluke has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
<sphalerite> betaboon: depends entirely on what you're using the system for.
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
astronavt has joined #nixos
Denommus has quit [Ping timeout: 260 seconds]
Profpatsch has joined #nixos
<{^_^}> [nixpkgs] @hrdinka pushed to master « libretro.mame: 2017-03-02 -> 2018-09-13 »: https://git.io/fA5oP
<{^_^}> [nixpkgs] @hrdinka pushed to release-18.09 « libretro.mame: 2017-03-02 -> 2018-09-13 »: https://git.io/fA5oj
<{^_^}> [nixpkgs] @hrdinka closed pull request #47137 → libretro.mame: 2017-03-02 -> 2018-09-13 → https://git.io/fA52f
<sphalerite> betaboon: the nix store on my laptop, which I use for a variety of development and other things, is currently around 27GiB
<sphalerite> betaboon: I think it's quite rare for a store to exceed 100GiB if it's GC'd occasionally, but again it depends on your workload
<sphalerite> wtf is up with libreoffice… if I leave it running for 5 minutes, it starts eating 100% CPU
<sphalerite> on all cores, no less
<gchristensen> can I ask Tar to not emit "removing leading / from member names"?
<hax404> hi, i did a nixos-container login testcontainer. Which is the ^] shortcut that i have to type three times to exit?
<betaboon> sphalerite: just asking for the ec2-nodes. right now i see no other way than destroying them and recreating them.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e372ab46265 (from 40 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sphalerite> betaboon: I'd say at least 4GiB for almost all use cases
<sphalerite> but 4GiB is already tight
<betaboon> the 3G-root-storage has worked so far. just ran into it being to tight now when trying to do the 17.09->18.09 upgrade. currently thinking about sizing the root 5G.
<gchristensen> you can define the size of the root volume at startup with ec2
<gchristensen> and set boot.growPartition = true to tell the FS to increase its size to fit the root disk on boot.
<betaboon> gchristensen: by "startup" you mean initial creation of the resource ?
<gchristensen> yeah
Fare has joined #nixos
<betaboon> gchristensen: you mean "deployment.ec2.ensInitialRootDiskSize" ?
<betaboon> *ebs
<gchristensen> sure, that should do it too
<betaboon> or are you talking about another option that i missed ?
orivej has quit [Ping timeout: 240 seconds]
<gchristensen> well I'm more talking about how AWS lets you do it
<betaboon> ah ok :D
<betaboon> or would it be a better idea to attach a different ebs-volume just for /nix ?
<{^_^}> [nixpkgs] @basvandijk pushed to master « haskellPackages.mandrill: fix build for ghc843 »: https://git.io/fA56C
sanscoeur has joined #nixos
ixxie has quit []
<{^_^}> [nixpkgs] @basvandijk pushed to release-18.09 « haskellPackages.mandrill: fix build for ghc843 »: https://git.io/fA56r
Fare has quit [Ping timeout: 252 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #47140 → zathura: 0.4.0 -> 0.4.1 → https://git.io/fA56b
<betaboon> gchristensen: do you have an opinion on that ?
<gchristensen> I don't, sorry
Fare has joined #nixos
<betaboon> thank you all for your great help anywho, as always :D
<{^_^}> [nixpkgs] @vbgl opened pull request #47141 → jackline: 2017-12-24 -> 2018-05-11 → https://git.io/fA5iT
Fare has quit [Ping timeout: 272 seconds]
nDuff has quit [Quit: ...]
<gchristensen> betaboon: I'm glad to help! :)
waleee has quit [Quit: WeeChat 2.2]
alex`` has quit [Ping timeout: 252 seconds]
<betaboon> I'm glad i tried the 17.09->18.09 upgrade path on our development-deployment first xD
jtojnar_ has joined #nixos
<betaboon> gchristensen: i just saw your nixops-PR about plugin-ifying nixops earlier today. what happened to the teraform approach? would that solve all the problems ? oO
<catern> is there something like steam-run for arbitrary random proprietary packages?
<catern> i.e., I want to run Sublime Merge on NixOS, what do I do?
<symphorien> steam-run may work
<symphorien> iirc it is not really steam specific
<catern> yeah, I would try steam-run
<catern> but I guess my real question is: How do I run Sublime Merge on NixOS? Is the answer steam-run?
<tilpner> catern - steam-run is using buildFHSUserEnv, which can be used to build arbitrary FHS environments
<tilpner> catern - You could define an FHS env capable of running just Sublime
<tilpner> Or look at the sublime derivation, maybe you can adapt it
<{^_^}> [nixpkgs] @xeji merged pull request #47133 → s-tui: 0.7.5 -> 0.8.2 → https://git.io/fA5Ej
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « s-tui: 0.7.5 -> 0.8.2 (#47133) »: https://git.io/fA5P7
logzet has joined #nixos
<catern> urgh
<catern> it doesn't work :(
<catern> or at least, it doesn't work on Debian with steam-run
<catern> it prints an error message which I will shortly send to this channel
<betaboon> in order to put /nix onto a different disk i have to set `neededForBoot = true;` ?
<sphalerite> betaboon: based on the description of the option, it sounds like it'll work that out automatically
<sphalerite> betaboon: but it can't hurt
orivej has joined #nixos
<betaboon> hm even if i have set neededForBoot /nix/store is still mounted on first disk
<sphalerite> did you set the right device for it?
<sphalerite> betaboon: oh hm I'm not sure this would work for ec2 since the filesystem needs to contain the initial contents of the store
<catern> ./sublime_merge: relocation error: /usr/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
<catern> that's what I get from steam-run ./sublime_merge
<sphalerite> betaboon: I think you need to keep the nix store in the root fs :/
<catern> what does this crazy error message even mean?
<symphorien> probably that you have to use patchelf :)
<sphalerite> betaboon: that, or find a way to also convince nixops to image the nix store volume before starting the machine
<betaboon> sphalerite: yeah i feel so. i was hoping that by moving it onto a different ebs-volume i can prevent those problems i had today. being able to just resize it later-on if a problem occures
<sphalerite> betaboon: the root one can't be resized?
<catern> symphorien: yeah but, what do I do with patchelf?
<betaboon> sphalerite: seems like it can, but just from the aws-console. haven't tried
<catern> if you know
<gchristensen> w00t I'm building multi-layer Docker images now, one path per layer except for the last two layers
<{^_^}> [nixpkgs] @xeji opened pull request #47142 → devpi-client: 3.1.0 -> 4.1.0, fix tests → https://git.io/fA519
<catern> symphorien: but I'm running inside steam-run, surely that should fix it?
<{^_^}> [nixpkgs] @xeji merged pull request #47139 → pythonPackages.dependency-injector: 3.13.1 -> 3.13.2 → https://git.io/fA5VQ
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « pythonPackages.dependency-injector: 3.13.1 -> 3.13.2 (#47139) »: https://git.io/fA517
<sphalerite> gchristensen++
<symphorien> the error message suggests the binary may need a specific version of glibc
<symphorien> so maybe the version steam run provides is not the right one.
Thra11 has joined #nixos
Fare has joined #nixos
<catern> urgh
<catern> wish my users respected their own freedom and didn't want to use this proprietary trash
<{^_^}> [nixpkgs] @LnL7 merged pull request #47051 → broken darwin packages (d) → https://git.io/fA7Y4
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to master: https://git.io/fA5MW
<sphalerite> `nix run nixpkgs.google-authenticator google-authenticator` I appreciated the output from this
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to release-18.09: https://git.io/fA5M2
Fare has quit [Ping timeout: 260 seconds]
reinzelmann has joined #nixos
funkmybios has quit [Ping timeout: 256 seconds]
samrose has quit [Ping timeout: 256 seconds]
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47143 → libusb1: Build everywhere, since MinGW works → https://git.io/fA5DR
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47144 → libusb1: Build everywhere, since MinGW works for 18.09 → https://git.io/fA5DV
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47143 → libusb1: Build everywhere, since MinGW works → https://git.io/fA5DR
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fA5Dr
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47144 → libusb1: Build everywhere, since MinGW works, for 18.09 → https://git.io/fA5DV
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fA5DP
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/93506c3a0b0 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47145 → fetchzip: Use unzip from buildPackages → https://git.io/fA5y3
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47146 → fetchzip: Use unzip from buildPackages → https://git.io/fA5yK
alex`` has joined #nixos
<betaboon> btw: deploying nixos-18.09 with nixops at some point states "setting state to 18.03" !?
notlar has joined #nixos
trcc has joined #nixos
Fare has joined #nixos
<gchristensen> Mic92: how many layers does overlayfs support ok?
<{^_^}> [nixpkgs] @dtzWill opened pull request #47147 → mesa: 18.1.8 -> 18.2.1 → https://git.io/fA59t
<sphalerite> betaboon: this is normal
<{^_^}> [nixpkgs] @xeji merged pull request #47039 → lgogdownloader: 3.3 -> 3.4 → https://git.io/fA7Uj
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lgogdownloader: 3.3 -> 3.4 (#47039) »: https://git.io/fA59V
camsbury has quit [Remote host closed the connection]
<betaboon> sphalerite: thanks for confirming
camsbury has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fA5HL
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47145 → fetchzip: Use unzip from buildPackages → https://git.io/fA5y3
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47146 → fetchzip: Use unzip from buildPackages → https://git.io/fA5yK
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fA5Hq
<{^_^}> [nixpkgs] @LnL7 opened pull request #47148 → eiskaltdcpp: mark linux only → https://git.io/fA5Hs
<clever> betaboon: nixops cant resize an EBS, you need to go into the aws console and resize it there, then reboot the machine 1 or 2 times
<clever> betaboon: the fs will resize itself
<sphalerite> pam_xauth is configured with systemuser=99, but shouldn't that be higher?
lawlesseel has joined #nixos
<sphalerite> since system user IDs are allocated in nixos/modules/misc/ids.nix up to 304
notlar has quit [Ping timeout: 252 seconds]
notlar has joined #nixos
zduch4c has joined #nixos
<zduch4c> h
<zduch4c> there is hardware.pulseaudio.extraClientConf that appends to client.conf
<zduch4c> is there a hardware.pulseaudio.extraServerConf?
<zduch4c> I need to append to the server configuration
Fare has quit [Ping timeout: 240 seconds]
<zduch4c> never mind
reinzelmann has quit [Quit: Leaving]
zduch4c has quit [Remote host closed the connection]
ambro718 has joined #nixos
logzet has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/da84efcd12d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<exarkun1> Can I control the permissions on nixops' /run/keys directory?
<exarkun1> Not on the keys inside it. On the directory itself.
booglewoogle has joined #nixos
Fare has joined #nixos
<sphalerite> exarkun1: fileSystems."/run/keys".options = ["mode=700"]; *might* work
<sphalerite> thing is…
<sphalerite> the default options already contain mode=750
orivej has quit [Ping timeout: 260 seconds]
<exarkun1> yea I don't really know what I want to happen here
<gchristensen> why do you want to do this?
<exarkun1> tor and nixops keys' feature don't really want to get along
<exarkun1> I want Tor to be able to read some keys that I provide. I'm currently providing them with `deployment.keys`.
<exarkun1> But Tor wants to run as tor:tor and this seems non-configurable
<sphalerite> might make more sense to put the tor user in the right group for that?
<sphalerite> users.users.tor.extraGroups = ["root"]; maybe
<exarkun1> I just tried that, failed, "The unique option `users.users.tor.group' is defined multiple times,"
<exarkun1> Doesn't it need to have "keys" as the primary group, not an extra group?
<sphalerite> exarkun1: extraGroups, not group
<gchristensen> what about deployment.keys.my-secret.group = "tor"; ?
<sphalerite> oooh yes what gchristensen said. That sounds much better.
<sphalerite> oh wait no
<exarkun1> gchristensen: I have that but that only sets the group ownership of the `my-secret` file. `/run/keys` is still non-executable.
<sphalerite> since /run/keys has o-x
<sphalerite> yeah
<sphalerite> so actually I think /run/keys should be 0711 probably?
<sphalerite> i.e. rwx--x--x
<exarkun1> experimented with `extraGroups`, did not make a difference
<gchristensen> how does buildkite work? it can read keys properly
<sphalerite> exarkun1: did you restart the tor service?
<exarkun1> yes
<gchristensen> ah yeah you need to put tor in the `keys` group
<sphalerite> oooh
<exarkun1> hm. maybe restarting it was not enough.
<exarkun1> /proc/pid/status still says the process only belongs to one group.
<sphalerite> for some reason /run/keys is root:root, not root:keys, for me..?
<gchristensen> I dunno, it works for me X)
<exarkun1> dunno about that. I don't think I did anything special to configure the ownership/permissions I have.
<sphalerite> is it root:keys for you?
<exarkun1> the /etc/group file was rewritten to say tor belongs to keys but `systemctl restart tor` doesn't give me a tor process in the `keys` group... Possibly tor is doing something to throw out the extra groups... for security or whatever
<gchristensen> and you did restart the process?
<exarkun1> that's what `systemctl restart tor`'s job is right? I can verify the process went away and a new one took its place (several times now).
<gchristensen> something is fishy. maybe try a reboot. something is holding on to that old group info for some reason.
<emily> maybe you need to get systemd to reload?
<realrokka> someone else is using electrum wallet and the build fails ? https://pastebin.com/q3wrEKse :( should I open up an issue on gh or something?
<exarkun1> Okay ... Tor calls `setgroups(1, &pw->pw_gid)`
<exarkun1> So whatever groups you started with, you'll only have the primary gid of the user it selects
abueide has joined #nixos
Sigma has quit [Ping timeout: 264 seconds]
<exarkun1> Can I get past "The unique option `users.users.tor.group' is defined multiple times," somehow? Or does it come down to patching tor.nix?
georges-duperon has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.16.1 -> 1.16.2 »: https://git.io/fA5Ft
<{^_^}> [nixpkgs] @ryantm pushed to revert-47093-auto-update/burp « Revert "burp: 2.1.32 -> 2.2.4" »: https://git.io/fA5Fq
<gchristensen> you have to use extraGroups
Sigma has joined #nixos
<gchristensen> ohg
<{^_^}> [nixpkgs] @ryantm opened pull request #47149 → Revert "burp: 2.1.32 -> 2.2.4" → https://git.io/fA5Fm
<gchristensen> lib.mkForce maybe :/ but aoeunthaoeunth probably better to patch it out
<exarkun1> I tried the `filesystem."/run/keys"` approach. It changes the mode in /etc/fstab but it doesn't actually change the permissions of the mounted filesystem.
<d1rewolf> is there a relatively easy way to use synergy (mouse/keyboard sharing) commercial version with nixos?
* exarkun1 reads about mkForce
<exarkun1> messing with run/keys via `fileSystems` does seem to have screwed up something and now I can't deploy keys to the node anymore 🙂
<MarcWeber> PHP -> rewrite -> causing trouble to me. http://dpaste.com/1QXQ1CY why does cfg have sha nad version only? Shouldn't cfg have all optional keys with default value thus also include tidySupport?
<{^_^}> [nixpkgs] @ryantm merged pull request #47149 → Revert "burp: 2.1.32 -> 2.2.4" → https://git.io/fA5Fm
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fA5FF
<{^_^}> [nixpkgs] @ryantm pushed 0 commits to revert-47093-auto-update/burp: https://git.io/fA5FA
<exarkun1> rebooted, set group to "keys" w/ mkForce, success
<exarkun1> if I were to fix this upstream, I wonder what the fix would be.
<exarkun1> a nixos option to _not_ set `User tor` in the tor config file might fix it... I think that would prevent Tor from messing with its uid/gid/groups at all. Then I could just tell systemd how I want those configured.
<exarkun1> I don't fully grasp the motivation for tor's setgroups(1, ...) call. Maximally limited permissions, I guess? Defense in depth?
<d1rewolf> if I "nix-shell -p python27Packages.dbus-python", then run python, and then import dbus, it works. however, if I put python27Packages.dbus-python in my configuration.nix and rebuild, even though rebuild works, "import dbus" fails. Any ideas why?
<exarkun1> d1rewolf: aren't you supposed to use `python27.withPackages`?
<d1rewolf> exarkun1: I think you're right. The nix wiki isn't as full as an example...it cuts off. but now that you mention it, I think there's something in the nixpkgs manual. thanks ;)
hotfuzz_ is now known as hotfuzz
<symphorien> ,library d1rewolf
<symphorien> hum the bot is down
<symphorien> in short, putting libraries/modules in systemPackages is unlikely to work, by design
<alex``> Hm
<alex``> If I do:
<alex``> $ nix-channel --add https://foo.bar babar
mayhewluke has quit [Ping timeout: 260 seconds]
<alex``> From /etc/nix/configuration.nix
<alex``> Can I refer to a package from it with:
<alex``> - babar.aBabarPackage
<alex``> or
<alex``> - aBabarPackage
<tilpner> Neither
<alex``> :(
mayhewluke has joined #nixos
<tilpner> (import <babar> {}).aBabarPackage may work, but it depends on the contents of https://foo.bar
<alex``> I was thinking it worked like that
<alex``> as the channel I have is 'nixos'
<alex``> and I can refer to a package with nixos.packageName or just packageName
<tilpner> That is not true
<alex``> Ah?
<tilpner> You likely have a "with pkgs;" in your configuration.nix, which allows you to do packageName
<symphorien> the default channel is called pkgs in configuration.nix
<infinisil> symphorien: My fault, having some downtime
<tilpner> But it would not work without that
<symphorien> np
<tilpner> alex`` - Your attribute paths suggest you may be talking about nix-env instead of configuration.nix. Are you?
<alex``> I don’t understand how the whole thing wokr :|
<symphorien> alex``: to use another channel, add `let babar = import <babar> {}; in` and then you can use babar.foo
<alex``> 'nixos' is the default channel?
<alex``> If I do
<alex``> nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<alex``> the packages I refer in my config will be from the unstable (GitHub master)?
<symphorien> yes
<alex``> Cool
<symphorien> again, unstable is not master
<alex``> :(
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
<symphorien> see the explanations here https://howoldis.herokuapp.com/
<alex``> I want bleeding edge
<symphorien> master may render your computer unbootable
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/409fd48e642 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<alex``> Ah
<alex``> XD
<catern> is there a setting in Nix or anything to get it to set the immutable bit on /nix/store/[hash] paths?
<symphorien> unstable is the latest commit known to pass nixos tests (ie boot)
<symphorien> (this is a simplification)
<Mic92> gchristensen: what's your workload?
<alex``> When I create a package, to get the SHA, I have to build once, and I will see that information in the output?
<symphorien> yes
<alex``> So I can make any bad value
<alex``> I just indicate the ref hash, and from that, when building, it will generate the proper SHA
<alex``> and I add it after that
<infinisil> Bot is running again :)
<infinisil> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<symphorien> the bad value must have the right length (52 chars)
<symphorien> infinisil++
<{^_^}> infinisil's karma got increased to 26
<alex``> symphorien: I never do that, but that information is where in the output when building?
<symphorien> you won't miss it. it is not hidden
<alex``> Cool :p
<Mic92> gchristensen: basically anything that will do a inode lookup (checking if a file exists or not) will be lineary decrease the performance. It will not affect the performance of open files or inodes that were previously accessed. So you probably don't want to compile stuff or unpack tarballs on the overlayfs if you have too many layers.
<{^_^}> [nixpkgs] @xeji opened pull request #47150 → virglrenderer: 0.6.0 -> 0.7.0 → https://git.io/fA5AT
<alex``> Is there a nix command to generate a basic skeleton for nix shell for example, shell.nix?
<Mic92> gchristensen: I personally have not used overlayfs too much, so not in a production environment so I cannot give you raw numbers. I wrote the zfs docker driver and end up using that. I recently benchmarked a fuse intensivly and read a good part of the overlay kernel implementation. you can try a benchmark called compilebench to get the worst-case performance.
<alex``> Like this one
<alex``> with place-holders
<symphorien> not that I know
<symphorien> there is even shorter:
<symphorien> with import <nixpkgs> {}; mkShell { buildInputs = [ gmp ]; }
<Mic92> alex``: I have something very simple that does work for me: https://github.com/Mic92/dotfiles/blob/master/home/.zshrc#L603
<alex``> Mic92: Thanks!
notlar has quit [Ping timeout: 240 seconds]
<Mic92> alex``: it also generates the direnv part, which you may or not may want to use.
<alex``> symphorien: What is the difference?
<dhess> question about something that's been bothering me for awhile: in my experience, when a NixOS service has keys.target in "wants" and "after", it will always wait for that target to fire if I'm using NixOps to deploy that host.
<symphorien> alex``: it is equivalent but shorter :)
<dhess> so then things like NSD get stuck if I've rebooted the host but not yet had a chance to `send-keys` to it
<Mic92> symphorien: is it really the same?
<alex``> symphorien: It is also used in nix build? (mkShell)?
<dhess> but I had thought that "wants" means that it only waits for some timeout, and then fires anyway, vs. "requires" which will wait indefinitely.
<dhess> Is that not the case?
<alex``> default.nix
<Mic92> symphorien: ah I see
<Mic92> alex``: as I ready this is not meant for nix-build
<Mic92> *I read
<Mic92> it explicitly disable this part
work_ has quit [Quit: Connection closed for inactivity]
<symphorien> alex``: it is the same as in "it expands to mkDerivation" https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/mkshell/default.nix#L31-L45
<alex``> I saw that configuration.nix could handle environment variables, is it a good idea to move all env from my shell to it?
<symphorien> it is a matter of taste
<Mic92> alex``: Personnally I try to put as little as possible there, because then I can be sure that my default.nix is complete. you may also see conflicts between projects.
<Mic92> sometimes build systems also pick up the wrong stuff that I did not intend to use.
<alex``> What is the purpose of "name" I see the the FAQ, for nix-shell
<alex``> it’s used for what?
<symphorien> for nix-shell it is ignored
<symphorien> this is why mkShell does not ask you to provide it
<Mic92> alex``: it is only used for nix-build to compute the store path name
<alex``> Oh
<Mic92> for my personal projects I often re-use the default.nix for both building and nix-shell.
sanscoeu_ has joined #nixos
<{^_^}> [nixpkgs] @va1entin opened pull request #47151 → youtube-dl: 2018.09.10 -> 2018.09.18 → https://git.io/fA5xY
<alex``> so for nix-shell, stdenv.mkDerivation will yield if I do not give him "name"?
<alex``> even if it not use it
<symphorien> no mkDerivaton requires a name
<Mic92> yes and nix-shell still evaluates it
<alex``> Got it
<alex``> symphorien: Thanks for pointing me the source of mkshell
<jasom> So, there's a program I use that isn't in nix; I wrote an expression for it and currently use it in an overlay. I don't currently have the time to commit to maintaining it. Should I make a PR?
<alex``> where mkShell is defined?
sanscoeur has quit [Ping timeout: 260 seconds]
<alex``> I don’t see mkShell reference in the source
<Mic92> alex``: nix edit nixpkgs.mkShell
<alex``> I was thinking it were mkshell
<alex``> not mkShell
sanscoeu_ has quit [Ping timeout: 245 seconds]
<alex``> as it’s lowercase in the path mkshell/default.nix
<Mic92> jasom: an alternative would be to put it in NUR: https://github.com/nix-community/NUR
<{^_^}> [nixpkgs] @Mic92 merged pull request #47106 → cpan2nix updates → https://git.io/fA7Fj
<{^_^}> [nixpkgs] @Mic92 pushed 37 commits to staging: https://git.io/fA5pe
<jasom> Mic92: TIL. Interestingly enough the program is already in a NUR
<{^_^}> [nixpkgs] @xeji opened pull request #47152 → nixos/tests/hound: fix non-deterministic failure → https://git.io/fA5p3
<Mic92> jasom: checkpot, if you have improvements, you can contribute it and let other people maintain it :)
infinisil has quit [Quit: WeeChat 2.2]
<Mic92> *jackpot
<Mic92> my brain does weird things
abueide has quit [Ping timeout: 260 seconds]
ambro718 has quit [Quit: Konversation terminated!]
orivej has joined #nixos
notlar has joined #nixos
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #46274 → libratbag: init at v0.9.903 → https://git.io/fAz8g
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fA5hs
infinisil has joined #nixos
notlar has quit [Ping timeout: 244 seconds]
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
trcc has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #47153 → Link `fr-toutesvariantes.dic` to `fr_FR.dic` to `hunspellDict.fr-any` → https://git.io/fA5jy
<alex``> Is there a command for:
<alex``> $ cd path/to/package/; nix-build --expr 'with import <nixpkgs> { }; callPackage ./default.nix { }'
<alex``> I get this error if I try nix-build
<alex``> > error: cannot auto-call a function that has an argument without a default value ('stdenv')
<{^_^}> error: syntax error, unexpected $undefined, at (string):195:82
<elvishjerricco> alex``: There is not, but you can kinda simulate it by making your file look like `{ pkgs ? import <nixpkgs> {}; stdenv ? pkgs.stdenv, ... }: ...`. That'll work with both `callPackage` and a plain `nix-build`
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3748c250bbf (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hitchhikingcoder has joined #nixos
jtojnar_ has quit [Quit: jtojnar_]
hitchhikingcoder has quit [Remote host closed the connection]
joseph-gl has joined #nixos
hitchhikingcoder has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
ambro718 has quit [Quit: Konversation terminated!]
grp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47151 → youtube-dl: 2018.09.10 -> 2018.09.18 → https://git.io/fA5xY
<{^_^}> [nixpkgs] @xeji pushed commit from @va1entin to master « youtube-dl: 2018.09.10 -> 2018.09.18 (#47151) »: https://git.io/fAdfm
redj has quit [Ping timeout: 252 seconds]
camsbury has quit [Ping timeout: 246 seconds]
abueide has joined #nixos
Fare has quit [Ping timeout: 272 seconds]
tertl3 has joined #nixos
justan0theruser has joined #nixos
sir_guy_carleton has joined #nixos
silver_ has joined #nixos
orivej has joined #nixos
silver has quit [Ping timeout: 244 seconds]
jedahan has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @ck3d opened pull request #47154 → nixos lircd: fix deletion of lircd socket → https://git.io/fAdJ4
<{^_^}> [nixpkgs] @jtojnar pushed 145 commits to gnome-3.30: https://git.io/fAdJR
Thra11 has quit [Ping timeout: 252 seconds]
hitchhikingcoder has quit [Quit: hitchhikingcoder]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/93408aecc4a (from 66 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @dtzWill merged pull request #46988 → range-v3: 0.3.6 -> 0.3.7 → https://git.io/fAQ2p
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fAdJj
Fare has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
hamishmack has quit [Read error: Connection reset by peer]
funkmybios has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 246 seconds]
funkmybios has quit [Ping timeout: 256 seconds]
Anton-Latukha has quit [Quit: Leaving.]
erasmas has quit [Quit: leaving]
NightTrain has joined #nixos
booglewoogle has left #nixos ["Leaving"]
<catern> heh
<catern> I'm currently working on replacing a proprietary package manager/build system/deployment system at $DAYJOB with Nix, and someone had an idea which I think is pretty good, if totally weird from a Nix point of view
<catern> to support incremental rollout, start off with only providing Nix dependencies at build time
<catern> then you don't have to deploy Nix to all your production hosts, just to your build servers and developer machines
<catern> now this obviously severely limits what you can use through Nix, but it at least lets you get, e.g., patchelf and gcc through Nix
<clever> catern: the ELF files nix will produce refer to /nix/store/ and will break when copied to another machine manually
<catern> (I think, anyway, about gcc?)
<catern> clever: no, not if you don't take any library dependencies
brejoc has quit [Ping timeout: 252 seconds]
<clever> even the ld.so in dynamic elf files is in the nix store
<catern> sorry, to be clear, these builds won't take place in a Nix sandbox, they'll be in nix-shell
kyren has quit [Ping timeout: 240 seconds]
<clever> nix-shell products still refer to the store in the same way
<clever> but lack GC roots, so they can even break locally if you garbage collect
<catern> clever: okay but you can use the patchelf from Nix to patch ELF files and it doesn't create any dependency on the Nix store in the ELF file
<clever> yeah, you can use patchelf to un-nix the files
<catern> I understand what you're saying
<clever> the nixos initrd is even doing a form of that
<clever> rather then depend on all of glibc in the initrd, it copies libc.so to a new derivation
<catern> But what I'm saying is that if you avoid getting your runtime deps from Nix, and instead get only deps from Nix that are fine to disappear at runtime
kyren has joined #nixos
<clever> and runs patchelf on all files, to point them to that new derivation
<catern> Then everything is fine
<clever> which discards a lot of the trash not needed in an initrd
<catern> Don't you agree? (it's kind of axiomatically true)
<clever> the nix provided gcc has been modified to not look in /usr/lib and friends
<clever> so it wont use non-nix libraries
<catern> Sure but you can override that with command line arguments, right?
<clever> probably
<catern> So this will completely work
<catern> And it's very convenient for an incremental migration from this crappy system
mizu_no_oto has joined #nixos
<catern> (which currently provides patchelf and gcc itself, but will now use patchelf and gcc from Nix instead)
DigitalKiwi has quit [Ping timeout: 246 seconds]
lassulus has quit [Ping timeout: 246 seconds]
<catern> like essentially what I'm talking about is making a nix-shell that has gcc and patchelf on the PATH, and then running the completely normal build and deploy process from there
<catern> replacing the gcc and patchelf that the build system itself usually provides
echel0n_ has quit [Quit: WeeChat 2.0]
<catern> Does that make sense? Doesn't it sound like a good incremental step, if an unintuitive one?
georges-duperon has quit [Ping timeout: 252 seconds]
<clever> catern: it may work
jluttine has quit [Ping timeout: 252 seconds]
<samueldr> catern: make sure to take plenty of notes, and transform that into an interesting blog posts series or a talk :)
lassulus has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed 5 commits to master: https://git.io/fAdLE
jperras has joined #nixos
jedahan_ has joined #nixos
nullp0tr has joined #nixos
brodul has quit [Ping timeout: 240 seconds]
jtojnar has quit [Remote host closed the connection]
Fare has joined #nixos
jtojnar has joined #nixos
mayhewluke has quit [Ping timeout: 260 seconds]
<avn> catern: is a lot of variants to compose prodiction system from nix store (on build host) -- look how dockerTools or other similiar stuff works.
jedahan has quit [Ping timeout: 252 seconds]
<infinisil> clever: Do you happen to know how to get a debug build of ZFS?
<infinisil> My pool is hosed for some inexplicable reason..
mayhewluke has joined #nixos
<clever> infinisil: nope, but i have used zdb a bit, one min
<clever> infinisil: zdb -l /dev/mapper/root
<clever> infinisil: that shows metadata about a vdev, even if you dont import it
<clever> ive even used it to inspect vdev's i have entirely removed from the pool
<infinisil> clever: Yeah, checked that out already: http://ix.io/1nee
<infinisil> Don't think there's anything wrong with that
<infinisil> And here's zpool import -f main: http://ix.io/1ned
<infinisil> Um, just zpool import I mean
jedahan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> zpool import -f main gives "cannot import main: one or more devices is currently unavailable"
<infinisil> /dev/sda4 is totally available though..
<clever> infinisil: what about with -Fn ?
<infinisil> No output
<infinisil> Removing the -n: "internal error: invalid exchange\n Aborted"
<infinisil> Which sounds pretty bad..
<clever> -F forces it to import
<clever> more strongly then -f
jedahan has joined #nixos
<clever> what version of zfs did you previously run?
<infinisil> unstable, but I recently updated nixpkgs, so probably a newer unstable
<clever> did you hear about the 0.7.10 issue?
<infinisil> Downgrading doesn't help though
<infinisil> Yeah I did hear about some 7.10 issue, doubt it's that though
<clever> all i can think of then is to head off to #zfs or #zfsonlinux
<infinisil> Already there, they told me how to get a debug build, but didn't know anything else either
<clever> id checkout a copy of nixpkgs matching nixos-version, and then just edit the expression to add --enable-debug
<infinisil> Already did :)
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<infinisil> Hoping I can just run it with gdb then and have some more informative things
<{^_^}> [nixpkgs] @xeji opened pull request #47155 → nixos/tests/installer: prevent race between parted and udev → https://git.io/fAdqs