gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @disassembler merged pull request #49302 → jbake: 2.6.2 -> 2.6.3 → https://git.io/fxHCK
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to master « jbake: 2.6.2 -> 2.6.3 (#49302) »: https://git.io/fxHVI
<{^_^}> [nixpkgs] @disassembler merged pull request #49299 → inboxer: 1.1.5 -> 1.2.1 → https://git.io/fxHc2
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to master « inboxer: 1.1.5 -> 1.2.1 (#49299) »: https://git.io/fxHVt
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #49293 → libressl_2_8: 2.8.1 -> 2.8.2 → https://git.io/fxHGc
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to master « libressl_2_8: 2.8.1 -> 2.8.2 (#49293) »: https://git.io/fxHVC
<{^_^}> [nixpkgs] @disassembler merged pull request #49292 → libdrm: 2.4.94 -> 2.4.96 → https://git.io/fxHGe
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to staging « libdrm: 2.4.94 -> 2.4.96 (#49292) »: https://git.io/fxHVl
<{^_^}> [nixpkgs] @disassembler merged pull request #49281 → libqmatrixclient: 0.3.0.2 -> 0.4.0 → https://git.io/fxHOo
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to master « libqmatrixclient: 0.3.0.2 -> 0.4.0 (#49281) »: https://git.io/fxHVB
<{^_^}> [nixpkgs] @disassembler merged pull request #49205 → pgroonga: 2.1.3 -> 2.1.6 → https://git.io/fx9Mx
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to master « pgroonga: 2.1.3 -> 2.1.6 (#49205) »: https://git.io/fxHVE
aristid has quit [Ping timeout: 250 seconds]
aristid has joined #nixos
init_6 has joined #nixos
emily has quit [Ping timeout: 252 seconds]
hyperfekt has quit [Ping timeout: 256 seconds]
emily has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
Mateon3 has joined #nixos
drakonis1 has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
sir_guy_carleton has joined #nixos
iyzsong has joined #nixos
adamantium has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #49318 → quaternion: 0.0.9.2 -> 0.0.9.3 → https://git.io/fxHwR
drakonis_ has quit [Ping timeout: 264 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos
init_6 has quit [Ping timeout: 252 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
sigmundv has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @wykurz opened pull request #49319 → Add wykurz to maintainers → https://git.io/fxHrt
lassulus_ has joined #nixos
jperras has joined #nixos
jperras has quit [Client Quit]
<__red__> anyone got the url handy for the bot that shows the current state of nixchannels in hydra?
<__red__> sorry - I lost it
<colemickens> __red__: this https://howoldis.herokuapp.com/ ?
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<__red__> yup
<__red__> perfect - thanks!
<{^_^}> [nixpkgs] @roberth merged pull request #49231 → Fix higan typo → https://git.io/fx9AQ
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fxHrV
drakonis_ has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
drakonis1 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #49315 → vlc: shrink runtime closure size by removing CONFIGURE_LINE → https://git.io/fxHgW
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fxHrQ
worldofpeace has quit [Ping timeout: 276 seconds]
<Church-> Hey question, with services like nginx and mariadb, do they only search in the paths localized to their nix store path? Or do they fall back to /etc/ too?
drakonis_ has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
aleph- has joined #nixos
strobelight has quit [Quit: gtg]
drakonis_ has joined #nixos
<aleph-> Christ, I want to slit vlc's imaginary throat.
<aleph-> Sigh
<{^_^}> [nixpkgs] @benpye opened pull request #49320 → miniflux: init at 2.0.12 → https://git.io/fxHoA
<bpye> Woo, first PR :)
<aleph-> gg
<bpye> What's wrong with VLC?
<slack1256> Some ...forums on the internet have an irrational hate for it.
<aleph-> bpye: Chromecast rendering support doesn't work.
<aleph-> And it's driving me batty, since it fails for chromium too, but for different reasons I suspect
<aleph-> Since gnomecast works with firewall disabled.
<bpye> Oh I see, isn't it's Chromecast support reverse engineered anyway?
<bpye> My point being I think it might be Google's fault
lassulus_ has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
<aleph-> bpye: Works on other distros
drakonis_ has joined #nixos
<aleph-> Only failing on Nix currently.4
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
<colemickens> Actually Chromecast broke in Google Chrome for me as well.
<colemickens> It had been working fine in `google-chrome-*` but never in Chromium (I assume it has something to do with the Chromecast keys, but I thought they were only needed in the receiver side). Anyway, it doesn't work in VLC in NixOS for me either. Looks like it's working in Windows+VLC though
jasongrossman has quit [Ping timeout: 252 seconds]
ryantrinkle has quit [Ping timeout: 240 seconds]
<colemickens> If I disable the NixOS firewall then Chrome works, Chromium/VLC still don't though.
<colemickens> Looks like VLC is built with libupnp, which I think is what Chromecast uses for discovery.
<colemickens> or maybe it uses mdns, I can't remember.
drakonis1 has joined #nixos
drakonis2 has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
jasongrossman has joined #nixos
drakonis1 has quit [Ping timeout: 252 seconds]
dramforever has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jasongrossman has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 272 seconds]
dramforever has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.2]
sveitser has joined #nixos
drakonis has joined #nixos
<drakonis> hm, i can't seem to be able to change my kde default settings
init_6 has joined #nixos
<drakonis> systemsettings5 doesn't change settings
<Lisanna> hmm
<drakonis> any advice?
<Lisanna> looking in nixpkgs it looks like only "setPhase" is used
<Lisanna> for the secret NIX_LOG_FD stuff
<Lisanna> but there's a bunch of other ones here...
<Lisanna> *eyes "result"*
<drakonis> okay, so i have some software that requires pipenv to build
Lisanna has quit [Quit: Lisanna]
<{^_^}> [nixpkgs] @shlevy pushed to master « nixUnstable: 2.1pre6377_954d1f4d -> 2.2pre6520_18b4c53f »: https://git.io/fxHi2
slack1256 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to master « nix-plugins: 5.0.0 -> 6.0.0 »: https://git.io/fxHi5
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<Lisanna> ugh I wish I could actually read C++
o1lo01ol1o has quit [Ping timeout: 264 seconds]
lopsided98 has quit [Ping timeout: 252 seconds]
<bsima> so, the python instructions in the manual don't really work...?
<GlennS> bsima: I may able to help, what are you trying to do?
lopsided98 has joined #nixos
<bsima> include this as a dependency https://github.com/portfoliome/foil
<bsima> it's on pypi but not nixpkgs
<bsima> is this a good example to work from? shows best practices? https://github.com/AppEnlight/appenlight/blob/master/default.nix
Rusty1 has quit [Quit: Konversation terminated!]
<aleph-> Lisanna: Don't worry, few can
<aleph-> Such a stupid language syntax wise
aleph- has quit [Quit: WeeChat 2.2]
aleph- has joined #nixos
<Lisanna> so if I dump something to NIX_LOG_FD with the prefix @nix, it'll get handled here? https://github.com/NixOS/nix/blob/6924bdf2bf8f50f2e6ec5d490571594450aba13a/src/libstore/build.cc#L3426
<Lisanna> well, regardless of the prefix I guess, but as long as it's going to that FD, it'll get processed in that loop?
<Lisanna> (so, e.g, if I want to add my own handler, I'd put it in there?)
<Lisanna> aleph- well, fortunately the nix C++ code seems to be written pretty well, I can usually puzzle out what's going on
<Lisanna> well enough to make crude hacks on top of it, anyways :)
<drakonis> i'm on a freespace 2 kick and i want to get knossos working
<Lisanna> the patches stdenv.mkDerivation attribute is my favorite attribute to override :)
<Lisanna> can just add random hacks to any program I want
<Lisanna> so awesome
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bsima> why is it that when I do "propogatedBuildInputs = [ pandas ]" I can't "import pandas" after getting into a nix-shell?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cbcd5aa0855 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<bsima> it seems 'buildPythonPackage' doesn't expose an env for the package
<bsima> so I have to use 'python36.withPackages ...'
<bsima> the 'foil' package isn't building though, it says "not a supported wheel on this platform"
revtintin has joined #nixos
<bsima> is there a way to automatically generate a 'buildPythonPackage' expression from a pypi package?
<{^_^}> [nix] @shlevy closed pull request #2163 → builtins.path: Don't force the path argument if it's in the store. → https://git.io/vp5GH
drakonis has quit [Quit: WeeChat 2.2]
sigmundv__ has quit [Ping timeout: 252 seconds]
adamantium has quit [Remote host closed the connection]
aleph- has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @rvl opened pull request #49322 → electrum: fix sha256 for 3.2.3 → https://git.io/fxH1i
jasongrossman has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
jasongrossman has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Izorkin has joined #nixos
dramforever has joined #nixos
<dramforever> I think there was a section in the Nix manual called 'Binary cache format and operation'
<dramforever> But it's apparently... gone?
<dramforever> So. Where can I get the latest documentation on 'Binary cache format and operation'?
jasongrossman has joined #nixos
alex`` has joined #nixos
<sphalerite> dramforever: it seems to have been removed along with nix-push
<sphalerite> shlevy: was that intentional?
<dramforever> I'm sure it was there in February
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<sphalerite> dramforever: yeah it was removed quite a while ago (Aug 2016) but the change didn't actually take effect until the 2.0 release
<sphalerite> It's still available in the old manual :)
<dramforever> Cool
<dramforever> I almost went to the source code: https://github.com/NixOS/nix/blob/master/src/libstore/nar-info.cc
<dramforever> sphalerite: Thanks :)
<clever> dramforever: ive also memorized how it works, and never knew it was in the docs, lol
<jophish> What 'fetch*' command should I use to unpack a tarball?
<clever> jophish: does it have to be unpacked in the store, or just at build time?
<jophish> clever: I'd like for it to be unpacked in the store
<clever> fetchzip can do that then
<jophish> I believe that if I put a tarball in the 'src' attribute it's unpacked
<jophish> oh, grat
<jophish> great*
<jophish> thanks again clever
<clever> its a bit poorly named, fetchzip is just a modified form of fetchurl, that has added zip support, and will auto-unpack
<clever> the reason it auto-unpacks, is because a lot of libraries for generating a zip include wildly varying timestamps, and then the hash of your zip keeps changing, so nix cant work
<clever> so it instead unpacks, and operates on the hash of the files within
<dramforever> This seems still undocumented: Is store-paths.xz the closure of a channel's packages?
<jophish> clever: are you sure fetchzip works with gzipped tarballs?
<dramforever> Or just the packages themselves...?
<jophish> I've prefetched the file with nix-prefetch-url --unpack
<clever> jophish: yeah
<jophish> hmm
<jophish> I'll try with stripRoot
<jophish> ah, much better
<jophish> thanks!
<{^_^}> [nixpkgs] @clefru opened pull request #49323 → nix-deploy: 1.0.2 -> 1.0.3 → https://git.io/fxHD4
<clever> jophish: ah yeah, all of the unpack stuff assumes its a tar/zip with a single rootdir
<clever> i hate those other ones, they make a total mess of your downloads folder
<dramforever> I think nautilus has a 'smart unpack here'
<dramforever> Unpacking happens in a separate dir first
<dramforever> But if it's just one directory inside, nautilus moves it out
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #49322 → electrum: fix sha256 for 3.2.3 → https://git.io/fxH1i
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxHD6
<ekleog> was there some kind of trick to run nix-channel --update in a VM? I've checked my store does have an overlayfs and I have virtualization.writableStore = true; :/
<clever> ekleog: and does nix-channel --list show it as having a channel?
<clever> ekleog: which user are you on?
<ekleog> clever: I'm running `sudo nix-channel --update` ; `sudo nix-channel --list` returns nixos <-> channel:nixos-18.09, like my host
<clever> and does --update fail or suceed?
jtojnar has joined #nixos
<ekleog> fail with “getting attributes of path /nix/store/[...]-unpack-channel.sh: No such file or directory” (which I can confirm doesn't exist)
<clever> does it exist on the host?
<ekleog> neither
<clever> *looks*
<ekleog> I'm having the VM with a nix.package = pkgs.nix.overrideAttrs (a: { patches = [ ... ]; }); maybe that has an impact? it really shouldn't make a file disappear, though
<ekleog> (testing a patch to the nix-daemon is my reason to spawn said VM)
<clever> ekleog: is this on master?
<ekleog> (can continue in PM if you want details about the patch)
<ekleog> no, it's the pkgs.nix from nixos-18.09
<clever> nix should build it when you refer to <nix/unpack-channel.nix>, which nix-channel does internally
<clever> can you test builtins.toFile in `nix repl` ?
<ekleog> on the VM: “cannot link '/nix/store/.tmp-link-1413-[...]' to '/nix/store/.links/[...]': Operation not permitted”
<clever> ekleog: is auto-optimize on?
<ekleog> (same when I run it as root)
max3raza has quit [Ping timeout: 244 seconds]
<ekleog> yeah, I just imported the configuration from my laptop and added virtualisation.{memorySize,diskSize,writableStore} and nix.package options
bollu has quit [Quit: Ping timeout (120 seconds)]
jcrben has quit [Ping timeout: 244 seconds]
<clever> ekleog: try turning off auto-optimize and seeing if that helps
jcrben has joined #nixos
bollu has joined #nixos
jw358 has quit [Ping timeout: 244 seconds]
johnnyfive has quit [Ping timeout: 244 seconds]
Enzime has quit [Ping timeout: 244 seconds]
leothrix has quit [Ping timeout: 244 seconds]
Cheery has quit [Ping timeout: 244 seconds]
lejonet has quit [Ping timeout: 244 seconds]
primeos has quit [Ping timeout: 244 seconds]
tylerjl has joined #nixos
julm has quit [Ping timeout: 244 seconds]
silver_hook has quit [Ping timeout: 244 seconds]
jeaye has quit [Ping timeout: 244 seconds]
troydm has quit [Ping timeout: 272 seconds]
<ekleog> oooh yeah maybe hardlinks are ill-supported by overlayfs
Cheery has joined #nixos
primeos has joined #nixos
julm has joined #nixos
troydm has joined #nixos
redj has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
<ekleog> clever: so with auto-optimize off it manages to `builtins.toFile`, but now nix-channel --update fails with not finding /nix/store/[...]-nixos-18.09.[...].[...].drv
<ekleog> which, indeed, exists neither on the host nor on the guest
max3raza has joined #nixos
<clever> not sure on what one, anything obvious if you add -vvvv ?
silver_hook has joined #nixos
<ekleog> knowing there is a warning: “nix search path entry /nix/var/nix/profiles/per-user/root/channels does not exist, ignoring”, which I assume is normal given it's exactly what I'm trying to make it download
<ekleog> (looking into -vvvv)
<jophish> Hmm, I'm trying to boot nixos on a de10-nano fpga (it has an arm core)
<jophish> however the boot hangs in stage 1
<jophish> without any obvious errors
grenade has quit [Ping timeout: 264 seconds]
jeaye has joined #nixos
<dramforever> 'This seems still undocumented: Is store-paths.xz the closure of a channel's packages?'
<dramforever> Answer: No.
<jophish> I'm not quite sure about how to debug this, is there some kind of super verbose boot I can do?
lejonet has joined #nixos
<ekleog> clever: so the nixos-18.09.[...].[...] part of the .drv path failing appears to be the same as in https://releases.nixos.org/nixos/18.09/nixos-18.09-[...].[...]/binary-cache-url ; apart from that I don't see anything looking like an error :/
Mateon1 has quit [Remote host closed the connection]
<ekleog> dramforever: if you think this should be documented, can you open an issue to nixpkgs with the information? (or even better, a PR :))
Mateon1 has joined #nixos
<clever> jophish: i dont see any obvious signs its actually running stage1 or stage2, yet udev somehow loaded
<dramforever> ekleog: Maybe. But apparently I just tasked myself to set up a cache.nixos.org mirror. There's way more to document than just that.
<clever> jophish: my only thoughts are to add a -v to the #! line, and maybe set -x, then boot that new image
<ekleog> dramforever: oh if you can document the whole process it'd be really great indeed :)
<jophish> oh right, this is before stage1
<dramforever> And it would be great if I could avoid using Nix itself
<dramforever> Because I don't maintain the servers
<clever> jophish: line 67 of the above file prints the stage1 header
grenade has joined #nixos
<clever> jophish: everything prior to that is just setting env vars and testing for files in the initrd, nothing that should hang
Izorkin has quit [Ping timeout: 240 seconds]
<dramforever> So using Nix would probably mean a docker image :(
<jophish> clever: which file?
<{^_^}> [nixpkgs] @jtojnar merged pull request #49319 → Add wykurz to maintainers → https://git.io/fxHrt
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxHyg
<clever> oh, somehow didnt link it
<jophish> thanks
<dramforever> I feel like most of Nix's text files are designed for easy program consumption
<dramforever> ...But then there are the base32 sha256 hashes
<clever> dramforever: the nix-hash program can convert between hash types
<dramforever> Which, for some reason, uses [0-9a-z] sans [eotu]
<clever> dramforever: and nix itself accepts both base64 and base32
<jophish> the annoying thing is I'm sure I bumped into this issue before for the arria10 board
jtojnar has quit [Quit: jtojnar]
<jophish> actually, I was using a custom kernel for that
jtojnar has joined #nixos
<jophish> clever: I just remembered, I don't have a root fs here at the moment
<jophish> that shouldn't cause problems at this stage though I think
<clever> yeah
<clever> it should at least print a stage-1 banner before failing
<clever> but somehow, lvm is showing up in dmesg?
<clever> jophish: oh, your console='s
<jophish> well, I've got a root partition
<jophish> but no content
<clever> try removing the ones at the end, one at a time
siraben has left #nixos ["User left"]
<clever> i suspect console=tty0 is directing the stage-1 banner to the hdmi output, if it even has drivers
<dramforever> clever: Using non-'standard' tools requires a docker image
<dramforever> I agree that it's not a good idea to install random programs on their server
<clever> jophish: it looks like only ttyS0 and ttyS1 are working
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
<clever> jophish: so most of those others arent helping any, and the tty0 line may send the stage-1 elsewhere
Baughn has joined #nixos
tilpner has quit [Quit: :wq]
<dramforever> I might be able to use python
<jophish> right
makergrl has quit [Ping timeout: 244 seconds]
<jophish> ++clever! <<< NixOS Stage 1 >>>
<jophish> now it can't find NIXOS_ROOT, which is what I was expecting
<jophish> I don't quite understand why this happened, I though that the output was multiplexed to all the 'console' arguments
<clever> yeah, when you duplicate console=, the printk's go to all, but /dev/tty and the output your expecting only goes to the last
<dramforever> Eh, seems like base32 has a different endianness
tilpner has joined #nixos
<clever> dramforever: you could just use base64 everywhere?
<clever> dramforever: since nix accepts that
<dramforever> clever: But mirroring cache.nixos.org without any nix tools seems very feasible!
Izorkin has joined #nixos
<dramforever> I know I can't just shell it all the way at this point
<gchristensen> cache.nixos.org is a simple http server
<dramforever> Verifying downloads requires parsing base32 hashes
<dramforever> Or ed25519 signatures *and* base32 hashes
redj has joined #nixos
<dramforever> Oh no sorry I know what you mean
<dramforever> The server team I contacted said they won't run servers
<dramforever> Damn
<dramforever> The server team I contacted said they won't run proxies
<dramforever> I will have to know which files to download, and actually download them
<{^_^}> [nixpkgs] @basvandijk closed pull request #49323 → nix-deploy: 1.0.2 -> 1.0.3 → https://git.io/fxHD4
<Myrl-saki> There's a systemd vuln. rip..
elgoosy has joined #nixos
elgoosy has quit [Remote host closed the connection]
elgoosy has joined #nixos
<jophish> gchristensen: could we add 'extra-platforms armv7l-linux' to the aarch64 server, please?
<clever> jophish: i'm not sure the machine actually has v7 support
vcunat has joined #nixos
<jophish> clever: I've been doing a bunch of v7 builds on it and it seem to be working
<clever> ah
<jophish> it requires patching the bootstrap tools and uname
<jophish> clever: can not-os be cross compiled?
<clever> jophish: possibly, i have some basic support for it in there, but havent gotten it fully working due to various bugs
<jophish> It would be very handy :)
<jophish> I'd like to see about getting not-os running on the board I have here
<{^_^}> [nixpkgs] @adisbladis opened pull request #49324 → binutils: 2.30 -> 2.31.1 → https://git.io/fxHSb
o1lo01ol1o has joined #nixos
<clever> jophish: using a combination of localSystem and something else, you can rig up cross-compiling
<clever> the tricky part, is getting host deps in the right spots, so you can copy files and assemble the image without an arm device
<clever> jophish: console=tty0 is still present, so the true cause isnt visible
<jophish> oh, I thought I'd removed that
<jophish> oh, I see
<jophish> good spot
<jophish> clever: thanks for that, I see the issue now, NIXOS_BOOT and NIXOS_ROOT were out of sync
<jophish> need to wait until the arm machine is back before I can rebuild
<gchristensen> arm machine should be back :eyes:
<jophish> ah, yes
<jophish> host key changed
<gchristensen> it did?
<jophish> yeah
<gchristensen> it should not have
<jophish> SHA256:GQKqkEeHG2T8H+N4b8Yr/di6TqdqnEvZaFVbamdRr/Y.
<jophish> is what it is now
<gchristensen> please hold ...
orivej has joined #nixos
dramforever has quit [Quit: Page closed]
vidbina has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @roberth merged pull request #49056 → scalafix: init at 0.9.0 → https://git.io/fx1xC
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fxH94
<gchristensen> can I build a new squashfs image before the server finishes rebuilding? let's find out...
<gchristensen> no, I lost the race :(
periklis has joined #nixos
Ariakenom has joined #nixos
periklis has left #nixos [#nixos]
periklis has joined #nixos
<gchristensen> jophish: should be good now
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<jophish> thanks, gchristensen
<jophish> gchristensen: could we add 'extra-platforms armv7l-linux' to the aarch64 server's config?
<gchristensen> jophish: I think so, send a PR to http://github.com/nix-community/aarch64-build-box and request a review from sphalerite :)
<gchristensen> rather, request a review from lheckemann which is sphalerite 's github handle
<jophish> cool, thanks!
<jluttine> can i somehow easily open a nix-shell that has the environment used in package checkphase?
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #49177 → libgcrypt: 1.8.3 -> 1.8.4, drop included patch \o/ → https://git.io/fx9mY
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « libgcrypt: 1.8.3 -> 1.8.4, drop included patch \o/ »: https://git.io/fxHHU
<{^_^}> [nixpkgs] @vbgl opened pull request #49325 → reason: 3.3.3 -> 3.3.7 → https://git.io/fxHHm
<GlennS> bsmi: sorry, I got distracted. There is a thing called `pypi2nix` which sounds like what you need?
<{^_^}> [nixpkgs] @roberth merged pull request #48744 → lib.isStorePath: fix `false` result when given a path object → https://git.io/fxoXc
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fxHHl
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49326 → nixos/installation-device: set GC initial heap size to 1MB → https://git.io/fxHH4
jasongrossman has quit [Ping timeout: 252 seconds]
jtojnar has quit [Remote host closed the connection]
thc202 has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @ookhoi opened pull request #49327 → tmux-2.7-2.8 - fix tmux sha256 hash → https://git.io/fxHHP
concave has quit [Ping timeout: 272 seconds]
_kwstas has joined #nixos
<bpye> Do I need to do anything to get a new package PR reviewed or should I just wait until someone looks over it?
<rawtaz> thats a good question. i dont know what the general expectationsa re
<rawtaz> are*
<srhb> Normally putting the PR up is just fine. if it gets no attention, try finding someone who's a good candidate for reviewing, or ping this channel. :)
lord| has quit [Quit: WeeChat 2.2]
lord| has joined #nixos
<rawtaz> how long do you think it makes sense to wait before pinging srhb ?
pie_ has quit [Ping timeout: 252 seconds]
johnw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @joachifm merged pull request #46330 → nixos/wavemon: create module → https://git.io/fAgra
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxHQO
_kwstas has quit [Quit: _kwstas]
<samueldr> ,pr
<{^_^}> 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
<rawtaz> s/complain/notify/
jtojnar has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49328 → [18.09] installation-device: set GC initial heap size to 1MB → https://git.io/fxHQa
<{^_^}> [nixpkgs] @jtojnar merged pull request #49310 → gtest: Add pkgconfig support → https://git.io/fxHR0
<{^_^}> [nixpkgs] @jtojnar pushed commit from @periklis to master « gtest: Use native cmake/ninja builder »: https://git.io/fxHQ6
Izorkin has quit [Ping timeout: 252 seconds]
dramforever has joined #nixos
o1lo01ol1o has joined #nixos
steveeJ has joined #nixos
<steveeJ> does nixos-install respect NIXOS_CONFIG?
<Taneb> Today's project: dwarf fortress in textmode in nixpkgs
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @sephalon opened pull request #49329 → fmt: minor refactor → https://git.io/fxH7f
<{^_^}> [nixpkgs] @sephalon opened pull request #49330 → fstrcmp: init at 0.7 → https://git.io/fxH7T
__monty__ has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Mic92 opened pull request #49331 → pijul: 0.8.0 -> 0.10.0 → https://git.io/fxH70
Izorkin has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ekleog opened pull request #49332 → mdadm: 4.0 -> 4.1 → https://git.io/fxH7K
<steveeJ> self answer: nixos-install respects NIXOS_CONFIG
<{^_^}> [nixpkgs] @Quarantinex opened pull request #49333 → Update README.md → https://git.io/fxH7y
adamantium has joined #nixos
<lassulus> Uh does dwarf fortresd in text-mode mean I can play via ssh?
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @markuskowa closed pull request #49333 → Update README.md → https://git.io/fxH7y
<dramforever> I'm (still) trying to mirror cache.nixos.org. How can I get a list of 'most useful' store paths?
<r5d> lassulus: yes
<dramforever> One way is to go into the channels and use store-paths.xz, but (sadly) that does not contain the closure, so it requires a traversal
<r5d> need to set print-mode to text
<jophish> clever: would you be able to help me a little bit with building not-os (for armvl on the aarch64 machine). I'm trying to get a rootfs image and a kernel and command line (or extlinux config)
<tilpner> dramforever - A mirror could easily contain all of store-paths, it's not that muchd
<tilpner> dramforever - If you want to mirror only what you need, how about printing your system closure and mirroring just that?
<dramforever> All store paths or all of store-paths.xz?
<tilpner> All of store-paths.xz
<tilpner> IIRC it's about 70GB
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tilpner> (In .nar.xz form, not extracted)
<dramforever> We have quite a bit of disk space and bandwidth. That's not a big problem
<dramforever> I'm trying to build a general mirror. Intention is that anyone close to us and use nix can use it as a replacement for cache.nixos.org
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<dramforever> tilpner: Is all of store-paths.xz a closure? I checked nixos-18.09-small and it seems that some paths has references not listed in nixos-18.09-small/store-path.xz
<tilpner> I don't know how it is generated
<tilpner> Although if you want it to be a general-purpose mirror, you might want to mirror a lot more than just one version of nixpkgs artifacts, and that could quickly become TBs
<jophish> clever: ah, dist_test looks like what I want
<clever> jophish: yep
<jophish> I'm racing building not-os and nixos, I'll put on whatever's done first
Thra11 has quit [Ping timeout: 240 seconds]
<jophish> nix build --extra-platforms armv7l-linux -f release.nix dist_test --arg supportedSystems2 '["armv7l-linux"]'
fendor has joined #nixos
<clever> jophish: i think thats a native arm build, not a cross
<clever> i did have my hydra building that on an rpi, but it hasnt been booting reliably lately
periklis has quit [Ping timeout: 276 seconds]
<jophish> clever: are you sure, because at the moment it's 'waiting on locks or build slots' while the nixos build (armv7l) is proceeding
<clever> jophish: that can happen if you hit the max-jobs on nix.conf, or are depending on something another nix cmd was already building
<jophish> yeah, I think it's the latter
<jophish> they both depend on some armv7l package
justbeingglad has joined #nixos
<jophish> at the moment the nixos builder is on armv7 perl
<clever> sadly, not-os depends on perl at runtime
<dramforever> tilpner: TBs doesn't sound *too* bad
<dramforever> I feel like we could use a cache eviction strategy to get rid of too old .nar.xz files
<dramforever> If anyone wants them just go back to the definitive cache.nixos.org
mayhewluke has quit [Ping timeout: 246 seconds]
<jophish> clever: oh, why's that?
<dramforever> How fast does the binary cache grow then?
<dramforever> I feel like someone behind the s3 buckets know this...
<nh2> Are there written-down guidelines on what I should do as a new commiter before merging PRs, beyond testing them? E.g. I remember that I was asked to --signoff commits before, probably I should check for that? Also, which merging strategy should be used?
mayhewluke has joined #nixos
<clever> jophish: for setup-etc.pl and managing /etc/
adamantium has quit [Ping timeout: 240 seconds]
<jophish> ah
<jophish> a pain to rewrite
<{^_^}> [nixpkgs] @manveru opened pull request #49334 → buildRubyGem: Provide manpages for Ruby gems → https://git.io/fxH55
<clever> jophish: yeah
<clever> jophish: i could make /etc/ a static symlink to a storepath, but then its a bit more tricky to build up /etc, and every /etc file is world readable
<clever> jophish: openssh refuses to use a world-readable private key
<clever> and resolv.conf becomes static as well, so your dns cant be based on dhcp
<infinisil> nh2: most just use the standard merge (creates a merge commit)
<{^_^}> [nixpkgs] @bjpbakker opened pull request #49335 → [18.09] xorg.xf86videovmware: fix for GFX support → https://git.io/fxH5p
<infinisil> nh2: wait for ofborg to finish the checks, make sure the branch is correct (staging with lots of rebuilds), potentially check some dependents to still work (e.g. For a pr with a library update i sometimes check if the packages that use this library still compile and run)
<srk> dramforever: it depends :) on the commit activity and also how much stuff you build on your hydra - make sure you track disk usage in some manner
<dramforever> Oh not my hydra
<dramforever> I'm literally trying to mirror cache.nixos.org
<dramforever> Fastly is a bit... 'slowly' here in China, I have to say
<dramforever> Or did you mean hydra.nixos.org? I assumed not
bohadi has joined #nixos
<srk> cache contains quite a lot of stuff from older releases as well, squid might work to cache the ones you hit
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/b4e3a404e67 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
<srk> cache is populated from/by hydra
<dramforever> That, I know
<dramforever> hydra -> s3 -> fastly cdn
<dramforever> srk: They wouldn't run proxies :(
<__monty__> dramforever: Why though? A mirror is probably more work than a proxy.
<__monty__> I mean, even I can run a proxy.
nD5Xjz has quit [Ping timeout: 252 seconds]
Thra11 has joined #nixos
jD91mZM2 has joined #nixos
<dramforever> server maintainers are against proxies
<dramforever> If I go the proxy route, The only thing I can do is try to contact somebody else I suppose :(
<__monty__> Blanket statements are always misguided.
nD5Xjz has joined #nixos
<tilpner> __monty__ - They were probably referring to the maintainers of their server(s), not all server maintainers in general
leotaku has joined #nixos
<__monty__> It's a blanket statement from those maintainers. Not a blanket statement about maintainers.
<dramforever> Yes, I meant 'the server maintainers'
<dramforever> __monty__: That's also what I thought you meant
<leotaku> I just noticed that pacman, the arch package manager, was in the nixpkgs tree. What would one possibly do with that package?
<__monty__> leotaku: It's probably similar to why nix is in the arch repositories.
silver has joined #nixos
<leotaku> __monty__: But nix can/is intended to be used on any linux system.
<__monty__> And why wouldn't you be able to use pacman on another linux?
<leotaku> __monty__: You can surely use packman on other distros, but I don't think that is its intended purpouse.
<leotaku> also, how would I use packman on nixos?
Izorkin has joined #nixos
<__monty__> Not sure you can sensibly do so concurrently with nix. Maybe to migrate from nixos to arch? Or using the nixos pacman to repair an arch system?
o1lo01ol1o has joined #nixos
<leotaku> __monty__: Maybe somehow with the "FHSUserEnv" stuff? But I think thats read-only...
<dramforever> Maybe you can make a usable arch chroot with it
<__monty__> I'm not sure pacman needs an FHS if you provide the --root.
ThatDocsLady has joined #nixos
bohadi has quit [Quit: WeeChat 2.2]
o1lo01ol1o has quit [Read error: Connection timed out]
justbeingglad has quit [Ping timeout: 272 seconds]
<jD91mZM2> How do you find the $OUT_DIR after a rust compilation?
<tilpner> jD91mZM2 - target/debug/build/foo-1903bf047c26e79f/out
<tilpner> But probably wrong channel
<tilpner> If Nix is doing the build, either use nix-shell, -K, or alter a phase to copy this too
<jD91mZM2> No, I mean programmatically from nix
<jD91mZM2> I'm thinking of doing `find target/release/build -path out/powerline-rs.bash`, but that feels very very hacky
feep_ has joined #nixos
<feep_> yo
<feep_> how do I get the name of the current directory as a string?
<ma27> builtins.toString ./. ?
<feep_> I'm trying to write a generic default.nix that can build any makefile based package, so I can just symlink it in a git folder
<feep_> thanks
<tilpner> jD91mZM2 - Maybe you can find an alternative to copying from OUT_DIR in the first place? What are you doing?
o1lo01ol1o has joined #nixos
<dramforever> stdenv.mkDerivation can already build 'any' makefile based package. Maybe just 'src = ./.' ?
<dramforever> Ah I know, you want the name
<jD91mZM2> tilpner: powerline-rs generates shell completion functions using clap-rs for bash and fish in the build script
<feep_> dramforever: yep
<jD91mZM2> They used to be in CARGO_MANIFEST_DIR, but that is now disallowed on crates.io
<steveeJ> how would you build a persistent nixos system living on a USB drive?
<clever> steveeJ: just install to that usb device as normal
<dramforever> feep_: Sounds like basenameOf
<tilpner> jD91mZM2 - Have build.rs check for COMPLETION_OUTPUT and write them there too, if present
<clever> steveeJ: and make sure it boots via legacy, not efi
<steveeJ> clever: I'm trying right now :) waiting for 4GB to be copied to it :D
<feep_> dramforever: I'll try that.
<clever> steveeJ: though you could do both legacy and efi at once
<steveeJ> clever: why legacy?
<clever> steveeJ: efi usually needs special efi vars to boot, and no other machine will know to boot it
<clever> steveeJ: enless you flip on the removable flag ing rub
nD5Xjz has quit [Ping timeout: 264 seconds]
<dramforever> baseNameOf
<dramforever> capital N
<jD91mZM2> tilpner: Oh, good idea
justbeingglad has joined #nixos
<dramforever> builtins.toString ./. -> /home/dram
<dramforever> baseNameOf (builtins.toString ./.) -> dram
<dramforever> good enough
justbeingglad has left #nixos [#nixos]
b has joined #nixos
<feep_> arright
<clever> > ./.
<{^_^}> /var/lib/nixbot/state/nixpkgs
<feep_> anyway I realized I couldn't do that anyway cause this project needs make flags
<clever> > baseNameOf (builtins.toString ./.)
<{^_^}> "nixpkgs"
ThatDocsLady has quit [Quit: Leaving]
<steveeJ> clever: neat, thanks! I'll try it with pure EFI
<feep_> having some difficulty building a makefile-based project with nix
nD5Xjz has joined #nixos
<feep_> the docs are like
<feep_> > To build a package with the standard environment, you use the function stdenv.mkDerivation
<{^_^}> error: syntax error, unexpected WITH, expecting ')', at (string):205:20
<feep_> but I'm sitting here in a world of files and shell commands#
<feep_> and I'm like, "okay, I have a function, what happens now"
<feep_> apparently I "use" it? I'm mashing e but it only makes es appear in the chat window eeeeeee
<clever> > stdenv.mkDerivation { name = "name"; src = ./.; }
<{^_^}> "<derivation /nix/store/vwy112fmg1av27sryphsb6mb59x1c8dh-name.drv>"
<feep_> I have a folder with a makefile based project in
<feep_> how do I make binaries happen.
feep_ is now known as feep
<feep> is I guess the core issue.
<clever> feep: create a file called default.nix, with the following contents: with import <nixpkgs> {}; stdenv.mkDerivation { name = "name"; src = ./.; }
<clever> then just run nix-build
<feep> ah I didn't have the with import
<feep> I was copying something that said to just do { stdenv }:
<clever> if the file starts with { stdenv }: then it must be loaded with callPackage, from another file
<feep> ah
<feep> also nix build just gave a permission error, which obfuscated the fact that I wanted nix-build
<clever> with import <nixpkgs> {}; callPackage ./otherfile.nix {}
<jophish> Is there a way to get a list of all paths which contributed to a build?
<feep> strace, lol
<jophish> (assuming I have a derivation)
<clever> feep: what was the error?
<feep> error: getting status of /nix/var/nix/profiles/per-user/root/channels/nixos: Permission denied
<clever> feep: your ~/.nix-profile isnt setup right
<clever> or wait no
<clever> thats the channel
<clever> feep: what does ls -lh say about that path?
<feep> it's a symlink to /nix/var/nix/profiles/default
<clever> feep: ls -lh /nix/var/nix/profiles/per-user/root/channels/nixos:
<feep> lrwxrwxrwx 1 root root 15 28. Okt 13:24 /nix/var/nix/profiles/default -> default-29-link
<clever> without the : at the end, oops
<feep> cannot access
<feep> tbf I specifically said that path to chmod 1000
<feep> set*
<clever> feep: ls -lh /nix/var/nix/profiles/per-user/root/channels
<feep> because I ran a nix command that told me it should be set to chmod 1000
<dramforever> eh?
<feep> clever: permission denied
<clever> feep: you wanted to add the 1000 bit, not make it only 1000
<feep> o.o
<feep> oh
<clever> you removed your own read access
<feep> yeah I thought only root was supposed to access it
<feep> and it was fine at 1000 because that way only root could access it
<feep> being root
<clever> roots channels are also the default for other users
<feep> okay so that message was very misleading
<feep> I would make a pr but I can't find it on github rn
<dramforever> Nix really needs more immortalized documentation...
<steveeJ> does this work for anyone? https://nixos.wiki/wiki/Home_Manager#Configuration
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #49336 → Add mention of nix-prefetch-github. → https://git.io/fxHbo
<nikivi> I am trying to build packages from my configuration.nix and it's taking an extremely long time (over 6 hours now)
<nikivi> is it possible to see what package is being loaded that is causing such long compile times?
<nikivi> I assume it's something rust related due to `Compiling rustc_data_structures v0.0.0 (file:///private/var/folders/5l/5s7qw5ld1xxglm0094_hyh_c0000gn/T/nix-build-rustc-1.30.0.drv-0/rustc-1.30.0-src/src/librustc_data_structures`
<feep> and I may have totally misread it
<nikivi> but can't see what actual package is being build
<clever> nikivi: `ls -ltrh /tmp/`, the names of all packages building are in ah you already found that dir
<feep> apparently it meant *userid* 1000, lol.
<clever> nikivi: and then compare the procs using cpu in `top` or `htop` with the owners of the nix-build-* dirs
<feep> "ownership" is not an unambiguous word here.
<clever> feep: oooo!, that makes a lot more sense!
<feep> clever: I'll make a pr to change it to "bad user id"
<nikivi> it just has `com.apple.launchd.geNRz5a3H7` inside /tmp
<clever> nikivi: apple has to be different :P
<clever> nikivi: its somewhere in /private/var/folders/5l/5s7qw5ld1xxglm0094_hyh_c0000gn/T/
<clever> dont ask me why the dir has to be so complex :P
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48626 → autobahn: 18.8.2 -> 18.9.2, txaio: 18.7.1 -> 18.8.1 → https://git.io/fx2sy
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fxHbp
<jophish> clever: Managed to get it to stage2 before a hang :)
<clever> jophish: nice
<feep> oh god damn the github editor doesn't let me rebase
<feep> hang on
<steveeJ> FYI: someone else had the same issue: https://github.com/rycee/home-manager/issues/417
<{^_^}> home-manager#417 (by balsoft, 2 weeks ago, open): nixos-install doesn't work when home-manager is used as nixos module
<clever> jophish: is it hanging, or just not running a serial getty?
<jophish> clever: I wonder if I could ssh in if networking got set up
<jophish> clever: could be either I suppose
<jophish> how might I check
<jophish> every system I'm used has had that turned on by default
<jophish> I've*
<clever> jophish: is the tx line wired up right, what happens when you mash enter?
<clever> jophish: does it have a usb host interface?
<jophish> I get no output when I hit enter, however a LED blinks on the board, and I can interact with u-boot earlier
<feep> OH, I had an old fork of nixpkgs
<feep> suddenly everything makes sense
<jophish> clever: I'm not sure
<clever> jophish: and it likely lacks anything fancy like acpi to signal a clean shutdown?
nD5Xjz has quit [Ping timeout: 246 seconds]
<jophish> yeah, I'm just hitting the reset button on the board
<jophish> [ 10.264867] systemd-journald[377]: File /var/log/journal/2736e5b299584be0ac73b539aa854474/system.journal corrupted or uncleanly shut down, renaming and replacing.
<jophish> heh
<clever> one min
<clever> jophish: journalctl --root=/path
<clever> using that, you can read the logs on the SD card
<jophish> there is this: [ OK ] Created slice system-getty.slice.
<clever> does anything appear after the last thing in the console? when you left it idling
<jophish> nope, although I rebooted it and this time got [ OK ] Found device /dev/ttyS0.
<jophish> it was built with a getty service for systemd
<{^_^}> [nixpkgs] @obadz pushed 2 commits to master:
<{^_^}> [nixpkgs] @obadz merged pull request #48901 → opensmtpd: 6.0.3p1 -> 6.4.0 → https://git.io/fxP7p
<clever> jophish: next thing 'm thinking of is maybe a systemd timer to do something on /dev/ttyS0 at regular intervals?
<clever> jophish: or just run `systemctl status > /dev/ttyS0`
Lisanna has quit [Quit: Lisanna]
Dedalo has joined #nixos
<jophish> good idae
<jophish> I wonder if it has anything to do with the fpga manager
nD5Xjz has joined #nixos
<jophish> and if it would be worth disabling that
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49325 → reason: 3.3.3 -> 3.3.7 → https://git.io/fxHHm
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @vbgl to master « reason: 3.3.3 -> 3.3.7 (#49325) »: https://git.io/fxHNK
<clever> jophish: i'm thinking, dont change too much at once
<jophish> nothing on nmap btw with an ethernet cable plugged in
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47953 → openssl: don't autodetect platform on armv6/7l → https://git.io/fx3aB
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxHNS
<ekleog> is there a way to control the order in which values are merged in a nixos config?
<LnL> yes, for ordered merges like list or lines there's mkBefore / mkAfter
<{^_^}> [nixpkgs] @FeepingCreature opened pull request #49338 → improve shell.nix warning messages → https://git.io/fxHNA
silver has quit [Quit: rakede]
<feep> clever: there we go
<ekleog> great, thanks! :)
<feep> clever: which reminds me, did you guys rebase master at some point? my old repo was not in line with the remote one...
<feep> might just have been cause I'd fetched shallow though
<clever> feep: which repo?
<feep> nixpkgs
<clever> nixpkgs master is never rebased, would break too much
<feep> okay, so probably my fault then
<feep> anyway, please review and accept (the github version of "please like, share and subscribe" :D)
<jophish> clever: what would be a good wantedby for this timer service?
<clever> 2018-10-28 04:15:27 < clever> Arahael: you can define a custom timer by just setting systemd.services.foo = { script = ''....''; startAt = "nightly"; }; in configuration.nix i believe
<clever> jophish: i think that handles the wantedby for you
<clever> jophish: you will obviously want a shorter interval, and maybe test it on a working machine first, systemctl list-timers
<{^_^}> [nixpkgs] @eadwu opened pull request #49339 → pythonPackages.zstd: init at 1.3.5.1 → https://git.io/fxHAk
iyzsong-x has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #49340 → pythonPackages.distribute: init at 0.7.3 → https://git.io/fxHAl
<feep> clever: yay!
<jophish> oh, that's handy
iyzsong has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #49341 → pythonPackages.almost: init at 0.1.5 → https://git.io/fxHA0
<{^_^}> [nixpkgs] @eadwu opened pull request #49342 → pythonPackages.trueskill: init at 0.4.5 → https://git.io/fxHAu
<hyper_ch> so, how to add a new package to nixos or rather nixpkgs?
boxscapeR has joined #nixos
<boxscapeR> does anyone have example config of home-manager + zsh? I'm not quite sure how to use the zsh submodules
<feep> how do I make nix build log the build to stdout?
<clever> feep: i just use `nix-build` when i want logs
<clever> feep: there is also `nix-store -l /nix/store/foo` to view the logs of something that has previously passed
<feep> oh, nix-build != nix build?
<feep> ahh
<feep> yes that is much better
<clever> yeah, `nix build` is the newer interface
<clever> but it needs some more work
<feep> hm, nix-build doesn't do a parallel build
<feep> despite having maxJobs set in configuration.nix
<feep> oh, apparently I need enableParallelBuilding
<clever> there is both make and nix level parallism
<clever> enableParallelBuilding is for the make level
<feep> yes
<clever> max-jobs is at the nix level
<feep> that is the one I want
<feep> ah
boxscapeR has quit [Remote host closed the connection]
<clever> cores is also at the make level
boxscapeR has joined #nixos
<clever> so if enableParallelBuilding is on, make will obey cores from nix.conf
<boxscapeR> oops, lost internet. Actually I think I figured out how to use the submodules though
<clever> and then nix itself will build max-jobs seperate packages, in parallel
<feep> yep, that's the one I needed!
<feep> hm
<feep> what do I do with buildscripts that #!/bin/bash?
<clever> feep: run patchShebangs on the dir they are in
<feep> I do not have commit rights on this repo and I don't want to keep a local branch
<feep> oh, is that a build step?
<clever> /home/clever/nixpkgs/pkgs/tools/backup/duply/default.nix: postPatch = "patchShebangs .";
<feep> thanks
Ariakenom has quit [Ping timeout: 252 seconds]
<feep> oh, I'm an idiot
<feep> cataclysm dda *already* has a nix pkg :D
<feep> just need to inherit that locally
<feep> how do I inherit an existing build?
<hyper_ch> how do I add a new packge to nixpkgs/nixos?
<clever> feep: do you want to install it, modify it, or depend on it?
<feep> I want to build a local binary
<feep> in a local source folder
<clever> hyper_ch: have you read the nixpkgs manual?
<dramforever> Yes, it's a bit confusing
<dramforever> (Answered for feep)
<clever> feep: nix-build '<nixpkgs>' -A cataclysm-dda
<hyper_ch> clever: it's not sufficient to clone nixpkgs, add your default.nix in the according path and make a pr
<hyper_ch> there's more involved but I can't find info what else needs to be done
<dramforever> feep: Where do you want the source to come from, and where do you want the binary to go?
<feep> I have a folder with the source
<clever> hyper_ch: there is also the contributing.md file, and adding it to all-packages.nix
<feep> that is where I also want the binary
<feep> clever: that does not seem to have done that
<clever> feep: ls -ltrh result/bin/
<hyper_ch> clever: yeah, that all-packages.nix was waht I was looking for and there's the maintainer-list.nix also
<dramforever> Any particular reasons you don't want to just use a binary in /nix/store?
<dramforever> Do you want to distribute it?
<feep> Aahh.
<feep> dramforever: no, just organization
<nh2> hyper_ch: almost sufficient, you just need to add it to `pkgs/top-level/all-packages.nix` (for the case of a "normal" at least)
<feep> clever: Oh, I see.
<dramforever> Are you trying to build from a source that's not the source in nixpkgs?
<feep> yes
<dramforever> Is the symlink result good enough?
<feep> yes, but
<feep> I changed a file and the change doesn't seem to have had any effect on the result or triggered a rebuild
<feep> this is getting kind of annoying compared to $ make
<clever> oh, if you want to develop it more, you probably want nix-shell initially
<clever> feep: nix-shell '<nixpkgs>' -A cataclysm-dda
<clever> that will drop you into a shell suitable for building the version in nixpkgs
<clever> then just ./configure and make, as usual
<feep> Aah.
<clever> just keep in mind that nix may break the resulting binaries next time you run a garbage-collection
<feep> sure
<clever> so its more for short-lived testing binaries
<feep> I can just rebuild whenever
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #49343 → xidlehook: 0.4.9 -> 0.5.0 → https://git.io/fxHxY
<clever> nix-build -E 'with import <nixpkgs> {}; cataclysm-dda.overrideAttrs (old: { src = ./.; })'
<hyper_ch> clever: can't find contributing.md -- you sure it's not the maintainer-list.nix ?
<clever> feep: this will build the package in nixpkgs, but change the src to come from the current dir
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #49344 → powerline-rs: 0.1.8 -> 0.1.9 → https://git.io/fxHxs
<feep> clever: seems a bit unwieldy :p I'll probably stick with the nix-shell
<feep> higher chance to remember
<hyper_ch> clever: ah :) thx
<clever> feep: you can put the -E string into a .nix file, and then just run nix-build on the file
<feep> okay
<dramforever> clever: I'm a bit worried that this might get the wrong version
<feep> oh! overrideAttrs was what I wanted.
<clever> dramforever: yeah, it might be, but the only way to confirm if its enough or not is to try
<dramforever> Or read the .nix files, as I'm now doing
<feep> clever: lol, patch is failing
* feep overrides to []
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
<dramforever> Patch the patch!
Ariakenom has joined #nixos
Thra11 has quit [Ping timeout: 245 seconds]
<dramforever> Seriously though, there's also a 'git' version
<dramforever> And I'm not sure whether it's newer or older
<dramforever> But it has a different patch
<feep> I don't want this patched anyways
<feep> so I'll just patches = [ ]
<feep> rather defeat the point of making github prs if you're working off a different source than master
<{^_^}> [nixpkgs] @FRidh closed pull request #49340 → pythonPackages.distribute: init at 0.7.3 → https://git.io/fxHAl
revtintin has joined #nixos
vcunat has quit [Quit: Leaving.]
<dramforever> feep: Seems like it doesn't affect linux
boxscapeR has quit [Remote host closed the connection]
<hyper_ch> clever: do package have to have a version number? just asking because I'm using latest git and there's no version there except git commits
<clever> hyper_ch: then use the date of the commit as a version
<{^_^}> [nixpkgs] @c0bw3b pushed to revert-48626-bump-autobahn-txaio « Revert "autobahn: 18.8.2 -> 18.9.2, txaio: 18.7.1 -> 18.8.1" »: https://git.io/fxHx9
<hyper_ch> clever: ok
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49345 → Revert "autobahn: 18.8.2 -> 18.9.2, txaio: 18.7.1 -> 18.8.1" → https://git.io/fxHx7
<{^_^}> [nixpkgs] @Mic92 opened pull request #49346 → buildGoPackage: re-enable GOCACHE → https://git.io/fxHxN
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49345 → Revert "autobahn: 18.8.2 -> 18.9.2, txaio: 18.7.1 -> 18.8.1" → https://git.io/fxHx7
<{^_^}> [nixpkgs] @c0bw3b pushed to master « Revert "autobahn: 18.8.2 -> 18.9.2, txaio: 18.7.1 -> 18.8.1" (#49345) »: https://git.io/fxHxh
<{^_^}> [nixpkgs] @c0bw3b pushed 0 commits to revert-48626-bump-autobahn-txaio: https://git.io/fxHpe
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #48322 → adoptopenjdk-bin: init at 11 → https://git.io/fxRes
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fxHpf
<feep> how do I access makeFlags from a nix-shell?
<feep> oh, it's makeFlags
<feep> lol
boxscapeR has joined #nixos
<clever> feep: every attribute in a derivation is an env var
<feep> fair enough
<feep> good to know
Synthetica has joined #nixos
iyzsong-x has quit [Ping timeout: 240 seconds]
<jophish> clever: haven't been able to get the timer service working :/ https://gist.github.com/66f879c09aa649274e0bfc514aa14bdf
<jophish> don't have a nixos box to test this with at the moment
pointfourone has joined #nixos
init_6 has quit []
<{^_^}> [nixpkgs] @sjau opened pull request #49347 → easysnap: init at 2018-10-28 → https://git.io/fxHpp
<jophish> the journal is empty on the sd card
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #49341 → pythonPackages.almost: init at 0.1.5 → https://git.io/fxHA0
<{^_^}> [nixpkgs] @markuskowa opened pull request #49348 → nixos/slurm: add slurmdbd, run daemons as user → https://git.io/fxHh4
Mic92 has joined #nixos
<clever> jophish: double-checking things
Mic92 has quit [Client Quit]
<clever> jophish: yeah, that should be all you need, this example is working: https://github.com/input-output-hk/iohk-ops/blob/master/modules/cardano-service.nix#L178-L190
Mic92 has joined #nixos
<jophish> hmm
<jophish> how strange
<jophish> I put in "echo hello > /status" too
<jophish> and see nothing on the disk
<jophish> (forgot to sync after though, trying that now)
<jophish> yeah, nothing
pie_ has joined #nixos
<jophish> could put something in postbootcommands
Thra11 has joined #nixos
<clever> jophish: or an activation script
<clever> jophish: oh, sysrq
<clever> jophish: if you send a break signal over the serial port (depends on the client), you can trigger sysrq's over the serial
<clever> jophish: sysrq + ? would print the help, and confirm the kernel is at least responding
<clever> sync and poweroff give you a sorta cleanish shutdown
<clever> show-backtrace-all-active-cpus(l) and show-task-states(t) can give useful debug
<clever> jophish: that help much?
<{^_^}> [nixpkgs] @markuskowa merged pull request #49131 → wireless-regdb: 2018.09.07 -> 2018.10.24 → https://git.io/fxSvO
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fxHhx
<jophish> clever: I'll have a go at the sysreq thing
<jophish> sounds usefulu
<jophish> will have to figure out how to do that with tio or screen
ghibe has joined #nixos
ryantrinkle has joined #nixos
dramforever has quit [Ping timeout: 256 seconds]
<clever> i'm going to get some sleep, send me a PM if you get it all working, i'm interested in fpga stuff as well
pointfourone has quit [Remote host closed the connection]
<jophish> Thanks clever for all the help!
<jophish> I had a working system on an arria 10 board
<jophish> but it's a bit outside hobbyist scope :)
<srid> anyone here actually develop using nix on *chromeos*?
<Dezgeg> is it those fpga boards?
<jophish> Dezgeg: hmm?
<simpson> srid: Sadly, Chromebooks and similar are not general-purpose computers. The avenue I'd probably explore is Nix inside Crouton: https://github.com/dnschneid/crouton
<srid> simpson: doesn't chromeos v70 come with ability to run arbitrary linux apps (isolated inside a debian container)? i was wondering if anybody run run like that. the upcoming Google Pixel Slate is tempting as a portable nix dev environment.
<thefloweringash> I use nixos on a chromebook
<hyper_ch> thefloweringash: with zfs?
<srid> s/run run/run nix/
<thefloweringash> hyper_ch (IRC): f2fs, did I miss zfs in the context?
<{^_^}> [nixpkgs] @c0bw3b closed pull request #35336 → SABnzbd 2.3.2 → https://git.io/vAgeK
<hyper_ch> thefloweringash: just curious
<srid> thefloweringash: ah, so you wiped chromeos and installed nixos on it. i actually would love to retain chromeos mainly for a company-backed hardware support (bluetooth, etc.)
<srid> ... bluetooth, pen input, trackpad etc..
<thefloweringash> I dual boot, nixos on microSD, chromeos on the internal storage
<srid> one day I hope to see something like `nix-darwin` but for chromeos (`nix-chromeos`?).
<srid> thefloweringash: which chromebook do you have?
<simpson> srid: Oh, I guess I haven't caught up. Interesting, thanks.
mayhewluke has quit [Ping timeout: 240 seconds]
<thefloweringash> A Saumsung Chromebook Plus (v1, not the v2), aka "Kevin"
<srid> simpson: yea, chromeos today can run android and linux apps :)
<hyper_ch> thefloweringash: so you don't run zfs then?
mayhewluke has joined #nixos
<srid> there is hope for 'linux on desktop' after all.
<thefloweringash> hyper_ch (IRC): nope, f2fs
<hyper_ch> thefloweringash: thx
<srid> thefloweringash: does pen input work on nixos?
<simpson> srid: Oh! That feature isn't general-purpose. I'm imagining the effort required to build a custom ChromiumOS image. And the hardware itself is not exactly suitable for development work.
<thefloweringash> yep. Not sure which software is best to use with it, but Xournal can definitely see the pen as some kind of xinput device
<Neo--> does adding -I nixpkgs=/path to nix-shell work just for regular packages or should it effect things like stdenv as well? specifically, I'm toying around with allowUnfree but even setting it to true in check-meta doesn't seem to work for nix-shell
<thefloweringash> aaand I just realised I horribly misread the context, even though it was carefully enclosed in stars. sorry!
copumpkin has joined #nixos
<thefloweringash> I definitely sympathise with wanting to keep chromeos around, it does have a decent desktop experience. I've never had much luck with the linux vm though. Every time I try it my chromebook freezes and reboots shortly after. Maybe too much memory pressure?
<{^_^}> [nixpkgs] @bendlas pushed 4 commits to master: https://git.io/fxHjS
goibhniu has quit [Ping timeout: 244 seconds]
periklis has joined #nixos
<{^_^}> [nixpkgs] @bendlas closed pull request #48922 → chromium: use clang (compilation with gcc is still possible too) → https://git.io/fxXn1
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.09: https://git.io/fxQew
<{^_^}> [nixpkgs] @srhb merged pull request #49297 → kubernetes: 1.11.3 -> 1.11.4 → https://git.io/fxHZS
acarrico has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<boxscapeR> With something like nix-prefetch-git, why does it output the data in what looks like JSON rather than something you could use in a .nix file
<boxscapeR> ?
<jophish> clever: sysreq ? doesn't do anything after the hang
<jophish> but it does before
<srhb> boxscapeR: You can use it in a nix file easily with builtins.fromJSON
<boxscapeR> ahh, okay
<das_j> Is c841c3 backportable?
<{^_^}> [nixpkgs] @Mic92 merged pull request #49343 → xidlehook: 0.4.9 -> 0.5.0 → https://git.io/fxHxY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQvr
<das_j> Would make my life a lot easier
earldouglas has left #nixos [#nixos]
Alphare has joined #nixos
<Alphare> Hi all! I'm thinking of checking out NixOS. I have a new SSD, and I was wondering if there was a way of installing NixOS directly to that SSD from my current Linux install?
<jophish> Alphare: welcome!
<Alphare> thank you jophish, srhb
<Alphare> I can't believe I didn't RTFM
<Alphare> :D
<srhb> We have so many manuals that you're bound to end up in that situation a few times. :-P
<Alphare> heh
erictapen has joined #nixos
erictapen has quit [Client Quit]
<Alphare> of course, I just switch to fish, so the instructions don't work out of the box
<Alphare> Why do I have to switch to so many things at once... :P
erictapen has joined #nixos
drakonis has joined #nixos
<boxscapeR> If I install zsh via home-manager, is there a declarative way to set it as my login shell, i.e. I would assume not via chsh?
<rawtaz> isnt that an option on the user?
<rawtaz> shell, its probably named
<srhb> boxscapeR: Not really, since that's /etc/passwd stuff. You can always launch zsh as your user however.
boxscapeR has quit [Remote host closed the connection]
boxscapeR has joined #nixos
<boxscapeR> just lost internet again, don't know if my question went through -.-
<srhb> boxscapeR: Not really, since that's /etc/passwd stuff. You can always launch zsh as your user however.
<lunik1> srhb: that should all work from an existing NixOS install, right? I'm looking to move my curreny install to a different drive.
drakonis2 has quit [Ping timeout: 246 seconds]
<boxscapeR> ok, thanks
<srhb> lunik1: Yeah sure.
<srhb> lunik1: The "installer" is really just "do this checklist and run nixos-install"
<{^_^}> [nixpkgs] @Mic92 merged pull request #49329 → fmt: minor refactor → https://git.io/fxH7f
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQfW
<lunik1> great
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49346 → buildGoPackage: re-enable GOCACHE → https://git.io/fxHxN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQfX
drakonis has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49344 → powerline-rs: 0.1.8 -> 0.1.9 → https://git.io/fxHxs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQf5
<{^_^}> [nixpkgs] @bendlas pushed to master « Revert "chromium: make gcc8 build available via buildWithGcc flag" »: https://git.io/fxQJT
<Alphare> well, first install, I home I don't brick my other OSes
<aanderse> aszlig: thanks for your post on discourse. not sure what i'm doing wrong, but switching to the new configuration doesnt pickup fileSystem changes... test script: https://pastebin.com/wEvR4q5i and relevant output: https://pastebin.com/uxsatuy5 note how no mounts listed under /. any ideas?
<{^_^}> [nixpkgs] @vbgl opened pull request #49349 → ocamlPackages.menhir: 20170712 -> 20181026 → https://git.io/fxQJY
<{^_^}> [nixpkgs] @peti pushed 368 commits to haskell-updates: https://git.io/fxQJW
agander has joined #nixos
<Alphare> mhhh. I'm getting `error: opening lock file '/mnt/nix/var/nix/db/big-lock': Permission denied`
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 12.15 »: https://git.io/fxQJz
<Alphare> There is a mix of mounting partitions as root and using nix-* commands as non-root that I'm not getting
<sphalerite> Alphare: that's odd, are you running nixos-install as root?
<sphalerite> Alphare: yeah you generlaly want to do the whole install process as root
<Alphare> No, I've tried that only to find forums saying that I should not run as root
<sphalerite> nixos installation should definitely be done as root
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxQJw
<maurer> Alphare: The people saying not to run as root are describing installing nix-the-package-manager on another distro for use _with_ the distro
<maurer> Alphare: as opposed to NixOS the distro
<sphalerite> maurer: good catch!
<Alphare> I'm getting `error: the group 'nixbld' specified in 'build-users-group' does not exist` now
<Alphare> ha, I see
<sphalerite> Alphare: are you trying to install nixos or nix, and how exactly are you trying to do so?
<Alphare> I'm trying to install NixOS to a brand new SSD
<sphalerite> right, you'll want to do all the things as root
<Alphare> I've set the mount points for the partitions, which I can only do as root
<sphalerite> mount the stuff, nixos-generate-config --root /mnt, and nixos-install
<Alphare> with sudo, at least
<sphalerite> all as root
<Alphare> alright
<Alphare> I'll try again
<Alphare> but that last error message is weird
<{^_^}> [nixpkgs] @peti pushed to master « opentracing: fix Nixpkgs evaluation errors »: https://git.io/fxQJy
<sphalerite> also editing /mnt/etc/configuration.nix to match your desired config
<sphalerite> what do you currently have booted?
<Alphare> Linux mint 18 MATE with i3 as a window manager
<sphalerite> ooooh right. If this is your first install, it's probabky best to boot into the installer iso and install from there.
<Alphare> mhhh
<sphalerite> installing from another OS is perfectly possible, but not trivial as you are already finding ;)
<Alphare> I'd have like to do it from another distro
<Alphare> yeah
<Alphare> I've never tried with a distro I'm used to
<Alphare> so with Nix it's even harder
<Alphare> heh
<Alphare> I'd have to keep IRC open on my phone I guess
<Alphare> less easy!
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fxQUt
<{^_^}> [nixpkgs] @dywedir merged pull request #49306 → uriparser: 0.8.6 -> 0.9.0 → https://git.io/fxH89
<Alphare> how can I remove everything nix related from my current OS ?
<Alphare> I'll get a fresh install from a live USB
<jophish> I've built my own kernel, however I don't seem to have any modules!
<jophish> ip_tables and a fat32 fs are missing which stops me booting
<sphalerite> jophish: did you set it via boot.kernelPackages?
<jophish> sphalerite: yeah=
<sphalerite> jophish: huh. How did you build it?
<jophish> There nothing in /nix/store/...-kernel-modules
<sphalerite> Alphare: rm -rf /nix ~/.nix-*
<jophish> sphalerite: ^
<jophish> boot.kernelPackages = let linux_socfpga = pkgs.callPackage ./linux-socfpga.nix { kernelPatches = []; }; in pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux_socfpga);
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49350 → nixos/rngd: fix exec flags and udev rules → https://git.io/fxQUD
<Alphare> sphalerite: amazing
<Alphare> thanks
<sphalerite> jophish: hm, do you have any idea where the kernel config comes from? Maybe the modules just arne't getting built in the first place
sir_guy_carleton has joined #nixos
<jophish> sphalerite: no idea :)
<jophish> seems weird that nothing at all is build
<jophish> built*
<jophish> looks like it's stdenv.hostPlatform.platform.kernelBaseConfig, whatever that is
<jophish> I guess multi_v7_defconfig
<jophish> but I'm not 100% sure
<steveeJ> clever: I can't believe this worked :D `installing the GRUB 2 boot loader on /dev/disk/by-id/usb-SCSI_DISK_9E216FC57FBD4AE1-0:0...`
<jophish> building it again, I can see CC [M] net/ipv4/netfilter/ip_tables.o
<jophish> interestingly, a device tree isn't built for my board...
<sphalerite> jophish: yeah that sounds like a problem…
<jophish> handy how it boots to a emergency shell anyway
<jophish> err, ignore that
<jophish> that's not linux
<jophish> I like how similar u-boot and linux are though
<jophish> not sure what it is at the moment, but I think i should be using socfpga_defconfig
mystfox has quit [Remote host closed the connection]
<nh2> aszlig: do you have a recommendation on how to best make your patch compatible with 17.09? My Hetzner disconnect repro is on that
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
agander_ has joined #nixos
Alphare has quit [Remote host closed the connection]
drakonis has joined #nixos
<jophish> well, setting that config creates some drivers, however the kernel fails to boot!
<nh2> in 17.09, we have like `ipv4.addresses = [ { address = ...; prefixLength = ...;} ]` and no `routes` at all
agander has quit [Ping timeout: 246 seconds]
agander_ is now known as agander
<nh2> or no wait, I think it's `networking.interfaces.<interface>.ip4 = [ { address = ...; prefixLength = ...;} ]`
endformationage has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #49351 → python.pkgs.Pyro4: new package (at version 4.74) → https://git.io/fxQkE
erictapen has quit [Ping timeout: 240 seconds]
<hodapp> wow, odd... had mounted a CIFS share which had an ISO image, and had mounted that ISO image too, was copying files off the mounted ISO, hit ^C and it just stalled
<hodapp> couldn't kill it, not even kill -9; dmesg was complaining regularly that cp was hung for over 120 seconds
IRCsum has joined #nixos
IRCsum has quit [Max SendQ exceeded]
IRCsum has joined #nixos
aleph- has joined #nixos
alhariel has joined #nixos
IRCsum has quit [Max SendQ exceeded]
<aleph-> Afternoon folks
IRCsum has joined #nixos
<aleph-> Question when writing to a file via environement.etc."FILE_NAME".text = '' '';, can I embed string interpolation inside the text I write to file? Ie. have "${pkgs.PKG_NAME}/PATH/IN/PKG/"
<sphalerit> aleph-: yes
<{^_^}> [nixpkgs] @talyz opened pull request #49352 → nomachine-client: init at 6.3.6_1 → https://git.io/fxQIB
agander has quit [Read error: Connection reset by peer]
<aleph-> Cool, thanks sphalerit
agander has joined #nixos
<aszlig> aanderse: ah, fileSystems are a bit special, because they have VM overrides (priority 10), so you need to mkOverride with a priority below that
<aszlig> nh2: disconnect repro?
IRCsum has quit [Ping timeout: 252 seconds]
<nh2> aszlig: the reproducing case I have for https://github.com/NixOS/nixops/issues/833
<{^_^}> nixops#833 (by nh2, 41 weeks ago, open): Deploy disconnected my Hetzner machine again
<nh2> aszlig: but I'm trying now to reproduce it on 18.03 instead
<nh2> aszlig: what do you think about hetzner wiki's recommendation of just making the addresses /32?
glowpelt has joined #nixos
<aszlig> nh2: hm, not sure... because that could cause trouble when you're doing routing within your server
<nh2> aszlig: you mean when your server as 2 ips from the same subnet?
<nh2> has
<aszlig> yeah or a whole subnet
<nh2> hmm ok
<aszlig> i just woke up, so i'm not yet awake enough to think this through properly =)
<aszlig> so it might not be a problem after all
<nh2> aszlig: then maybe I'll ask some simpler questions about your patch first:
<nh2> in https://gist.github.com/aszlig/84e9bf4c8c2a06e77e43d64f89a5c2fc#file-hetzner-nixops-patch-L85 `prefixLength` doesn't seem to exist for me on `defaultGateway6`
<nh2> second: the `('ipv6', 'addresses')` stuff didn't expand to real json keys for me, should that work there? (I just rewrote it explicitly locally)
<aszlig> oh right... defaultGateway6 doesn't have a prefixLength
<aszlig> hm, maybe /PL works there
erictapen has joined #nixos
<aszlig> ah, never mind... it actually wouldn't make sense either way
<aszlig> and yeah, the ('ipv6', 'addresses') also need to be made nested dicts... at the time i was writing this i thought it would be py2nix()ed...
<aszlig> which it is, but it's first serialized to json
<nh2> ok that's all clear then
<nh2> aszlig: I currently get a `RTNETLINK answers: Invalid argument` with the added v6 command: `ip -6 route replace default via "fe80::1" proto static`
<aanderse> aszlig: thanks, will try :)
<aszlig> aanderse: for example: fileSystems = lib.mkOverride 5 { ... your fs ... };
<aszlig> oh, no...
<aszlig> that's wrong
<aszlig> fileSystems = lib.mkVMOverride { ... }
<aszlig> you need to have the same prio because you probably want them to be merged
<aanderse> oh, ok
<aanderse> so just mkVMOverride without a priority because i'm assuming it matches?
<aszlig> nh2: hm... may i boot up properly fist? :-D
<aszlig> too much action in the morning =)
<nh2> aszlig: sure :D
<aanderse> ah, examples in tests/
<aanderse> cool
<nh2> aszlig: if I add `dev eth0` it works
<aleph-> Questions writing this config to file via environment.etc."/nginx/sites-available/lobste.rs/".text and I keep getting an error that use_file_cache doesn't exist when setting it on line 88, doesn't make sense, can only assume it thinks it might be a shell variable? Source I'm trying to write to file is here:
IRCsum has joined #nixos
<tilpner> aleph- - You should probably use services.nginx.* instead of forcing the existence of that file
<tilpner> (Unless you don't have services.nginx enabled, and start it manually. That might work)
<{^_^}> [nixpkgs] @tazjin opened pull request #49353 → nixdoc: init at 1.0.1 → https://git.io/fxQtq
<tilpner> A lot of it can be copied into services.nginx.virtualHosts.<name>.extraConfig, and then you can still have the module handle letsencrypt for you
<aleph-> tilpner: Oh really? I think some of it I'm going to have write to /etc/, unless there's an option for setting mime.types or other misc files I've missed.
<tazjin> Can a trusted user ask the bot to build `nixdoc` on #49353? Thanks!
<{^_^}> https://github.com/NixOS/nixpkgs/pull/49353 (by tazjin, 4 minutes ago, open): nixdoc: init at 1.0.1
IRCsum has quit [Ping timeout: 244 seconds]
erictapen has quit [Quit: leaving]
erictapen has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
reinzelmann has joined #nixos
<steveeJ> can I provide an argument to mymodule.nix in `import = [ ./mymodule.nix ];`?
<steveeJ> and can I somehow provide an argument to the configuration.nix using nix-install?
<steveeJ> s/nix-/nixos-/
<aleph-> tilpner: Still there, actually have a question on how best to structure that via services.nginx.virtualhosts
IRCsum has joined #nixos
<aleph-> My question being, how would I set for example the upstream block up top and use it for the various virtual hosts?
<aleph-> Second being, how best to structure the rest of the server blocks? Should I stick those in services.nginx.config? Should I set them in Virtualhosts.extraconfig?
<{^_^}> [nixops] @nh2 opened pull request #1032 → hetzner: Don't use localCommands, set interface device of default gateway → https://git.io/fxQmm
<nh2> aszlig: OK here you go, this is the cleaned up PR that seems to work for me: ^
adamantium has joined #nixos
Thra11 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #49153 → graylogPlugins: update existing plugins → https://git.io/fxS1E
<{^_^}> [nixpkgs] @globin pushed commit from @fadenb to master « graylogPlugins: update »: https://git.io/fxQmu
chrisaw has quit []
chrisaw has joined #nixos
<aanderse> anyone else find that the fancy log.html files that nixos tests produce don't work well with firefox? the javascript doesn't work on my machine...
drakonis_ has joined #nixos
<nh2> aanderse: link I could try to confirm?
<aanderse> nh2: run any test on your own machine then open with firefox
<tilpner> aleph- - Sorry, can't assist right now. Perhaps tomorrow
drakonis1 has quit [Ping timeout: 250 seconds]
IRCsum has quit [Remote host closed the connection]
<hyper_ch> anyone has packaged perl stuff for nixos and who is in here?
IRCsum has joined #nixos
<aleph-> tilpner: Not a problem at all.
<{^_^}> [nixpkgs] @globin merged pull request #49160 → python36Packages.mysql-connector: 8.0.12 -> 8.0.13 → https://git.io/fxS5Y
<{^_^}> [nixpkgs] @globin pushed commit from @r-ryantm to master « python36Packages.mysql-connector: 8.0.12 -> 8.0.13 »: https://git.io/fxQYk
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #49354 → filesystems: escape spaces in fstab with \040 → https://git.io/fxQY4
erictapen has quit [Ping timeout: 244 seconds]
<Neo--> any ideas why wouldn't nix-shell want to read my .config/nixpkgs/config.nix file? I have put allowUnfree into it but starting up nix-shell doesn't work (except with env variable NIXPKGS_ALLOW_UNFREE)
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1fd8625eae9 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drakonis_ has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #49355 → nixos/plasma5: disable ocr tests → https://git.io/fxQY9
<hyper_ch> anyone here packages perl stuff?
romildo has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<steveeJ> is there a specific dict in the configuration.nix which I can use freely to read from throughout the configuration?
<steveeJ> something like passthru in derivations
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #49151 → tabula: init at 1.2.1 → https://git.io/fxS6t
<{^_^}> [nixpkgs] @globin pushed commit from @dpaetzel to master « tabula: init at 1.2.1 »: https://git.io/fxQOs
<Mic92> steveeJ: you mean `config`?
bgamari has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #49332 → mdadm: 4.0 -> 4.1 → https://git.io/fxH7K
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fxQOK
migy has quit [Quit: migy]
migy has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @globin closed pull request #49021 → python36Packages.fiona: 1.7.13 -> 1.8a2 → https://git.io/fx1rS
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
<globin> ryantm_: ^ https://git.io/fx1rS
<steveeJ> Mic92: might be! can I assign to it in configuration.nix and read it back?
<steveeJ> Mic92: can I add `config` to the argument set?
lunik1 has quit [Ping timeout: 240 seconds]
Xal has quit [Ping timeout: 272 seconds]
haitlah has joined #nixos
<haitlah> Hello dudes !
<haitlah> I'm back again :P. Having successfully made a full nix CI that will replace our current travis one
<haitlah> But I am facing troubles with stack2nix
<haitlah> When running locally, everything is fine, but in my alpine+nix CI runner, I get a: <stdout>: commitBuffer: invalid argument (invalid character)
<haitlah> I don't know if this is because of https://github.com/commercialhaskell/stack/issues/793, but even with LANG set to UTF8 it fails
<{^_^}> commercialhaskell/stack#793 (by ThibaudDauce, 3 years ago, closed): commitBuffer: invalid argument (invalid character)
erictapen has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
<haitlah> {^_^}: I tried that...
crmlt has joined #nixos
<gchristensen> ( {^_^} is a bot )
<haitlah> gchristensen: oops
periklis has quit [Ping timeout: 250 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.2]
Xal has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQ3E
<{^_^}> [nixpkgs] @Mic92 merged pull request #49355 → nixos/plasma5: disable ocr tests → https://git.io/fxQY9
<{^_^}> [nixpkgs] @gnidorah opened pull request #49356 → qtcurve: init at 1.9 → https://git.io/fxQ3V
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 opened pull request #49357 → nixos/plasma5: disable ocr tests → https://git.io/fxQ3r
<{^_^}> [nixpkgs] @Mic92 closed pull request #49353 → nixdoc: init at 1.0.1 → https://git.io/fxQtq
crmlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #49115 → Enable GFX in xf86-video-vmware → https://git.io/fxykZ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxQ3D
<{^_^}> [nixpkgs] @Infinisil merged pull request #49335 → [18.09] xorg.xf86videovmware: fix for GFX support → https://git.io/fxH5p
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-18.09: https://git.io/fxQ3S
agander has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #48961 → python36Packages.requests_download: 0.1.1 -> 0.1.2 → https://git.io/fxXy7
<{^_^}> [nixpkgs] @globin pushed commit from @r-ryantm to master « python36Packages.requests_download: 0.1.1 -> 0.1.2 »: https://git.io/fxQ3A
goibhniu has joined #nixos
<nyanloutre[m]> hi, I noticed that some part of KDE Plasma are broken (for example in the setting screen, big icons are black)
<nyanloutre[m]> Is it still the case on nixpkgs master ?
<nyanloutre[m]> I am on nixos-unstable but I noticed it has a lag of 12 days
crmlt has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #49078 → wlroots.examples: prefix example binaries → https://git.io/fxM8Y
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fxQss
<Mic92> nyanloutre[m]: which application is this?
<nyanloutre[m]> <freenode_Mic "nyanloutre: which application is"> System settings
* nyanloutre[m] uploaded an image: image.png (94KB) < https://matrix.org/_matrix/media/v1/download/nyanlout.re/ymXBRDyzIeLGqJmGeINlfKpx >
<{^_^}> [nixpkgs] @globin merged pull request #48989 → python36Packages.pyramid_multiauth: 0.8.0 -> 0.9.0 → https://git.io/fx1tJ
<{^_^}> [nixpkgs] @globin pushed commit from @r-ryantm to master « python36Packages.pyramid_multiauth: 0.8.0 -> 0.9.0 »: https://git.io/fxQsg
goibhniu has quit [Ping timeout: 252 seconds]
hotfuzz_ has joined #nixos
reinzelmann has quit [Quit: Leaving]
hotfuzz has quit [Ping timeout: 245 seconds]
peacememories has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #49303 → thonny: 3.0.1 -> 3.0.5 → https://git.io/fxHWd
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fxQsp
Alphare has joined #nixos
Itkovian has joined #nixos
<Alphare> hi again, from NixOS
<srk> o/
<Alphare> I'm having an issue with installing packages. Every time I try, I get the following error: "error: opening lock file '/nix/var/nix/profiles/per-user/root/profile.lock': Permission denied"
<Alphare> I think fish is not resolving my user profile correctly
<Alphare> is there a file somewhere where I need to specify which profile to use?
<{^_^}> [nixpkgs] @Mic92 opened pull request #49358 → nixdoc: init at 1.0.1 → https://git.io/fxQGq
<{^_^}> [nixpkgs] @Mic92 merged pull request #49357 → nixos/plasma5: disable ocr tests → https://git.io/fxQ3r
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fxQG3
<{^_^}> [nixpkgs] @Mic92 closed pull request #45566 → ocamlPackages.menhir: 20170712 -> 20180530 → https://git.io/fAtE4
<{^_^}> [nixpkgs] @Infinisil merged pull request #49095 → steam: ran update-runtime.py → https://git.io/fxDJx
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fxQGX
snajpa has quit [Remote host closed the connection]
aither has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ee9df2b79b3 (from 34 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
snajpa has joined #nixos
<rawtaz> IBM buying Red Hat
<drakonis> yes
<drakonis> we know
<{^_^}> [nixpkgs] @Mic92 opened pull request #49359 → verasco: remove → https://git.io/fxQGS
<rawtaz> good for you. others might not.
<Alphare> I didn't know
<Alphare> there is no "profile" file in /var/nix/profiles/per-user/root/
<{^_^}> [nixpkgs] @tadfisher opened pull request #49360 → nixos/systemd: support "suspend-then-hibernate" logind option → https://git.io/fxQGQ
Thra11 has joined #nixos
<aszlig> nh2: okay, booted up, thanks for the testing/fixup
<aszlig> nh2: did you test it also for a server with additional subnets?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stick` has joined #nixos
<{^_^}> [nixpkgs] @fadenb opened pull request #49361 → adwaita-icon-theme: 3.28.0 -> 3.30.0 → https://git.io/fxQZY
crmlt has quit [Remote host closed the connection]
markuskowa has joined #nixos
<boxscapeR> Alphare have you tried using sudo?
<{^_^}> [nixpkgs] @Mic92 opened pull request #49362 → openopc: remove → https://git.io/fxQZZ
<hyper_ch> IBM buys Red Hat - https://www.redhat.com/en/blog/red-hat-ibm-creating-leading-hybrid-cloud-provider -- another Oracle desaster?
<drakonis> we'll see where that one goes
<drakonis> and how badly it will hurt the linux userland
crmlt has joined #nixos
<Alphare> boxscapeR: Thanks for your help, I think my install is broken because I've changed too many things at once
<Alphare> I'll try another time
<Alphare> cheers
Alphare has quit [Quit: Page closed]
pointfourone has joined #nixos
stick` is now known as prusnak
crmlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49349 → ocamlPackages.menhir: 20170712 -> 20181026 → https://git.io/fxQJY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQZl
crmlt has joined #nixos
<gchristensen> anyone know where (which package) this python module comes from? from gi.repository import GLib
<{^_^}> [nixpkgs] @nyanloutre opened pull request #49363 → [18.09] Steam update → https://git.io/fxQZE
<andi-> gobject introsprection, need it more specific?
crmlt has quit [Remote host closed the connection]
<gchristensen> python36Packages.pygobject3 looks like the one! thank you!
<nh2> aszlig: I thought about backwards compat first as well but we probably don't need to care since 17.09 already hasn't got security updates for half a year so it's really unsafe to use on Hetzner anyway
<{^_^}> [nixpkgs] @Mic92 opened pull request #49364 → mono40: remove →
<{^_^}> [nixpkgs] @Infinisil merged pull request #49363 → [18.09] Steam update → https://git.io/fxQZE
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to release-18.09: https://git.io/fxQZP
crmlt has joined #nixos
<nh2> aszlig: I made another comment, removing the extra route certainly helps, but I'm not sure that then your case of multiple IPs is covered
<elvishjerricco> Can I run `hackage2nix` myself so that I can make a change to `configuration-hackage2nix.yaml`, update `hackage-packages.nix` myself, and use that change in `configuration-ghc-8.0.x.nix` all in a single PR?
<aszlig> nh2: yeah, IIRC ikwildrpepper has mentioned at some point in the past that we aim to support the last two recent stable releases, so in this case 18.09 and 18.03, but not sure whether this is the official policy (do we even have one?)
<elvishjerricco> Or is the automated `haskell-updates` branch the only thing that's allowed to touch `hackage-packages.nix` in all circumstances?
<aszlig> nh2: well, i do have a few server with additional subnets, but they're in production so i can't test that
crmlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #49350 → nixos/rngd: fix exec flags and udev rules → https://git.io/fxQUD
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxQZb
<aszlig> nh2: also, i'd like to see whether this works fine with networkd...
crmlt has joined #nixos
<aszlig> (probably will break horribly)
<aszlig> and i don't have a test server at the moment :-(
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #49360 → nixos/systemd: support "suspend-then-hibernate" logind option → https://git.io/fxQGQ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxQnt
aszlig has quit [Quit: System is kerneling down for reboot NOW.]
pointfourone has quit [Quit: Leaving]
<nh2> aanderse: can confirm, the Firefox Nightly console says:
<nh2> Loading failed for the <script> with source "file:///nix/store/jnmw8vcqkg47pwcgpm3271vbszwyn4wr-vm-test-run-login/jquery.min.js".
<nh2> ReferenceError: jQuery is not defined
<nh2> ReferenceError: $ is not defined
aszlig has joined #nixos
crmlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #49317 → nixos/virtualbox-image: increase disk to 50G → https://git.io/fxH2Q
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master:
crmlt has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nh2> aszlig: shall I quickly order you a couple bidding servers for testing?
crmlt has quit [Remote host closed the connection]
<nh2> aszlig: my question about subnets was less about testing but more about what we want to happen. Right now if I kick the stuff in https://github.com/NixOS/nixops/pull/1032/files#diff-7259d5ab65f159f2ab8a41642cc9b669R538 it works fine, but I'm not sure if we'd want some of these entries if there are multiple ifaces
<{^_^}> [nixpkgs] @loskutov opened pull request #49365 → cppcheck: 1.84 -> 1.85 → https://git.io/fxQn0
<aszlig> nh2: hm...
<nh2> so for example, if we have only eth0, then with that removed we'd only add
<nh2> ip route replace 1.2.3.1 dev eth0 proto static
<nh2> ip route replace default via "1.2.3.1" dev eth0 proto static
<nh2> in network-setup and nothing in network-addresses-eth0, and that would work fine
<{^_^}> [nixpkgs] @tomberek opened pull request #49366 → dydisnix: init at 0.0 → https://git.io/fxQng
<nh2> but if we had another iface, what `ip route` entry should we generate?
<nh2> I guess if we had eth1 from the same subnet (e.g. 1.2.3.5), we could add `ip route replace 1.2.3.1 dev eth1 proto static`?
<nh2> or `add` for that matter (as that's what network-interfaces-* uses, with a `| grep 'File exists'` instead of `replace`)
<aszlig> nh2: hm, right now hetzner doesn't have an official option to add another NIC, so you probably will only have eth0
<nh2> aszlig: so I think it it probably is correct to add to `iface_attrs[iface]` only those entries that aren't the default gateway
<{^_^}> [nixpkgs] @nyanloutre opened pull request #49367 → steam: patch missing udev option → https://git.io/fxQnS
<aszlig> nh2: but it doesn't mean that it won't be the case someday
<nh2> aszlig: right, and you can already now ask them to add 2 NICs when ordering. So I'm thinking the `iface_attrs[iface] = {` should be in `if iface != defgw_dev:`
<aszlig> nh2: yeah, that probably makes sense
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chris-martin_ has joined #nixos
agander has joined #nixos
<chris-martin_> Is the cache having problems? http://ix.io/1qk7
vidbina has joined #nixos
<aszlig> nh2: hm, another way to make this less annoying to test would be to change the vm test so that it matches hetzner's routing setup
<{^_^}> [nixpkgs] @Mic92 opened pull request #49368 → mono44: remove insecure version → https://git.io/fxQnh
worldofpeace has quit [Quit: worldofpeace]
vk3wtf has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #49369 → mono46: mark as insecure (CVE-2018-1002208) → https://git.io/fxQct
<{^_^}> [nixpkgs] @M-Gregoire opened pull request #49370 → standardnotes: init at 2.3.11 → https://git.io/fxQcm
agander has quit [Ping timeout: 264 seconds]
chris-martin_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #49371 → cctools: bump to latest commit → https://git.io/fxQcX
<ivegotasthma> hello
<ivegotasthma> I'm trying to set displayManager.lightdm.enable to false but I'm getting this error about a dependency that sets it to true
<ivegotasthma> I'm trying to remove most graphical packages from my installation and keep things minimal.
<ivegotasthma> any idea how I can resolve this?
<ivegotasthma> also, when i3 is started after lightdm it works, but if I start it with xinit, it doesn't
<{^_^}> [nixops] @aszlig pushed to master « Remove override for nixpart with udevSoMajor »: https://git.io/fxQcA
mayhewluke has quit [Ping timeout: 246 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #49373 → defaultCrateOverrides: add serde_derive → https://git.io/fxQCL
hamishmack has joined #nixos
Thra11 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49373 → defaultCrateOverrides: add serde_derive → https://git.io/fxQCL
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxQCC
crmlt has joined #nixos
Thra11 has joined #nixos
boxscapeR has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixops] @aszlig pushed to master « tests/hetzner: Fix evaluation with qemu-flags.nix »: https://git.io/fxQCV
<steveeJ> Mic92: thanks for the config example. so can you write arbitrary attributes to config?
elgoosy has quit [Ping timeout: 276 seconds]
crmlt has quit [Remote host closed the connection]
<Mic92> steveeJ: yes, you can create your own module option: https://github.com/Mic92/dotfiles/blob/master/nixos/vms/modules/retiolum.nix
<Mic92> you can also skip types there, if this is what you mean
<steveeJ> Mic92: alright, so not simply assignable
<Mic92> steveeJ: there is the attrs type, which you can assign any value
<steveeJ> Mic92: so one could build a dummy module which can just take anything? I might look into that! thanks!
boxscapeR has joined #nixos
<makefu> steveeJ: i have something like that for managing state on my machines: https://git.shackspace.de/krebs/stockholm/blob/master/makefu/3modules/state.nix
<makefu> just use "types.attrs" as type
<steveeJ> makefu: cool!
<makefu> however module fields will not merge as you would expect
<steveeJ> makefu: that's much easier than I thought
<steveeJ> makefu: ah, so filling it from multiple imports won't work?
<makefu> exactly
<steveeJ> makefu: mh, I didn't realize that's implemented on a module level
<Mic92> makefu: a list does merge with other definitions?
<makefu> the merge logic is implemented with types
<Mic92> *does not
<makefu> a list merges, but only "types.attrs" not
<{^_^}> #25935 (by nh2, 1 year ago, open): Manual does not list types.attrs as possible option type
<LnL> you probably don't want to use that
<LnL> types.attrsOf has much nicer behaviour
Thra11 has quit [Ping timeout: 246 seconds]
<LnL> types.attrs != types.attrsOf types.unspecified
ghibe has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49361 → adwaita-icon-theme: 3.28.0 -> 3.30.0 → https://git.io/fxQZY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQWJ
<aanderse> nh2: thanks for confirming
<makefu> LnL: would this merge better? i think it will only work on the first level, right?
<{^_^}> [nixpkgs] @Mic92 merged pull request #49301 → idea-ultimate & idea-community -> 2018.2.5 → https://git.io/fxHCk
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxQWI
Adluc has quit [Excess Flood]
<LnL> well yes, if you have arbitrary types they can't be merged
<infinisil> Can confirm, use attrsOf over attrs wherever possible
<infinisil> There's been a couple of "bugs" because of options being attrs instead of attrsOf
jackdk has joined #nixos
<LnL> yeah, maybe they should be the same but it's probably not ok to change that now
<makefu> steveeJ: the more precise you are with your types, the better they will merge. make modules of the type submodule and implement the options you need to get most out it
<{^_^}> [nixpkgs] @Mic92 pushed 16 commits to release-18.09: https://git.io/fxQWG
MoreTea has quit [Quit: WeeChat 1.9]
voiceftp has quit [Remote host closed the connection]
ryantrinkle has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49043 → python36Packages.icalendar: 3.9.0 -> 4.0.3 → https://git.io/fx1H8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQW6
jperras has quit [Client Quit]
sophiag has joined #nixos
<sophiag> does anyone know where the torrc file is located?
voiceftp has joined #nixos
vk3wtf has joined #nixos
vidbina has quit [Ping timeout: 245 seconds]
<infinisil> sophiag: What's that?
<infinisil> Oh, tor config. Probably somewhere in ~, so you can just `file` or so to find it
<infinisil> Maybe
Mateon3 has joined #nixos
<drakonis> i'm trying to figure out why pipenv won't pull in pyqt5
<sophiag> infinisil: i think i found the problem...
<sophiag> it seems to generate it after you launch tor for the first time
<drakonis> i may as well just package the missing dependency instead of using pipenv
<sophiag> but when trying to do so i get "You cannot run Tor Browser from a read-only file system. Please copy Tor Browser to another location before trying to use it."
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
alex`` has quit [Ping timeout: 252 seconds]
MarkOtaris has joined #nixos
alex`` has joined #nixos
jasongrossman has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49277 → todoman: 3.4.0 -> 3.4.1 → https://git.io/fxHY9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQlB
<srhb> sophiag: How did you launch tor and from whence did you get it?
<sophiag> i got it working
<{^_^}> [nixpkgs] @Mic92 merged pull request #49368 → mono44: remove insecure version → https://git.io/fxQnh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQlR
<srhb> sophiag: Ah, good. :)
<sophiag> i just had to install nixos.tor-browser-bundle-bin instead of nixos.tor-browser
<sophiag> and then it's in ~/.local/share/tor-browser/TorBrowser/Data/Tor
<sophiag> rtfm :p
crmlt has joined #nixos
<srhb> or nixos.torbrowser
<srhb> Anyway, great. :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #49364 → mono40: remove → https://git.io/fxQZ6
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxQlg
Adluc has joined #nixos
<makefu> sophiag: there is also https://nixos.wiki/wiki/Tor#Browsing_the_web_with_Tor , maybe you could add your insights :)
<sophiag> srhb: actually nixos.torbrowser was giving me trouble. i just had to swap it out for the bundled one
<sophiag> makefu: well, the reason i need to edit this file is really absurd...
chris-martin has joined #nixos
<srhb> sophiag: Hum, strange.. :)
<sophiag> i'm abroad and need to purchase health insurance to avoid a tax penalty from the us govt but the site blocks foreign ips
<sophiag> and the reason i'm travelling is to pay out of pocket for better health care!
<sophiag> #thefuture
<chris-martin> (sorry, repeating my question because I've been offline:) Is the cache having problems? http://ix.io/1qk7
<sophiag> ugh! i guess it blacklists exit nodes too??
<sophiag> i'm actually impressed new york state even knows tor exists
<chris-martin> I can't seem to build much of anything on EC2 today, it just hangs at "copying path '/nix/store/wprwklil0487mwqivldmix866fy72i7f-gsettings-desktop-schemas-3.28.0' from 'https://cache.nixos.org'..."
<sophiag> or not..i edited torrc but it's still bouncing me through mumbai..
<chris-martin> https://cache.nixos.org/ says I should report trouble here?
<srhb> chris-martin: Works fine here. But I just noticed your message in #unregistered -- you're getting a cloudfront front to cache.nixos.org? I thought we switched over to fastly
<srhb> chris-martin: That seems fishy
<srhb> chris-martin: Might want to investigate your DNS. :)
<chris-martin> sorry I'm not much of an irc user, I am confused here
<samueldr> (the index page probably wasn't updated when moving to fast.ly)
<srhb> chris-martin: (You got redirected to #nixos-unregistered before because you weren't authenticated at the time -- now you're in #nixos proper)
<chris-martin> I just started this instance from an older nixos AMI
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6f07d27625f (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<srhb> chris-martin: Which hardcodes the cache to something other than cache.nixos.org ?
<chris-martin> does it?
<srhb> chris-martin: I'm asking. :) Your paste refers to a cloudfront.net address.
<srhb> chris-martin: The cache no longer lives there.
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « mono44: mark as insecure »: https://git.io/fxQlp
<samueldr> srhb: that's from graham's diagnostics script
<srhb> Oh.
<srhb> What's that?
<chris-martin> it's what https://cache.nixos.org/ says to run
<samueldr> ^
<srhb> Ah, now I understand samueldr's message as well. :)
<chris-martin> it is outdated?
<{^_^}> [nixpkgs] @Mic92 merged pull request #49358 → nixdoc: init at 1.0.1 → https://git.io/fxQGq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQlj
<samueldr> Kind of
<{^_^}> [nixpkgs] @Mic92 merged pull request #48875 → nginx: add custom options → https://git.io/fxPC4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQ8f
<samueldr> It won't help since like a month :/
<samueldr> (don't remember the moment of the move)
<srhb> chris-martin: Still the ipv4 curl seems to succeed...
<chris-martin> correction, it isn't an older AMI, it's the latest 18.09
crmlt has quit [Ping timeout: 252 seconds]
<srhb> chris-martin: Can you try downloading the nar in question by hand and seeing what's going on? I suspect it's just ridiculously slow from the behaviour you're describing
<srhb> Which does indicate some problem getting to the cache
<chris-martin> how?
<srhb> (That's the nar you were hanging on before at least)
<chris-martin> that wget completes very quickly
<srhb> Okay, so that's not the problem
<srhb> I guess you'll need to rerun whatever command you're trying with higher verbosity to get something useful out of it
<chris-martin> how did you map /nix/store/wprwklil0487mwqivldmix866fy72i7f-gsettings-desktop-schemas-3.28.0 to https://cache.nixos.org/nar/0wb6kx1gp13vscaqqr4kylivarbzcnsad8jma1plai77657qjkmm.nar.xz ?
<srhb> I curled the narinfo: curl https://cache.nixos.org/$hash.narinfo
<chris-martin> It's 'nix-build' that's hanging
<chris-martin> or 'nix build', they both do
<{^_^}> [nixpkgs] @Mic92 merged pull request #49215 → ocamlPackages.fmt: 0.8.4 -> 0.8.5 → https://git.io/fx9Q4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master:
<chris-martin> here's the end of -vvvvv output, does this mean anything? https://gist.github.com/chris-martin/1d76f01147515527614caace6ef4d86d
MoreTea has joined #nixos
acarrico has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49313 → rstudio 1.1.456 -> 1.1.463 → https://git.io/fxHuV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQ8B
<srhb> chris-martin: Aside from "waitee" (which I haven't seen before) it looks pretty normal
acarrico has joined #nixos
<boxscapeR> Is there a typical way to set a desktop background in nixos?
<boxscapeR> ideally with home-manager
Ariakenom has quit [Ping timeout: 252 seconds]
alex`` has quit [Ping timeout: 245 seconds]
<steveeJ> what group do I need to be in to run `systemctl suspend` without a password?
<steveeJ> it works on an existing system but I can't figure out why :D
<pbogdan> https://hydra.nixos.org/job/nixos/release-18.03-small/tested#tabs-constituents how is the tested job succeeding when some of the tests are shown as failing?
vidbina has joined #nixos
carlosdagos has joined #nixos
markuskowa has quit [Quit: Page closed]
acarrico has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
chris| has quit [Quit: ZNC 1.7.1 - https://znc.in]
chris| has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49252 → crystal: fix "play" subcommand → https://git.io/fxHfn
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxQ8x
georges_ has joined #nixos
<georges_> hello
boxscapeR has quit [Remote host closed the connection]
<georges_> I would like to add a runtime dependency to docker-compose on git. How would I proceed?
<georges_> because docker-compose needs git and I have the following error "ERROR: failed to init repo at /var/lib/docker/tmp/docker-build-git190939800: : exec: "git": executable file not found in $PATH"
boxscapeR has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49193 → parallel: 20180922 -> 20181022 → https://git.io/fx9BA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fxQ4f
nuncanada has quit [Quit: Leaving]
fendor has quit [Read error: Connection reset by peer]
Mr_Keyser_Soze99 has joined #nixos