worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c2f1d026c9e (from 39 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
racoonslug has joined #nixos
shibboleth has joined #nixos
bt` has joined #nixos
jgt2 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jbedo opened pull request #75848 → bedtools: 2.29.1 -> 2.29.2 → https://git.io/Je7Fd
mexisme has joined #nixos
mexisme_ has quit [Ping timeout: 265 seconds]
juxiemaotu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @fpletz merged pull request #75839 → dovecot_pigeonhole: 0.5.8 -> 0.5.9 → https://git.io/Je75B
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Je7b4
<{^_^}> [nixpkgs] @fpletz pushed commit from @petabyteboy to release-19.09 « dovecot_pigeonhole: 0.5.8 -> 0.5.9 »: https://git.io/Je7bE
jjakob has quit [Ping timeout: 248 seconds]
jgt2 has joined #nixos
dbmikus_ has joined #nixos
mbrgm_ has joined #nixos
drakonis has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 248 seconds]
dbmikus has quit [Read error: Connection reset by peer]
jgt2 has quit [Ping timeout: 248 seconds]
dbmikus__ has joined #nixos
<duairc> This probably isn't NixOS specific, but there's a route that keeps getting added to my routing table which is causing problems. I definitely don't have it in any config files anywhere. What could be adding it?
jjakob has joined #nixos
dbmikus_ has quit [Ping timeout: 245 seconds]
<duairc> It looks like this: acbd:efab:cdef:abcd::/56 dev eth0 proto kernel metric 256 expires 2582235sec pref medium
pbb has joined #nixos
<duairc> The "expires" is particularly suspect
<clever> duairc: that happens when you get route advertisement packets from the "router"
<duairc> Ah, I thought I had disabled RA
<clever> duairc: that is also why ive still not gotten onto N band wifi, lol
<clever> one of the routers i purchased, and repurposed into an access point, refused to stop sending RA packets
<clever> so it null-routed all v6 traffic
simplify has joined #nixos
<duairc> systemd.network.networks."40-iv-eth0".networkConfig.IPv6AcceptRA = "no";
orivej has quit [Ping timeout: 245 seconds]
DerGuteMoritz has quit [*.net *.split]
davean has quit [*.net *.split]
ikwildrpepper has quit [*.net *.split]
Ultrasauce has quit [*.net *.split]
sveitser has quit [*.net *.split]
srk has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
deni has quit [*.net *.split]
maurer has quit [*.net *.split]
Squarism has quit [*.net *.split]
deni has joined #nixos
Ultrasauce has joined #nixos
hexagoxe- has joined #nixos
<clever> in my case, i was also relying on RA to configure the real router
ikwildrpepper has joined #nixos
Squarism has joined #nixos
<clever> so that wasnt really an option, enless i wanted to manually configure v6 everywhere
DerGuteMoritz has joined #nixos
davean has joined #nixos
sveitser has joined #nixos
srk has joined #nixos
maurer has joined #nixos
<duairc> I have that line in my config file, I swear it used to stop this from happening, maybe something has changed
<clever> duairc: you can also read it from /proc to confirm the current setting
<duairc> (I'm using networkd but hadn't updated this box, or really touched it at all for over a year until recently)
hexagoxe- is now known as hexagoxel
<duairc> Cool, I'll try that
<clever> $ cat /proc/sys/net/ipv6/conf/enp3s0/accept_ra
<clever> 0
<clever> 1
<clever> $ cat /proc/sys/net/ipv6/conf/all/accept_ra
<lovesegfault> clever: ping me so I can test something pls
<clever> i'm not sure what has priority when they conflict like this, but i'm on defaults and it just accepts RA's
<clever> lovesegfault: pong
<lovesegfault> clever: Thanks :)
<{^_^}> [nixpkgs] @nkpart opened pull request #75849 → emscripten: 1.38.28 -> 1.39.1 → https://git.io/Je7b7
<duairc> clever: Ah, I didn't realise there was a global setting for it as well. I'm in the same boat, /eth0/ returns 0, /all/ returns 1
m0rphism has quit [Ping timeout: 268 seconds]
<clever> duairc: there may be kernel docs for it...
<duairc> Yeah I'll look in that direction
<clever> Documentation/networking/ip-sysctl.txt:accept_ra - INTEGER
<clever> yep, just check this file in the linux github
werner291 has quit [Ping timeout: 268 seconds]
werner291 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75106 → pythonPackages.transformers: init at 2.2.1 → https://git.io/Jey4Q
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/Je7bh
erictapen has quit [Ping timeout: 252 seconds]
azdle has quit [Remote host closed the connection]
erictapen has joined #nixos
m0rphism has joined #nixos
LLED2_2 has quit [Ping timeout: 248 seconds]
halfbit has quit [Ping timeout: 265 seconds]
vld has joined #nixos
<pie_> clever: is it possible to order activationscripts
karetsu has quit [Quit: WeeChat 2.6]
<clever> pie_: thats what the deps= is for
<clever> pie_: check other activation scripts in nixpkgs to see examples
<pie_> clever: oh, i didnt see deps used anywhere i was like...i imagine this is for ordering but...
<pie_> ok ill try harder to find something
dongcarl has quit [Quit: ZNC 1.7.4 - https://znc.in]
<evanjs> If I'm modifying a weird custom make system to work with nixos (in this case, with the OpenFOAM project), is it best to substituteInPlace all the weird variables they use, or export them before they're used in my expression?
<pie_> i need to sleep so bad x) ill go to sleep after this]
drakonis has quit [Ping timeout: 245 seconds]
dongcarl has joined #nixos
<pie_> clever: is the dep string the attr name
<clever> pie_: i believe so
<pie_> would make sense well see in a sec
Intensity has joined #nixos
ninegrid has joined #nixos
shibboleth has quit [Quit: shibboleth]
vld has quit [Ping timeout: 268 seconds]
<duairc> clever: I still haven't gotten to the bottom of this, but for what it's worth, systemd.network's man page says that it disables the kernel's RA implementation and uses its own userspace one, so those kernel settings don't matter
<clever> duairc: ack!
dongcarl has quit [Quit: ZNC 1.7.4 - https://znc.in]
<duairc> If it's is RA that's causing this, I wonder is there some log file somewhere that would log such things?
dongcarl has joined #nixos
<clever> duairc: id start with tcpdump to confirm that
<jtojnar> lovesegfault I meant for the line to be applied in the file linked in the commit
simplify has left #nixos [#nixos]
mexisme_ has joined #nixos
<jtojnar> s/commit/comment/
<jtojnar> s/applied/changed/
mexisme has quit [Ping timeout: 248 seconds]
<duairc> clever: I don't see any RA packets... is there something I can do to trigger one?
jgt2 has joined #nixos
<clever> duairc: they are sent out at a regular interval, so it may take a while to see one
day|flip has joined #nixos
<duairc> Okay, I'll wait so
Heirlung has quit [Ping timeout: 265 seconds]
fragamus has joined #nixos
<day|flip> i'm having a weird issue. yes im using a window manager and not a desktop. but I can't seem to change any icon theme. in lxappearance. I can change normal gtk theme. but icon theme all stay the same. so far. I have adwaita, elementary, and numix square install using environment.systemPackages = with pkgs; [ foo ] in /etc/nixos/configuration.nix. im running out of idea on why they cant change
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je7AL
drakonis has joined #nixos
dongcarl has quit [Quit: ZNC 1.7.4 - https://znc.in]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75490 → barrier: add openssl runtime dependency → https://git.io/Je9Xi
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @orendorff-mi to master « barrier: add openssl runtime dependency (#75490) »: https://git.io/Je7Am
Lears has joined #nixos
dongcarl has joined #nixos
[Leary] has quit [Read error: No route to host]
mexisme_ has quit [Ping timeout: 258 seconds]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
fragamus has joined #nixos
<duairc> clever: I think I might've figured it out. systemd-networkd does indeed disable the kernel's RA, and it is respecting my IPv6AccceptRA=no setting. However, I load the ipv6 kernel module in the initrd, because I need networking to decrypt my hard drive on boot. It must be then that the route gets added.
mexisme_ has joined #nixos
<clever> ahh
<clever> and then it has to expire naturally, based on the expire listed in `ip route`
<clever> and nothing will renew it
gustavderdrache has quit [Quit: Leaving.]
Rusty1 has quit [Quit: Konversation terminated!]
werner291 has quit [Remote host closed the connection]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<duairc> I took out ipv6 from the boot.initrd.kernelModules to test this hypothesis, and now I don't have any initrd networking, not even IPv4! Oops. Though this does sort of solve one of the mysteries I was having yesterday
<duairc> I guess I'll just in a startup script a command that removes that particular route
<duairc> Because if we're right, then it's not going to come back
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<clever> duairc: it might be that ipv6 was pulling in other stuff via its deps, that you needed
<clever> duairc: check `modinfo ipv6`, and try adding just its deps to boot.initrd.kernelModules?
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @mmilata opened pull request #75850 → libreoffice: merge -still and -fresh into common derivation → https://git.io/Je7A0
<duairc> Yeah, it seems like it. Yesterday/this morning it was udhcpc, the networking wouldn't come up without that, even though I was doing everything statically. Then at some point it started working, I guess that was when I added ipv6, which must have done some other magic
<duairc> I'm actually quite happy to have ipv6 in the initrd, this was just to test a hypothesis, but I'm quite sure it's correct.
<duairc> I think I'll add the command to remove said route at boot time. If my routing stops working in 30 days I'll know my hypothesis was incorrect.
fendor_ has joined #nixos
dbmikus__ has quit [Ping timeout: 248 seconds]
fendor has quit [Ping timeout: 268 seconds]
tjgee has quit [Quit: THIS CONFERENCE IS PROMOTING CIVIL DISOBEDIENCE]
gustavderdrache has joined #nixos
tjg1 has joined #nixos
delan has joined #nixos
delan has joined #nixos
evhan has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dae65444579 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tom39291 has quit [Ping timeout: 245 seconds]
puffnfresh has quit [Ping timeout: 252 seconds]
tom39291 has joined #nixos
Rusty1 has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
evhan has joined #nixos
puffnfresh has joined #nixos
<infinisil> day|flip: Try using lxappearance-gtk3 instead
<infinisil> (that's the package name, executable name is still lxappearance)
<{^_^}> [nixpkgs] @nh2 merged pull request #73580 → [r19.03] dpdk: 17.11.2 -> 17.11.9, addressing CVE-2019-14818 → https://git.io/Jeopu
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to release-19.03: https://git.io/Je7AF
<{^_^}> [nixpkgs] @nh2 merged pull request #75795 → Port NixOS tests to python → https://git.io/Je7O6
<{^_^}> [nixpkgs] @nh2 pushed 4 commits to master: https://git.io/Je7xe
wildtrees has quit [Quit: Leaving]
<day|flip> I really can't figure out why I can't change icon theme. https://hastebin.com/jehebazesa.shell
<day|flip> infinisil: ^
<infinisil> Well what happens when you try out what I suggested
<day|flip> that the version I have installed
<infinisil> Hm then I'm out of ideas too :)
<day|flip> i did notice i have gnome3.adwaita-icon-theme twice in my config. remove the one. and re update
<day|flip> still nothing change
MightyJoe has quit [Ping timeout: 248 seconds]
cyraxjoe has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0dc46b0e1c8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
mexisme_ has quit [Ping timeout: 248 seconds]
mexisme_ has joined #nixos
<bt`> Hello, I've run into a issue with my install http://0x0.st/z0Mc.log It seems rather odd that xf86-video-intel would not compile considering how rarely it updates, but I'm really struggling to find any configuration error that might lead to this. I'm running on a 32bit system which might in some way be relevant.
day|flip has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/352f030b715 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<bt`> (sorry if that came off rude, this is a lovely project, I was just trying to be to the point.)
h0m1 has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos
<infinisil> bt`: What's your nixpkgs version?
<monokrome> Does anyone know how to skip "waiting for lock" in nix?
<{^_^}> [nixpkgs] @orendorff-mi opened pull request #75851 → vlc: fix GLib-GIO-ERROR rg.gtk.Settings.FileChooser → https://git.io/Je7xP
<monokrome> Like, clear the lock?
<monokrome> I computer died during nix-build
<infinisil> bt`: Or better: Show the output of `nix-info`
<clever> monokrome: usually, those locks are kept in kernel space, and cleared on improper shutdown
<clever> monokrome: what exactly are you running, that causes it to block?
<monokrome> er, sorry, I meant during nixos-rebuild
<monokrome> nixos-rebuild switch --upgrade
<bt`> infinisil: system: "i686-linux", multi-user?: yes, version: nix-env (Nix) 2.3, channels(root): "nixos-19.09.1594.fbe321e6669", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<monokrome> Ah, well that's a weird situation then... I assumed that it was a file lock
<clever> monokrome: what happens if you just `sudo nix-channel --update` ?
<monokrome> same thing
<clever> monokrome: `sudo strace nix-channel --update`, what does it hang around?
<{^_^}> [nixpkgs] @veprbl merged pull request #75695 → Port NixOs tests to python → https://git.io/JeQwT
<{^_^}> [nixpkgs] @veprbl pushed 7 commits to master: https://git.io/Je7xD
<monokrome> It does an flock followed by an fwrite to the tarball, but the fwrite fails saying it's waiting on a lock
<infinisil> bt`: Can confirm that the 32 bit version indeed doesn't compile
<clever> monokrome: can you paste those 2 lines?
<monokrome> it seems like I have a hanging process from 11 hours ago running nixos-rebuild for some reason actually
<monokrome> I think that'd explain it?
<monokrome> ya it worked after I killed that proces
* monokrome facepalm
<clever> monokrome: as i expected, the lock wasnt on-disk but was in-kernel
<bt`> infinisil: thank you, I'll try to track down the issue and make a patch, although I'm rather new to Nix; hopefully it's not a upstream issue, although it seems like it could be.
thc202 has quit [Ping timeout: 248 seconds]
<monokrome> clever: ya makes sense, I just assumed it was a file-based lock for no reason
<infinisil> Seems like an issue since gcc 8 which has become the new default
<monokrome> clever: thanks
<monokrome> :D
<{^_^}> [nixpkgs] @veprbl merged pull request #75701 → Port NixOS tests to python → https://git.io/JeQic
<{^_^}> [nixpkgs] @veprbl pushed 11 commits to master: https://git.io/Je7xd
<duairc> /etc/nix/nix.conf is statically generated from my configuration.nix, but there doesn't seem to be a NixOS option for setting the secret-key-files setting in nix.conf
gyroninja__ has quit [Read error: Connection reset by peer]
<bt`> infinisil: Sorry that took a moment, I don't have easy access to a web-browser currently, I'm using Emacs on TTY. Thanks for finding that patch. I have to learn a little bit more about nix to apply it, but after I do I'll try to learn how to suggest it gets merged.
<DigitalKiwi> https://www.dropbox.com/s/bop4iu368u75vbi/2019-12-17%2020.46.40.jpg?dl=0 new nixos art. now with sparkles :D
<DigitalKiwi> soon there will be glitter on everything i own ;_;
gyroninja__ has joined #nixos
<infinisil> bt`: Well you do need a browser to make a github PR
<infinisil> bt`: I can make a PR if you want
<monokrome> I think you can make them w/ the `hub` CLI?
<bt`> infinisil: That would be really helpful, I'm not as competent at CI these things as I would like to be, I just sftp put my stuff to my server. :p
Henson has joined #nixos
<bt`> That sentence doesn't make sense, but the point was I'm not competent and that's a little too clear.
<infinisil> Got it :)
<infinisil> I'll tell you in a bit how you can use the patch in your system
<bt`> Thanks again, I really love NixOS so far and I'm really looking forward to using it more.
<infinisil> :D
<bt`> :)
<Henson> any tips on using a nfs client with NixOS? Do I install nfs-utils, or do I need other things for the rpc-statd, mountd, and others? I looked in NixOS options and found stuff for the NFS server, but not the client. The NixOS manual also wasn't any help.
vld has joined #nixos
<clever> Henson: boot.supportedFilesystems = [ "nfs" ]; and nixos will setup all nfs client stuff for you
<Henson> clever: thank you. Is that written down somewhere? I looked in the NixOS Wiki under NFS and in the NixOS manual and didn't find it?
<clever> Henson: if you set fileSystems."/something" = { fsType = "nfs"; device = "server:/something"; };, then nfs will be added to boot.supportedFilesystems automatically
vld has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #75852 → xorg.xf86-video-intel: 2018-12-03 -> 2019-12-09 → https://git.io/Je7pT
CMCDragonkai has joined #nixos
<Henson> clever: right. But I feel like there are a bunch of things that could be added to the NixOS user guide or Wiki. There are so many things I've wanted to do that I need to come on here and ask about because I can't find them anywhere else. Should I sign up for the NixOS Wiki and add stuff whenever I learn something new?
<clever> Henson: yeah, that sounds like a good idea
<duairc> I've tried etc.environment."nix/nix.conf".source, but it seems to be ignored
<Henson> clever: is nixos.wiki the official wiki?
<clever> i believe so
bsima1 is now known as bsima
lovesegfault has quit [Ping timeout: 245 seconds]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<duairc> Ah, there's a nix.extraOptions
cptchaos83 has joined #nixos
<infinisil> bt`: Okay add this to your configuration.nix: `nixpkgs.overlays = [(import ./fix-intel-overlay.nix)]` and download https://paste.infinisil.com/Qd8cadDY1g.nix to ./fix-intel-overlay.nix
<infinisil> This is the patch in overlay form from my PR #75852
<{^_^}> https://github.com/NixOS/nixpkgs/pull/75852 (by Infinisil, 5 minutes ago, open): xorg.xf86-video-intel: 2018-12-03 -> 2019-12-09
<Henson> clever: ok. The front page says unofficial. After reading the history of the NixOS Wikis on there, would it be better to contribute to the official documentation instead of a Wiki?
tbenst_ has joined #nixos
<clever> Henson: cant hurt to contribute to both at once
<bt`> infinisil: Okay, rebuilding now, I'll report back in a moment.
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
cryptomonad has joined #nixos
bt`` has joined #nixos
<bt``> infinisil: That worked perfectly! Thanks so much!
<infinisil> :D
<bt``> I should be able to get my system completely sorted by the end of the day, also I wouldn't be surprised if this helps out some of the other people computing on dinosaurs still. :)
<infinisil> Hehe, I think you're the first person I see still using a 32bit machine
<clever> bt``: the last dinosaur i retired was 64bit capable, but lacked some (now common) sse extensions
<clever> bt``: that resulted in software i was working on, crashing due to illegal instructions
<bt``> Yah, with the exception of some 32bit arm systems, which don't really exist anymore either, I don't know of anyone else who runs one.
<bt``> I'll probably upgrade in a few years :p
<clever> bt``: i'm currently working on rpi firmware stuff, and using 32bit mode on an rpi3, despite it being 64bit capable
<samueldr> there's way more 32 bit arm platforms than you may expect
<samueldr> android devices with 64 bit capable CPUs shipped with 32 bit systems until recently
<clever> samueldr: got my msg in #nixos-aarch64 ?
<clever> rasbian still uses armv6 userland, so they can ship a single distro for every model of rpi
<infinisil> samueldr: I expected 0, any devices at all is infinite percent more than I expected :)
<bt``> clever: samueldr: That's interesting, I wasn't aware how much they were holding on in software. I just know some people with RPI 2's and some A20 devices that they like.
<samueldr> that's not even because of android, reasons are actually unknown
<bt``> weird
<samueldr> I would bet on those OEMs keeping the same toolchain for their different lineups
<gustavderdrache> i was also gonna guess SoC drivers
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<samueldr> not even!
<gustavderdrache> weird
aw has joined #nixos
<samueldr> yes!
<clever> i can at least see why with rasbian, more noob friendly if you can just download any image, and it work on any pi
spacefrogg has joined #nixos
<samueldr> I had a 2015 android phone that ran a 64 bit OS, then "upgraded" (forced by battery expanding issues) to a 2016 model from another OEM, and was surprised by the 32 bit userland
<samueldr> (and kernel)
tpham has joined #nixos
<gustavderdrache> sure why not
<tpham> I have this nix script: https://pastebin.com/pszB33Hj
<tpham> When run nix-build, it show this cmake error:
<tpham> Could NOT find Boost (missing: log filesystem program_options) (found version "1.69.0")
orivej has joined #nixos
<tpham> I have included boost in the build input, why does that happen?
<clever> tpham: use clangStdenv, not stdenv, when you want to use clang
<clever> tpham: then you can delete lines 11 and 13
<clever> tpham: adding pkgconfig on line 10 may fix the boost issues
<tpham> How can I use clang_9 instead of default clang7
<ivan> does anyone use chromium on 19.09 here? (it needs another maintainer to test updates)
<clever> 7700 clangStdenv = if stdenv.cc.isClang then stdenv else lowPrio llvmPackages.stdenv;
<clever> tpham: llvmPackages_9.stdenv maybe?
jusss has joined #nixos
<jusss> how to search package with nix?
<jusss> like pacman -Fs xxx also pacman -Ss xxx
<clever> jusss: i either tab-complete within `nix repl '<nixpkgs>'` or grep nixpkgs, but there is also `nix search`
<tpham> nix-env -q
<tpham> @clever llvmPackages_9.stdenv does not work, mkDerivation is missing
<clever> > llvmPackages_9.stdenv.mkDerivation
<{^_^}> <LAMBDA>
<clever> tpham: looks like it exists for me and the bot
<jusss> clever: thanks
<tpham> I'll solved it later. The code can be built with clang7
<jusss> where I can find all the available repos for nix? AKA source or repo
<tpham> @clever but I still get the Boost error
<clever> tpham: if you read the cmake file, how does it actually search for boost?
<tpham> find_package(Boost REQUIRED COMPONENTS log system filesystem program_options)
mexisme_ has quit [Ping timeout: 248 seconds]
<tpham> I can build the project successfully with this nix shell:
<tpham> nix-shell -p clang_9 -p cmake -p git -p libpcap -p gtest -p boost -p tbb -p protobuf -p cppzmq -p czmq
<clever> tpham: -p can take multiple arguments at once
<tpham> just cmake .. && make -j9
<tpham> Oh, thanks. I didn't know that
<tpham> I thing I should add boost to another list, not buildInputs
<clever> pretty sure boost belongs in buildInputs
<clever> and all -p does, is put those strings into the buildInputs
<tpham> :(
felixfoertsch23 has joined #nixos
<tpham> This is the result of find_package(boost) with nix-shell:
<tpham> -- Found Boost: /nix/store/3dzmwvwwmg9l2qhz797fwpvzq5qy8n98-boost-1.69.0-dev/include (found version "1.69.0") found components: log system filesystem program_options date_time log_setup thread regex chrono atomic
felixfoertsch has quit [Ping timeout: 250 seconds]
fresheyeball has joined #nixos
<jusss> is there a channel for China?
<clever> tpham: id expect that to work then
acarrico has quit [Ping timeout: 245 seconds]
<tpham> Sorry, I'm out for lunch.
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
gustavderdrache has quit [Quit: Leaving.]
ninegrid has quit [Ping timeout: 246 seconds]
sjkelly1 has quit [Remote host closed the connection]
HedgeMage_ is now known as HedgeMage
EdLin has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
cryptomonad has quit [Remote host closed the connection]
captn3m0 has joined #nixos
tbenst_ has quit [Ping timeout: 248 seconds]
bt`` has left #nixos ["ERC (IRC client for Emacs 26.3)"]
bt` has quit [Remote host closed the connection]
eacameron has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ivan opened pull request #75853 → chromium: 79.0.3945.79 -> 79.0.3945.88 → https://git.io/Je7he
ddellacosta has quit [Read error: Connection reset by peer]
ddellaco1 has joined #nixos
dansho has joined #nixos
vld has joined #nixos
ddellaco1 has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d1dff0bcd9f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
vld has quit [Ping timeout: 248 seconds]
endformationage has quit [Quit: WeeChat 2.6]
<dansho> what is the .drv path hash computed from?
drakonis has quit [Read error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
<clever> dansho: the set of every key/value pair passed to builtins.derivation
bvdw has joined #nixos
<dansho> clever: is builtins.derivation the same function as derviation?
<clever> dansho: yeah, its and its the real primop behind things like stdenv.mkDerivation
<dansho> clever: i know of the required args (name, builder, system), is there a way to see what the other args are?
<dansho> or is it just whatevers in `drvAttrs` in the resulting set?
<clever> dansho: all args (including the required ones) just become env vars during the build, you can also run `nix show-derivation /nix/store/foo.drv` to see the whole set
<clever> since they just become env vars, its a bit hard to list every single one, you have to read all of the shell scripts to see what they look for
<dansho> so it's just those attrs in "env" that get hashed?
tsrt^ has joined #nixos
<clever> yeah
tsrt^ has quit [Read error: Connection reset by peer]
<clever> dansho: env, args, builder, and system
<clever> not sure why args is absent from env
<dansho> i see "out" in "env"
<clever> out isnt part of the hash
<clever> but is rather, based on that hash
<clever> hmmm, wait, other way around
<clever> one min
<dansho> well that was going to be my next question, is the outPath just the hash of the .drv file with the output path set to ""?
<clever> i believe the way it works, is that outpath, is a hash of the attrs to builtins.derivation (and some other constants)
<clever> and then the hash-name.drv, is based on the hash of its own contents
<clever> let me grab the source
<clever> dansho: for all objects, its a truncated hash of "${type}:sha256:${hash2}:${store}:${name}"
<dansho> hmm thanks i'll look at that
<clever> thats the source behind builtins.derivation
<clever> where it begins to iterate over each key/val pair
<clever> auto outPath = state.store->makeOutputPath(i, h, drvName);
<clever> Hash h = hashDerivationModulo(*state.store, Derivation(drv), true);
<clever> and then it calls this, with the name of each output (usually just "out"), the hash of the drv, and the name of the drv
<clever> that generates $out
<clever> auto drvPath = writeDerivation(state.store, drv, drvName, state.repair);
<clever> and finally, it writes the drv to the store
<clever> dansho: which then uses addTextToStore, from store-api.cc
<clever> so the type from earlier, will be "text:<r1>:<r2>", with a list of references
<clever> i think references, is everything under inputSrcs and inputDrvs
day|flip has joined #nixos
<dansho> clever: ${hash2} then is the hash of the .drv file, i think? (in the case of a derivation)
Rusty1 has quit [Quit: Konversation terminated!]
<clever> dansho: yeah
<clever> dansho: makeOutputPath generates a similar string, based on the contents of the drv and the output name (.out .dev .lib), to create the hash in $out
<day|flip> i kind of figure out how to change my icon theme. but needed to edit dconf-editor to do so. /org/gnome/desktop/interface/icon-theme then change custom value to icon theme name. But why can't lxappearance it? the only icon theme i found. that i can change. with lxappearance. arc-icon-theme
<day|flip> weird part. I don't have gnome installed anymore
bahamas has joined #nixos
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<dansho> clever: wait, the .drv file contains the outPath, so maybe its a hash of the deriviation with "out" set to "" (i guess)
lovesegfault has joined #nixos
<ivan> does anyone use konsole on nixos master? do the tab activity colors work for you?
<tilpner> day|flip: lxappearance should be able to. Which application are you verifying successful iconset changes with?
<tilpner> day|flip: Do .gtkrc-2.0 and .config/gtk-3.0/settings.ini reflect your choices?
<tpham> clever are you there
<clever> tpham: yep
<tpham> Just found that the boost dir when running nix-shell and nix-build are different
<tpham> nix-build boost: /nix/store/abq5lall7knqgfq2j5s85s9vv8gyjh14-boost-1.69.0/
<tpham> and nix-shell boost: /nix/store/3dzmwvwwmg9l2qhz797fwpvzq5qy8n98-boost-1.69.0-dev/
<clever> tpham: thats boost.out vs boost.dev
<clever> tpham: load up a `nix repl '<nixpkgs>'` and then try to eval both "${boost.out}" and "${boost.dev}"
<day|flip> tilpner lxappearance-gtk3 is what i'm using. and it auto fill both config once apply.
<tpham> clever nix-repl> "${boost.out}""/nix/store/abq5lall7knqgfq2j5s85s9vv8gyjh14-boost-1.69.0"nix-repl> "${boost.dev}""/nix/store/3dzmwvwwmg9l2qhz797fwpvzq5qy8n98-boost-1.69.0-dev"
<clever> yep, those match up
<clever> tpham: how are you finding the path under both nix-build and nix-shell?
<tpham> I have changed the boost in buildInputs to boost.dev but cmake still give me the same error
<clever> tpham: stdenv.mkDerivation gets the .dev automatically for you
<day|flip> lxappearance. but it only able to change arc-icon-theme. some part of other theme get change. but it default folder icon back to adwaita.
<tpham> @clever I don't quite get your question
fresheyeball has quit [Quit: WeeChat 2.6]
<lovesegfault> How can I list how much nix-build will build?
<lovesegfault> I need to figure out whether to target staging or master
<clever> lovesegfault: --dry-run
<gyroninja__> How do I use dnscrypt-proxy2 through the dnscrypt-proxy module?
<lovesegfault> clever: Will that show me what it will build & what it will fetch or just what it will build?
<clever> lovesegfault: both
<gyroninja__> There does not seem to be a service.dnscrypt-proxy.package, so ]
<gyroninja__> I'm not sure how to override that behavior
<tilpner> day|flip: And the icon theme resets when you restart lxappearance-gtk3?
doublex_ has joined #nixos
doublex__ has quit [Ping timeout: 250 seconds]
[Leary] has joined #nixos
<tpham> clever is it ok to use `src = ./.`
<clever> tpham: yes
fragamus_ has joined #nixos
Lears has quit [Ping timeout: 248 seconds]
tdeo has quit [Remote host closed the connection]
tdeo has joined #nixos
tdeo has quit [Changing host]
tdeo has joined #nixos
palo1 has joined #nixos
LLED2_2 has joined #nixos
<tpham> clever I found the problem
tilpner has quit [Quit: tilpner]
<clever> tpham: what was it?
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<tpham> Because I set the option -DPREFER_STATIC_LIBRARY=ON, this will enable the option -DBoost_USE_STATIC_LIBS on my cmake file
<clever> tpham: ah, and then it wants a static copy of boost
<tpham> And I thing the boost.dev pkgs does not have static library
<clever> tpham: and you omitted that when compiling in nix-shell by hand?
<tpham> Yes '=D
<tpham> Bc I'm lazy when typing it in the shell :v
<clever> that explains everything perfectly
<clever> `configurePhase` is a function that will run cmake, with the cmakeFlags
<tpham> Now I have another question. How can I bundle the app to run on another machine.
<clever> tpham: use nix-copy-closure to copy the storepath, and everything it depends on
<tpham> The deployment machine does not have nix installed.
<clever> tpham: do you have write perms to /nix/ ?
<tpham> I can grant the write permission.
<clever> tpham: simplest option then is to install nix, and then use nix-copy-closure and nix-env
<tpham> I'll try this first: https://github.com/matthewbauer/nix-bundle
<clever> tpham: thats also an option, it uses namespacing to automatically chroot and run within that
hmpffff has joined #nixos
day|flip has quit [Quit: Using Circe, the loveliest of all IRC clients]
<tpham> One more question: what's different between nativeBuildInputs and buildInputs
tilpner has joined #nixos
<clever> tpham: nativeBuildInputs are compiled for the host, buildInputs are compiled for the target
<tpham> if I need to compiled by clang on amd64 machine to arm64 binary, then clang should be on nativeBuildInputs and libc++ should be on buildInputs?
cransom has quit [Ping timeout: 265 seconds]
vld has joined #nixos
cransom has joined #nixos
Maxdaman1us is now known as Maxdamantus
hmpffff has quit [Quit: nchrrrr…]
<lovesegfault> clever: I need an x86 remote builder :/
<lovesegfault> it's impossible to work on NixOS without
vld has quit [Ping timeout: 248 seconds]
<clever> lovesegfault: docker, virtualbox, qemu
<lovesegfault> clever: I mean from a compute PoV :P
<lovesegfault> compiling everything on my laptop hurts
<clever> lovesegfault: and this will auto-generate a nixos guest under qemu
<clever> ah
<clever> i just have all of my hardware in the house work together
<clever> the laptop is a remote builder for the desktop!
<lovesegfault> clever: I only have one laptop at home :P
dansho has quit [Quit: Leaving]
rauno has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75764 → sierra-gtk-theme: 2019-05-07 -> 2019-12-16 → https://git.io/Je7ka
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je7j9
<tpham> If my project dir contains dir with name `build`, then nix-build will fail
<clever> tpham: either use lib.cleanSourceWith to exclude it (the proper method), or just `preConfigure = "rm -rf build";` to get rid of it within nix-build (the sloppy but simple method)
day|flip has joined #nixos
<tpham> thank you.
day|flip has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9faa37cfdf3 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tpham> How can I have the same env in `default.nix` using nix-shell
zupo has joined #nixos
Tucky has joined #nixos
<CMCDragonkai> I was wondering that for code signing. Knowing the time/date of when the digital artifact was signed is a good idea. However in Nix, our expressions become unreproducible. What if the input of the Nix expression can take in the current date/time then?
<clever> tpham: just run nix-shell with no args, it will try to load shell.nix first, and if not found, it loads default.nix
<clever> CMCDragonkai: but then you need to know when it was signed, to compute $out
<clever> CMCDragonkai: you also need the hash of the private keys (or add an impurity that lets every build see the keys)
<CMCDragonkai> yea that's the issue as well... it seems like for now it's best to do the signing outside the nix system
<CMCDragonkai> but it would be nice if nix had a better story for code signing
<clever> CMCDragonkai: i currently handle code signing using builtins.exec
<clever> CMCDragonkai: its an eval-time backdoor to just run something as whatever user is doing the eval
<CMCDragonkai> clever: how does that work?
<clever> basically, builtins.exec [ "/bin/sh" "-c" "echo 5*5" ]
<CMCDragonkai> clever: interesting, but are you using that for both date/time and also accessing private keys?
<clever> nix will just treat the array as a naked argv, run it, and then parse stdout as a nix expr
<clever> whatever it parsed, is returned by exec
<clever> its actually reaching out to a hardware signing module, which does the actual signing
<CMCDragonkai> how come my thing says builtins.exec is missing
<CMCDragonkai> do i need to enable it or something
<clever> and nix never gets access to the private keys
<clever> yes
<clever> CMCDragonkai: --allow-unsafe-native-code-during-evaluation
<CMCDragonkai> is this not documented
<CMCDragonkai> in the nix manual?
<clever> it should be
<CMCDragonkai> cant find that here https://nixos.org/nix/manual/
<CMCDragonkai> that basically makes the output of the nix expression utlimately impure right?
fusion809 has quit [Remote host closed the connection]
<CMCDragonkai> i mean using `builtins.exec`
<CMCDragonkai> or do we get teh same store hash
<clever> CMCDragonkai: nope, its basically the same as import
<CMCDragonkai> but just different outputs each time?
<CMCDragonkai> oh so that means running `nix-build` each time will result in a different output
<clever> CMCDragonkai: think of it as just running something outside nix, and then pasting an expr into the file
<CMCDragonkai> because the date/time would be differnet
<clever> yeah
<clever> every time you run the eval, it will run whatever builtins.exec says to run
<clever> and if it returns a different output, you get a different derivation
<clever> looks like its undocumented
<clever> it only shows up in the code that parses command-line-options, which has a help string
<CMCDragonkai> can that option be configured in the nix.conf?
day|flip has joined #nixos
<clever> $ nix show-config | grep native
<clever> allow-unsafe-native-code-during-evaluation = false
<clever> CMCDragonkai: it shows up in `nix show-config` so id say yes
<clever> but thats a rather dangerous one to leave enabled
<clever> since somebody could just `rm -rf /` by slipping something into code your eval'ing
<CMCDragonkai> clever: makes sense, this would be useful for using nix-build to distribute things with signatures that require IO
<clever> CMCDragonkai: also, if the arguments to builtins.exec refer to derivations, thats IFD
<CMCDragonkai> IFD?
<clever> so at eval time, it would have to build the unsigned binary, then exec the signer, which has to put things into the store and return a path
<clever> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
day|flip has quit [Quit: ERC (IRC client for Emacs 26.3)]
day|flip has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has joined #nixos
fragamus_ has quit [Ping timeout: 248 seconds]
zupo has joined #nixos
<tpham> I've try nix for 1 day. Falling in love with Nix XD
oleh has quit [Quit: Konversation terminated!]
day|flip has quit [Quit: ERC (IRC client for Emacs 26.3)]
vesper11 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #75854 → slirp4netns: v0.4.2 -> v0.4.3 → https://git.io/Je5ew
vesper11 has joined #nixos
<srhb> tpham: yay :)
medvid has joined #nixos
medvid has quit [Client Quit]
<tpham> ` A both positive and negative of the Nix model is that a change in the build dependencies (e.g. being built with a newer gcc), requires a cascading rebuild of everything. It's good because it makes it easy to do massive system-wide changes such as gcc upgrades, and allows installing multiple versions of packages at once. However, a security update
<tpham> to e.g. glibc forces a rebuild of everything from scratch, and so Nix is not practical at scale.`
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0dc46b0e1c8 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
day|flip has joined #nixos
day|flip has quit [Client Quit]
<{^_^}> [nixpkgs] @lsix merged pull request #75848 → bedtools: 2.29.1 -> 2.29.2 → https://git.io/Je7Fd
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Je5ve
joepie91 has quit [Remote host closed the connection]
<keithy[m]> tpham - that may be, but in this present day and age people are not doing things at scale any more. They do things in small disposable containers and scale the containers. Ok its a bigger job than having a shared library, but nix has the ability in theory to do things only once for everyone... the problem is really one of caching infrastructure.
joepie91 has joined #nixos
<keithy[m]> * tpham - that may be, but in this present day and age people are not doing things at scale any more. They do things in small disposable containers and scale the containers. Ok its a bigger job than having a shared library, but nix has the ability in theory to do things only once for everyone... the problem is really one of caching infrastructure, things will get better.
<keithy[m]> tpham - i'm on day two btw.
<fuzen> Is there a way to force Nix to use the latest cache? Just trying to get lutris installed
<fuzen> Lutris wont build due to pango changes
magneticduck has joined #nixos
EdLin has joined #nixos
<EdLin> how do I use a more recent non-4.19 kernel with nixos?
EdLin is now known as EdLin
<EdLin> I think there's other kernels, but I don't know how to activate them in configuration.nix
<{^_^}> [nixpkgs] @jojosch opened pull request #75855 → phpPackages.protobuf: 3.11.1 -> 3.11.2 → https://git.io/Je5fv
<etu> EdLin: Example: boot.kernelPackages = pkgs.linuxPackages_5_3;
<etu> pkgs.linuxPackages_latest also exists
bahamas has quit [Ping timeout: 248 seconds]
cfricke has joined #nixos
<EdLin> etu, thanks
<EdLin> etu, is latest kernel from git or the latest release?
<EdLin> well, need to reboot and ask questions later. ;)
EdLin has quit [Quit: WeeChat 2.7]
EdLin has joined #nixos
philr has joined #nixos
<EdLin> it's the latest release kernel, not pre-release stuff. Good.
logzet has joined #nixos
<EdLin> I want it for better amdgpu and vfio stuff, though the latter is servicable in the 4.19 kernel or we
bahamas has joined #nixos
Chiliparrot has joined #nixos
hmpffff has joined #nixos
ldlework has quit [Quit: co'o ro do]
vld has joined #nixos
ldlework has joined #nixos
chloekek has joined #nixos
smatting has joined #nixos
vld has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
k3rn3lF0rk has joined #nixos
veske has joined #nixos
cosimone has joined #nixos
andreas303 has quit [Remote host closed the connection]
kolbyjcrouch has quit [Ping timeout: 245 seconds]
kolbycrouch has quit [Ping timeout: 250 seconds]
kolbyjcrouch has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #75846 → kpat: init at 19.12.0 → https://git.io/Je7Fs
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Je5Jf
kolbycrouch has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
joshuagl has joined #nixos
andreas303 has joined #nixos
sigmundv has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
k3rn3lF0rk has left #nixos ["Leaving"]
tpham has quit [Remote host closed the connection]
veske has quit [Quit: This computer has gone to sleep]
tpham has joined #nixos
jusss has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @kampka opened pull request #75856 → haskellPackages.niv: 0.2.8 -> 0.2.9 → https://git.io/Je5JH
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/Je5JQ
<Ariakenom> I'm having trouble using pip to install matplotlib. it wants libpng and freetype but I havent managed to provide it
<Ariakenom> I have libpng{.dev} in mkShell buildInputs
<{^_^}> [nixpkgs] @peti opened pull request #75857 → Update Haskell Package Set → https://git.io/Je5J5
thc202 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je5JA
Tucky has quit [Quit: WeeChat 2.7]
ggp0647 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « release: remove metrics from unstable channel (temporarily) »: https://git.io/Je5Jh
<ldlework> hmm, i just ran a switch on my local machine and I'm getting hung at, "reloading user units for ldlework... setting up tmpfiles"
knupfer has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @peti closed pull request #75856 → haskellPackages.niv: 0.2.8 -> 0.2.9 → https://git.io/Je5JH
veske has joined #nixos
__monty__ has joined #nixos
<ldlework> permissions issue
psyanticy has joined #nixos
magnetophon has joined #nixos
ggp0647 has joined #nixos
Tucky has joined #nixos
<magnetophon> since a few upgrades, the upgrade doesn't change te default grub entry, so iow if I (re)boot without actively choosing an entry, I get an old nixos. is this a known problem? any fixes?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d1dff0bcd9f (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
__Sander__ has joined #nixos
<__monty__> magnetophon: And you're still doing nixos-rebuild switch, right?
<magnetophon> yes
<magnetophon> __monty__: ^^
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
<magnetophon> __monty__: the exact command I use, (aliased), is: "nixos-rebuild switch -p rt -I nixos-config=/home/bart/nixosConfig/machines/$(hostname | cut -d"-" -f1)/rt.nix && nixos-rebuild switch"
<__monty__> Double nixos-rebuild switch?
ggp0647 has quit [Ping timeout: 268 seconds]
<magnetophon> __monty__: yeah, I use 2 "profiles": one for normal usage, tuned for low battery usage, and one fro real time audio.
<sphalerite> magnetophon: check if /boot is mounted, it not being mounted is an extremely common cause for this problem
ggp0647 has joined #nixos
<__monty__> magnetophon: Doesn't nixos-rebuild boot make sense for one of the profiles then?
<magnetophon> sphalerite: /dev/sda1 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
<magnetophon> __monty__: I guess so. Lemme try that. Thanks
<sphalerite> hm ok, and are the timestamps on the kernels/initramfses/boot config consistent with your last few backups?
<sphalerite> s/backups/builds/
<duairc> Also check that /boot isn't out of space?
<__monty__> magnetophon: That's not as a solution to the problem btw. Just that switch means boot + make it the default boot entry afaik?
ng0 has quit [Quit: Alexa, when is the end of world?]
<magnetophon> duairc: I use 23%
ng0 has joined #nixos
<magnetophon> sphalerite: I'm searching in boot, haven't found that yet...
<magnetophon> sphalerite: hmm, I don't think that info is in /boot, is it? where do I find that?
<sphalerite> magnetophon: ls -l /boot/kernels , the exact path may be different depending on which bootloader you're using
<magnetophon> No such file or directory
<magnetophon> sphalerite: I have boot.loader.systemd-boot.enabled = true
<sphalerite> and is systemd-bot actually running?
<sphalerite> boot*
<magnetophon> idk, how do I check
<magnetophon> ?
<__monty__> magnetophon: Then why did you mention "grub entry"?
<magnetophon> __monty__: I was under te impression I was still using grub, sorry.
<sphalerite> hm you can probably check the firmware boot order using `efibootmgr -v`
<{^_^}> [nixpkgs] @davidtwco opened pull request #75859 → franz: fix `Exec` substitution in `franz.desktop` → https://git.io/Je5U1
<magnetophon> sphalerite: lot's of lines of output. not sure what I'm looking for there
<__monty__> magnetophon: Did this happen when you switched away from grub by any chance?
<sphalerite> magnetophon: what's important is the BootCurrent line and the corresponding Boot entry
<magnetophon> __monty__: I think I did that much earlier, but I'm not 100% sure tbh. I can check my git history if needed
veske has quit [Quit: This computer has gone to sleep]
vld has joined #nixos
<magnetophon> sphalerite: that would be: "Boot000A* ATA HDD0VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)" not sure what to do with that
gxt has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/d1dff0bcd9f (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<sphalerite> huh…
iyzsong has joined #nixos
<magnetophon> __monty__: I was recommended to use EFI by someone knowledgeable. don't remember his arguments... would you say grub is better?
<sphalerite> magnetophon: grub supports efi.
<sphalerite> whatever works for you :)
<__monty__> I'm not sure you can avoid EFI on an EFI motherboard?
<magnetophon> sphalerite: sorry, I'm using words that I don't fully know the meaning of...
<sphalerite> magnetophon: I can't really tell what your boot setup is actually like so far, I guess the easiest way to tell at this point would be to reboot and see what the boot menu looks like
<magnetophon> __monty__: I'm sure my motherboard doesn't need EFI, as I wasn't using it earlier, while on the same HW, a T520i
<sphalerite> if it has a border, it's probably grub, if it doesn't it's probably systemd-boot
vld has quit [Ping timeout: 248 seconds]
<sphalerite> magnetophon: technically you were using EFI then, but many EFIs have a so-called Compatibility Support Module which supports "classic" BIOS boot (i.e. "run the code from the first sector of the HDD")
<magnetophon> sphalerite: pretty sure no border. and I'm 100% sure I have " boot.loader.systemd-boot.enable = true; " in my conf. should I reboot anyway to make sure?
juxiemaotu has joined #nixos
<tpham> How can I set the CPATH variable in the `default.nix` file: https://github.com/NixOS/nix/issues/3276
<{^_^}> nix#3276 (by thongpv3, 1 minute ago, open): nix-shell environment does not work well with clangd
<magnetophon> sphalerite: I'll reboot to make sure. brb
magnetophon has quit [Remote host closed the connection]
<juxiemaotu> i wanno install nixos on a cloud server by minimal img.but the cloud platform required virtio module.how can i config it on a machine just install minimal nixos system?
bahamas has quit [Quit: leaving]
magnetophon has joined #nixos
<magnetophon> sphalerite: indeed, no border.
<magnetophon> sphalerite: so now what?
<sphalerite> juxiemaotu: have you already tried and failed, or just not sure how to do it yet?
<sphalerite> juxiemaotu: nixos-generate-config should detect that virtio is necessary and generate the corresponding config correctly.
phreedom has quit [Ping timeout: 260 seconds]
phreedom has joined #nixos
<juxiemaotu> i tried and not work, on my hand , nixos option manual can not open,so i can here to get some help
<sphalerite> tpham: try adding CPATH = lib.makeSearchPathOutput "dev" "include" buildInputs; to your shell.nix
<sphalerite> magnetophon: check if entries for your more recent generations exist in /boot/loader/entries
<sphalerite> juxiemaotu: does your generated hardware-configuration.nix mention virtio in boot.initrd.availableKernelModules?
<juxiemaotu> when i install minimal nixos, the command nixos-generate-config had ben run,but when i check the initrd by zcat, there is no virtio there
<sphalerite> juxiemaotu: in fact, how is it not working?
<magnetophon> sphalerite: yes, all there. I'm also booted into the lates upgrade
<sphalerite> magnetophon: huh, so it's working now?
<magnetophon> sphalerite: I can boot into them, but only when I manually select them.
<magnetophon> sphalerite: the poroblem is that the newest updates are not made the default
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c551f2db16f (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tpham> sphalerite undefined behavior buildInputs :(
<magnetophon> sphalerite: so, iow, if I reboot and do nothing, I get an old nixos; only when I hit downarrow a few times I get the newest build.
<tpham> sphalerite out of the office now. thank you.
<sphalerite> tpham: alright, I'll answer on the issue :)
werner291 has joined #nixos
<sphalerite> magnetophon: ah! In that case check /boot/loader/loader.conf to see what the default gneeration is
<sphalerite> I'm going afk for now, will check back later :)
noudle has joined #nixos
ghuntley has quit [Quit: Connection closed for inactivity]
<magnetophon> sphalerite: hmm, seems to be the correct generation
<ldlework> Someone remind me how I actually upgrade the version of a NixOps machine?
<ldlework> Or is it based on the machine you deploy from
<ldlework> Since you end up sending the closures.
<ldlework> Yeah probably that.
magnetophon has quit [Remote host closed the connection]
jco has joined #nixos
<jco> Hello
magnetophon has joined #nixos
<clever> ldlework: nixops just obeys $NIX_PATH
<clever> ldlework: and the normal -I nixpkgs= flags
<jco> I have this nix expression to use the connman network manager or not : https://sebsauvage.net/paste/?ebd35132388de253#Y85pEL/nik46vH8oRYMnevec84y7zyDROgN6jeomm94=
<ldlework> This begs the question why the remote machine's syncthing service fails to init due to some bug, and it doesn't fail here.
<jco> but I'd like to to something like environment.systemPackages = [ pkgs.connman-gtk pkgs.openvpn ] when connman is true
<{^_^}> [nixpkgs] @erictapen closed pull request #75830 → dovecot_pigeonhole: 0.5.8 -> 0.5.9 → https://git.io/Je79T
<jco> I tried making an anonymous function but it doesn't work: https://sebsauvage.net/paste/?cb22375ac25d2363#El9X02CUr7SnvUIJmTbNnqwShdgum65M3Rsj94ZeVEU=
<{^_^}> [nixpkgs] @Ma27 opened pull request #75860 → matrix-synapse: 1.7.0 -> 1.7.1 → https://git.io/Je5TR
<magnetophon> __monty__: If you're willing to pick this one up again, since sphalerite is afk: So I have the correct default entry in "/boot/loader/loader.conf", but my startup-menu points at an older one. what now?
<juxiemaotu> sphalerite: i run nixos-generate-config again,and see the option boot.initrd.availableKernelModules.there is no virt* something there. are you sure this command will be work?
<__monty__> magnetophon: I know nothing about systemd-boot. Does that read that file? Maybe nixos is confused about what bootloader to generate entries for?
Dandellion has joined #nixos
<Dandellion> I want to run postres,but I need to connect to it from a few docker containers (which assume they get a username and password) I don't see anywhere obvious in the postgres module allowing simple authentication like this
<Dandellion> Am I just missing something?
<magnetophon> __monty__: I'm pretty sure the first few months of me using systemd-boot went OK, so it doesn't seem related to the switch from grub, if that's what you mean?
Yaniel has quit [Ping timeout: 246 seconds]
bvdw has quit [Read error: Connection reset by peer]
veske has joined #nixos
<magnetophon> __monty__: anyway. thanks so far!
<juxiemaotu> sphalerite: i make a imag by minimal nixos imag, and try to install it on a cloud platform ,but fail on booting from hard dist.
<__monty__> magnetophon: Well, if the config file has the proper boot entry then the next step to figure out is why systemd-boot isn't reading *that* config file?
bvdw has joined #nixos
<__monty__> magnetophon: Maybe systemd-boot can't deal with too many entries? Try deleting some old generations maybe?
<juxiemaotu> i wanno install nixos on a cloud server by minimal img.but the cloud platform required virtio module.how can i config it on a machine just install minimal nixos system?
<juxiemaotu> how can i config virito module in kernal when i install nixos?
<magnetophon> __monty__: nope, I have just a handful. seems like this https://github.com/NixOS/nixpkgs/issues/28445 might be mu issue. I'll investigate
<{^_^}> #28445 (by kageurufu, 2 years ago, open): systemd-boot sets efivar LoaderEntryDefault, which overrides default in /boot/loader/loader.conf
fendor_ has quit [Remote host closed the connection]
coco has joined #nixos
magnetophon has quit [Remote host closed the connection]
magnetophon has joined #nixos
<__monty__> Dandellion: services.postgresql.ensureUsers.*.ensurePermissions sounds like what you want.
<magnetophon> __monty__: yup, that was my issue. all good now! Thanks a lot for the help, same to sphalerite and the others who's nicks have been lost in the reboot! :)
<Dandellion> __monty__: I don't think that gives me a password, it just lets me set database permissisons with some system user. The auth is still done via just checking if the unix user exists afaik
<__monty__> juxiemaotu: Maybe boot.initrd.availableKernelModules or boot.initrd.kernelModules or boot.kernelModules?
<__monty__> magnetophon: 👍
<__monty__> Dandellion: Doesn't it give you user+password access using the configured user's password on the system?
<juxiemaotu> __monty__: i am find these options ,and i wanno which key can work with these condition? just "virtio"
<Dandellion> __monty__: I'll try that thanks
<juxiemaotu> __monty__: i mean is there a list of kernalMoudles?
<Twey> I have an application that runs tests using `qemu` and a bridge device (TAP). How can I set up a TAP device in the Nix sandbox for my check phase?
<coco> how do i enable gnome shell extensions? i tried "services.gnome3.core-shell.enable = true;" in /etc/configuration.nix and installing, for example, gnome-shell-dash-to-dock, on user-level, but it doesn't show up
<{^_^}> [nixpkgs] @marsam opened pull request #75862 → lgogdownloader: fix build → https://git.io/Je5TD
jgeerds_ has joined #nixos
<__monty__> Dandellion: It looks like the "authentication" option is included verbatim in postgresql.conf? Worth a try and otherwise extraConfig I guess.
<__monty__> juxiemaotu: Not afaik but the strings should be the same as on other platforms. For virtio that seems to imply you need to be specific virtio-network, virtio-scsi, etc.
gxt has joined #nixos
<magnetophon> I use 2 fonts for my i3bar: Terminus, for crispness on my low resolution display, and FontAwesome, for icons. Now with the pango update it seems I have to choose either pango or bitmap, can't have both. The web mentions converting bitmap fonts to otb format. how do I do that in nixos?
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 248 seconds]
<juxiemaotu> __monty__: thanks , and i had fix this issue. add "virtio" in to boot.availableKernelModules in hardware_configuration.nix
<juxiemaotu> __monty__: it appeared when i check initrd after nixos-rebuild
<__monty__> juxiemaotu: Hmm, that's regenerated from time to time I think. Can't you specify it in configuration.nix? The options should be merged iirc.
<juxiemaotu> i am tring to install the new image on cloud platform again
cosimone has joined #nixos
cosimone_ has quit [Read error: Connection reset by peer]
werner291 has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has quit [Ping timeout: 248 seconds]
cosimone_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75864 → sqitchPg: fix build on darwin → https://git.io/Je5Th
<{^_^}> [nixpkgs] @voanhduy1512 opened pull request #75865 → cfdyndns: fix broken build → https://git.io/Je5Tj
lovesegfault has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @Sohalt opened pull request #75866 → Spnav → https://git.io/Je5kZ
<pie_> what do I need to do to be able to access a vpn subnet from outside a container?
<pie_> the vpn is running in the container
<pie_> i added a route outside the container saying to access the subnet via the container ip but that doesnt seem to be enough
<clever> pie_: use routing to flag the container as a gateway to reach the vpn subnet
<clever> pie_: and enable forwarding within the container
<pie_> ok i had a hunch the problem is the latter, ill try that
<clever> pie_: and setup a either NAT in the container, or a reverse route so the far end knows how to send replies back
<clever> tcpdump on every link, and a ping, will show you how far things are getting
cosimone_ has quit [Quit: Terminated!]
<pie_> apparently its already enabled
<pie_> net.ipv4.ip_forward = 1
<pie_> # sysctl net.ipv4.ip_forward
<pie_> guess its time to learn tcpdump
<clever> `tcpdump -i IFACE -p -n icmp`
veske has quit [Quit: This computer has gone to sleep]
acarrico has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
<genesis> > builtins.fromTOML
<{^_^}> <PRIMOP>
Tucky has quit [Ping timeout: 248 seconds]
<genesis> i wonder if we could parse desktop entry with that :)
cfricke has joined #nixos
jco has quit [Quit: WeeChat 2.6]
<pie_> clever: is the default route adequate for reverse route?
<pie_> i mean, default route allows pinging the internet
Raito_Bezarius has quit [Changing host]
Raito_Bezarius has joined #nixos
<clever> pie_: the source ip matters
<clever> pie_: so if your pings appear to come from 192.168.2.100, the remote machine will either send a responce out onto the lan (for nobody to hear) or out the main router (onto the general internet, for nobody to hear)
<pie_> im getting stuff like From 10.250.0.1 icmp_seq=10 Destination Host Unreachable
<pie_> and neither interface on the host isnt seeing anything
<clever> pie_: what are the IP's on the host and container side?
<pie_> s/isnt/is/
<clever> pie_: and does the container see the ping on its internal IF?
<pie_> clever: shouldnt it show up on the external interfaec if its gonna show up on the internal one?
<pie_> (please hold for other answer)
<clever> pie_: there should be a virtual if between the host and container, and tcpdump should see it on both ends of that if
<pie_> yes if exists no i see nothing
<magnetophon> Is anyone using terminus-font-ttf in i3bar? I tried that as a workaround for the pango issue, but it looks bad...
<clever> pie_: check the main interface of the host, do you see the ping there?
<pie_> clever: no
<clever> pie_: what IP are you trying to ping?
<pie_> clever: err correction: i havent checked on the container yet because i havent installed tcpdump there yet
<pie_> *inside the container
<pie_> clever: im trying to ping ping ping 10.243.77.2 , it works inside the contianer
<pie_> everything works inside the container
<clever> pie_: what does `ip route` on the host say?
<pie_> clever: its in the paste
<pie_> line 6
<clever> checking the numbers...
<clever> 240 0xf0
Rusty1 has joined #nixos
juxiemaotu has quit [Ping timeout: 248 seconds]
<clever> 243 0xf3
<clever> /12 is 8 + 4
<pie_> i just copied the route out of the container
<pie_> and "fixed" (is it correct?) the via field
<pie_> clever: see line 59
<clever> yep, that looks fine
Chiliparrot has joined #nixos
<pie_> migh tbe missing src on the host idk
<clever> oh wait, theres the problem
<clever> via points to 10.250.0.1, the host
<clever> it must point to the guest ip
<pie_> oh
juxiemaotu has joined #nixos
<pie_> i swear i will figure this shit out properly one day
<clever> then it will route it to the guest, via whatever device the guest ip shows up on (routing tables again)
<pie_> networking...
<pie_> clever: .0.1 is the ip on the host side of the veth device
<pie_> so *magic handwaving* shouldnt it just shove it at that and the device will magically pipe it to the other side
<clever> pie_: nope, linux will notice that that is its own ip, and not even shove it out the interface
<clever> pie_: its the same as sending to 127.0.0.1
<pie_> well that would explain why its not showing up on the dev
<clever> its likely showing up on lo
<pie_> clever: the one device i didnt check lol
<pie_> i want a proper textbook of this stuff but i imagine its all massively OS implementation specific :(
<clever> on typical ethernet based networks (wifi and ethernet), you can only ever send packets to a mac, never an ip
<clever> you must use ARP to lookup the mac behind an ip
<pie_> clever: lol yes its on the lo device
zupo has joined #nixos
<clever> when your default route says `via 10.0.2.2`, then you lookup the mac of 10.0.2.2, then send things to the public ip (say 8.8.8.8) but the mac of 10.0.2.2
<pie_> not that i didnt believe you, but it might be educational to do it anyway
<pie_> clever: aha. so ip addresses are a lie.
<pie_> a convenient lie.
<clever> the dest mac is what triggers the remote NIC (in the router, in this case) to respond to the packet
<clever> the OS within the router, then notices the dest ip is "wrong"
<clever> and because forwarding is enabled, the router looks that dest up, in its own routing tables
<clever> and forwards it in the right direction
<clever> the router also had NAT setup, so it will mutate the src ip along the way
<pie_> so basically its point to point mac address based forwarding and then they check where the rest of the network is via ip lookups?
<clever> yeah
<pie_> that seems to make sense
<clever> each hop notices that the dest ip is "wrong", looks it up in its own routing tables, and relays it via the next gateway in the chain
<clever> for the responce to make it back to you, the source ip you claim must also be in the routing tables
<clever> and in the case of 10.0.2.2 going to the web, you cant claim ownership of 10.0.0.0/8
<clever> so the router will fudge the source ip
<clever> but, when the reply comes back, it will have the "wrong" destination
<pie_> and the source mutation is necesary because nated ips are globally not unique
<clever> so the router has to un-fudge it
<clever> if your not doing NAT, then the reply could come down a different path
<pie_> so you have to take a specific sender sometimes, and the sender also keeps track and can then unproxy
<clever> the conntrack table handles that
zupo has quit [Ping timeout: 248 seconds]
jgeerds_ has quit [Ping timeout: 258 seconds]
<pie_> well, i guess this is symmetric so i shouldnt be phrasing it like this
<pie_> the routing happens the same way in both directions
<clever> [root@router:~]# cat /proc/net/nf_conntrack | head
<clever> ipv4 2 tcp 6 105 SYN_SENT src=192.168.2.11 dst=80.250.4.14 sport=48130 dport=52233 [UNREPLIED] src=80.250.4.14 dst=108.175.80.208 sport=52233 dport=48130 mark=0 use=2
<clever> pie_: this shows 2 src/dst pairs
<pie_> yeah i think i kinda got it
<pie_> not sure what this means <clever> if your not doing NAT, then the reply could come down a different path
<clever> you could have 2 different containers, each with its own vpn link
zupo has joined #nixos
<clever> and send traffic out one, but replies down the other
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<pie_> ok you didnt mean "alternative method" but "if you dont do nat things will be wrong"
<clever> more, that if you dont do nat, your able to have different paths
<clever> if you do nat, your forced to keep the reply coming down the same path
<gchristensen> when I close my laptop lid while docked, logind correctly ignores the signal and doesn't suspend. however, I would like to turn off the screen on the lid. any suggestions on where in the stack this would live? I'm using sway.
<pie_> gchristensen: no but wild guess: procfs?
<pie_> err
<pie_> /sys
<gchristensen> I guess my question is more, where in the stack would this hook be called, and does anyone know of an existing hook which does this sort of thing :P
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* pie_ attempts googling out of mild curiosity with not much immediate success
<gchristensen> tbh I was a bit surprised this wasn't handled in the hw
<{^_^}> [nixpkgs] @turion opened pull request #75869 → WIP: Fix hie-bios test suite → https://git.io/Je5Iz
veske has joined #nixos
<pie_> gchristensen: yeah i was about to make a guess at that but the realized sometimes the monitor is still kind of on if the machine is still in progress of oing to sleep (i think?) so...
<pie_> maybe sometimes it is hardware though
<pie_> dpms seems to be a usable keyword
<pie_> but im not sure if thats x11 specific
<noonien> hello folks!
<noonien> anyone using vs code on nixos by any chane?
<noonien> chance*. i'm trying to give it a try and i'm having some problems with extensions
<noonien> for example, the python language server seems to not find `libstdc++.so.6` or, at least, that's what `ldd` reports
isHavvy has quit [Read error: Connection reset by peer]
<pie_> not sure how they actually talk to the monito tho
Havvy has joined #nixos
o1lo01ol1o has joined #nixos
<pie_> apparently dpms is handled by the DRM thingies kernel side (?)
rnhmjoj has quit [Ping timeout: 248 seconds]
pingiun[m] has quit [Ping timeout: 246 seconds]
amanjeev[m] has quit [Ping timeout: 245 seconds]
DenisLehmann[m] has quit [Ping timeout: 245 seconds]
macerbi[m]1 has quit [Ping timeout: 245 seconds]
roberth has quit [Ping timeout: 245 seconds]
MilkManzJourDadd has quit [Ping timeout: 245 seconds]
attero has quit [Ping timeout: 246 seconds]
corpix[m] has quit [Ping timeout: 246 seconds]
leons has quit [Ping timeout: 246 seconds]
jwaksbaum[m] has quit [Ping timeout: 240 seconds]
xelaushi[m] has quit [Ping timeout: 240 seconds]
satdev[m] has quit [Ping timeout: 240 seconds]
fpletz[m] has quit [Ping timeout: 240 seconds]
bohan[m] has quit [Ping timeout: 240 seconds]
arianvp[m] has quit [Ping timeout: 240 seconds]
zer0xp[m] has quit [Ping timeout: 240 seconds]
laas has quit [Ping timeout: 240 seconds]
keithy[m] has quit [Ping timeout: 240 seconds]
wangoe[m] has quit [Ping timeout: 240 seconds]
malteof[m] has quit [Ping timeout: 240 seconds]
IslandUsurper has quit [Ping timeout: 240 seconds]
simbergm has quit [Ping timeout: 240 seconds]
TravisRt2botio[m has quit [Ping timeout: 240 seconds]
sylvie[m] has quit [Ping timeout: 240 seconds]
domenkozar[m] has quit [Ping timeout: 240 seconds]
JaakkoLuttinen[m has quit [Ping timeout: 250 seconds]
aterius has quit [Ping timeout: 250 seconds]
octowan[m] has quit [Ping timeout: 250 seconds]
copy` has quit [Ping timeout: 250 seconds]
flacks has quit [Ping timeout: 250 seconds]
momack2[m] has quit [Ping timeout: 250 seconds]
freerangechicken has quit [Ping timeout: 250 seconds]
quiet_laika[m] has quit [Ping timeout: 252 seconds]
pinage404[m] has quit [Ping timeout: 252 seconds]
otini has quit [Ping timeout: 252 seconds]
dmitryolyenyov[m has quit [Ping timeout: 246 seconds]
GerdFlaig[m] has quit [Ping timeout: 246 seconds]
kirelagin has quit [Ping timeout: 246 seconds]
phittacus has quit [Ping timeout: 246 seconds]
craige[m] has quit [Ping timeout: 246 seconds]
tails[m] has quit [Ping timeout: 246 seconds]
pingveno[m] has quit [Ping timeout: 246 seconds]
ejpcmac has quit [Ping timeout: 246 seconds]
gsals[m] has quit [Ping timeout: 250 seconds]
MiloIgnis[m] has quit [Ping timeout: 250 seconds]
lel[m] has quit [Ping timeout: 250 seconds]
truby has quit [Ping timeout: 250 seconds]
gaisseml[m]1 has quit [Ping timeout: 250 seconds]
luftmensch[m] has quit [Ping timeout: 250 seconds]
Noughtmare[m] has quit [Ping timeout: 250 seconds]
manu12[m] has quit [Ping timeout: 250 seconds]
is0x3F has quit [Ping timeout: 250 seconds]
eddyb has quit [Ping timeout: 250 seconds]
<pie_> or kernel modesetting rather
chatmaster5000[m has quit [Ping timeout: 246 seconds]
wildtrees[m] has quit [Ping timeout: 246 seconds]
isgy[m] has quit [Ping timeout: 246 seconds]
Nyanloutre[m] has quit [Ping timeout: 246 seconds]
kaychaks[m] has quit [Ping timeout: 246 seconds]
DanP[m] has quit [Ping timeout: 246 seconds]
zurdo has quit [Ping timeout: 246 seconds]
phyfey[m] has quit [Ping timeout: 246 seconds]
offlinehacker has quit [Ping timeout: 246 seconds]
VaNilLa[m] has quit [Ping timeout: 246 seconds]
mirsal has quit [Ping timeout: 246 seconds]
frederic_chopwn[ has quit [Ping timeout: 246 seconds]
manveru[m] has quit [Ping timeout: 246 seconds]
the_pumpkin_man[ has quit [Ping timeout: 245 seconds]
alex[m]11 has quit [Ping timeout: 245 seconds]
atopuzov[m] has quit [Ping timeout: 245 seconds]
yoho[m]1 has quit [Ping timeout: 245 seconds]
wnklmnn[m] has quit [Ping timeout: 245 seconds]
Thinkofname[m] has quit [Ping timeout: 245 seconds]
<pie_> lol matrix pls
layus[m] has quit [Ping timeout: 248 seconds]
lisprez[m] has quit [Ping timeout: 248 seconds]
nh2[m] has quit [Ping timeout: 248 seconds]
rihardsk[m] has quit [Ping timeout: 248 seconds]
hiroshi[m] has quit [Ping timeout: 248 seconds]
ilya-fedin has quit [Ping timeout: 248 seconds]
tobim[m] has quit [Ping timeout: 250 seconds]
LinuXit has quit [Ping timeout: 250 seconds]
eeyun[m] has quit [Ping timeout: 250 seconds]
Vskilet has quit [Ping timeout: 250 seconds]
icetan has quit [Ping timeout: 250 seconds]
sauyon[m] has quit [Ping timeout: 250 seconds]
xavierm02 has quit [Ping timeout: 250 seconds]
sevcsik- has quit [Ping timeout: 250 seconds]
kecia[m] has quit [Ping timeout: 250 seconds]
Seb[m] has quit [Ping timeout: 250 seconds]
das-g[m] has quit [Ping timeout: 250 seconds]
provessor[m] has quit [Ping timeout: 250 seconds]
siraben has quit [Ping timeout: 250 seconds]
hpfr[m] has quit [Ping timeout: 250 seconds]
coniferous-cube[ has quit [Ping timeout: 250 seconds]
hagelslag[m] has quit [Ping timeout: 250 seconds]
mt[m] has quit [Ping timeout: 250 seconds]
olejorgenb[m] has quit [Ping timeout: 250 seconds]
bikki[m] has quit [Ping timeout: 250 seconds]
abbafei[m] has quit [Ping timeout: 240 seconds]
bricewge has quit [Ping timeout: 252 seconds]
balsoft has quit [Ping timeout: 252 seconds]
abbradar[m] has quit [Ping timeout: 252 seconds]
mica[m] has quit [Ping timeout: 252 seconds]
david-sawatzke[m has quit [Ping timeout: 252 seconds]
spacekitteh[m] has quit [Ping timeout: 252 seconds]
musicmatze has quit [Ping timeout: 252 seconds]
alexarice[m] has quit [Ping timeout: 252 seconds]
MarkOtaris has quit [Ping timeout: 252 seconds]
joepie91[m] has quit [Ping timeout: 252 seconds]
tokudan[m] has quit [Ping timeout: 240 seconds]
ZerataX has quit [Ping timeout: 240 seconds]
fgaz has quit [Ping timeout: 240 seconds]
pheoxy has quit [Ping timeout: 240 seconds]
Fuzen[m] has quit [Ping timeout: 264 seconds]
spear2 has quit [Ping timeout: 264 seconds]
submoo[m] has quit [Ping timeout: 264 seconds]
pachacuti[m] has quit [Ping timeout: 264 seconds]
setthemfree[m] has quit [Ping timeout: 264 seconds]
joelpet1 has quit [Ping timeout: 264 seconds]
haslersn has quit [Ping timeout: 264 seconds]
gaisseml[m] has quit [Ping timeout: 264 seconds]
nbardiuk has quit [Ping timeout: 264 seconds]
segfault[m] has quit [Ping timeout: 264 seconds]
ninjatrappeur[m] has quit [Ping timeout: 264 seconds]
zmlww[m] has quit [Ping timeout: 264 seconds]
thequux[m] has quit [Ping timeout: 264 seconds]
Dandellion has quit [Ping timeout: 246 seconds]
imj[m] has quit [Ping timeout: 246 seconds]
l33[m] has quit [Ping timeout: 246 seconds]
rycee has quit [Ping timeout: 246 seconds]
worldofpeace has quit [Ping timeout: 246 seconds]
shizonic has quit [Ping timeout: 246 seconds]
seb314[m] has quit [Ping timeout: 264 seconds]
geemili has quit [Ping timeout: 264 seconds]
EuAndreh[m] has quit [Ping timeout: 264 seconds]
escaP[m] has quit [Ping timeout: 250 seconds]
marijan[m] has quit [Ping timeout: 250 seconds]
blahaj[m] has quit [Ping timeout: 250 seconds]
<sphalerite> pie_: yes, and sway does it via wlroots
<clever> pie_: for extra confusion, the kernel has both drm (digital rights management) and drm (direct rendering manager)
wedens[m] has quit [Ping timeout: 245 seconds]
wrunt[m] has quit [Ping timeout: 245 seconds]
padok[m] has quit [Ping timeout: 245 seconds]
Jarva[m] has quit [Ping timeout: 245 seconds]
ndarwincorn has quit [Ping timeout: 245 seconds]
danielrf[m] has quit [Ping timeout: 245 seconds]
NoblesseOblige24 has quit [Ping timeout: 245 seconds]
vaibhavsagar has quit [Ping timeout: 245 seconds]
bennofs[m] has quit [Ping timeout: 245 seconds]
jschievink has quit [Ping timeout: 245 seconds]
cornu has quit [Ping timeout: 245 seconds]
arcnmx has quit [Ping timeout: 245 seconds]
dtz has quit [Ping timeout: 245 seconds]
Christian[m]3 has quit [Ping timeout: 246 seconds]
ma27[m] has quit [Ping timeout: 246 seconds]
aanderse has quit [Ping timeout: 246 seconds]
am3on[m] has quit [Ping timeout: 246 seconds]
Minijackson[m] has quit [Ping timeout: 246 seconds]
goibhniu has quit [Ping timeout: 246 seconds]
wander[m] has quit [Ping timeout: 252 seconds]
dpc has quit [Ping timeout: 252 seconds]
snupples[m] has quit [Ping timeout: 252 seconds]
jtojnar has quit [Ping timeout: 252 seconds]
nilsirl[m] has quit [Ping timeout: 252 seconds]
null_radix[m] has quit [Ping timeout: 252 seconds]
contrun[m] has quit [Ping timeout: 252 seconds]
bbigras has quit [Ping timeout: 252 seconds]
veleiro has quit [Ping timeout: 252 seconds]
bendlas has quit [Ping timeout: 252 seconds]
yangm has quit [Ping timeout: 252 seconds]
abbec has quit [Ping timeout: 252 seconds]
marius851000[m] has quit [Ping timeout: 250 seconds]
mkg20001 has quit [Ping timeout: 250 seconds]
Victor[m]1 has quit [Ping timeout: 250 seconds]
cyberwolf[m] has quit [Ping timeout: 250 seconds]
timokau[m] has quit [Ping timeout: 250 seconds]
Ox4A6F has quit [Ping timeout: 250 seconds]
blitzclone_ has quit [Ping timeout: 250 seconds]
frislie[m] has quit [Ping timeout: 250 seconds]
Smith[m] has quit [Ping timeout: 250 seconds]
li_matrix has quit [Ping timeout: 250 seconds]
jonreeve[m] has quit [Ping timeout: 248 seconds]
deadvader[m] has quit [Ping timeout: 248 seconds]
webdavis has quit [Ping timeout: 248 seconds]
mudrii[m] has quit [Ping timeout: 248 seconds]
harkenedraven has quit [Ping timeout: 248 seconds]
Sisyphe[m] has quit [Ping timeout: 248 seconds]
colemickens has quit [Ping timeout: 248 seconds]
bachp has quit [Ping timeout: 248 seconds]
ronny has quit [Ping timeout: 248 seconds]
zebrapenguin[m] has quit [Ping timeout: 246 seconds]
Notkea[m] has quit [Ping timeout: 246 seconds]
NickHu has quit [Ping timeout: 246 seconds]
thefloweringash has quit [Ping timeout: 246 seconds]
Ericson2314 has quit [Ping timeout: 246 seconds]
MerlinGttlinger[ has quit [Ping timeout: 240 seconds]
philipp[m]2 has quit [Ping timeout: 240 seconds]
nixooosaaaa has joined #nixos
<pie_> clever: yeah that acronym collision is a PITA :P
stammon has quit [Ping timeout: 250 seconds]
Yakulu[m] has quit [Ping timeout: 250 seconds]
pentadyne[m] has quit [Ping timeout: 264 seconds]
Brian[m]5 has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
regnat[m] has quit [Ping timeout: 264 seconds]
rendeko[m] has quit [Ping timeout: 264 seconds]
MayeulC_backup has quit [Ping timeout: 264 seconds]
wak-work has quit [Ping timeout: 264 seconds]
florianjacob has quit [Ping timeout: 264 seconds]
clacke[m] has quit [Ping timeout: 264 seconds]
schmittlauch[m] has quit [Ping timeout: 264 seconds]
* pie_ watches as freenode DDOSes itself
<gchristensen> in this case, matrix DDOS Freenode
<pie_> nah matrix just disconnected :P
<pie_> passive ddos? :P
<nixooosaaaa> Is there an easy way to modify a binary with a sed call or something after it's installed? Maybe use an overlay to append to the end of install phase? Is there a better way?
<clever> gchristensen: id call that a DoS, not a DDoS
<gchristensen> fair
<clever> its a single central node
<clever> which is also why its so bad :P
<pie_> sphalerite: oh id that where anything actually happens? i was searching the sway code for dpms stuff and its like, theres some interfaces here but nothng else
dsg has quit [Ping timeout: 248 seconds]
<clever> nixooosaaaa: its usually not safe to edit binaries with sed, since it uses relative offsets within itself a lot
<genesis> i mean a binary , perharps not an executable one ;)
<genesis> s/i/he
* genesis needs a rest.
<pie_> clever: memeing: disappointed that patchelf doesnt expose code caves
<clever> patchelf is operating mainly on the structured part of the file, and leaving the .data untouched
o1lo01ol1o has joined #nixos
<pie_> looks like an update:
<pie_> <tokudan[m]> A new version of Matrix Synapse is out with security fixes affecting all older versions: https://github.com/matrix-org/synapse/releases/tag/v1.7.1 ("This release includes several security fixes as well as a fix to a bug exposed by the security fixes. All previous releases of Synapse are affected. Administrators are encouraged to upgrade as soon as possible.")
<pie_> (i think?)
<clever> pie_: sounds like it, and they decided to upgrade a node 100's of people where in the middle of using
<sphalerite> pie_: grep it for wlr_output_enable
<sphalerite> pie_: that's what sway calls to actually turn the monitors on/off, and I'll bet that wlroots implements that by talking DRM ioctls to the kernel :)
dsg has joined #nixos
<{^_^}> [nixpkgs] @mudrii opened pull request #75870 → update pulumi new version from 1.40 to 1.7.1 and update associated plugins → https://git.io/Je5Ih
<gchristensen> maybe a logind inhibitor taking the handle-lid-switch lock and something processing udev events
<cvlad-> Is there a "getting started" guide to nix for a Haskell stack project? I pretty much want to be able to get a shell with ghcid, ghcide and cabal or something. I am trying to follow the docs on https://input-output-hk.github.io/haskell.nix/user-guide/, but right now I'm stuck figuring out how to use cachix so I don't build ghc.
<nixooosaaaa> clever: Thanks for the warning. Perhaps I should ask the more general question of running a shell command post install ;)
<clever> ,xy nixooosaaaa
<{^_^}> nixooosaaaa: xyproblem is when you want to do X, and you think Y is how, so you ask about Y instead of X. See <http://www.perlmonks.org/index.pl?node_id=542341> or <http://mywiki.wooledge.org/XyProblem>
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
dsg has quit [Client Quit]
dsg has joined #nixos
<pie_> cvlad-: fwiw there is also #haskell.nix
<cvlad-> pie_, Thanks, I'll try there.
<pie_> clever: eh, te thing with the xy problem is its counter to the expectation that you put in some effort no?
o1lo01ol1o has quit [Remote host closed the connection]
<pie_> though maybe a solution is "i want to x and i tried y and im stuck on y"
<nixooosaaaa> clever: I'm aware of the XY problem, but it's necessary theres a privacy issue. The most specific I can be is I legitimately need to modify a known string value in a binary after the installphase is done.
<nixooosaaaa> sorry
<pie_> though not in this case, its also a problem when your x is hard to explain or you think people will tihnk your x is dumb
jgeerds_ has joined #nixos
<clever> nixooosaaaa: and your not able to modify the source before it got compiled?
<gchristensen> qyliss: so back to my thing about dmenu and authority to run scripts: I was thihnking about thaht in the context of applications which have undeclared dependencies (like Slack on xdg_utils, a bug I fixed yesterday.) if they didn't inherit such a large environment (systemPackages) by default, we might have a good time of good bug fixes :)
* pie_ just thinking out loud
<gchristensen> nixooosaaaa: one thing to make sure we both understand -- the installPhase runs as part of the build, and not when the user actually selects it for their system
<gchristensen> htere is no hook which runs when the user adds it to their system
<DigitalKiwi> gchristensen: i think worldofpeace and i have had a few hours wasted between us because of different environments
<{^_^}> [nixpkgs] @flokli merged pull request #75823 → sundials: replace liblapack by openblas → https://git.io/Je7X4
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je5Lm
<gchristensen> yeah!
<pie_> clever: wait, so re mac addresses, if IPs are a lie anyway, when doing stuff on one machine why dont we just directly use interface names instead
<DigitalKiwi> first one i think of is i think bitwarden wants gnome-keyring and throws warnings (i think they're harmless, but kind of annoying, as it spews them) but doesn't depend on it but since i didn't have it and they did...they thought it was working and it failed completely for me (the thing it *actually* depended on in this case is libsecret)
<nixooosaaaa> clever: I can modify the source, but it's much more convenient to add to my already existing overlay. I know how to modify the source and use that in my overlay, but wanted a forkless solution.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<clever> nixooosaaaa: you dont have to fork the repo, thats what the patchPhase is for, to modify the source at build time
<clever> pie_: the kernel still keeps up with the lie and uses the ip to know if something is for itself or another machine
<nixooosaaaa> gchristensen: I think we are on the same page there. I want the modification I make to the binary replacing some text before it's selected.
vld has joined #nixos
<pie_> clever: so basically i have no easy way out
<nixooosaaaa> Let me see if patchPhase works for me clever. Thanks for the help gchristensen and others. For now I'll try patch phase and try to come back with a better question if not.
<clever> nixooosaaaa: if you keep the replacement string the exact same length as the original, sed could work on a compiled binary
<nixooosaaaa> clever that is indeed what I'm doing
<pie_> clever: the packets dont error now but its still blackholing and im trying to reason my way through this to make sure i get it
<clever> pie_: check tcpdump in the container, is it receiving the packets from the host? is it sending them out the vpn?
<andi-> I had very bad experience with sed on binaries.. it just doesn't treat that stuff very well. I had to resort to perl to do it :/
justanotheruser has quit [Ping timeout: 248 seconds]
<pie_> clever: thats cheating (im too lazy to reconfigure the container with tcpdump but i will probably have to)
<clever> pie_: nix-env and nix-shell still work in the container
<clever> pie_: also, the container has access to the entire /nix/store of the host
<pie_> wait what they do
<clever> pie_: so if you know the path to tcpdump, you can just run it by absolute path
<pie_> idk about you but i always get broken path stuff
<pie_> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
<pie_> does it just work for you out of the box
<clever> pie_: you may need to setup channels first, simpler to just run tcpdump by absolute path
<pie_> yeah
<clever> pie_: realpath $(which tcpdump)
<pie_> clever: i know that much :3
veske has quit [Quit: This computer has gone to sleep]
<pie_> clever: i think the problem is im not rewriting the source, i dont get a ping reply from the vpn node, probably because it doesnt know the ping source
<pie_> hm
<pie_> but shouldnt 10.240.0.0/12 dev tinc.retiolum proto kernel scope link src 10.243.3.14 be dealing with that?
mjrosenb has quit [Remote host closed the connection]
<clever> pie_: the remote node, at the other end of the vpn tunnel
<{^_^}> [nixpkgs] @teto merged pull request #75859 → franz: fix `Exec` substitution in `franz.desktop` → https://git.io/Je5U1
<{^_^}> [nixpkgs] @teto pushed commit from @davidtwco to master « franz: fix `Exec` substitution in `franz.desktop` »: https://git.io/Je5Ly
<pie_> yes
orivej has quit [Ping timeout: 246 seconds]
<clever> pie_: it needs to know about 10.0.0.0, and to route it back to the vpn addr of that container
<pie_> clever: i can ping it from inside the container but from outside, there is no reply on the vpn interface
<clever> pie_: does the far end know how to route 10.0.2.2 backwards?
<pie_> it shouldnt ^
<clever> thats your problem
<pie_> yeah i think i kind of figured that, but what is the solution mechanism
<pie_> let me think for a sec
<clever> either setup the routing tables on the far end, to be be able to route packets back to you
<clever> or use NAT in the container, to claim everything came from the containers vpn addr
Neo-- has joined #nixos
<pie_> clever: sounds like i need to be natting on the container
<pie_> clever: yay i was right
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @robertodr opened pull request #75871 → Upgrade pyrsistent → https://git.io/Je5L7
andreas303 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @robertodr closed pull request #75871 → Upgrade pyrsistent → https://git.io/Je5L7
<{^_^}> [nixpkgs] @robertodr opened pull request #75872 → poetry: 0.12.17 -> 1.0.0 → https://git.io/Je5LA
<pie_> clever: maybe i should just run an openwrt vm :P
<clever> pie_: nat is trivial to setup with nixos
<pie_> i was only semi-serious
alexherbo231 has joined #nixos
alexherbo231 has quit [Client Quit]
andreas303 has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
nixooosaaaa has quit [Quit: thanks #nixos]
<exarkun> I have a python project that uses ifconfig on PATH. It has a test suite, too. if I put nettools in propagatedBuildInputs the test suite fails. if It put nettools in checkInputs, it passes. aren't propagatedBuildInputs supplied to checkPhase?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<pie_> clever: hm this is a bit annoying. the nat internal ips are dynamic
<pie_> clever: which is to say, i need to put the host subnet in there no?
<pie_> does that mean i need to make another more static device on the host somehow
<clever> pie_: the "internal" ip is the one from the virtual link between host&guest
<pie_> oh
<pie_> weird
<clever> think of the container as its own machine
<pie_> yeah
<pie_> but theres no rewriting yet when i get a packet from the host right?
<pie_> im just forwarding stuff to the vpn subnet
<clever> when packets come back over the vpn, they will enter the network stack for the container
<clever> which will un-nat things, as it forwards it back to the host
o1lo01ol1o has quit [Remote host closed the connection]
veske has joined #nixos
<pie_> so dont i need to nat the host subnet ips? <pie_> im just forwarding stuff to the vpn subnet
<clever> correct
<{^_^}> [nixpkgs] @robertodr opened pull request #75873 → Updates pyrsistent, cachy, and clikit → https://git.io/Je5tO
<pie_> and not the virtual device
juxiemaotu has quit [Ping timeout: 268 seconds]
lukash_|away is now known as lukash_
<pie_> to get packets to come back, i need them to reach me in the first place. and for that i need the forwards-nat; which was the dynamic subnet
<pie_> (i need the forwards nat otherwise the vpn node gets the wrong ip)
<duairc> clever: By the way, for what it's worth, I fixed my IPv6 RA troubles once and for all, no hacky deleting routes needed. Adding "sysctl -w net.ipv6.conf.eth0.accept_ra=0" to the start of my initrd networking script was needed, because the NixOS boot.kernel.sysctl settings don't get applied until after systemd has started
<duairc> Thanks for helping me out with it last night!
magnetophon has quit [Remote host closed the connection]
<duairc> clever++
<{^_^}> clever's karma got increased to 284
<clever> duairc: that works
juxiemaotu has joined #nixos
realrokka_ has joined #nixos
realrokka has quit [Ping timeout: 268 seconds]
Kritnich8 has joined #nixos
mlen has quit [Ping timeout: 268 seconds]
<pie_> clever: wait. do i even need to set this? what if i jsut nat everything going over the interface?
<pie_> by which i mean the vpn interface
helpusobi has quit [Ping timeout: 268 seconds]
klntsky has quit [Ping timeout: 260 seconds]
<clever> pie_: that could be done
Kritnich has quit [Read error: Connection reset by peer]
Kritnich8 is now known as Kritnich
cfricke has quit [Quit: WeeChat 2.6]
klntsky has joined #nixos
helpusobi has joined #nixos
mlen has joined #nixos
<pie_> clever: im going to have so much nat all over my machine
<pie_> apparently im already natting to the virtual interface, probably for internet
o1lo01ol1o has joined #nixos
<pie_> networking.nat.externalInterface = if (isVM) then "eth0" else "wlp3s0";
<pie_> networking.nat.internalInterfaces = ["ve-+"];
<pie_> networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
<pie_> people are crazy for trying this stuff with nondeclarative configs
<clever> do i even want to know what your network is doing? lol
<pie_> this was for the host
<pie_> im not doing anything crazy...i think?
Ariakenom has quit [Quit: WeeChat 2.6]
<rizary_> when I build derivation, is it possible to symlink file from the $out file? like `ln -s $out/machine/machine1 $out/machine1`. I tried from installPhase to buildPhase but either got `permission denied`, or `no directory found` error
EdLin has quit [Quit: bbl real-life calls]
juxiemaotu has quit [Quit: WeeChat 1.9.1]
<siers> I want a derivation of my collection of ruby scripts (two :D). I know I can do it with mkDerivation { buildInputs = [bundlerApp...]; script = ./script.rb; } but what's the straightforward way to do that with a directory (another script + json data)?
<siers> ./script.rb if there's only a single file
<pie_> rizary_: not sure what youre trying to do but, did you mkdir $out? if not thats probably the not found error
nuncanada has joined #nixos
<pie_> siers: you can do ./ with a directory
<pie_> unless i misunderstand
<siers> well I can't plug it into script, because it expects that to be a flie
justanotheruser has joined #nixos
<infinisil> siers: Huh, I don't think stdenv.mkDerivation takes a script parameter
<pie_> siers: do you need to run that bundler thingy (im guessing it has some setup hooks) or do you just want to use the files in nix
<clever> siers: if you do `src = ./.;` then the default unpackPhase will copy the entire directory, and cd into it
<pie_> infinisil: hooks?
<siers> infinisil, ah! it becomes an env that's used in the buildCommand
<siers> I'm stupid
<siers> clever, nice
<clever> siers: you can also just do cp ${./foo.txt} foo.txt in the buildComma
<clever> nd
<pie_> siers: oh duh :D
cmacrae has joined #nixos
dm9 has joined #nixos
<siers> clever, where will the src be stored? in /nix? so I can do src = ./.; and cd $(dirname $0) in the script?
<clever> siers: `src = ./.;` will copy ./. to /nix/store/hash-name, and set $src to that at build time
domogled has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<clever> siers: the unpackPhase will copy it to $NIX_BUILD_TOP/name, and cd into it
<clever> siers: and id recomend you then copy the files you want to keep to somewhere under $out, along with the scripts themselves
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #75874 → ripgrep-all: add missing dependencies → https://git.io/Je5t6
<clever> siers: buildCommand stops unpackPhase from running, so you may want to switch to installPhase instead
<siers> alright, I think I got this now
* siers starts writing code
sigmundv has quit [Ping timeout: 265 seconds]
xkapastel has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #75811 → remmina: 1.3.4 -> 1.3.7 → https://git.io/Je7RP
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/Je5tD
<siers> do I have to set readonly file permissions explicitly or does nix (and glibc) do that with an umask already?
ddellaco1 has joined #nixos
<siers> asking because here https://nixos.org/nixpkgs/manual/#sec-language-ruby they're set explicitly
<exarkun> You don't have to take extra care to mark things in $out as read-only
<clever> siers: nix-daemon will flag it all as read-only, after your builder exits
<rizary_> pie_: i have `build.nix` contains `{ host }: ... pkgs.stdenv.mkDerivation {}` I have `unpackPhase = " cp -r $src $out` and I want to symlink some directory after the unpackPhase that based on `host` arg passed. like `ln -s $out/machines/${host} $out/${host}`
zupo has joined #nixos
<rizary_> after creating directory, I got permission denied.
<clever> rizary_: the $src you copied is read-only, and cp preserves that
<clever> rizary_: the default unpackPhase fixes the permissions for you
<pie_> doh.
<siers> packaging is so intricate...
<clever> you need to chmod +w -R, to make it writable
<pie_> clever: can probably use postunpack or something right
<pie_> or does that not exist
<clever> pie_: it exists, but it would be simpler to just use buildPhase or installPhase
<pie_> right
<clever> generally, installPhase should be what writes to $out
<clever> buildPhase should build things
<pie_> bottom line is here you can just use the default unpaclphase
<pie_> and put the symlink stuff elsewhere
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/05aa59afa63 (from 45 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jgeerds_ has quit [Ping timeout: 258 seconds]
<pie_> clever: well at least im getting packets back now... From 10.243.77.2 icmp_seq=226 Destination Net Unknown
waleee-cl has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> pie_: tcpdump on the far end, is it receiving the packets?
<pie_> clever: i dont have access to the far end
jco has joined #nixos
<clever> pie_: then tcpdump the container, is it sending pings out the vpn? are they coming back?
<pie_> clever: i mean this idoes seem to be going fully through the host-container stack
<pie_> yes they are coming back
<pie_> hold on
sigmundv has joined #nixos
<clever> and then tcpdump the container side of the host<->container link, does that also show the replies
<pie_> clever: containet:
<pie_> IP 10.243.3.14 > 10.243.77.2: ICMP echo request, id 5, seq 13, length 64
<pie_> IP 10.243.77.2 > 10.243.3.14: ICMP net 10.243.77.2 unreachable - unknown, length 92
<clever> thats not a valid reply
<pie_> uh
<clever> thats an error saying you cant reach 10.243.77.2
<pie_> oh
<pie_> maybe i oopsed something
<siers> can $out be a symlink to the store path $src?
<clever> siers: yes, but at that point, your derivation is pointless
<clever> siers: you can just use ./. instead
<pie_> well tinc isnt happy either Cannot route packet from 10.243.3.14 (MYSELF port 655): unknown IPv4 destination address 10.243.77.2
<siers> clever, but it needs buildInputs
<clever> siers: if $out is a symlink to $src, there is no way to persist those buildInputs at runtime
jgeerds_ has joined #nixos
<clever> since $src is still read-only, you cant add things under $out/foo
<pie_> i guess i broke something with the nat setup
<clever> and the buildInputs will only be available at build time
<rizary_> clever: ah so because I use unpackPhase, the `$out` is not writeable. However, the case is if I use default `unpackPhase`, is it automatically cp the $src into $out? because in my result, i only see my symlink result.
gustavderdrache has joined #nixos
<siers> what does having a bundlerEnv in inputs give? what does my script use from it? ahhhh such a mind bender
<rizary_> s/in my result/in my result folder/
<clever> rizary_: if you use `cp $src $out`, then cp will preserve the fact that the contents of $src where read-only
<pie_> siers: read the source for bundlerenv probably
<clever> rizary_: you need to `chmod +w -R $out` to fix those permissions, and let you modify $out further
<deni> what would be the proper way to list the exact versions of haskell dependencies in my project?
<DigitalKiwi> anyone know an existing nixpkgs that wraps a haskell program from haskellPackages.
<rizary_> i see
<rizary_> is it the safe way to do that?
<DigitalKiwi> I need to do additional things to one to and make it top level instead of haskellPackages
civodul has joined #nixos
<pie_> DigitalKiwi: not off hand but you could try grepping nixpkgs?
<clever> rizary_: yeah, the sandbox stops you from doing anything thats completely unsafe
<rizary_> I see.. :)
<pie_> DigitalKiwi: maybe pandoc?
veske has quit [Quit: This computer has gone to sleep]
<DigitalKiwi> pie_: I could, not sure what to grep for...callCabal or something I think (can't remember off hand it's probably in the manual...)
<clever> DigitalKiwi: callCabal2nix is IFD, which isnt allowed within nixpkgs
<pie_> DigitalKiwi: in that case id start by searchin for related keyword in top level like haskell cabal etc
<cmacrae> Might be a bit of a weird one, but does anyone know of any Nix training courses? I need to spend my training budget at work by the end of the year, and figured if there's anything out there, I might as well check it out ¯\_(ツ)_/¯
* pie_ looks at calendar
<pie_> > december 18
<{^_^}> undefined variable 'december' at (string):271:1
<pie_> xD
<cmacrae> Hahaha
<rizary_> clever: so the docs said this: `The default implementation of unpackPhase unpacks the source files listed in the src environment variable to the current directory`, which `current directory` that it refers to?
<DigitalKiwi> clever: oh ok
o1lo01ol1o has quit [Remote host closed the connection]
<rizary_> it isn't `$src` nor `$out` right?
<DigitalKiwi> alright thanks i'll start grepping
<clever> rizary_: its $NIX_BUILD_TOP, which would be something like /tmp/nix-build-name-0/
<rizary_> i see.
<clever> rizary_: the stdenv will also cd into the copy after unpackPhase has run
<siers> pie_, it fixes the shebang to nix store ruby, which knows where to find gems
o1lo01ol1o has joined #nixos
<clever> rizary_: so for configurePhase and onwards, the current directory is the writable copy of the src
justanotheruser has quit [Read error: Connection reset by peer]
<DigitalKiwi> what's the difference between pure-packages and top-level
philr has quit [Ping timeout: 265 seconds]
<DigitalKiwi> all-packages rather, in top-level
cosimone has joined #nixos
alexherbo2 has joined #nixos
* DigitalKiwi looks at pandoc and also thinks taffybar and xmonad might be ones to look at too
<pie_> siers: so now you know :p
<rizary_> I see.. got it. So iirc, after I `chmod +w -R $out` and the build finished, the permission will set to `read-only`?
<siers> pie_, you and me both, buddy
<pie_> (i dont use ruby)
<clever> rizary_: correct
<rizary_> ah finally.. thanks clever
jco has quit [Quit: WeeChat 2.6]
mexisme_ has joined #nixos
ng0_ has joined #nixos
<DigitalKiwi> if i do the thing where checkout the commit that is currently the nixos-channel i'm on for caching, how do i rebase later ? never figured that one out :| always end up rebasing onto master before i'm done and losing the caching...
<pie_> clever: i forgot to fix some vpn config when i rebuilt the vm, orthogonal problem probably.
growpotkin has joined #nixos
ng0 has quit [Disconnected by services]
ng0_ is now known as ng0
mexisme_ has quit [Ping timeout: 245 seconds]
juxiemaotu has joined #nixos
sigmundv has quit [Ping timeout: 258 seconds]
<siers> should nix-env -iE '...callPackage () {}' work?
tpanum- has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
domogled has quit [Quit: domogled]
<juxiemaotu> anyone know about nixos ipxe install? the config step?
<juxiemaotu> there was a platform support ipxe, i wanna install nixos by ipex.what should i do?
<{^_^}> [nixpkgs] @primeos opened pull request #75875 → scons: 3.1.1 -> 3.1.2 → https://git.io/Je5mJ
<clever> siers: yes, but it will be a lot simpler to make a default.nix and then `nix-env -f . -iA foo`
justanotheruser has joined #nixos
tpanum- has joined #nixos
<siers> clever, can nix-env install anything at all that uses the callPackage pattern?
<clever> siers: only if you use -E and callPackage yourself
<clever> siers: its much simpler to have a default.nix that imports nixpkgs, and uses callPackage for you
<pie_> fml i somehow added an extraneous 2 to the ip
<siers> clever, so two nixfiles would be perfect then?
<clever> siers: yeah
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #75876 → Py3 snitun → https://git.io/Je5mq
tpham73 has joined #nixos
<tpham73> Does anyone use nix bundle?
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
MightyJoe has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #75877 → scons: Switch to Python 3 → https://git.io/Je5mR
nilsirl[m] has joined #nixos
<nilsirl[m]> When I run nix-shell and then enter tmux, the environment is changed a little making it often impossible to compile whatever I'm trying to compile. Is there a solution to this?
<tpham73> I thing you should run tmux before enter the nix-shell
cyraxjoe has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
<tpham73> bc tmux would source the rc file, it change your env
o1lo01ol1o has quit [Remote host closed the connection]
nhey_ has joined #nixos
orivej has joined #nixos
zupo has quit [Client Quit]
zupo has joined #nixos
dejanr has joined #nixos
<nhey_> Hi. Anyone that can help troubleshoot firefox audio problem? Even though I did not have pulseaudio enabled, firefox sound worked fine until a few days ago, where I had to enable pulseaudio in order to get sound. Then, a system upgrade broke the audio completely and now I'm back to ALSA only but no sound from firefox. Is there any special audio configuration I should use for firefox?
<pie_> well this is going to be a problem Dec 18 16:35:01 nixos zd2f8vwl6wvr4qchpl586vbafrq8gl34-unit-script-network-addresses-eth0-start[693]: adding route 10.240.0.0/12... 'ip route add 10.240.0.0/12 via 10.250.0.4 dev eth0' failed: RTNETLINK answers: Network is unreachable
halfbit has joined #nixos
<pie_> clever: i dont suppose theres anything for deferred routing setup?
<clever> pie_: not that i know of
<pie_> hm.
<pie_> bottom line is i need to wait for the vpn to be up to add the route
fre has joined #nixos
fergus_x has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nilsirl[m] has quit [Read error: Connection reset by peer]
nhey_ has quit [Quit: Leaving]
zupo has joined #nixos
zupo has quit [Client Quit]
fusion809 has joined #nixos
o1lo01ol1o has joined #nixos
cmacrae has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.6.0.17 -> 3.6.0.18 »: https://git.io/Je5Y1
zupo has joined #nixos
zupo has quit [Client Quit]
cmacrae has joined #nixos
drewr has joined #nixos
nilsirl[m] has joined #nixos
<nilsirl[m]> tpham73: yeah but then the problem is that I don't have the environmnet throughout my tmux session
mexisme_ has joined #nixos
justanotheruser has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 245 seconds]
Chiliparrot has joined #nixos
vika_nezrimaya has joined #nixos
smatting has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #75879 → minio, minio-client: 2019-10-12 -> 2019-12-17 → https://git.io/Je5Of
<azazel> how can I force a runtime dependency on a package? There's this package named "squeezelite" that requires libmad.so to be available at runtime but it doesn't appear on an ldd
lsix has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #75880 → restic: 0.9.5 -> 0.9.6 → https://git.io/Je5O3
luc1 has joined #nixos
<luc1> Hi people,
<luc1> I am trying to install nixos on a raspberry pi but I have a setup that I think I need some pointers with.
justanotheruser has joined #nixos
<luc1> It is a armv6/rasperry 1b so I am using the image from dezgeg as described here: https://nixos.wiki/wiki/NixOS_on_ARM#Installation
<luc1> Additionally I don't have a monitor to connect to the pi and it seems ssh is not enabled in that image.
<luc1> So my question is can I either enable sshd on that image somehow? (I have a nixos machine but with x86 architecture in case that helps)
<{^_^}> [nix] @edolstra pushed 6 commits to flakes: https://git.io/Je5Oi
<{^_^}> [nixpkgs] @jerith666 opened pull request #75882 → haskellPackages.snap-server: patch for network >= 3.0 → https://git.io/Je5OD
lsix has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
cmacrae has quit [Ping timeout: 258 seconds]
pikajude_ has joined #nixos
<pikajude_> i want to build an ldd that runs on darwin but can inspect ELF binaries
<pikajude_> can i do it with pkgsCross somehow
ixxie has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
<{^_^}> [nix] @edolstra pushed to master « nix make-content-addressable: Add --json flag »: https://git.io/Je538
<evanjs> Alright, so how might I override/utilize the generic attribute in libwebsockets to add my own version without touching the original expression -- e.g. https://github.com/NixOS/nixpkgs/blob/fbd23c6f1af0cf9539d1a56af939769b0f7aab91/pkgs/development/libraries/libwebsockets/default.nix#L36
erasmas has joined #nixos
<evanjs> generic isn't exported so I can't just override it
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/Je530
fendor has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-19.09: https://git.io/Je53a
reallymemorable has joined #nixos
blaggacao has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<evanjs> I could just override the src, but it looks like generic is in place to make that less painful, though I'm not sure how to use it within e.g. another expression's let block
cosimone has quit [Quit: Terminated!]
blaggacao has quit [Remote host closed the connection]
<evanjs> Heck, essentially the entire expression is the generic block
blaggacao has joined #nixos
<evanjs> Ohhhhhhhhhhhhhhhhhhh
<evanjs> Okay so it just takes in version and sha256, so I literally only need to override those two things
<pie_> infinisil: can I use mkIf like this? https://bpaste.net/show/SR6FA
<pie_> it doesnt error out but if im not building a vm it complains about:
<pie_> the option `virtualisation.cores' not existing
pikajude_ has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @filalex77 opened pull request #75883 → neo-cowsay: init at 1.0.0 → https://git.io/Je53F
ddellacosta has joined #nixos
ddellaco1 has quit [Ping timeout: 258 seconds]
rnhmjoj has joined #nixos
<rnhmjoj> do you know if there's a link to the latest hydra build of a package (successful or not)?
<evanjs> mrm... doesn't look like I can pass version or sha256 in from the top level, though
<juxiemaotu> i have a problem, when i use command:
<juxiemaotu> nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-config=/etc/nixos/configuration.nix -iA system
<juxiemaotu> it cant work ,prompt:
<juxiemaotu> building '/nix/store/wifma5sybbf3bfv61p31izsfzzlp80v5-users-groups.json.drv'...
<juxiemaotu> /nix/store/wpi89y86krq9rbvwcbx0hc36ibp5d0v7-stdenv-linux/setup: line 795: /build/env-vars: No such file or directory
<juxiemaotu> building '/nix/store/xljqzg8nmzjli8ink7ysacql1q5ppjhb-crontabs.drv'...
<juxiemaotu> /nix/store/wpi89y86krq9rbvwcbx0hc36ibp5d0v7-stdenv-linux/setup: line 795: /build/env-vars: No such file or directory
<juxiemaotu> unpacking sources
<juxiemaotu> /nix/store/wpi89y86krq9rbvwcbx0hc36ibp5d0v7-stdenv-linux/setup: line 795: /build/env-vars: No such file or directory
<juxiemaotu> variable $src or $srcs should point to the source
<juxiemaotu> builder for '/nix/store/xljqzg8nmzjli8ink7ysacql1q5ppjhb-crontabs.drv' failed with exit code 1
<juxiemaotu> cannot build derivation '/nix/store/mzmmpf0nbx8kqrr34sxi7skfkv0091m7-etc.drv': 1 dependencies couldn't be built
<juxiemaotu> building '/nix/store/vqiyhi2n4a8zjjy6lfqqm52gn8g0g2j9-grub-config.xml.drv'...
<juxiemaotu> cannot build derivation '/nix/store/97fybrzinkmr4xqlkf534sdcgpqaaii2-nixos-system-nixos_server-20.03pre204216.cc6cf0a96a6.drv': 1 dependencies couldn't be built
<juxiemaotu> error: build of '/nix/store/97fybrzinkmr4xqlkf534sdcgpqaaii2-nixos-system-nixos_server-20.03pre204216.cc6cf0a96a6.drv' failed
<juxiemaotu> is there any mistake?
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
equivrel has quit [Read error: Connection reset by peer]
equivrel has joined #nixos
<pie_> is it just me or is logging for networkmanager broken on nixos? theres nothing on journalctl
thefloweringash has joined #nixos
<thefloweringash> juxiemaotu: I think that's nix#3142, you can work around it by disabling the sandbox with `--option sandbox false`
<{^_^}> https://github.com/NixOS/nix/issues/3142 (by cleverca22, 9 weeks ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75814 → gleam: init at 0.5.0 → https://git.io/Je7Vt
<{^_^}> [nixpkgs] @jonringer closed pull request #71432 → Gleam → https://git.io/JeByW
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to master « gleam: init at 0.5.0 »: https://git.io/Je5sY
cosimone has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75738 → python3Packages.mypy: 0.740 -> 0.750 → https://git.io/JeQHj
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je5sO
lsix has quit [Ping timeout: 245 seconds]
gnidorah has joined #nixos
<gnidorah> hi. what do you think? #68301
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68301 (by gnidorah, 14 weeks ago, open): cdesktopenv: init at 2019-11-30
<pie_> ugh. cant figure out why networkmanager dispatcher scripts dont work
<juxiemaotu> thefloweringash: OK, it works . thank you very much.
<juxiemaotu> next time, i should to find the answer at github issues first.
<juxiemaotu> thanks erveryone
Ariakenom has joined #nixos
stites has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @filalex77 closed pull request #75880 → restic: 0.9.5 -> 0.9.6 → https://git.io/Je5O3
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d942688fc13 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
o1lo01ol1o has joined #nixos
tpham73 has quit [Remote host closed the connection]
<stites> Hey all, I noticed something funny that is happening -- I just rolled back my nix directory via zfs snapshot. This saved me from a corrupted sqlite.db (which I'm very thankful for), but running nix-store --optimize, I'm noticing that my zfs filesystem is slowly growing in size.
bvdw has quit [Read error: Connection reset by peer]
<stites> Pretty counterintuitive. Is this normal behaviour? Is there something I can do to debug this, if not?
bvdw has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pie_> stites: i think whats happening is you are diverging from the snapshot
gxt has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #75796 → python3Packages.fpylll: fix arch tests → https://git.io/Je7OS
<pie_> stites: zfs gives you a couple different size values i think? the refer one is what the given thing consumes i think
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75761 → gubbi-font: init at 1.3 → https://git.io/Je7Uz
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je5sy
tpanum| has joined #nixos
tpanum- has quit [Ping timeout: 258 seconds]
jco has joined #nixos
<stites> pie_: sorry, what do you mean by "different size values"?
<jco> hello! I'm deploying dotfiles with home manager and I get errors like Existing file '/home/jco/.config/kitty/kitty.conf' is in the way
jgeerds_ has quit [Ping timeout: 252 seconds]
<stites> jco: use home manager's `-b` argument
<stites> or just delete the file after reviewing it
<{^_^}> [nixpkgs] @exyi opened pull request #75884 → prometheus/exportes/collectd: fixed authFile → https://git.io/Je5sN
<jco> stites: thanks, this is it! But I'm using home manager through nixos-rebuild, not the home manager command
<stites> oh! you can do that? wild! haha, you are on your own then
<stites> the low-tech solution is just to remove the file since it's not going to be managed by nix
<jco> stites: yes, as a nixos module! how cool is that? https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module
<jco> right, this is what I'm going to do
Shoubit has quit [Remote host closed the connection]
bt` has joined #nixos
<stites> one second!
sigmundv has quit [Ping timeout: 258 seconds]
buckley310 has quit [Ping timeout: 265 seconds]
<stites> you'll only have to move it the second time you have a problem : )
<evanjs> Sooo any thoughts on how I can override attrs on something like libwebsockets? not sure how to override/use e.g. `let generic = { version, sha256 }: stdenv.mkDerivation rec {`
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
<dooms> the libwebsockets exports are derived from calling that internal generic function?
fre has quit [Quit: fre: znc bye]
<jco> stites: humm... how is this option supposed to be used?
dm9 has quit [Quit: WeeChat 2.7]
fre has joined #nixos
earldouglas has left #nixos [#nixos]
<stites> it looks like it goes right under `useUserPackages` and you give it a string (like `bk`) which it move offending files to
zupo has joined #nixos
<jco> oh right, it works this way!
<stites> if a `file.ext.bk` file already exists, though, you'll end up with a similar error as before
<stites> (as a heads-up)
<stites> I would warn you that if you are getting a conflict with mimetypes.list, you'll probably see this error frequently
zupo has quit [Client Quit]
<gustavderdrache> evanjs: it sounds like you're looking for overrideAttrs: https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs
lukash_ is now known as lukash_|away
<jco> stites: indeed
<duairc> I'm trying to set up remote building with nix
<duairc> I think everything on the remote side is fine
alexherbo26 has joined #nixos
alexherbo2 has quit [Ping timeout: 252 seconds]
<duairc> On the local side, I have a nix.buildMachine with an sshUser and an sshKey
<duairc> The problem is that builds fail with "Warning: Identity file /var/keys/ssh not accessible: Permission denied."
<duairc> The SSH key is only readable by root and members of the keys group
<duairc> I can make it world readable because the server isn't used by anyone else
<duairc> But I'm wondering, could I also just add all the nixbld users to the keys group?
<duairc> Is that who is trying (and failing) to read that file?
<fuzen> How do unwrapped applications work? I am trying to use lutris-unwrapped, but it seems to be unable to read my home directory
<tilpner> fuzen: That's a buildFHSUserEnv thing, not a -unwrapped thing
<tilpner> fuzen: Does /host/home exist?
jgt2 has quit [Ping timeout: 252 seconds]
<fuzen> I use /home/<User>
<chrisaw> Was going to say - you can probably work around that with: profile = 'export HOME=/host/home' :)
<fuzen> Does this need to be in /host/home?
<chrisaw> I'm stuck trying to package up VMware for NixOS right now and wondering if any of you fine folks have any suggestions? Basically my two blockers are: 1.) If I try to patchelf the binaries they become too large (actual error message from patchelf) so that can't work. 2.) If I avoid patchelf and instead create a FHS env I can't set the suid bit on binaries. Does anyone have any ideas? I'm completely stuck on this which is
<chrisaw> frustrating because I'm so close to finishing it and pushing it to nixpkgs.
<evanjs> gustavderdrache: yeah I tried override attrs but I'm unsure how I can use it with a function like that
<evanjs> overriding version and sha256 seems to have no effect
<gustavderdrache> you want to override the 'src' attribute instead
<evanjs> gustavderdrache: yeah that's what I ended up doing. I guess the way the expression is set up now is just enough to prevent me from using the generic attribute/simply passing in version+sha256
<gustavderdrache> yeah, i think it's just a helper to reduce boilerplate
<gustavderdrache> you have a normal derivation afterwards so you can use the usual tricks on it
chloekek has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
fendor has quit [Quit: Leaving]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
is0x3F has joined #nixos
Ox4A6F has joined #nixos
cornu has joined #nixos
zurdo has joined #nixos
EuAndreh[m] has joined #nixos
Ericson2314 has joined #nixos
laas has joined #nixos
MiloIgnis[m] has joined #nixos
MilkManzJourDadd has joined #nixos
Minijackson[m] has joined #nixos
alex[m]10 has joined #nixos
aanderse has joined #nixos
Noughtmare[m] has joined #nixos
abbafei[m] has joined #nixos
abbradar[m] has joined #nixos
abbec has joined #nixos
alexarice[m] has joined #nixos
alienpirate5 has joined #nixos
am3on[m] has joined #nixos
arcnmx has joined #nixos
arianvp[m] has joined #nixos
aterius has joined #nixos
atopuzov[m] has joined #nixos
bachp has joined #nixos
attero has joined #nixos
balsoft has joined #nixos
bbigras has joined #nixos
bendlas has joined #nixos
bennofs[m] has joined #nixos
bikki[m] has joined #nixos
phittacus has joined #nixos
blahaj[m] has joined #nixos
bohan[m] has joined #nixos
blitzclone_ has joined #nixos
freerangechicken has joined #nixos
Christian[m]1 has joined #nixos
clacke[m] has joined #nixos
clefru has joined #nixos
colemickens has joined #nixos
coniferous-cube[ has joined #nixos
corpix[m] has joined #nixos
cyberwolf[m] has joined #nixos
Dandellion has joined #nixos
craige[m] has joined #nixos
copy` has joined #nixos
VaNilLa[m] has joined #nixos
ndarwincorn has joined #nixos
danielrf[m] has joined #nixos
david-sawatzke[m has joined #nixos
das-g[m] has joined #nixos
DenisLehmann[m] has joined #nixos
domenkozar[m] has joined #nixos
dpc has joined #nixos
DanP[m] has joined #nixos
eeyun[m] has joined #nixos
dtz has joined #nixos
eddyb has joined #nixos
fgaz has joined #nixos
escaP[m] has joined #nixos
flacks has joined #nixos
florianjacob has joined #nixos
frederic_chopwn[ has joined #nixos
fpletz[m] has joined #nixos
frislie[m] has joined #nixos
gaisseml[m] has joined #nixos
gaisseml[m]1 has joined #nixos
tails[m] has joined #nixos
geemili has joined #nixos
GerdFlaig[m] has joined #nixos
goibhniu has joined #nixos
gsals[m] has joined #nixos
hagelslag[m] has joined #nixos
HappyEnt[m] has joined #nixos
harkenedraven has joined #nixos
hiroshi[m] has joined #nixos
hpfr[m] has joined #nixos
icetan[m] has joined #nixos
icetan has joined #nixos
ilya-fedin has joined #nixos
imj[m] has joined #nixos
Irenes[m] has joined #nixos
isgy[m] has joined #nixos
IslandUsurper has joined #nixos
JaakkoLuttinen[m has joined #nixos
joelpet1 has joined #nixos
joepie91[m] has joined #nixos
jonge[m] has joined #nixos
ejpcmac has joined #nixos
jschievink has joined #nixos
jtojnar has joined #nixos
kaychaks[m] has joined #nixos
kecia[m] has joined #nixos
keithy[m] has joined #nixos
kirelagin has joined #nixos
l33[m] has joined #nixos
layus[m] has joined #nixos
lel[m] has joined #nixos
leons has joined #nixos
li_matrix has joined #nixos
bricewge has joined #nixos
LinuXit has joined #nixos
lisprez[m] has joined #nixos
ma27[m] has joined #nixos
manveru[m] has joined #nixos
macerbi[m]1 has joined #nixos
manu12[m] has joined #nixos
malteof[m] has joined #nixos
luftmensch[m] has joined #nixos
marijan[m] has joined #nixos
marius851000[m] has joined #nixos
MayeulC_backup has joined #nixos
MarkOtaris has joined #nixos
Thinkofname[m] has joined #nixos
mirsal has joined #nixos
MerlinGttlinger[ has joined #nixos
mkg20001 has joined #nixos
momack2[m] has joined #nixos
mt[m] has joined #nixos
simbergm has joined #nixos
nbardiuk has joined #nixos
musicmatze has joined #nixos
NickHu has joined #nixos
nh2[m] has joined #nixos
NoblesseOblige24 has joined #nixos
ninjatrappeur[m] has joined #nixos
null_radix[m] has joined #nixos
octowan[m] has joined #nixos
Nyanloutre[m] has joined #nixos
offlinehacker has joined #nixos
otini has joined #nixos
olejorgenb[m] has joined #nixos
pachacuti[m] has joined #nixos
Notkea[m] has joined #nixos
mica[m] has joined #nixos
pentadyne[m] has joined #nixos
pheoxy has joined #nixos
philipp[m]2 has joined #nixos
pinage404[m] has joined #nixos
phyfey[m] has joined #nixos
pingveno[m] has joined #nixos
quiet_laika[m] has joined #nixos
provessor[m] has joined #nixos
rendeko[m] has joined #nixos
rihardsk[m] has joined #nixos
roberth has joined #nixos
rycee has joined #nixos
ronny has joined #nixos
sauyon[m] has joined #nixos
schmittlauch[m] has joined #nixos
seb314[m] has joined #nixos
segfault[m] has joined #nixos
Seb[m] has joined #nixos
setthemfree[m] has joined #nixos
sevcsik- has joined #nixos
shizonic has joined #nixos
haslersn has joined #nixos
siraben has joined #nixos
Sisyphe[m] has joined #nixos
slabity has joined #nixos
Smith[m] has joined #nixos
snupples[m] has joined #nixos
spacekitteh[m] has joined #nixos
submoo[m] has joined #nixos
tokudan[m] has joined #nixos
sylvie[m] has joined #nixos
Brian[m]4 has joined #nixos
thequux[m] has joined #nixos
regnat[m] has joined #nixos
timokau[m] has joined #nixos
tobim[m] has joined #nixos
TravisRt2botio[m has joined #nixos
veleiro has joined #nixos
truby has joined #nixos
contrun[m] has joined #nixos
Victor[m]1 has joined #nixos
vaibhavsagar has joined #nixos
Vskilet has joined #nixos
wak-work has joined #nixos
wangoe[m] has joined #nixos
wedens[m] has joined #nixos
webdavis has joined #nixos
wnklmnn[m] has joined #nixos
worldofpeace has joined #nixos
xavierm02 has joined #nixos
Yakulu[m] has joined #nixos
yoho[m]1 has joined #nixos
yangm has joined #nixos
zer0xp[m] has joined #nixos
ZerataX has joined #nixos
zmlww[m] has joined #nixos
zummed[m] has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
alexherbo266 has joined #nixos
alexherbo26 has quit [Ping timeout: 258 seconds]
<bt`> I've just written my first package declaration mostly copied from gohufont's nix expression: http://0x0.st/z0j1.nix It's just a one off for personal use, so I'm wondering if modifying 'pkgs/top-level/all-packages.nix' and creating a 'pkgs/applications/...' is actually the best way to go about installing it? Also I've only seen the relative paths for these so I don't actually know where 'pkgs/' is.
mexisme_ has joined #nixos
dbmikus has joined #nixos
<vika_nezrimaya> quick question: where does Nix store partial downloads from binary caches before unpacking them?
<vika_nezrimaya> Memory? Folder in /tmp?
<vika_nezrimaya> oh, looks like it reserves space and unpacks files in place
<vika_nezrimaya> the problem is - nix-store --realise doesn't show download progress
ashesham` has joined #nixos
<worldofpeace> bt`: are you trying to contribute it or use it right away in your configuration.nix?
orivej has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @voanhduy1512 opened pull request #75885 → asus-wmi-sensors: init at 0.0.1 → https://git.io/Je5Z3
<worldofpeace> from reading "My personal bitmap font." I think you don't want to contribute this
<bt`> worldofpeace: It's not really ready to distribute yet, so I'd just like to use it in my configuration.nix yes.
<worldofpeace> bt`: see https://nixos.org/nixos/options.html#nixpkgs.overlays
<bt`> Okay, thank you worldofpeace.
<worldofpeace> bt`: what you could do is self: super: untitled-font = super.callPackage ./path/to/expression { };
<worldofpeace> just like if you were calling the package in nixpkgs all-packages.nix
<bt`> That makes sense, cheers!
meck has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @mmilata closed pull request #75459 → nixosTests.haproxy: port test to python → https://git.io/Je9R5
meck has joined #nixos
meck has quit [Client Quit]
Lears has quit [Read error: No route to host]
[Leary] has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ce54d9601ea (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ce54d9601ea (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
meck has joined #nixos
vika_nezrimaya has quit [Ping timeout: 248 seconds]
wildtrees has joined #nixos
<witchof0x20> what would be the best way to go about getting a setuid on wine to allow it to create raw sockets
<witchof0x20> er, a setcap
<tilpner> witchof0x20: security.wrappers
<witchof0x20> thanks
o1lo01ol1o has joined #nixos
jgt2 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
reanimus has quit [Ping timeout: 265 seconds]
reanimus has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
Chiliparrot has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
wolfshappen has quit [Ping timeout: 245 seconds]
wolfshappen has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
ixxie has quit [Ping timeout: 246 seconds]
captn3m0 has joined #nixos
alexherbo266 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam opened pull request #75887 → nodejs: 10.17.0 -> 10.18.0, 12.13.1 -> 12.14.0, 13.3.0 -> 13.5.0 → https://git.io/Je5nO
alexherbo2 has joined #nixos
Acou_Bass has quit [Ping timeout: 252 seconds]
Acou_Bass has joined #nixos
shibboleth has joined #nixos
kleisli has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/96d73edaf33 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ashesham` has quit [Ping timeout: 246 seconds]
ashesham` has joined #nixos
Guillaum_ has quit [Quit: leaving]
shibboleth has quit [Excess Flood]
kleisli has quit [Ping timeout: 248 seconds]
shibboleth has joined #nixos
hmuser has joined #nixos
jco has quit [Quit: WeeChat 2.6]
hmuser has joined #nixos
hmuser has quit [Client Quit]
witchof0x20 has quit [Quit: WeeChat 2.6]
witchof0x20 has joined #nixos
apeyroux_ has joined #nixos
bt` has left #nixos ["ERC (IRC client for Emacs 26.3)"]
apeyroux_ has quit [Client Quit]
kleisli has joined #nixos
apeyroux has quit [Quit: leaving]
apeyroux has joined #nixos
apeyroux has quit [Client Quit]
apeyroux has joined #nixos
apeyroux has quit [Client Quit]
apeyroux has joined #nixos
apeyroux is now known as tmux
tmux has quit [Client Quit]
blaggacao has quit [Ping timeout: 258 seconds]
blahaj[m] has quit [Quit: User has been idle for 30+ days.]
atopuzov[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
blaggacao has joined #nixos
apeyroux has joined #nixos
apeyroux has quit [Client Quit]
segfault[m] has quit [Quit: User has been idle for 30+ days.]
orivej has joined #nixos
lordcirth has joined #nixos
joelpet1 has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
reanimus has quit [Ping timeout: 245 seconds]
kleisli has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « Revert "release: remove metrics from unstable channel (temporarily)" »: https://git.io/Je5n1
juxiemaotu has quit [Quit: WeeChat 2.4]
ninegrid has joined #nixos
kleisli has joined #nixos
<mog> my machine no longer wants to suspend / hibernate. i think its related to the new nvidia release. what is the right way to overlay to try an older version of their drivers
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d942688fc13 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
knupfer has joined #nixos
reanimus has joined #nixos
gustavderdrache has left #nixos [#nixos]
gustavderdrache has joined #nixos
wangoe[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
das-g[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
sauyon[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
jtle has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @marsam opened pull request #75890 → nodejs-13_x: 13.3.0 -> 13.5.0 → https://git.io/Je5nj
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #75891 → alertmanager-bot: init at 0.4.0 → https://git.io/Je5cU
phreedom has quit [Ping timeout: 260 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<evanjs> mog: first thing that comes to mind is infinisil's compoton-kawase package which does so - https://github.com/Infinisil/system/blob/8250040044679dfb8a3a2743e547bfc1c7541101/config/pkgs/pkgs/compton-kawase.nix#L22
<evanjs> Might be a better example, but the short of it is that you need to override the src and the name, I think
<infinisil> Oh no that's a horrible example lol
<{^_^}> [nixpkgs] @jtojnar merged pull request #53843 → nixos/displayManager: introduce defaultSession → https://git.io/fhnck
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to master: https://git.io/Je5cq
<stites> (just pin nixpkgs at an earlier commit)
<stites> (... for linuxPackages)
apeyroux has joined #nixos
jgt2 has quit [Quit: WeeChat 2.6]
<stites> more weird stuff happening for me (post zfs snapshot rollback) -- I'm noticing that my computer wont boot to "phase 1" every other boot
<{^_^}> [nixpkgs] @rycee opened pull request #75892 → emacsPackages.sv-kalender: init at 1.9 → https://git.io/Je5cG
<evanjs> infinisil: I couldn't think of anything else :D
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
apeyroux has quit [Client Quit]
<stites> it's very reliably working every other boot (and making to the uefi systemctl boot menu in all cases). would anyone have any suggestions for fixing this?
apeyroux has joined #nixos
apeyroux has quit [Client Quit]
vika_nezrimaya has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
<Ankhers> Does anyone have experience using android studio on nixos that can point me to a guide or something detailing what I am supposed to be doing to develop applications?
TravisRt2botio[m has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
timokau[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
acarrico has quit [Ping timeout: 248 seconds]
truby has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
VaNilLa[m] has quit [Quit: User has been idle for 30+ days.]
<vika_nezrimaya> Ankhers: Android Studio works fine for me on NixOS. I use it mainly to sift through logs on my phone, but I was able to compile apps with it. https://developer.android.com may help you learn some Android programming
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fb1bc1b891f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75893 → nixos/gdm: use systemd tmpfiles instead of preStart → https://git.io/Je5cH
<{^_^}> [nixpkgs] @marsam opened pull request #75894 → tflint: 0.13.2 -> 0.13.3 → https://git.io/Je5cQ
<Ankhers> vika_nezrimaya: Thanks. I don't remember the issues I was having the last time I tried, but when searching for "nixos android studio", I found a bunch of, admittedly old, tickets talking about it not working. I just wasn't sure if it was working properly yet.
<vika_nezrimaya> There were some problems, and I've stumbled into bunch of them, but now it's working just fine!
<Ankhers> Good to know. I will give it a go with this project and see what happens.
<vika_nezrimaya> Good luck :3
<Ankhers> thanks!
<{^_^}> [nixpkgs] @marsam opened pull request #75895 → gitAndTools.lab: 0.17.1 -> 0.17.2 → https://git.io/Je5c5
cosimone has joined #nixos
<{^_^}> [nixpkgs] @abstracted opened pull request #75896 → pythonPackages.colorgram: init at 1.2.0 → https://git.io/Je5cN
coniferous-cube[ has quit [Quit: User has been idle for 30+ days.]
drakonis has joined #nixos
frislie[m] has quit [Quit: User has been idle for 30+ days.]
am3on[m] has quit [Remote host closed the connection]
sjkelly1 has joined #nixos
laas has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
corpix[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
apeyroux has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<Ankhers> Are there any rust developers using nixos that can tell me the tradeoffs between using rustup, which I am used to using, and whatever nix gives for building/compiling rust programs?
<vika_nezrimaya> Ankhers: I'm no rustacean but I've played around with rust on the level of hello world and I tried to use rustup. Both approaches work. Rustup gives you bleeding-edge stuff, Nix works well when you want to actually use your software :3 Kinda like with Python's virtualenvs in NixOS
<vika_nezrimaya> You'll definitely need rustup if you use nightly features; it looks like Nixpkgs doesn't have a nightly rustc
<rihardsk[m]> hi, what would happen if i migrated my synapse homeserver from one host to another without migrating the DB? would the new instance be in a broken state or would the Matrix protocol sort stuff out? (i don't care much for my messages and joined rooms because it was kindof just for experimenting with a private homeserver)
<rihardsk[m]> i might still end up migrating the DB but i'm still interested in what would happen then
<rihardsk[m]> * i might still end up migrating the DB but i'm still interested in what would happen if i wouldn't
<vika_nezrimaya> @rihardsk I think you'll be better off asking that in one of the Matrix channels
<rihardsk[m]> oh, sorry, my bad
gnidorah has quit [Quit: Connection closed for inactivity]
gkmngrgn has joined #nixos
<vika_nezrimaya> it's ok :3
switchy has quit [Remote host closed the connection]
switchy has joined #nixos
<{^_^}> [nixpkgs] @kjuvi opened pull request #75897 → [WIP] monitor: init at 0.6.1 → https://git.io/Je5CY
leotaku has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux_latest-libre: 17117 -> 17119 »: https://git.io/Je5Cl
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-19.09 « linux_latest-libre: 17117 -> 17119 »: https://git.io/Je5C8
ashesham` has quit [Ping timeout: 246 seconds]
Neo-- has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 252 seconds]
Scriptkiddi has joined #nixos
leotaku has joined #nixos
stites has quit [Ping timeout: 252 seconds]
ninegrid has quit [Ping timeout: 268 seconds]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 248 seconds]
ninegrid has joined #nixos
drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
xkapastel has quit [Quit: Connection closed for inactivity]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
philr has joined #nixos
rauno has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #75898 → home-assistant: Add error output for missing deps → https://git.io/Je5C7
leotaku has quit [Ping timeout: 268 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Ankhers> vika_nezrimaya: To get rustup, is there a nix derivation for it, or should I be able to install it using the "regular" way listed on the website?
<{^_^}> [nixpkgs] @rycee opened pull request #75899 → Fix Python packages nevow and magic-wormhole-mailbox-server → https://git.io/Je5Cd
<vika_nezrimaya> There's a nix derivation for it
zupo has joined #nixos
<vika_nezrimaya> Ankhers: nix run nixpkgs.rustup
<Ankhers> Thanks.
Ariakenom has quit [Read error: Connection reset by peer]
<dongcarl> Is the nixops mailing list private? Can't seem to see/load it
<erictapen> Ankhers: There is also the mozilla overlay for nixpkgs, which I use to build Rust programs with an unstable rustc.
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @jbedo opened pull request #75900 → Tebreak, minia, last, bx-python, python-lzo → https://git.io/Je5Cp
<Ankhers> erictapen: How do things like rls work with that?
dirkx_ has joined #nixos
<zeta_0> i finally got the nix pkg protonvpn up and running, but now it does not let emacs rcirc connect to irc freenode, is there a nix setting that i need to change to get this to work or is this more specificg to protonvpn?
<{^_^}> [nixpkgs] @malbarbo opened pull request #75901 → lua: allow static build → https://git.io/Je5Ch
<erictapen> Ankhers: mh never used the RLS. You could install the rustc through the moz_overlay and then maybe let use the RLS that unstable rustc instead of the stable one of nixpkgs?
<zeta_0> the code to enable it in .emacs:
<zeta_0> (setq rcirc-server-alist
<zeta_0> :channels ("#rcirc" "#emacs" "#emacswiki"))))
<zeta_0> '(("irc.freenode.net" :port 6697 :encryption tls
lovesegfault has joined #nixos
acarrico has joined #nixos
<zeta_0> my guess is that the port 6697 is being blocked and i need to open it?
dirkx_ has quit [Ping timeout: 268 seconds]
<pie_> this sounds hella sketchy but i dont see a way to do it other than to copy or patch code, do I use mkOverride to overwrite a subattribute of a systemd service definition, instead of merging it?
leotaku has joined #nixos
<zeta_0> clever: ^
<jared-w> Ankhers: rls works pretty nice with the overlay. The default "install everything" example that they have comes with the correct RLS for the version of rust you get from the overlay
erictapen has quit [Quit: leaving]
<jared-w> Ankhers: I personally use rust_analyzer. I install it the normal way with the git repo and then use coc-rust_analyzer in neovim to setup the rest of it. The only gotcha is needing the RUST_SRC_PATH env variable to be set. Probably a quirk of my particular setup
<jared-w> RUST_SRC_PATH = "${(pkgs.latest.rustChannels.nightly.rust.override { extensions = [ "rust-src" ]; })}/lib/rustlib/src/rust/src"; (because for some reason getting /lib/rustlib/src/rust/src without setting the override wasn't working correctly the last time I set this up)
<zeta_0> i have seen people on this channel using protonvpn, how were they able to connect to irc freenode?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
magneticduck has quit [Remote host closed the connection]
cosimone_ has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @marsam merged pull request #75894 → tflint: 0.13.2 -> 0.13.3 → https://git.io/Je5cQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je5WR
<{^_^}> [nixpkgs] @marsam merged pull request #75887 → nodejs: 10.17.0 -> 10.18.0, 12.13.1 -> 12.14.0 → https://git.io/Je5nO
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Je5Wg
<{^_^}> [nixpkgs] @marsam merged pull request #75890 → nodejs-13_x: 13.3.0 -> 13.5.0 → https://git.io/Je5nj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/Je5W2
tpham has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75824 → yarn: 1.19.2 -> 1.21.1 → https://git.io/Je71o
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je5WH
gustavderdrache has quit [Quit: Leaving.]
acarrico has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
<chloekek> Is there a nice mnemonic for the order of the words in the name “concatMapStringsSep”? I need this function often and I have to look it up every time.
<{^_^}> [nixpkgs] @marsam merged pull request #75854 → slirp4netns: v0.4.2 -> v0.4.3 → https://git.io/Je5ew
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je5Wd
chris__ has joined #nixos
vld has quit [Ping timeout: 248 seconds]
<chris__> Is there any documentation about the `nix` attribute in the nixos configuration? The option that generates the `/etc/nix/nix.conf`. Bit difficult to google for!
fendor has joined #nixos
<qyliss> that help/
<qyliss> *that help?
<chris__> qyliss: Thanks! Is this a new addition to the site?
<samueldr> not really
<qyliss> Nope! Been there as long as I've been using NixOS (coming up on two years)
<samueldr> though it's likely not trivially indexable by search engine
<samueldr> looks like it's from about the end of 2014 https://github.com/NixOS/nixos-homepage/commits/master/nixos/options.tt
<infinisil> chris__: Also relevant: `man nix.conf`
<chris__> Haha, dam well.. I'm sure I'll find it super helpful in future.
knupfer has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #75902 → gobuster: init at 3.0.1 → https://git.io/Je5lv
<chris__> Whoops.. So I tried adding my private key to the sandbox.. And now if I do another nixos-rebuild I get an error of `error: while setting up the build environment: getting attributes of path...`... Do I have to reboot to an old generation or is this fixable perhaps?
philr has quit [Ping timeout: 240 seconds]
kleisli has quit [Ping timeout: 258 seconds]
ericsagnes has quit [Ping timeout: 245 seconds]
<pie_> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<pie_> ,
<{^_^}> Special commands: find tell locate expand guys - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help libraries unstable escape'' library declarative howoldis unfree ping paste escape" callpackage pinning -a profiling ask overlay pr which-channel stateversion nixlang++ wololo channels xml botsnack ifd xy imperative cache exec fancy-uninstall pills tofu invite haskell loot home-manager matrixbridge pointers stuck tias cloak
<pie_> ,locate ping
<{^_^}> Found in packages: axis2, cheat, cjdns, irssi, toybox, busybox, iputils, charybdis, inetutils, ircdHybrid, factor-lang, silc_client, home-assistant, unixtools.ping, bash-completion, nodePackages.gtop
ninegrid has quit [Ping timeout: 240 seconds]
<qyliss> pie_: you can PM the bot
luc1 has quit [Quit: WeeChat 2.6]
<pie_> im just a bad person
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2a361e57d0b (from 40 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a3ef555c770 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<chris__> Is there someway I could force modify the /etc/nix/nix.conf file? I can't seem to chmod 777 or lsattr on that.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qyliss> chris__: nix.extraOptions?
<chris__> qyliss: my nixos-rebuild is broken though
<qyliss> I see
<qyliss> You can also pass --option to Nix when you run it
domogled has joined #nixos
<qyliss> So you if you just want to temporarily change an option you don't need to modify the config file
fendor has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @poliez opened pull request #75905 → Add vim-elm-syntax to vimPlugins → https://git.io/Je5l0
anderslundstedt has joined #nixos
<chris__> qyliss: thanks, will give that a go!
fendor has joined #nixos
dongcarl has quit [Quit: ZNC 1.7.4 - https://znc.in]
zupo has quit [Client Quit]
chris__ has quit [Quit: Lost terminal]
ravndal has quit [Remote host closed the connection]
zupo has joined #nixos
dongcarl has joined #nixos
gkmngrgn has quit [Ping timeout: 258 seconds]
ravndal has joined #nixos
domogled has quit [Quit: domogled]
NoctisLabs has quit [Quit: WeeChat 2.6]
zeta_0 has joined #nixos
NoctisLabs has joined #nixos
mexisme_ has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a3ef555c770 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
mexisme_ has quit [Ping timeout: 248 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor_ has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75826 → restic: 0.9.5 -> 0.9.6 → https://git.io/Je7Dz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je5lN
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
dejanr has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75712 → mopidy-iris: 3.42.2 -> 3.43.0 → https://git.io/JeQXA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je5lj
domogled has joined #nixos
alexherbo2 has quit [Ping timeout: 248 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
domogled has quit [Quit: domogled]
smatting has joined #nixos
mexisme_ has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
vika_nezrimaya has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos
fendor has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
justanotheruser has joined #nixos
Havvy has quit [Quit: Computer Restarted or Restarting IRC]
mexisme_ has quit [Ping timeout: 248 seconds]
Havvy has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #75907 → atlassian-confluence: 7.0.3 -> 7.2.0 → https://git.io/Je58u
smatting has quit [Ping timeout: 240 seconds]
gkmngrgn has joined #nixos
chloekek has quit [Ping timeout: 248 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #75860 → matrix-synapse: 1.7.0 -> 1.7.1 → https://git.io/Je5TR
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/Je586
KONTOL has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #75717 → [19.09] apt: 1.4.6 -> 1.4.9 (CVE-2019-3462) → https://git.io/JeQ18
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to release-19.09: https://git.io/Je58X
ravndal has quit [Quit: WeeChat 2.7]
thc202 has quit [Ping timeout: 268 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
tokudan has quit [Quit: Dunno.]
growpotkin has joined #nixos
drakonis has joined #nixos
tokudan has joined #nixos