sigmundv__ has joined #nixos
<danbst[m]> jack: I don't say nobody has done this... after I've seen TOML parser in Nix...
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31524: jackett: use mono50 (master...master) https://git.io/vFVFd
NixOS_GitHub has left #nixos []
barrucadu has joined #nixos
barrucadu has quit [(Changing host)]
barrucadu has joined #nixos
<steveeJ> Sonarpulse: great! I'll follow the PR. it would also be great if we could improve the situation with static libraries for cross toolchains and mixed environments ([ cross native ] x [ static dynamic ])
kreisys has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31647: hg-git: 0.8.5 -> 0.8.10 (master...feature/update-hg-git) https://git.io/vFKAY
NixOS_GitHub has left #nixos []
danharaj has joined #nixos
glion has quit [(Ping timeout: 240 seconds)]
glion has joined #nixos
erasmas has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vFyqr
<NixOS_GitHub> nixpkgs/master ac7edee Martin Bornhold: nixos-container: Make show-ip work together with ipv4 + netmask...
<NixOS_GitHub> nixpkgs/master 25b71e1 Martin Bornhold: nixos-container: Modify existing test to cover show-ip command...
<NixOS_GitHub> nixpkgs/master 963204e Orivej Desh: Merge pull request #31753 from mbld/show-ip...
NixOS_GitHub has left #nixos []
fragamus has joined #nixos
kreisys has quit [(Quit: Textual IRC Client: www.textualapp.com)]
danharaj has quit [(Ping timeout: 248 seconds)]
Sonarpulse has quit [(Ping timeout: 248 seconds)]
<pikajude> oh sick
<pikajude> i can't build anything now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ralith opened pull request #31761: stdman: d860212 -> 2017.04.02 (master...stdman) https://git.io/vFymm
NixOS_GitHub has left #nixos []
remexre has joined #nixos
<pikajude> error: opening lock file '/nix/store/vx02rvja9h218zxdjass6h4pddijfsy7-source.drv.lock': Permission denied
<pikajude> sometimes i wonder why i use HEAD versions of software
<remexre> I'm getting an error when running `nix-channel --update' after reinstalling Nix on Ubuntu
<remexre> error: creating a garbage collector root (/export/scratch/ringo025/nix/var/nix/profiles/per-user/ringo025/channels-1-link) in the Nix store is forbidden (are you running nix-build inside the store?)
<remexre> cannot unpack the channels at /home/ugrad00/ringo025/.local/bin/nix-channel line 172.
spietz has joined #nixos
toppler` has joined #nixos
markus1189 has joined #nixos
toppler has quit [(Ping timeout: 248 seconds)]
markus1199 has quit [(Ping timeout: 255 seconds)]
pikajude` has joined #nixos
<pikajude`> so why exactly does nix say "error: setting uid: Operation not permitted" when trying to build anything
<pikajude`> how has this somehow gotten worse
<danbst[m]> pikajude`: probably pronlems with nix daemon?
pikajude` has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 255 seconds)]
<dhess> stupid question time: is <nixpkgs> (or anything of the form <nixpkgs/pkgs/...>) always impure? i.e. does it always look for NIX_PATH ?
thc202 has quit [(Ping timeout: 268 seconds)]
<dhess> or does it just reference a path relative to however you've defined "nixpkgs" ?
spietz has quit [(Ping timeout: 248 seconds)]
spietz has joined #nixos
zetok has quit [(Ping timeout: 264 seconds)]
hamishmack has joined #nixos
zetok has joined #nixos
<disasm> can device for boot.loader.grub be a UUID?
<gchristensen> IIRC yeah
<gchristensen> if not directly you could maybe use like /dev/disk/by-uuid/2D03-B634
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31761: stdman: d860212 -> 2017.04.02 (master...stdman) https://git.io/vFymm
NixOS_GitHub has left #nixos []
<Dezgeg> those always point to partitions, I think
<Dezgeg> unless GPT has some magic things I don't know about
<gchristensen> ahh I think you're right
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<disasm> yeah, those point to partitions :(
<disasm> but /dev/disk/by-id points to entire disk :)
<dhess> ok let me try my question more directly: how do I use something like this: https://nixos.wiki/wiki/How_to_fetch_Nixpkgs_with_an_empty_NIX_PATH or this: https://github.com/input-output-hk/iohk-ops/blob/develop/fetch-nixpkgs.nix with a NixOps deployment?
<dhess> I'm not sure how to tell NixOps which Nixpkgs to use without using NIX_PATH
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
<dhess> gchristensen: seems you were trying to do something similar-ish in https://github.com/NixOS/nixops/issues/649
hamishmack has quit [(Quit: hamishmack)]
<disasm> gchristensen: I forgot to change the name router when I first copied your nixops config and after changing it now it always says resource ‘router’ is obsolete :) any idea how to tell nixops to just drop router?
<gchristensen> disasm: one of the options is like --delete or something
<gchristensen> disasm: I usually use NIX_PATH, and I usually set it in the NIX_SHELL
<gchristensen> ... nix-shell :)
<gchristensen> ... dhess ^
<dhess> gchristensen: it appears that you *need* to have NIX_PATH set to get NixOps to work... if I don't I'm getting an error from NixOps in eval-machine-info.nix. Is that correct?
fragamus has joined #nixos
mahalel_ has quit [(Ping timeout: 240 seconds)]
mahalel_ has joined #nixos
<orivej> disasm: deploy -k
<disasm> ah, kill-obsolete :)
<disasm> thanks!
hiratara has quit [(Ping timeout: 255 seconds)]
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
srdqty has quit [(Quit: WeeChat 1.9.1)]
hiratara has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9396fdb3fa (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<dhess> ergh, looks like it's not really possible to set nixpkgs from the network definition level in NixOps yet. Maybe I'll just stick with my nixpkgs git submodule :(
Acou_Bass has quit [(Ping timeout: 248 seconds)]
<dhess> These NixOps top-level/machine configuration files really confuse me
Acou_Bass has joined #nixos
spietz has quit [(Ping timeout: 268 seconds)]
spietz has joined #nixos
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
srdqty has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
<gchristensen> :)
deepfire has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
<gchristensen> nix is great for bug reports https://github.com/openSUSE/daps/issues/430
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<dhess> gchristensen: huh, good point.
<dhess> reproducibility FTW
<gchristensen> :)
<dhess> So you can now set nixpkgs via NixOps's release.nix file per clever's comment here: https://github.com/NixOS/nixpkgs/pull/30399#issuecomment-342241820
<dhess> but I'm confused by that comment. How is it relevant to the pinning issue?
<dhess> Only that it allows the NixOps derivation itself to be built from a pinned Nixpkgs?
<dhess> oh I guess so. Appears to have been in response to domenkozar's example about building NixOps specifically, not using pinned Nixpkgs with NixOps at deployment time.
* dhess cries
<gchristensen> :(
Arcaelyx has joined #nixos
ryantrinkle has joined #nixos
<ryantrinkle> how can I diagnose why something would be impossible to delete with nix-store --delete, while nix-store -q --roots returns nothing?
<ryantrinkle> i tried nix-store --option gc-keep-derivations false --option gc-keep-outputs false --delete, but that also didn't help
hamishmack has joined #nixos
<gchristensen> ryantrinkle: something in /proc might be referring to it
<ryantrinkle> gchristensen: huh, any idea how i can check for that?
<ryantrinkle> fwiw, i do get the error message "cannot delete path ... since it is still alive"
<gchristensen> cat /proc/*/{pwd,cwd,environ} | grep yourthing ... there are others but I'm not sure grep is useful there
<ryantrinkle> hmm, ok
<ryantrinkle> i may need to just give up
<dhess> "Have you tried turning it off and on again?"
<ryantrinkle> there's a ton of stuff in there, so i don't quite know how i could track it back to figure out which one is actually a root of this particular thing
<ryantrinkle> dhess: ?
<dhess> ryantrinkle: sorry, it's an IT Crowd reference.
<ryantrinkle> haha
<dhess> however in this case possibly actually useful, if infact it is something in /proc that's holding on to it.
<ryantrinkle> haha yeah, that's a fair point
<ryantrinkle> though i must say, i'll probably give up rather than rebooting :P
<dhess> and how funny would it be if it actually worked? :D
<ryantrinkle> it might!
<ryantrinkle> but we'll never know
<ryantrinkle> lol
<gchristensen> ryantrinkle: is it really important you actually get it gone?
<ryantrinkle> nah
<ryantrinkle> but i've hit this *many* times
<gchristensen> also, I think it is so cool nix is smart enough to check running processes
ennui has quit [(Ping timeout: 268 seconds)]
<ryantrinkle> in fact, i'm not sure i've ever successfully used nix-store --delete
<ryantrinkle> yes, it is definitely awesome
<gchristensen> I don't think I've ever used nix-store --delete :)
<ryantrinkle> well, the only time i ever use it is when i suspect something is impure and i'm trying to debug it
<ryantrinkle> and then i never can
<ryantrinkle> lol
<gchristensen> ahh do you know nix-build --check?
<ryantrinkle> ah, no!
<ryantrinkle> i didn't remember it existed :P
<orivej> ryantrinkle: try nix-store -vvvvv --delete
<ryantrinkle> orivej: good call :)
<ryantrinkle> that looks interesting
<ryantrinkle> yup, sure enough "got additional root" ... that thing that's keeping the other alive
<fearlessKim[m]> How can I get nixops to use my overlay ? or is that a bad idea and I should use some import stuff
<dhess> how *does* nix-collect-garbage find random roots in the filesystem, anyway?
<dhess> fearlessKim[m]: I got that working recently. Hold on
python476 has quit [(Ping timeout: 255 seconds)]
<gchristensen> every root gets a symlink in /nix/var/nix/gcroots/, which it checks dhess
<dhess> gchristensen: ahh ok, that makes sense, since everything goes through nix-build or whatever eventually
axel_parolta has joined #nixos
<gchristensen> yeah
MP2E has joined #nixos
<dhess> fearlessKim[m]: ok in my case it's a little bit configuration-specific, but the concept is basically portable.
<fearlessKim[m]> dhess: I am all ears, or rather eyes
<dhess> fearlessKim[m]: in a nutshell, if you just define "nixpkgs.overlays = [ (import ./overlays/this.nix) (import ./overlays/that.nix) ]" and make sure that's visible in the machine definition, it will work just like it does in your local environment.
filterfish has joined #nixos
<dhess> I use a function/macro to define all of my machines at the network level, so I only need to use that in one place and then all the machines see the overlays automatically.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFycN
<NixOS_GitHub> nixpkgs/master 031367a Orivej Desh: qt56.qtwebengine: fix build...
NixOS_GitHub has left #nixos []
<fearlessKim[m]> dhess: do you add this to your machine.nix ?
<dhess> fearlessKim[m]: yes, like I said, I have a function called "mkMachine" and one of the things it does is define nixpkgs.overlays
<dhess> and then it just imports all of the Nix files in my overlays/ subdirectory
<fearlessKim[m]> ok thanks
<dhess> I should automate that so that it sees them automatically and I don't have to remember to import them myself.
<dhess> overlays are *so nice*
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<axel_parolta> Does anyone have expecience with nvidia propriatary driver? My graphic card has issue with the nouveau driver (video glitches), so I installed the nvidia proprietary driver. Since then I have an issue with the size of the icons and the menus.. It look like the size of the screen is not detected or something like that. Anyone has an idea on how to fix that issue?
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
<MP2E> hmm that's odd. Have you tried running nvidia-settings and changing the resolution from that program?
<MP2E> using the proprietary driver, in this case
<axel_parolta> MP2E: I tried, but to be honest, I didn't know where to put to generated configuration file
<MP2E> ah right..
hamishmack has quit [(Quit: hamishmack)]
acarrico has quit [(Ping timeout: 255 seconds)]
<axel_parolta> MP2E: I might be wrong, but my understanding is that I should save the configuration file somewhere at tell my nix configuration to somehow override the other configuration. That's the part I have no clue how to do. I am still new to nixos and there are still some little things like that one that I'm clueless about
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFyC0
<NixOS_GitHub> nixpkgs/master 37215ff Orivej Desh: qsyncthingtray: fix build
NixOS_GitHub has left #nixos []
<MP2E> axel_parolta: yep exactly, actually I am currently using grep/my text editor to find the option! This may be listed in the manual too, not sure
<MP2E> but i've got a copy of nixpkgs on hand anyway
<axel_parolta> MP2E: thanks :D
<MP2E> so it looks like that would be "services.xserver.config" and you'd want to set that in your /etc/nixos/configuration.nix (system-level configuration file)
<MP2E> services.xserver.config = ''
<MP2E> *contents of X11 file go here*
<MP2E> '';
<MP2E> would look like that ^
<axel_parolta> MP2E: Let me try that really quick. I hope this will work. With the nouveau driver the sublime text editor lag when I scroll down :P
<MP2E> after that you'll have to run 'sudo nixos-rebuild switch' and also restart your graphical environment, or just reboot
<MP2E> hopefully should do the trick, if it's just a matter of incorrect defaults being detected
hellrazor has joined #nixos
hamishmack has joined #nixos
axel_parolta has quit [(Remote host closed the connection)]
axel_parolta has joined #nixos
aaronc[m] has joined #nixos
axel_parolta has quit [(Remote host closed the connection)]
axel_parolta has joined #nixos
<axel_parolta> MP2E: Didn't worked :(
<axel_parolta> So I first copied the whole generated file, then xfce wasn't able to start because it couldn't find xinit
<axel_parolta> So I removed some part of the config to only keep the part related to the display
<MP2E> hmm :< not sure then..
<axel_parolta> It's clearly the size of the display that is not properly detected. In the xfce display menu its detected as a 7inches display :S
<axel_parolta> I'm using a 32inches display..
myrl has joined #nixos
<myrl> How do I find the /nix/store path of a <nixpkgs> pkg?
<myrl> `nix-env -q` doesn't seem to output anything
<copumpkin> nix-build '<nixpkgs>' -A package-attr-path
<myrl> copumpkin: That makes a result symlink in the PWD though, right?
<copumpkin> pass in --no-out-link
<myrl> copumpkin: Thanks.
<copumpkin> np :)
axel_parolta has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFyWr
<NixOS_GitHub> nixpkgs/master dec4004 Bastian Köcher: kde-frameworks: 5.39 -> 5.40
<NixOS_GitHub> nixpkgs/master 61090c8 Orivej Desh: Merge pull request #31654 from bkchr/kde_frameworks_5_40...
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFyWp
<NixOS_GitHub> nixpkgs/staging 020a666 Vladimír Čunát: SDL2: disable parallel building...
NixOS_GitHub has left #nixos []
<copumpkin> so I'm seeing something weird
<copumpkin> I have a linux box that I've put nixbld into /etc/group
<copumpkin> and id nixbld4 shows nixbld in the groups
<copumpkin> but then nix complains that the nixbld group doesn't exist
<copumpkin> I was looking for nscd but it doesn't appear to be on the system
<orivej> have you restarted nix-daemon or, just in case, rebooted the system?
hamishmack has joined #nixos
<copumpkin> I'm actually just installing nix, and there's no daemon
<copumpkin> it's inside a docker container
<copumpkin> (not really my choice :P)
<copumpkin> error: the group 'nixbld' specified in 'build-users-group' does not exist
<copumpkin> that
<copumpkin> but it's in /etc/group and has users in it
bfrog has quit [(Ping timeout: 255 seconds)]
<orivej> copumpkin: hm, can you get perl inside and run this: perl -e 'print getgrnam "nixbld"' ? :)
<jeaye> For how long is each stable release supported?
srdqty has quit [(Quit: WeeChat 1.9.1)]
srdqty has joined #nixos
srdqty has quit [(Client Quit)]
<orivej> until the next stable release (6 months), plus some updates on requst for about a month.
<copumpkin> orivej:
<copumpkin> + perl -e 'print getgrnam "nixbld"'
<copumpkin> nixbldx30000nixbld1 nixbld2 nixbld3 nixbld4 nixbld5 nixbld6 nixbld7 nixbld8 nixbld9 nixbld10 nixbld11 nixbld12 nixbld13 nixbld14 nixbld15 nixbld16 nixbld17 nixbld18 nixbld19 nixbld20 nixbld21 nixbld22 nixbld23 nixbld24 nixbld25 nixbld26 nixbld27 nixbld28 nixbld29 nixbld30+ . /root/.nix-profile/etc/profile.d/nix.sh
<copumpkin> lol
<copumpkin> getgrnam is exactly what nix is doing
<jeaye> orivej: Ok, so 15.07 doesn't need to be supported anymore. :P
<orivej> lol
<jeaye> Just noting whether or not I should jump around some reference to it in a PR.
<orivej> copumpkin: this looks good, I have no idea what's wrong with nix
<disasm> anyone know how I can login to a container started with systemd.nspawn.machine_name.enable?
<copumpkin> orivej: yeah, very strange stuff
<jeaye> disasm: nixos-container root-login machine_name
<disasm> jeaye: it's not a nixos container :(
<jeaye> Oh, my mistake.
<jeaye> danbst[m]: machinectl login
<jeaye> disasm: ^
<jeaye> Bad highlight; sorry, dan.
<disasm> jeaye: i tried that too... it says no machines running
<disasm> oh wait
<disasm> it show up now :)
<disasm> but machinectl login just hangs :(
marusich has joined #nixos
oahong has quit [(Ping timeout: 258 seconds)]
<myrl> jeaye: Hawwu
<jeaye> Yo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jeaye opened pull request #31763: RFC: Harden ssh config defaults and remove old host key support (master...harden-ssh-config) https://git.io/vFy8N
NixOS_GitHub has left #nixos []
sigmundv has quit [(Ping timeout: 250 seconds)]
<copumpkin> orivej: interesting..
<copumpkin> `nix-shell -p perl --command perl -e 'print getgrnam "wheel"'` doesn't print anything
<copumpkin> erm
<copumpkin> with sufficient quotes
<copumpkin> so nixpkgs's glibc is unhappy with me
hamishmack has quit [(Quit: hamishmack)]
sigmundv has joined #nixos
<copumpkin> will do, thanks
<copumpkin> yeah, nsswitch.conf was it
balsoft has joined #nixos
slack1256 has joined #nixos
oahong has joined #nixos
sigmundv has quit [(Ping timeout: 268 seconds)]
marusich has quit [(Ping timeout: 255 seconds)]
marusich has joined #nixos
TheRock has joined #nixos
<TheRock> hello do you have uid 0 root exploit
<TheRock> im on a nixos box and it gives me hedache
<slack1256> do we?
<slack1256> which CVE and package has the exploit?
<TheRock> i dont know it
<slack1256> then nothing to worry about
<TheRock> do you have such an exploit
<TheRock> nixos boxes are bad, i cannot exploit them
<slack1256> I don't have such a thing, I only got murky knowledge of how the C stack works
justanotheruser has joined #nixos
<slack1256> Actually I don't know how even exploit insert shellcode that gets executed
balsoft has quit [(Read error: Connection reset by peer)]
<TheRock> i just want to destroy a box, cuz i am going wild tonight, i wanna do a lot of damage
<copumpkin> please take it elsewhere
<slack1256> grab a baseball bat then
<slack1256> o try ice skating, that hurts a lot
<TheRock> you guys dont go wild tonight
MP2E has quit [(Ping timeout: 255 seconds)]
TheRock has quit [()]
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
miko__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFyBA
<NixOS_GitHub> nixpkgs/master 3ac474a Orivej Desh: go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle...
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
aloiscochard has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFyR4
<NixOS_GitHub> nixpkgs/staging d99a2fc Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
srdqty has joined #nixos
RayNbow`TU has joined #nixos
srdqty has quit [(Client Quit)]
romanandreg has joined #nixos
<romanandreg> is there a way to read the documentation from a packagePath
<romanandreg> ?
aw has quit [(Remote host closed the connection)]
spacefrogg has quit [(Remote host closed the connection)]
<romanandreg> say, I want to read the documentation for the package `writeScriptBin`
<romanandreg> is there a way to get the whole source on my shell? (without having to go to github to read the source code?
aw has joined #nixos
aw has quit [(Remote host closed the connection)]
srdqty has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
p4cman has joined #nixos
fusion809 has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
<fusion809> Hi folks in a NixOS 17.09 VM I ran: sudo nix-channel --update && sudo nix-env --upgrade and I got the error: `error: syntax error, unexpected $end, at /nix/store/hjag2invv11g2fhqv1hyzlvx2j0f17z5-env-manifest.nix:1:1`. Is that to be expected (like a known bug). A DuckDuckGo search for that exact string returns no results so I guess not
srdqty has quit [(Quit: WeeChat 1.9.1)]
slack1256 has quit [(Remote host closed the connection)]
<romanandreg> where can I find the docunmentation for writeScript, is not even trivial to find it out on the nixos/nixpkgs repo
<orivej> romanandreg: currently this is not possible for functions, but it is possible for derivations: you may install nixUnstable and try "nix edit nixpkgs.hello"
<orivej> fusion809: I have not seen this
<romanandreg> orivej: awesome, thanks for letting me know... do you know where I can find info of writeScript and how to use it?
<romanandreg> the write* family of functions actually
<orivej> download nixpkgs and grep for "writeScript ="
<orivej> ...to see the definition, and grep for "writeScript" to see the examples :)
<romanandreg> orijev: thanks, I'll take a look
spietz has quit [(Ping timeout: 268 seconds)]
rogue_koder has quit [(Quit: Konversation terminated!)]
<hyper_ch> romanandreg: simple witescript example to get the tech details when filing a bug: https://github.com/sjau/nix-expressions/blob/master/getTechDetails.nix
<hyper_ch> so I just run "getTechDetails" in the cli and get the output
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31764: Libmsgpack gcc7 fixes (master...libmsgpack-gcc7) https://git.io/vFyEo
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
ylwghst has joined #nixos
asuryawanshi has joined #nixos
fragamus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFyuk
<NixOS_GitHub> nixpkgs/staging 035b589 Orivej Desh: glibc: support obsolete "compat" in nsswitch.conf...
NixOS_GitHub has left #nixos []
hamishmack has joined #nixos
b has quit [(Quit: Lost terminal)]
asuryawanshi has quit [(Ping timeout: 248 seconds)]
MP2E has joined #nixos
<sphalerite> oh boy, audacity, my audio recorder, and linux don't get along well
* sphalerite sent a long message: sphalerite_2017-11-17_06:46:33.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/iYldqpRIcGNbnkBXIwUpGrMy>
<sphalerite> ^ journal entry
<hyper_ch> last time I used audacity it worked fine
endformationage has quit [(Quit: WeeChat 1.9.1)]
leat has quit [(Quit: WeeChat 1.9.1)]
stanibanani has joined #nixos
ylwghst has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31765: czmq: Fix build with gcc-7 (master...czmq-gcc7) https://git.io/vFyzc
NixOS_GitHub has left #nixos []
fusion809 has quit [(Remote host closed the connection)]
ma27 has joined #nixos
bennofs has joined #nixos
universalpackage has joined #nixos
<universalpackage> i think my connection is stable now
stanibanani has quit [(Ping timeout: 240 seconds)]
ma27 has quit [(Ping timeout: 240 seconds)]
adamt has joined #nixos
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31766: doc: improve rustPlatform example (master...rust-doc) https://git.io/vFygD
NixOS_GitHub has left #nixos []
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
ambro718 has joined #nixos
root____1 has joined #nixos
<root____1> Hi, my configuration.nix and hardware-configuration.nix files do not contain networking.networkmanager yet I get an error when I try to install my system with nixos-install. It says use --show-trace to trace it, I added that option and it still gives the same output saying that I should use --show-trace to show where the problem line is.
<clever> root____1: what is the error?
<root____1> One mo I'm installing wgetpaste so I can paste it
bennofs has quit [(Ping timeout: 255 seconds)]
hotfuzz_ has joined #nixos
<root____1> I get copy that right? I'm at the command-line in the minimal ISO for 17.09 so I had to write down the link and copy it over.
<root____1> I did copy^
<clever> root____1: 404
<root____1> Oops it's S, 93S
hotfuzz has quit [(Ping timeout: 268 seconds)]
<clever> root____1: do you have KDE enabled?
myrl has quit [(Quit: WeeChat 1.9.1)]
romanandreg has quit [(Ping timeout: 260 seconds)]
myrl has joined #nixos
ertes has quit [(Quit: Bye!)]
<root____1> I'm in in the net install ISO, so there's no GUI. As for my config.nix file I'm gonna use GNOME
<clever> turning gnome on automaticaly turns on network manager
<clever> you need to networking.networkmanager.enable = false; to reverse that
<root____1> Ah, thanks!
<adamt> clever: funky, KDE5 doesn't pull in networkmanager. It's weird that they don't work sorta the same.
<adamt> (you have to set services.networkmanager.enable = true to get it to do that)
<clever> adamt: yeah, kde works differently, it will detect if NM is on, and auto-install plasma-nm
<adamt> I was considering making a PR for adding a comment about network-manager in the generated configuration.nix file, since it's kinda weird that it mentions wpa_supplicant today, but not NM. Thoughts?
ssmike has joined #nixos
asuryawanshi has joined #nixos
civodul has joined #nixos
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
remexre has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
adamt has quit [(Ping timeout: 248 seconds)]
tv has joined #nixos
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31717: rustracer: 2.0.9 -> 2.0.12 (master...rustracer) https://git.io/vF1R3
NixOS_GitHub has left #nixos []
tv4 has quit [(Ping timeout: 248 seconds)]
07EAAFZFE has joined #nixos
7JTACXN6V has joined #nixos
<7JTACXN6V> [nixpkgs] Mic92 closed pull request #31766: doc: improve rustPlatform example (master...rust-doc) https://git.io/vFygD
7JTACXN6V has left #nixos []
<07EAAFZFE> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFyaB
<07EAAFZFE> nixpkgs/master 5b4adc3 Orivej Desh: doc: improve rustPlatform example
<07EAAFZFE> nixpkgs/master 348f938 Jörg Thalheim: Merge pull request #31766 from orivej/rust-doc...
07EAAFZFE has left #nixos []
tv1 has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
tv has quit [(Ping timeout: 268 seconds)]
ertes-w has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFyV8
<NixOS_GitHub> nixpkgs/master fa2bf1b Orivej Desh: octoprint: 1.3.4 -> 1.3.5...
NixOS_GitHub has left #nixos []
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
root____1 has quit [(Ping timeout: 258 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
asuryawanshi has joined #nixos
v0lZy has joined #nixos
<v0lZy> hi
universalpackage has quit [(Quit: Konversation terminated!)]
universalpackage has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
asuryawa_ has joined #nixos
v0lZy1 has joined #nixos
v0lZy has quit [(Ping timeout: 248 seconds)]
v0lZy1 is now known as v0lZy
datakurre has quit [(Remote host closed the connection)]
datakurre has joined #nixos
<v0lZy> Very new to nixos... installed it a month ago into a VM and left it that way... now getting back to it and trying to install asterisk
p4cman has joined #nixos
asuryawa_ has quit [(Remote host closed the connection)]
<v0lZy> i added asterisk to environment.systemPackages and i got it installed
<v0lZy> but im assuming this doesnt add any users or such?
asuryawanshi has joined #nixos
<fearlessKim[m]> it s frustrating that fetchgitLocal doesn 't work.
<adisbladis> v0lZy: You probably want to look at the asterisk module
<fearlessKim[m]> adamt_: this might be a good idea, along with a sentence how to configure wifi via wpz_supplicant; I installed on a laptop with just wifi, had not enabled network manager so on reboot I had neither wpa or nm and that could have been annoying
<v0lZy> module?
<v0lZy> what is a module?
<adisbladis> v0lZy: services.asterisk.enable
<adisbladis> v0lZy: Modules are documented in the nixos manual https://nixos.org/nixos/manual/#sec-modularity
RayNbow`TU has quit [(Ping timeout: 255 seconds)]
<v0lZy> adisbladis: where does one get this module? does it come after the package is installed, must i install it manually or create the file myself?
<adisbladis> v0lZy: Adding something to systemPackages only sets up some environment things, it doesnt make it run on startup, does not create users etc etc
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<v0lZy> adisbladis: yeah, i imagine thats what it does. users i assume i have to add myself, and enable the system is also something i have to do myself... i was thinking that i have to write systemd unit files for it etc... but i guess thats handled by modules?
sibi_ has joined #nixos
periklis has joined #nixos
<MoreTea> Did anyone see the announcement of buildkit?
<MoreTea> by docker
<MoreTea> it's bascially a clone of nix.
<adisbladis> v0lZy: You should not have to create users yourself. This should all be handled for you.
jensens has joined #nixos
remexre has joined #nixos
numerobis has joined #nixos
numerobis has left #nixos []
<v0lZy> adisbladis: i see this is in my /nix/store/..../nixos/nixos/modules/services/networking/asterisk.nix file
<v0lZy> so I guess it comes when i install the pacakge
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
goibhniu has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<v0lZy> but if i do cat /etc/passwd i dont see an asterisk user ...
universalpackage has joined #nixos
<v0lZy> I'm assuming i have to include this asterisk.nix module into my configuration.nix?
<v0lZy> and then run nixos-rebuild switch?
<v0lZy> i added services.asterisk.enable = true; to configuration.nix and did nixos-rebuild switch and indeed it now created the user
<v0lZy> and i can start the service
Cheng has joined #nixos
<MoreTea> v0lZy: one thing you should realize is that for NixOS, your entire system configuration is just one "package"
<MoreTea> That's why we can atomically switch between versions of NixOS. We switch _one_ symlink (which is atomic), and everything is updated.
<MoreTea> (it's /run/current-system)
universalpackage has quit [(Remote host closed the connection)]
<MoreTea> If you change the system configuration, it will build your entire OS again from source, but will use (remote) caches when possible.
<MoreTea> So if you edit the /etc/nixos/configuration.nix, nothing will happen, until you run nixos-rebuild, which will trigger a new build of your machine, and also switch, update your bootloader, etc.
<MoreTea> v0lZy: does that make sense?
MP2E has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<Cheng> How can I get fetchgitLocal working? It keeps failing at "cd ${srcStr}", reporting no such file or directory
thc202 has joined #nixos
katyucha has joined #nixos
<fearlessKim[m]> Cheng: fetchgitLocal doesn't work, it doesn't have permissions to access your folder
hellrazor has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
<Cheng> fearlessKim[m]: How can I get the permissions for it then? I tried disabling nix sandbox, but got no luck
<Cheng> Or does it just won't work for any case?
<fearlessKim[m]> Cheng: It's brokenm I don't think you should use it. I might have a fix though using GIT_DIR so I can try a PR
periklis has quit [(Ping timeout: 240 seconds)]
<Cheng> fearlessKim[m]: Well, thanks. I see there's a related open issue. Your PR could be helpful :)
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
katyucha has quit [(Ping timeout: 248 seconds)]
<joko> Good morning, all! I've built a nixos channel, but it appears not to be working... When doing nix-channel --update, 1) the URL appears to have double quotes, e.g. "http://blabla/channel//nixexprs.tar.xz" and 2) I get "error: undefined variable ‘white’ at (string):3:18" "cannot unpack the channels at /run/current-system/sw/bin/nix-channel line 172."
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
zzamboni has joined #nixos
davidak has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
whald has quit [(Remote host closed the connection)]
jfroche has joined #nixos
Arcaelyx has quit [(Ping timeout: 250 seconds)]
<jfroche> Hello, I am trying to understand the channels update mechanism/workflow (not the release process) and the links with ci/hydra. Anyone knows where to find such information ?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<universalpackage> how do i compile patchelf for -m32
<clever> universalpackage: nix-build '<nixpkgs>' -A patchelf --argstr system i686-linux
Arcaelyx has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<universalpackage> why doesnt patchelf work when compiled?
<universalpackage> $ patchelf --print-interpereter /bin/bash
<universalpackage> stat: No such file or directory
ssmike has quit [(Ping timeout: 248 seconds)]
mekeor has joined #nixos
<Cheng> universalpackage: /bin/bash doesn't exist. Maybe you mean /bin/sh ?
Tucky has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
Tucky has quit [(Client Quit)]
universalpackage has joined #nixos
Tucky has joined #nixos
<joko> jfroche: unfortunately, it's largely undocumented, so shot a more specific question and I might know the answer
<joko> or someone else here
<srhb> If I bond two network devices as bond0 and set up ip4 for network.interfaces.bond0, the device doesn't come up on its own. It seems like I have to up the individually bonded devices. How do I configure that without giving the individual devices ips?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<universalpackage> how do i compile patchelf0.9/tests
<universalpackage> tests]$ make
<universalpackage> make: Nothing to be done for 'all'.
<universalpackage> yet no binary executables exist in tests
mandrews has joined #nixos
<jfroche> joko: when do we refer https://nixos.org/channels/nixos-unstable to a new nixos revision in unstable branch ? which tests needs to be green for that to happen ?
<universalpackage> tests]$ ./plain-run.sh
<universalpackage> ./plain-run.sh: line 2: ./main: No such file or directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFyMa
<NixOS_GitHub> nixpkgs/master 9e44d34 Peter Hoeg: tvheadend: 4.2.1 -> 4.2.4
NixOS_GitHub has left #nixos []
<Cheng> universalpackage: "make test" in directory "patchelf0.9"?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
marusich has quit [(Quit: Leaving)]
mandrews has quit [(Ping timeout: 260 seconds)]
<ocharles> What is the policy for adding things to the current release branch?
fusion809 has joined #nixos
<ocharles> The prometheus NixOS module lacks an option I need
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 2 new commits to master: https://git.io/vFyyE
<NixOS_GitHub> nixpkgs/master f0334c0 Oliver Charles: nixos/prometheus: add scrape_configs.honor_labels
<NixOS_GitHub> nixpkgs/master acb7f43 Oliver Charles: nixos/prometheus: add external_labels option
NixOS_GitHub has left #nixos []
<ocharles> In particular, it's the honor_labels commit that I'd like to cherry-pick into release-17.09 ^
Phlogistique has quit [(Ping timeout: 240 seconds)]
<universalpackage> # gcc -o dummy dummy.c -Wl,-rpath=./ -lc -Wl,-t -Wl,-dynamic-linker,./ld-2.26.so >/dev/null 2>&1 && patchelf --set-interpereter /ld-linux-x86-64.so.2 ./dummy ; ls -l ./dummy /ld-linux-x86-64.so.2
<universalpackage> stat: No such file or directory
<universalpackage> -rwxr-xr-x 1 root root 8368 Nov 17 20:16 ./dummy
<universalpackage> -rwxr-xr-x 1 root root 1373504 Nov 17 11:05 /ld-linux-x86-64.so.2
<domenkozar> ocharles: open a PR and one would merge it
<domenkozar> I've just broken release so I'll skip :P
<ocharles> domenkozar: I have commit rights, but should I still open a PR?
<ocharles> that's why I'm asking more about the policy around this
<domenkozar> ocharles: if it's just adding an option and pretty safe, it can go in
<ocharles> sounds to me that there is no formal policy :p
<domenkozar> ocharles: the policy is: you can add stuff, but changing current software is just security issues and bugfies
fusion809 has quit [(Client Quit)]
<domenkozar> new packages/options are good to go
<ocharles> but firefox just got bumped a major version...
<domenkozar> firefox is a special snowflake
<ocharles> alright
<ocharles> ok, will cherry pick
whald has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 2 new commits to release-17.09: https://git.io/vFyyH
<NixOS_GitHub> nixpkgs/release-17.09 406f890 Oliver Charles: nixos/prometheus: add external_labels option
<NixOS_GitHub> nixpkgs/release-17.09 1ce8f38 Oliver Charles: nixos/prometheus: add scrape_configs.honor_labels
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31767: [WIP] makeWrapper: add --set-default and --set-eval (staging...make-wrapper) https://git.io/vFyy5
NixOS_GitHub has left #nixos []
<fearlessKim[m]> Are there examples of using nix from shell builders in nixpkgs ? (an example of which is given in http://chriswarbo.net/projects/nixos/useful_hacks.html)
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<ocharles> https://hydra.nixos.org/job/nixos/release-17.09/tested is this the job that determines whether or not we can actually update the release-17.09 channel?
<LnL> almost none of that looks like it belongs in nixpkgs, what are you referring to exaclty?
mahalel_ has quit [(Ping timeout: 250 seconds)]
mahalel_ has joined #nixos
<universalpackage> does anyone have a pre-compiled version of patchelf
<universalpackage> that would work on non-NixOS unix systems
<gspia> Hi! haskellPackages.gi-gdkx11 doesn't install with nix-env cmd on unstable. It starts compiling but cannot find a GI repo. Are there dependencies that have to be installed separately / anything else to make it to find GI repo?
<universalpackage> this is correct right?
<universalpackage> if (!printInterpreter && !printRPath && !printSoname && !printNeeded)
<universalpackage> debug("patching ELF file %s (%s)'\n", fileName.c_str(), fileName);
<universalpackage> patching ELF file /dummy (8<6)'
zzamboni has quit [(Remote host closed the connection)]
<universalpackage> wich in tern would result in readFile(8<6);
BioSpider has joined #nixos
<LnL> if you have nix you could build a variants with patched paths :D
fusion809 has joined #nixos
<joko> jfroche: https://github.com/NixOS/nixos-org-configurations/blob/master/nixos-org/hydra-mirror.nix#L51 <- This line here tells to have a look at Hydra's jobset nixos/trunk-combined/tested
<fusion809> Hi, how does one get GRUB2 to install to disk as x86_64-efi? I have this config (/etc/nixos/configuration.nix) file -- https://pastebin.com/0ekAQmvf. I've tried to enable all the EFI options for boot as I can. What am I missing as whenever I try to install GRUB uses i386-pc target
<fusion809> I had my EFI partition mounted to /boot/efi on my root partition for NixOS. So /mnt/boot/efi where the root partition is mounted on /dev/sda4 in the NixOS live session.
<Drakonis[m]> uh
<Drakonis[m]> oh its you, i have seen your blog
<joko> fusion809: I think you have to delete "boot.loader.efi.efiSysMountPoint" and set boot.loader.grub.device to "nodev"
<Drakonis[m]> it installs as x86_64-efi by default
<fusion809> Well it said installing as i386-pc.
<universalpackage> patching ELF file /dummy (8|�)'
<universalpackage> Kernel page size is 4096 bytes
<joko> fusion809: that's fine
<universalpackage> readFile(8|�)
<universalpackage> stat(fileName.c_str(), &st returns -1
<Drakonis[m]> i just followed the guide when i installed
<Drakonis[m]> it didn't throw any curveballs
<steveeJ> is there something like 'self' in a dictionary when I need 'rec' functionality but want to avoid ambiguities?
<fusion809> joko: thanks. The i386-pc install that the nixos-install does fails as I don't have a BIOS boot partition, which with a EFI set up you don't use.
<joko> fusion809: ah, no, it's not fine i386-pc is for BIOS-based
<fusion809> Ya. So how do I fix that? nixos-install is doing that, not me.
<Drakonis[m]> you're using the wrong thing
<Drakonis[m]> apparently you don't use grub
<joko> fusion809: are you also setting boot.loader.efi.canTouchEfiVariables to true?
<Drakonis[m]> you use systemd's boot system
<Drakonis[m]> Instead of boot.loader.grub.device, you must set boot.loader.systemd-boot.enable to true. nixos-generate-config should do this automatically for new configurations when booted in UEFI mode.
<fusion809> Doesn't seem to be in my config file
<Drakonis[m]> it doesn't produce an flashy grub config
<Drakonis[m]> but it works
<fusion809> GRUB2 works fine with EFI for my Arch and Gentoo systems. I prefer GRUB2 if my preferences count for anything
<Drakonis[m]> hoo boy, arch and gentoo
<steveeJ> I can just use the name of the dictionary within the dictionary, that works too, but something more nameless would still be nice
<ocharles> Can a Hydra admin restart https://hydra.nixos.org/build/64245768 ? I don't have the rights to do that
<joko> fusion809: just replace line 18 with boot.loader.efi.canTouchEfiVariables = true; and line 20 to boot.loader.grub.device = "nodev";
<ocharles> Test passes here
<Drakonis[m]> those aren't benchmarks for quality
<Drakonis[m]> but go with joko
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFyHd
<NixOS_GitHub> nixpkgs/master a5b8823 gnidorah: rambox: allow user to use other auth0 credentials
<NixOS_GitHub> nixpkgs/master c0d2ee1 Orivej Desh: Merge pull request #31730 from gnidorah/rambox...
NixOS_GitHub has left #nixos []
<joko> To be fair, I also use systemd-boot, but I don't dual boot, NixOS for lifeeeee
<fusion809> So can I skip the whole nixos-install package installs somehow and get straight to the bootloader set up? I know I could run grub-install manually but whenever I do that from a chroot into NixOS it fails
<fusion809> by "installs" I mean how it installs all those packages. Those packages are already installed for me
<Drakonis[m]> no you can't
<Drakonis[m]> or do nixos-rebuild
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFyQI
<NixOS_GitHub> nixpkgs/master 898090f Bruno Bieth: i3status-rust: init at 0.9.0.2017-11-09
<NixOS_GitHub> nixpkgs/master a50e8c8 Orivej Desh: Merge pull request #31626 from backuitist/i3status...
NixOS_GitHub has left #nixos []
<fusion809> Ah, OK well adios I'll reboot and try again.
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]> also lol at doing things manually on nixos
<Drakonis[m]> this guy's gonna have an rude awakening
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #31768: vagrant: 2.0.0 -> 2.0.1 (fixes vagrant with virtualbox 5.2) (master...fix-vagrant-vbox52) https://git.io/vFyQl
NixOS_GitHub has left #nixos []
<domenkozar> ocharles: done
<ocharles> thanks. fingers crossed it passes this time
<Drakonis[m]> he has 4 distros installed for reasons?
universalpackage has quit [(Remote host closed the connection)]
<Drakonis[m]> https://fusion809.github.io/about-me/ what the hell
<Drakonis[m]> 9 distrs
<Drakonis[m]> distros
universalpackage has joined #nixos
<joko> fusion809: perhaps the closest you could get to installing the bootloader again in nixos would be nixos-rebuild switch --install-bootloader inside the chroot
<Drakonis[m]> he already rebooted
<joko> lol
<Drakonis[m]> rude awakening i tell you
Wizek has joined #nixos
<jfroche> joko: thank you !
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<pstn> @tgunb I checked and it's pretty bitrotten, but I can work on it again and bring it into the tree if you like.
<ocharles> urgh, you have got to be kidding me
<ocharles> I broke the build because an options description contains a <
<ocharles> how are we not escaping that!?
fusion809 has joined #nixos
<v0lZy> adisbladis: what are the NIXOS best practices for something like asterisk where you have a dialplan etc
<v0lZy> is the idea to like echo stuff verbatim into asterisk files or?
universalpackage has quit [(Remote host closed the connection)]
<ocharles> bleugh, I see - sometimes you actually want to put <literal> in there
universalpackage has joined #nixos
kier has quit [(Ping timeout: 248 seconds)]
Phlogistique has joined #nixos
<adisbladis> v0lZy: Sorry cant rembember much about asterisk. Haven
<adisbladis> Havent touched it for a long long time
<Drakonis[m]> so, someone let me know the benefits of typing nix
<v0lZy> maybe im not phrasing my question well
<v0lZy> adisbladis: asterisk has a thing called a dialplan; a dialplan is basically a script
<Drakonis[m]> since it is used only as a packaging language
<v0lZy> adisbladis: its a ruleset that one writes, and as you add clients and accommodate their requests, that ruleset changes a lot
<v0lZy> adisbladis: a dialplan is to asterisk what configuration.conf is to nixos
<v0lZy> adisbladis: in that sense, if i want a deterministic setup, what is the best approach? A dialplan can be many lines of text long, and it has its own syntax and language etc ... its basically code
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<Drakonis[m]> fusion809: success?
<v0lZy> adisbladis: in that sense, how does one best maintain the deterministic feature of being able to restore a system to a state with a snapshot of a dialplan ... does nixos offer anything like an include_verbatim(/path/to/target/file) { whatever the stuff with line breaks etc you want to include }
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFy5u
<NixOS_GitHub> nixpkgs/master ceed4b2 Orivej Desh: spidermonkey: replace broken links...
NixOS_GitHub has left #nixos []
<v0lZy> so that i can write this into my configuration.conf file and have it write over asterisk files to get an exact config?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vFy5w
<NixOS_GitHub> nixpkgs/master 5604007 Oliver Charles: nixos/prometheus: Correct documentation for external_labels...
NixOS_GitHub has left #nixos []
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to release-17.09: https://git.io/vFy51
<NixOS_GitHub> nixpkgs/release-17.09 b2af4e9 Oliver Charles: nixos/prometheus: Correct documentation for external_labels...
NixOS_GitHub has left #nixos []
<NickHu> Is there a way to get hydra build daemon to stop emailing me?
<NickHu> One of my packages keeps going to and fro from builds successfully to build failed because people are messing around with the go packages/hydra runs out of memory every other run
kier has joined #nixos
<fusion809> Well it almost set up GRUB correctly this time. Now the problem is that it was expecting the EFI partition on /boot not /boot/efi
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
toppler` is now known as toppler
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
<Drakonis[m]> technically it doesn't matte
<Drakonis[m]> matter
<Drakonis[m]> it is a matter of organization
<fusion809> Well nixos-install finished in record time, it must have seen everything else was set up fine and dandy.
<fusion809> Goodbye I gotta boot into my new NixOS installation
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]> wow uh
<Drakonis[m]> ok then
iyzsong has joined #nixos
thblt has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
thblt has quit [(Remote host closed the connection)]
fusion809 has joined #nixos
<icetan> I got a big problem, was messing about with nixops trying to build it and run the tests
<icetan> after I followed the README I got this error "No user exists for uid 1000"
hamishmack has quit [(Quit: hamishmack)]
universalpackage has quit [(Quit: Konversation terminated!)]
<icetan> now when I try to run git any where I get the same error
Guest52155 has joined #nixos
<icetan> and kakoune just segfaults
<icetan> I'm not on nixos just running nix on arch
<icetan> I depend on my nix configs for work and right now I'm at a loss
roberth has quit [(Ping timeout: 248 seconds)]
<Drakonis[m]> oh right
<Drakonis[m]> are you using ryzen
<icetan> no, what is that_
<icetan> s/_/?
<Yaniel> the latest AMD CPU family, launched in summer
<Drakonis[m]> there's a bug on ryzen that segfaults when compiling
<Drakonis[m]> anyways
<icetan> aha, kakoune compiles fine, but segfaults on start
<Drakonis[m]> why are you installing git off nix
<icetan> it is unstable but I've used it "in production" for some time now
<Drakonis[m]> i know what kakoune is
<Drakonis[m]> use an older build
universalpackage has joined #nixos
<icetan> laziness, easier just to have my dev environment as a nix expression
<Drakonis[m]> hoo bo
<Drakonis[m]> boy
<Drakonis[m]> laziness...
<icetan> haven't had any trouble since I ran the nixops tests
<Drakonis[m]> and yet here you are, having trouble
<icetan> event tried removing /nix and re-installing
<icetan> Drakonis: hmmm, so you are saying don't use nix?
mekeor has quit [(Ping timeout: 258 seconds)]
<Drakonis[m]> i didn't say that
universalpackage has quit [(Client Quit)]
universalpackage has joined #nixos
<fusion809> Hi, I selected the required hardware options to get Broadcom wireless support, well actually nixos-generate-config did that automatically for me, and while modprobe -a wl runs without a problem no option to connect to the WiFi comes up with GNOME. Guessing I'm missing a program to manage the networks. I tried to run nmtui at the command-line and it suggested installing nixos.networkmanager, which I did but running nmtui fails
<fusion809> at the networkmanager daemon isn't running
<fusion809> No option in the top bar, usually an option appears up there under Fedora at least.
<icetan> Drakonis: so just not for dev environment then?
<fusion809> No option to connect to the WiFi^
<goibhniu> fusion809: you need to enable the networkmanager module: networking.networkmanager.enable = true;
<fusion809> Tried that but it conflicted with the wireless option
simukis has joined #nixos
<fusion809> I had to manually disable networking.networkmanager.enable (i.e. set it to false) in order for nixos-install to run properly as GNOME's nix files include a line like networking.networkmanager.enable = true
joe1 has joined #nixos
<goibhniu> ah, I see, networking.wireless.enable seems to enable wpa_supplicant instead
universalpackage has quit [(Remote host closed the connection)]
<goibhniu> that's confusing (IIUC)
universalpackage has joined #nixos
<samae> fusion809: you have to choose whether you use networkmanager or wpa_supplicant
<goibhniu> so, this should work: networking.wireless.enable = false; networking.networkmanager.enable = true;
<samae> fusion809: what goibhniu said ^^^^
<fusion809> and networkmanager is compatible with WiFi is it?
<goibhniu> yep
<fusion809> Ah, that wireless option is a little confusing, but thanks.
<adisbladis> fusion809: Yes. Actually networkmanager is also using wpa-supplicant.
<Drakonis[m]> fusion809: do not assume nixos is like fedora
<goibhniu> very confusing indeed
<fusion809> Most distributions with GNOME have wireless connection in the topbar.
<Drakonis[m]> do not assume you can just do things manuall on it either
<fusion809> not just Fedora.
<Drakonis[m]> manually
<Drakonis[m]> this isn't most distributions with gnome
<fusion809> But I get it NixOS is unique.
<samae> it says you cannot have both at the same time AND that networkmanager can handle wi-fi
universalpackage has quit [(Client Quit)]
thblt has joined #nixos
<fusion809> Thanks
<Drakonis[m]> it also breaks in ways most distros don't
<hyper_ch> # enable = true; # Enables wireless. Disable when using network manager -> from my config
<fusion809> I tried GuixSD and frankly it's even more challenging for a newbie than NixOS. GNU Guile is a more difficult language for me at least to get my head around than Nix.
<fusion809> Gotta go and reboot into my newly configured system
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]> someone tell him that there's no need for this
<goibhniu> they may well need to restart gnome at least
fusion809 has joined #nixos
<Drakonis[m]> nixos-rebuild switch is cool.
mahalel_ has quit [(Ping timeout: 240 seconds)]
<Drakonis[m]> now then
mahalel_ has joined #nixos
<Drakonis[m]> iceTanner: the main argument folks give me in favor of using nix is for dev environments
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]> but vOv
<icetan> Drakonis: ok, so what is your suggestion
<Drakonis[m]> isn't nixops suposed to be a nix package?
<Drakonis[m]> and doesn't it require nixos?
<Drakonis[m]> it specifies requiring nixos
amfl has quit [(Read error: Connection reset by peer)]
<icetan> Drakonis: it is a nix package, but I've run in to problems when using it with virtualbox on arch
<Drakonis[m]> why not kvm/qemu
<icetan> so was trying to figure out why the strange behavior
<icetan> Drakonis: qemu through libvirt is only supported on nixos
amfl has joined #nixos
RayNbow`TU has joined #nixos
<icetan> I've run hydra with virtualbox on arch before using nixops, but on this computer I'm having trouble
<icetan> it's probably my virtualbox setup, but that's not really my main problem right now
<Drakonis[m]> what is your main problem? are you installing broken software?
ma27 has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
ma27 has quit [(Client Quit)]
Cheng has quit [(Remote host closed the connection)]
ma27 has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<icetan> Drakonis: my problem is that nix isn't installing packages that work any more
ma27 has quit [(Client Quit)]
<icetan> system git works fine, but not the one installed through nix, same with kakoune
<gchristensen> Drakonis[m]: please don't be a jerk to our users
<gchristensen> (re: "hoo boy laziness.... and yet here you are, having trouble")
<gchristensen> icetan: have you tried verifying your store?
<icetan> hi, gchristensen :D
<icetan> thanks
<icetan> yes, I have
<icetan> and even removed it completely
<gchristensen> wt
<Drakonis[m]> the joke is that he said he had no trouble since he ran nixops tests despite having issues with nixops trying to run more tests
<gchristensen> icetan: can you run nix-shell -p nix-info --run "nix-info -m" and gist the output?
<icetan> sure can
<Drakonis[m]> its just bad attempts at making jokes
<gchristensen> Drakonis[m]: ok :)
ma27 has joined #nixos
<Drakonis[m]> you did run the binaries with nix-shell, right?
python476 has joined #nixos
<Drakonis[m]> local builds ahoy
<Drakonis[m]> (i'll wrong and i'll stop)
<Drakonis[m]> i'm wrong and should stop
EffSquared has joined #nixos
<Drakonis[m]> you mentioned you created an hydra instance earlier, you didn't happen to build anything off it, did you?
<EffSquared> Hi. I am having some trouble setting up a nix expression around a private GitHub repo.
<icetan> Drakonis: it was like a year ago, and I was only building company stuff on it
zarel has joined #nixos
<gchristensen> icetan: ok so nix's bash and coreutils and probably some perl work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFyjD
<NixOS_GitHub> nixpkgs/master d7aefea Orivej Desh: maintainers: add backuitist
NixOS_GitHub has left #nixos []
<EffSquared> I have tried a netrc in /etc/nix and I does not change anything.
<EffSquared> if I set fetchFromGithub.private to true, nix complains that NIX_GITHUB_PRIVATE_USERNAME is not set.
<EffSquared> As my builds are executed by the nix-daemon I need to override its environmental variables.
<EffSquared> sudo systemctl edit nix-daemon fails however
<EffSquared> Any ideas or pointers, how to solve this problem the nix way?
<icetan> gchristensen: yeah, it's super weird, it must be something outside /nix that got changed, it compiles my derivations but some don't work properly
<Drakonis[m]> the nix way, where have i heard this one before :v
<Drakonis[m]> oh wait, python and arch
<Drakonis[m]> usually it involves jumping through hoops!
astsmtl has quit [(Ping timeout: 248 seconds)]
<gchristensen> icetan: how did you verify your store? and, can you run git and paste the output?
katyucha has joined #nixos
<icetan> gchristensen: `nix-store --verify`
<EffSquared> Drakonis: I am sure I can figure out a way to read my password from some random file from within my nix expression...
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<icetan> just outputs "Reading the Nix store..." and "checking path existence..."
<icetan> nothing more
<EffSquared> Drakonis: I just would prefer to use any of the builtin mechanisms.
deepfire has joined #nixos
<EffSquared> I also tried to prefetch my package with "nix-prefetch-url . -A custompkgs.my-package-name.src" but it just complains about the length of my sha256 hash.
<EffSquared> nix-prefetch-git doe not support -A yet, it seems.
<ertes-w> i know this is a problematic question due to the way nix works, but is there a way to see reverse dependencies of a package in nixpkgs?
<orivej> ertes-w: yes, after it is built
<ertes-w> orivej: *reverse* dependencies, i.e. a list of all packages that depend on it
<icetan> gchristensen: this is the output of running `kak` https://gist.github.com/icetan/6dc8a1600172f7341478a026ac591938
<orivej> ertes-w: well, you might ask nix-store for built reverse dependencies, or nix-env for available reverse dependencies
<gchristensen> icetan: also try nix-store --verify --check-contents
<ertes-w> how do i do that?
<icetan> gchristensen: ah, ok
<ertes-w> nix-env -q doesn't seem to have anything about reverse deps
<gchristensen> nix-store should
<orivej> ertes-w: see maintainers/scripts/rebuild-amount.sh in nixpkgs
<gchristensen> reverse dependencies are a critical part of nix, to check if something can be GCd
<gchristensen> icetan: wat
<ertes-w> i mean in nixpkgs, not necessarily installed on my system
<icetan> gchristensen: sorry?
<gchristensen> icetan: that segfault
asuryawanshi has quit [(Remote host closed the connection)]
<gchristensen> icetan: to be sure, if you open a new terminal, does it work ok?
fragamus has joined #nixos
<orivej> ertes-w: rebuild-amount is not affected by the installed packages. to use it with a given package expression, you will have to change the package in some way first, changing its name attribute is enough
asuryawanshi has joined #nixos
thblt has quit [(Ping timeout: 248 seconds)]
<ertes-w> orivej: doesn't that mean that i have to build all of nixpkgs?
<icetan> gchristensen: the check-content flag output some missing hashes and fixed that, but no errors
<icetan> gchristensen: most other stuff is running fine, like tmux
<icetan> gchristensen: I've only noticed git and kakoune behaving strangely
<orivej> ertes-w: no, only their build files (.drv) will be computed, but they will not even be written to disk
<Drakonis[m]> can i at least joke about how arch breaks in new and fascinating ways?
<icetan> Dezgeg: yes! that looks relevant
<gchristensen> ertes-w: what are you trying to do?
<icetan> the strace ends with some references to nss
<Drakonis[m]> fedora already fixed that
<ertes-w> ah, i see
<EffSquared> Drakonis: Sure, joke away?
<gchristensen> Drakonis[m]: probably not great
<gchristensen> ouch!
<ertes-w> gchristensen: not myself, but a friend of mine would like to figure out the reverse dependencies of a package, so he can get rid of them
<gchristensen> get them out of nixpkgs?
mekeor has joined #nixos
<Drakonis[m]> i'm surprised this wasn't dealt with
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fusion809 has joined #nixos
<gchristensen> looks like it is fixed in master
<gchristensen> Dezgeg: can you share your full /etc/os-release with me?
<fusion809> Does anyone know how to dual or triple boot NixOS with other distros? The nixos-install installer didn't recognize my other Linux installations, even though I added the 'os-prober' package to the list of additional packages to be installed in my configuration.nix file. I have also tried running `grub-mkconfig -o /boot/grub/grub.cfg` with my EFI partition mounted on /boot and while that allowed me to boot my other distros I
<fusion809> couldn't boot NixOS.
<Dezgeg> in staging I think
<clever> fusion809: you need to actually enable os probber
<ertes-w> gchristensen: yeah, that's how i would have done it, but anyway, the issue is resolved now
<gchristensen> hehe, ok, no version number to speak of in there :P thank you
<ertes-w> thanks for your help!
<gchristensen> good luck! :)
<fusion809> clever: Thanks, your nickname is very much true!
<Dezgeg> they are very rolling in their releases
kier has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b2af4e9c72 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<Drakonis[m]> a rolling ball of dung
<icetan> gchristensen: worked if i followed the workaround in the issue, by changing compat to files in /etc/nsswitch.conf
<icetan> not sure if this has other implications
<Drakonis[m]> they didn't even warn that the glibc 2.26 update would break anything
fusion809 has quit [(Remote host closed the connection)]
<gchristensen> we made the update
<Drakonis[m]> well yeah
<Drakonis[m]> different principles hough
<Drakonis[m]> though
<Drakonis[m]> a fair bit more proactive
<joko> I still can't find why my new nixos channel returns "error: undefined variable ‘white’ at (string):3:18" on update. It presumably fails on nix-env --profile '$profile' -f '<nix/unpack-channel.nix>' -i -E $exprs --quiet (Line 172 of nix-channel)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31768: vagrant: 2.0.0 -> 2.0.1 (fixes vagrant with virtualbox 5.2) (master...fix-vagrant-vbox52) https://git.io/vFyQl
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to master: https://git.io/vFSJu
<NixOS_GitHub> nixpkgs/master 3f4eb16 Andreas Rammhold: vagrant: 2.0.0 -> 2.0.1...
<NixOS_GitHub> nixpkgs/master e427e84 Andreas Rammhold: vagrant: removed custom rake gem
<NixOS_GitHub> nixpkgs/master 5af8c93 Graham Christensen: Merge pull request #31768 from andir/fix-vagrant-vbox52...
NixOS_GitHub has left #nixos []
katyucha has quit [(Ping timeout: 255 seconds)]
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
zzamboni has joined #nixos
rotaerk has quit [(Ping timeout: 240 seconds)]
joe1 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #31769: msmtp: install docs and examples (master...msmtp-examples) https://git.io/vFSUi
NixOS_GitHub has left #nixos []
Mateon3 has joined #nixos
<icetan> gchristensen: not sure how I update though
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<icetan> is it in master on git?
<icetan> or on a channel
<gchristensen> it is in staging, so git, but not yet master and definitely not yet a channnel
<icetan> hehe ok, cool
<gchristensen> it'll be a bit before it hits channels unfortunately
fragamus has joined #nixos
<icetan> I'll use the workaround for now then, just need to get kakoune working so i can continue my job :)
<Dezgeg> or you could use 17.09 as another workaround
<icetan> thanks for the help!
ma27 has quit [(Ping timeout: 255 seconds)]
<icetan> Dezgeg: yeah, might be better
<gchristensen> omg 17.09 uses 2.25? I thought it updated too! I'm not stranded at work!
<Dezgeg> yes it has 2.25 + patches
ma27 has joined #nixos
rotaerk has joined #nixos
<Yaniel> meanwhile still no ff57 on unstable :P
zzamboni has quit [(Quit: Leaving.)]
<etu> Yaniel: tbh I've been considering running on the master branch because of that delay :p
p4cman has quit [(Quit: Connection closed for inactivity)]
<gchristensen> it is unsafe!
zzamboni has joined #nixos
<etu> gchristensen: How so?
<Yaniel> basically not testing
<Yaniel> no*
<gchristensen> literally no testing
<Yaniel> you could install just FF from master, though
<etu> Yeah, well. You can always roll back by a reboot.
<gchristensen> not necessarily true with master
rotaerk has quit [(Ping timeout: 240 seconds)]
<flokli> grahamc: so msmtp scripts into $out/scripts? taskwarrior for example has this in $out/share/doc/task/scripts, too…
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> the rollbacks assume the bootloader installation process doesn't ruin your bootloader, something we test for, but is untested if you use master directly
<etu> gchristensen: If the generation of boot-entries fail or so?
<etu> yeah, true...
sigmundv has joined #nixos
<etu> Good point
<gchristensen> flokli: I think you're putting them directly in to $out/share/doc/ and I'd like to see them in $out/share/doc/scripts
<gchristensen> etu: ^
<etu> gchristensen: I'm coming from archlinux and wanted rolling release, so I'm on nixos-unstable at the moment :)
<gchristensen> that is O-OK!
<gchristensen> that is A-OK!
zzamboni has quit [(Quit: Leaving.)]
<srhb> Has anyone used nixpart and seen clearpart --all --initlabel --drives=somedevicename fail with "not enough free space on disks" ?
<srhb> eg. --drives=sdb
<srhb> nixpart0 technically.
zzamboni has joined #nixos
ssmike has quit [(Ping timeout: 264 seconds)]
<gchristensen> flokli: make sense?
rotaerk has joined #nixos
p4cman has joined #nixos
<flokli> gchristensen: a bit. so docs in general should go to $out/share/doc, not $out/share/doc/$pname ?
fragamus has joined #nixos
<gchristensen> no, you're reading too much in to what I'm saying and I'm being too vague, I'm sorry
<gchristensen> you're putting a bunch of script files in to "$out/share/doc/${pname}" and I think they should goo in to "$out/share/doc/${pname}/scripts"
<gchristensen> just my $0.02
ssmike has joined #nixos
periklis has joined #nixos
asuryawanshi has quit [(Ping timeout: 258 seconds)]
<flokli> gchristensen: ok, will update
<flokli> no worries :-)
<gchristensen> cool :) I'm sorry for being vague, with such specific change requests it was rude of me to not be more specific :$
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vFSLq
<NixOS_GitHub> nixpkgs/master 5735aec Ollie Charles: wal-g: init at 0.1.2
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
<flokli> gchristensen: updated :-)
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> ocharles: that commit breaks eval, can you patch it up?
<ocharles> hm, worked here
<ocharles> on it though
<gchristensen> "error attribute asl20 missing"
<ocharles> it's working here :|
<gchristensen> ocharles: "nix-env --file . --query --available --json > /dev/null" should show the error
<adisbladis> ocharles: Should be stdenv.lib.licenses.asl20
<ocharles> ah yea, that does
<ocharles> yep, that was the intention
<ocharles> learning how to type on this Advantage2 is using all my cycles
<gchristensen> ooh I hear that, it is a tough first week or two! worth the effort though!
<ocharles> Are you on one?
<adisbladis> There should really be a commit hook that we can tell people to use that does this kind of basic sanity checking
Boomerang has joined #nixos
<gchristensen> ocharles: I have been for about 7 years now
<ocharles> adisbladis: def
<ocharles> awesome
<ocharles> I got the new v2 cause I dig the blue home row
<gchristensen> yeah I ... did too :) despite my v1 working just fine
<ocharles> and my truly ergonomic started to die on me (l no longer reliably works)
<ocharles> ha
<Boomerang> Hello, I am getting a weird error after having setup multi-user nix on my machine: "error: the group 'nixbld' specified in 'build-users-group' does not exist", any idea how I should go about fixing it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vFSta
<NixOS_GitHub> nixpkgs/master b075e79 Ollie Charles: wal-g: fix license so not to break evaluation
NixOS_GitHub has left #nixos []
<ocharles> hopefully that fixes eval ^
<gchristensen> w00t fwiw PRs get good tests now, if you want to send PRs just for the tests :)
<adisbladis> ocharles: Does the trick :)
<ocharles> does it use the status api to indicate failures directly on the pr?
dj_goku_ has quit [(Quit: Lost terminal)]
<gchristensen> ocharles: yep! https://github.com/NixOS/nixpkgs/pull/31769 the X here is from the wal-g eval error :)
<ocharles> sweet. you're running a service that does this?
<gchristensen> yeah
<ocharles> nice
<gchristensen> triggering builds are limited to a certain set of users for right now, but the eval checks are on every PR automatically
<ocharles> really want hydra to learn how to do this too
<ocharles> makes sense
<gchristensen> indeed!
mekeor has quit [(Ping timeout: 250 seconds)]
qewzee has joined #nixos
davidak has quit [(Ping timeout: 268 seconds)]
knedlsepp has joined #nixos
<knedlsepp> Hi! Does anybody know if it is possibly to reference an overlay from within an overlay? I know it is possible to parametrize the nixpkgs import via " import <nixpkgs> { overlays = [ overlay1 overlay2 ]; }".
<knedlsepp> I would basically like my overlay.nix to reference a list of other overlays.
<gchristensen> flokli: eh, as long as you've tested to know msmtp compiles I'd comment that and chalk up the "Merge failed" message from grahamcofborg as a bug.
<knedlsepp> overlay.nix should contain something along the lines: "self: super: { import ./overlay1.nix; import ./overlay2.nix; }". but won't work when overlay1.nix and overlay2.nix also contain the "self: super: ..." structure
<steveeJ> knedlsepp: I have no idea if this can work but you could try to pass self and super explicitly
kier has joined #nixos
<adisbladis> gchristensen: ocharles: If there was a commit hook for nixpkgs what would be good to test?
<adisbladis> I think the obvious thing is nixpkgs evaluation but what more?
<gchristensen> adisbladis: check out all the commands run on PRs
<gchristensen> (they're in the status check descriptions)
erictapen has quit [(Ping timeout: 250 seconds)]
ssmike has quit [(Ping timeout: 258 seconds)]
<flokli> gchristensen: good to merge?
<gchristensen> Ithink so, but I can't merge it at work
<joko> Is it possible to set $Nix::Config::curlCaFlag somehow?
<joko> I saw gchristensen's https://github.com/NixOS/nix/issues/1211
<knedlsepp> steveej: You mean something along the lines: "self: super: { (import ./overlay1.nix { self; super;}) (import ./overlay2.nix {self; super;} )}"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #31310: mono: init at 4.8 (master...pr/mono48) https://git.io/vFl8H
NixOS_GitHub has left #nixos []
Boomerang has quit [(Quit: Lost terminal)]
<steveeJ> knedlsepp: more like ... import ./overlay1.nix { inherit self super; }
<knedlsepp> steveej: Thx for the hint. I cannot quite get the syntax right, but this seems promising.
ma27 has quit [(Ping timeout: 240 seconds)]
<greymalkin> I'm getting a nixops GCE error "The resource 'projects/<myproject>/regions/us-east4-b' was not found' when creating GCE target pool; any nixops-on-gce users have insight?
<steveeJ> knedlsepp: you could also explicitly write "self: super: { (import ./overlay1.nix { self=self; super=super;}) ...". but I have no clue if this is supported
<steveeJ> knedlsepp: 'inherit self;' is synonymous to 'self=self;'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #31574: gixy: init at 0.1.8 (master...add-gixy) https://git.io/vFrlK
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
fragamus has joined #nixos
katyucha has joined #nixos
lavironx has quit [(Quit: Quitte)]
<greymalkin> Ah, I think I see it -- the '-b' is unnecessary for anything but the instance itself.
<knedlsepp> steveej: Thx for the hint. I cannot quite get the syntax right, but this seems promising.
<knedlsepp> I tried:
<knedlsepp> self: super: let overlay1 = (import ./overlay1.nix { self=self; super=super;}); in { test2 = overlay1.test2; }
<knedlsepp> but this gives me "error: value is a function while a set was expected, at /tmp/overlay-test/overlay.nix:1:94"
dbmikus has joined #nixos
<knedlsepp> the overlay1.nix file contains: "self: super: { test2 = self.git; }"
<steveeJ> knedlsepp: try removing the braces around the import statement
<greymalkin> Why is builtins.readFile complaining about needing an absolute path? And can I get around that easily, since this is going into a git repo?
EffSquared has quit [(Quit: Thank you for nothing!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vFSZf
<NixOS_GitHub> nixpkgs/release-17.09 a2845aa WilliButz: pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules...
NixOS_GitHub has left #nixos []
<steveeJ> greymalkin: you can try ./. to get the absolute path
<greymalkin> steveeJ: Thanks for the hint... it was that I had put it in quotes.
<knedlsepp> steveej: Sadly none of the variants of parentheses I tried works.
<greymalkin> knedlsepp: Are you sure you want 'self' and not 'super'?
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<knedlsepp> greymalkin: I'm actually not really sure. The problem of the it being a function instead of a value however does seem to stem from overlay1 being a function of two arguments.
<knedlsepp> (import ./overlay1.nix { inherit self;} {inherit super;}) seems to be a better fit, while still not great.
reinzelmann has quit [(Quit: Leaving)]
<woffs> How to make an override which adds a patch to a ruby gem package? In this special case, I want to add https://github.com/sferik/t/commit/1db9fe0dbf7b85d039537d3ed6f01d21d9d847af.patch to t
<woffs> to pkgs/tools/misc/t/default.nix
<woffs> but it is wrapped in bundlerEnv
<steveeJ> knedlsepp: it seems that what you're doing doesn't need to be that complicated. you simply want a definition of overlays written in nix, correct?
<greymalkin> Uploading closure! \o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFSn9
<NixOS_GitHub> nixpkgs/master 00056e7 Franz Pletz: nixos/tests/acme: update terms of service to fix test
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFSnh
<NixOS_GitHub> nixpkgs/master eb85761 Tuomas Tynkkynen: kernel: Fix out-of-tree modules on aarch64...
NixOS_GitHub has left #nixos []
<steveeJ> knedlsepp: would something similar to https://github.com/htwg-syslab/nix-expressions/blob/master/default.nix#L71-L77 work for you? just put more overlays in the list
drakonis has quit [(Read error: Connection reset by peer)]
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
iyzsong has quit [(Ping timeout: 240 seconds)]
<knedlsepp> @steveej: Thank you for fetching an example. I managed to get it working by now: https://gist.github.com/knedlsepp/28b945a3aa41d15b694bc766521994b1
JosW has joined #nixos
v0lZy has quit [(Ping timeout: 240 seconds)]
cement has joined #nixos
<knedlsepp> This works fine as long as the overlays do not depend on each other. I'll try to make it work if overlay2 depends on overlay1.
coreteam has joined #nixos
<knedlsepp> I think I might need to read about fixed points: https://github.com/NixOS/nixpkgs/blob/master/lib/fixed-points.nix
<sphalerite> niksnut: I see you added binary cache support for sign-path, thanks!!
fusion809 has joined #nixos
balsoft has joined #nixos
<sphalerite> Dezgeg: got the sound working. All it took was unmuting two of the bazillion channels alsamixer lists for the device
danharaj has joined #nixos
Neo-- has joined #nixos
<fusion809> I've almost managed to get NixOS's GRUB bootloader to boot Arch properly (it used to boot NixOS when I selected Arch from the GRUB menu, I've since fixed that). The only problem now is that its initrd line is `initrd /boot/intel-ucode.img` instead of what it should be `initrd /boot/intel-ucode.img /boot/initramfs-linux.img` and the result is that Arch goes into kernel panic when I try to boot it. Is there a way to add that
<fusion809> /boot/initramfs-linux.img to the initrd line without having to do so manually whenever I re-generate the GRUB config?
ssmike has joined #nixos
<fusion809> I've found a patch I can apply to /etc/grub.d/10_linux, if NixOS had it, to fix this.
lsix_ has joined #nixos
<fusion809> I think I've found an option for this https://nixos.org/nixos/options.html#initrd.prepend
lsix has quit [(Ping timeout: 260 seconds)]
Neo-- has quit [(Ping timeout: 255 seconds)]
leat has quit [(Quit: WeeChat 1.9.1)]
<sphalerite> fusion809: there's also an option for loading microcode
Neo-- has joined #nixos
<steveeJ> knedlsepp: I'm curious about your use-case for this setup
<fusion809> That option (initrd.prepend) doesn't seem to be what I thought it seems to be more for the NixOS system not for any other systems in the GRUB menu. At least from what I can tell.
asuryawanshi has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<fusion809> sphalerite: What's the relevance of microcode? Is it related to intel-ucode.img? I don't really know what microcode is.
ssmike has joined #nixos
<adisbladis> fusion809: Microcode is for patching cpu bugs
<adisbladis> fusion809: Think of it like firmware for the cpu
Neo-- has quit [(Ping timeout: 240 seconds)]
Neo--- has joined #nixos
<fusion809> OK. How does this relate to my problem?
<fusion809> Must admit I don't think it really relates to GRUB.
lll_ has joined #nixos
<joko> Any one familiar with https://github.com/input-output-hk/iohk-ops/blob/develop/fetch-nixpkgs.nix ? Is it possible to access files there? E.g. I had <nixpkgs/nixos/modules/profiles/qemu-guest.nix>, how to write this with fetch-nixpkgs.nix ?
coreteam has quit [(Quit: Leaving)]
<fusion809> sphalerite: If it's just ya mentioning something interesting I've got no problems with that, it's just I'm confused.
adamt has quit [(Ping timeout: 260 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 240 seconds)]
<fusion809> Can one manually edit /etc/fstab on NixOS or will it be overridden on boot up? I want to define some mounts with it but I'm wondering if like most of /etc it's generated on start up and changes are not saved.
asuryawanshi has joined #nixos
<fusion809> Ah thanks.
<hyper_ch> hi adisbladis, how's your patch going?
<lll_> I posted a fix for the konsole problem a week ago. I'm not experienced with dkpg stuff, so if an anyone could implement it I will deliver a nice picture of my cat lucy. Thank you, much appreciated :-) https://github.com/NixOS/nixpkgs/issues/29951
<adisbladis> hyper_ch: Zfs update? Its merged :)
glion has quit [(Ping timeout: 260 seconds)]
<hyper_ch> adisbladis: wohoo :) 4.14 we're coming :)
Neo---- has joined #nixos
<Mic92> signup for our nixos assembly on 34c3: https://events.ccc.de/congress/2017/wiki/index.php/Assembly:NixOS
<hyper_ch> adisbladis: tcaputi posted a patch for me to try with my zfs problem... unfortunately didn't work :(
danharaj has quit [(Ping timeout: 240 seconds)]
<lll_> Sry I meant nix-pkg!
Neo--- has quit [(Ping timeout: 248 seconds)]
<hyper_ch> joko: what are you trying to do?
fusion809 has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<joko> hyper_ch: I am trying to lock the nixpkgs of some machines using this trick. So far it works great, I just want to make the Hydra job building their configuration completely independent of <nixpkgs>, so that I don't have to enter that as an input
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
Neo--- has joined #nixos
erictapen has joined #nixos
whald has quit [(Remote host closed the connection)]
<hyper_ch> joko: ah ok
Neo---- has quit [(Ping timeout: 260 seconds)]
sigmundv has quit [(Ping timeout: 260 seconds)]
zzamboni has quit [(Quit: Leaving.)]
<adisbladis> Mic92: So how do I add myself to the assembly?
<adisbladis> I remember it wasn't so obvious previous years..
<hyper_ch> adisbladis: you're going to 34c3?
Tucky has quit [(Quit: WeeChat 1.9.1)]
<sphalerite> fusion809: because intel-ucode.img sounds like it would contain microcode
<adisbladis> hyper_ch: Yes :)
<adisbladis> It's my christmas tradition
<Mic92> adisbladis: on your user page: https://events.ccc.de/congress/2017/wiki/index.php/User:Mic92 be a bit patient, it updates lazy on the assembly site
<sphalerite> fusion809: you shouldn't need to do manual hacks to get your microcode loaded
zzamboni has joined #nixos
<hyper_ch> adisbladis: enjoy
ma27 has quit [(Quit: WeeChat 1.9.1)]
ertes-w has quit [(Ping timeout: 250 seconds)]
ma27 has joined #nixos
balsoft has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub created doc-for-patch-31684 (+1 new commit): https://git.io/vFSu4
<NixOS_GitHub> nixpkgs/doc-for-patch-31684 480acb7 Pascal Wittmann: Add references to the Wikipedia article of the patch command...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub opened pull request #31770: Add references to the Wikipedia article of the patch command (master...doc-for-patch-31684) https://git.io/vFSuz
NixOS_GitHub has left #nixos []
<adisbladis> Mic92: Cool, thanks
<Dezgeg> sphalerite: lol
ssmike has joined #nixos
zzamboni has quit [(Ping timeout: 250 seconds)]
coreteam has joined #nixos
coreteam has quit [(Max SendQ exceeded)]
coreteam has joined #nixos
fragamus has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
coreteam has quit [(Max SendQ exceeded)]
Arcaelyx has quit [(Quit: Textual IRC Client: www.textualapp.com)]
coreteam has joined #nixos
coreteam has quit [(Max SendQ exceeded)]
coreteam has joined #nixos
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
coreteam has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan opened pull request #31771: ycmd update (master...ycmd-update) https://git.io/vFSg0
NixOS_GitHub has left #nixos []
coreteam has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
Vorpal has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Ping timeout: 255 seconds)]
coreteam has quit [(Max SendQ exceeded)]
coreteam has joined #nixos
Sonarpulse has joined #nixos
ssmike has joined #nixos
leat has joined #nixos
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31769: msmtp: install docs and examples (master...msmtp-examples) https://git.io/vFSUi
NixOS_GitHub has left #nixos []
nixer has joined #nixos
ma27 has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 5 new commits to staging: https://git.io/vFSVl
<NixOS_GitHub> nixpkgs/staging 4199892 Orivej Desh: makeWrapper: add --set-default and --set-eval...
<NixOS_GitHub> nixpkgs/staging 80d1eaa Orivej Desh: mesos: do not use makeWrapper with bash from bootstrap tools...
<NixOS_GitHub> nixpkgs/staging 74648f7 Orivej Desh: treewide: use --set-default and --set-eval where appropriate
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFSVz
<NixOS_GitHub> nixpkgs/master 4be7aae Orivej Desh: cinelerra: add a note about parallel building
NixOS_GitHub has left #nixos []
periklis has quit [(Ping timeout: 240 seconds)]
balsoft has joined #nixos
<greymalkin> Is there a way to get a list of all `service.*` offered by nixos? Preferably through nix-repl on a mixed host (Arch/nix)
<hyper_ch> symphorien: damn, you're too quick
katyucha has quit [(Quit: Lost terminal)]
<symphorien> :þ
<greymalkin> That's a list of all the configuration options, which means a lot of visual parsing for the transition from service to service. I was looking for a flatter list somehow.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vFSw2
<NixOS_GitHub> nixpkgs/master 3f36f16 Bjørn Forsman: nixos/pam: fix docs about path to u2f_keys file...
NixOS_GitHub has left #nixos []
<symphorien> this is a flat list of all options
balsoft has quit [(Read error: Connection reset by peer)]
<greymalkin> symphorien: That's the list I was trying to avoid; rather than services.acpid.enable; service.acpid.handlers... services.activemq.baseDir I was thinking there should be a way to extract just "services.acpid; services.activemq" etc.
thblt has joined #nixos
<greymalkin> I was trying to figure out what I needed to `:l` in nix-repl that would allow a list to be generated by tab-completion, but no luck so far.
stefanc_diff has joined #nixos
<joko> Is it possible to access nix files from a package directory?
<joko> something like import (myPackage.outPath + /nix/myfun.nix)
<joko> (I'm probably neither using outPath correctly, nor + )
jensens has quit [(Ping timeout: 248 seconds)]
Vorpal has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFSoc
<NixOS_GitHub> nixpkgs/master 6623938 Orivej Desh: xml2: replace dead links
<NixOS_GitHub> nixpkgs/master 587642b Orivej Desh: erlangR18: fix patch hashes with fetchpatch
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 258 seconds)]
ssmike has joined #nixos
<orivej> joko: you may split myPackage.meta.position if you really need to
spietz has joined #nixos
danharaj has joined #nixos
ssmike has quit [(Ping timeout: 240 seconds)]
Neo--- has quit [(Ping timeout: 268 seconds)]
srdqty has joined #nixos
<joko> orivej: as a matter of fact, it worked with myPackage.outPath + "/nix/myfun.nix"!
adamt has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/d77e0969a7 (from 2 weeks ago, history: https://channels.nix.gsc.io/nixos-17.03)
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a2845aa032 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<hodapp> "ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory" oh go die on a fire
<hodapp> can anyone else on 17.09 try running "nix-shell -p pkgs.python35Packages.tensorflowWithCuda", then 'python' and 'import tensorflow'?
sitwon has quit [(Quit: leaving)]
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
lll_ is now known as typeggzero
<typeggzero> I posted a fix for the konsole problem a week ago. I'm not experienced with nix-pkg. Can anyone implement it? Thank you. https://github.com/NixOS/nixpkgs/issues/29951
python476 has quit [(Ping timeout: 255 seconds)]
zarel has quit [(Ping timeout: 240 seconds)]
<typeggzero> I mean I'm using 'set -o vi' atm as a workarround but it would still be nice to get it fixed eventually :-)
<orivej> typeggzero: do you know why konsole works without this under Plasma?
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
<clever> hodapp: have you tried it with: nix-shell -p '(python35Packages.python.withPackages (p: [ p.tensorflowWithCuda ]))'
<Jackneillll> hey, i'd like to ask is qt 5.10 available in nixos to be installed (binary install)?
<hodapp> clever: yes, it makes no difference. the command given was taken out of another shell.nix I had written some months ago
<hodapp> bloody CUDA shit is just always broken
python47` has joined #nixos
<hodapp> I am seeing if it's fixed in newer nixpkgs; I know I have fixed this garbage myself at least twice
<hodapp> but that involves it downloading 1.4 GB of whatever Nvidia binary crap it needs
<clever> hodapp: i cant test it on this end because i lack the library behind the sign-in thing
wolfcub has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #31760: gstreamer: fix darwin build (master...darwin-gstreamer) https://git.io/vFyTj
NixOS_GitHub has left #nixos []
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
lsix_ has quit [(Quit: Konversation terminated!)]
hariel has quit [(Ping timeout: 240 seconds)]
typeggzero has quit [(Quit: leaving)]
Guest52155 has quit [(Ping timeout: 248 seconds)]
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #31772: Dropbox: overwrite old versions, pass arguments, fix sign-in (master...dropbox/versions) https://git.io/vFSMt
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFSM3
<NixOS_GitHub> nixpkgs/master 73598e3 Orivej Desh: go_1_9: skip flaky TestWaitGroupMisuse2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFSM0
<NixOS_GitHub> nixpkgs/staging 1161741 Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<gchristensen> LnL: ^
<LnL> heh :)
<LnL> guess I'll send my stuff to staging then
<oleks> Why could it be that when I lost go in my configuration.nix, I get Go 1.6 rather than 1.9 as advertised on https://nixos.org/nixos/packages.html ?
todder has quit [(Quit: is such a quitter...)]
todder has joined #nixos
leat has quit [(Ping timeout: 248 seconds)]
ma27 has quit [(Quit: WeeChat 1.9.1)]
<raving> Im trying to get the schedutil frequency governor running on my system, but couldn't find a package / config option providing the kernel module. Does the nix kernel even set the appropriate kconfig option?
<Jackneillll> how can i check if a pkg ver exists in stageing/testing? https://nixos.org/nixos/packages.html doesnt list it. im interested in qt 5.10.
<clever> Jackneillll: clone nixpkgs master and then run "nix-repl ." and try to tab-complete qt
<Jackneillll> i dont have nixos installed right now
<Jackneillll> and i certainly wont if i dont know for sure qt 5.10 is available
<clever> Jackneillll: i only see 5.9 on master and staging
<Jackneillll> yeah me too
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vFSDP
<NixOS_GitHub> nixpkgs/master f39c132 Charles Strahan: ycmd: 2017-03-27 -> 2017-11-05
<NixOS_GitHub> nixpkgs/master e677ed1 Daiderd Jordan: Merge pull request #31771 from cstrahan/ycmd-update...
NixOS_GitHub has left #nixos []
<Jackneillll> since qt 5.10 is available for testing i thought it might be available
goibhniu has quit [(Ping timeout: 260 seconds)]
<orivej> BTW @ttuegel wrote a detailed description of how to update Qt in Nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/README.md
leat has joined #nixos
<Jackneillll> orivej, this will compile locally?
deepfire has quit [(Ping timeout: 268 seconds)]
Oida has quit [(Ping timeout: 268 seconds)]
<orivej> well, yes, unless you submit a PR that adds Qt 5.10 beta, let the others bring it into shape, and wait until it's merged
Oida has joined #nixos
deepfire has joined #nixos
<Jackneillll> right, thanks
<raving> It does look like schedutil is neither compiled into the the kernel nor available as a module.
<raving> Should I compile it myself; and is there something nix specific to watch out for?
deepfire has quit [(Ping timeout: 248 seconds)]
<orivej> raving: you may look at the examples of system.requiredKernelConfig in nixpkgs (I have not tried using it)
jb55 has joined #nixos
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
<orivej> raving: although that's just assertions about kernel config, see how to augment kernel config here: https://github.com/NixOS/nixpkgs/pull/29698/files#diff-0597d775aa58140041fb1fc59e3d5016
Neo--- has joined #nixos
adamt has quit [(Ping timeout: 248 seconds)]
fendor has joined #nixos
ssmike has joined #nixos
hansgert has joined #nixos
<raving> orivej: thanks! I will see if that works
vcunat has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hansgert has quit [(Ping timeout: 260 seconds)]
Neo--- has quit [(Ping timeout: 240 seconds)]
hansgert has joined #nixos
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<hansgert> Hi. When I connect to my two nixos servers via ssh, both are verry laggy and somtimes unresponsive. Two differnd systems on different hardware and connection is good. Thank you
<hyper_ch> hansgert: is there a question coming?
Neo-- has joined #nixos
hansgert_ has joined #nixos
<hansgert_> sorry I was kicked out
ssmike has quit [(Ping timeout: 240 seconds)]
ssmike has joined #nixos
ylwghst has joined #nixos
hansgert has quit [(Ping timeout: 260 seconds)]
<cransom> i think 'connection is good' requires some proof.
<gchristensen> :D
seville has joined #nixos
<infinisil> hansgert_: So your question is how to get a better connection between your servers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFS54
<NixOS_GitHub> nixpkgs/staging 171d0e3 Maik Figura: pytest: 3.2.3 -> 3.2.5
<NixOS_GitHub> nixpkgs/staging 881f9b3 Orivej Desh: Merge pull request #31718 from maiksensi/pytest-3.2...
NixOS_GitHub has left #nixos []
<hansgert_> no, sorry. I am in a train right now. I have two mashines at home both are on differnt hardware same network. When i connect via vnc everything is well but not with ssh
<infinisil> hansgert_: You mean your machine in the train to one at home?
<hansgert_> have the same problem with a nixos on a was
<hansgert_> aws
coreteam has quit [(Quit: Leaving)]
<hansgert_> no, in the local network
<infinisil> it's most likely not nixos' fault, what problem specifically are you having?
goibhniu has joined #nixos
ylwghst_ has joined #nixos
<lebel> I know how to delete old generations for my nix-env user environment, but how one does the same for nixos generations at the system level?
<gchristensen> lebel: check `man nix-collect-garbage` 's --delete-older-than
<hansgert_> ok. Thank you. will will find out.
deepfire has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ylwghst has quit [(Ping timeout: 250 seconds)]
<infinisil> and I think you can also just delete specific ones from /nix/var/nix/profiles/system-{number}-link, just with rm, then nix-collect-garbage
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31710: nodejs: 9.0.0 -> 9.2.0 & libuv: 1.15.0 -> 1.16.1 (staging...nodejs-9_2_0) https://git.io/vFXAG
NixOS_GitHub has left #nixos []
<infinisil> which is probably what nix-collect-garbage --delete-older-than does
hansgert_ has left #nixos []
18VACR2GN has joined #nixos
<18VACR2GN> [nixpkgs] orivej closed pull request #27305: groff: split out perl dependencies (staging...groff) https://git.io/vQMBs
18VACR2GN has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFSdC
<NixOS_GitHub> nixpkgs/staging bd04a0f Patrick Callahan: groff: split out perl dependencies
<NixOS_GitHub> nixpkgs/staging f92f07f Orivej Desh: Merge pull request #27305 from therealpxc/groff...
NixOS_GitHub has left #nixos []
<aminechikhaoui> anyone having issues with gpg-agent while having ssh support ?
<aminechikhaoui> I have the following setup
<aminechikhaoui> programs.gnupg.agent.enable = true; programs.gnupg.agent.enableSSHSupport = true;
<aminechikhaoui> and I get many errors like this when I try to ssh which falls back to the ssh key password prompt
<aminechikhaoui> Nov 17 20:30:24 nixos gpg-agent[1160]: scdaemon[1789]: pcsc_establish_context failed: no service (0x8010001d)
<aminechikhaoui> Nov 17 20:29:44 nixos gpg-agent[1160]: Failed to lookup password for key s/A905EBA282DCF8027D118D9417CB9975789112AA with secret service: Cannot autolaunch D-Bus without X11 $DISPLAY
Neo--- has joined #nixos
<aminechikhaoui> fpletz: maybe you have any idea about ^
<seville> What's the correct way to get the installation path of a package? Currently using "nix-store --query -R `which bash` | tail -n 1", probably wrong usage..
<fpletz> aminechikhaoui: are you also or haven been logged into a regular tty?
Neo-- has quit [(Ping timeout: 240 seconds)]
<fpletz> there is some weird stuff happening to the systemd user session if your logged in both in X and a tty
phg has joined #nixos
<clever> fpletz: i found that the gpg module in nixos is rather broken, if i ssh into the machine, that steals control of gpg, then it asks on the wrong tty when i try to make use of the agent
<aminechikhaoui> fpletz: not that I'm aware of
<clever> fpletz: it also tends to ask in a broken way on tty's, and displays a password prompt, but cant actually accept input, so i wind up running my password in bash!
<aminechikhaoui> [root@nixos:~]# w 20:37:34 up 1 day, 8:54, 0 users, load average: 0.78, 0.92, 0.99
<aminechikhaoui> USER TTY LOGIN@ IDLE JCPU PCPU WHAT
balsoft has joined #nixos
ssmike has quit [(Ping timeout: 240 seconds)]
<fpletz> clever: yeah, gpg-agent spawns pinentry-curses \o/
<infinisil> aminechikhaoui: I actually got this working once with some env var, hold on maybe I can find it again
<fpletz> clever: not sure how to fix though, I'm only using it on a workstation in X with pinentry-gtk2
<clever> fpletz: and i always run screen over ssh, and they cant seem to share
balsoft has left #nixos []
ssmike has joined #nixos
<clever> fpletz: the most broken part, is that the X pinentry stops working the instant i make even 1 ssh session into the machine
<fpletz> aminechikhaoui: what display manager are you using?
Neo--- has quit [(Ping timeout: 248 seconds)]
Neo---- has joined #nixos
<fpletz> clever: ah, now I get it… makes sense in a way because a tty login will also trigger this kind of behaviour
<fpletz> we probably have to display gpg-agent on non-X login
<fpletz> s/display/disable/
<infinisil> Ah here it is: `export GPG_TTY="$(tty)"` aminechikhaoui
<infinisil> I'm pretty sure this made it work for me
p4cman has quit [(Quit: Connection closed for inactivity)]
<fpletz> aminechikhaoui: you can try: gpg-connect-agent UPDATESTARTUPTTY /bye
<fpletz> sometimes this fixes the issues
<Unode> Hi guys, current github recommends 'nix-shell -p nix-info --run "nix-info -m"' but this fails with: "undefined variable ‘nix-info’ at ..." on my (non-nixos) system. Any recommendations?
<clever> Unode: you may need to nix-channel --update first
<aminechikhaoui> fpletz: infinisil thanks, I'll try both
Itkovian has joined #nixos
<Unode> clever: thanks. Lets see how that goes. Been a while since the last channel update on this system.
<infinisil> Oh nix-info has been backported to 17.09, nice!
<Unode> tig
<Unode> oops XD
Neo--- has joined #nixos
<woffs> Unode: downloading 4GB? :-D
<Unode> woffs: compiling actually. not running from /nix
<Unode> Recently got a "kernel too old" when trying to run something from nixpkgs.
<Unode> hope latest stable doesn't suffer the same
ShalokShalom has joined #nixos
Neo---- has quit [(Ping timeout: 248 seconds)]
lebel has quit [(Quit: Leaving)]
<Unode> stdenv rebuild... oh boy here we go :)
lebel has joined #nixos
lebel has quit [(Client Quit)]
lebel has joined #nixos
<woffs> Meanwhile I have another question: how to make an override with a patch to a ruby package made with bundlerEnv? I want to apply https://github.com/sferik/t/commit/1db9fe0dbf7b85d039537d3ed6f01d21d9d847af.patch to the package "t"
lebel has quit [(Client Quit)]
lebel has joined #nixos
<hodapp> oh, it seems my CUDA issue was fixed in Nixpkgs sometime in the last month or two
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #31772: Dropbox: overwrite old versions, pass arguments, fix sign-in (master...dropbox/versions) https://git.io/vFSMt
NixOS_GitHub has left #nixos []
acarrico has joined #nixos
ylwghst_ has quit [(Ping timeout: 268 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
acarrico has quit [(Ping timeout: 248 seconds)]
lebel has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFSxU
<NixOS_GitHub> nixpkgs/staging 9c4d2b4 gnidorah: gtk3: 3.22.24 -> 3.22.26
<NixOS_GitHub> nixpkgs/staging ca86a25 Orivej Desh: Merge pull request #31400 from gnidorah/gtk3...
NixOS_GitHub has left #nixos []
Itkovian has quit [(Client Quit)]
drakonis has joined #nixos
romanandreg has joined #nixos
<romanandreg> say I have a bunch of scripts in Python that use for CLI, and now I want to have them as a package in nix, is there any example of people doing this?
<romanandreg> I want to use my scripts but they relied before on global packages to work (e.g. they execute git commands)
<romanandreg> I learned about this; https://gist.github.com/travisbhartwell/f972aab227306edfcfea which is suuuper useful, but I would like to learn how to handle my scripts in the nix store as well
<romanandreg> the link above allows me to create custom scripts that rely on packages from nix store without having those being part of any package (say on a dotfiles/bin)
joncfoo has joined #nixos
lebel has joined #nixos
joncfoo has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
joncfoo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFSp0
<NixOS_GitHub> nixpkgs/master 1824953 Kamil Chmielewski: spark: 2.1.0 -> 2.2.0
<NixOS_GitHub> nixpkgs/master 23a5f54 Orivej Desh: Merge pull request #30534 from kamilchm/spark...
NixOS_GitHub has left #nixos []
joncfoo has quit [(Client Quit)]
BioSpider_ has joined #nixos
BioSpider_ has quit [(Excess Flood)]
BioSpider_ has joined #nixos
BioSpider_ has quit [(Excess Flood)]
BioSpider has quit [(Ping timeout: 240 seconds)]
seville has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to staging: https://git.io/vFShY
<NixOS_GitHub> nixpkgs/staging 32a6838 John Ericson: darwin-bintuils: Don't try to bring in missing bits of GNU Binutils...
<NixOS_GitHub> nixpkgs/staging 652c2be John Ericson: cctools: Don't always bring in headers...
<NixOS_GitHub> nixpkgs/staging ccb93ae John Ericson: Merge pull request #31754 from obsidiansystems/simplify-darwin-binutils...
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #31775: stdenv setup: Always use both propagated files (staging...stdenv-both-propagated-files) https://git.io/vFShx
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vF9ev
<NixOS_GitHub> nixpkgs/staging 88105ee Nikolay Amiantov: gtk3: compute DPI properly when Xft options are not used...
NixOS_GitHub has left #nixos []
<sphalerite> If I want to write an overlay but not have it apply globally, what's the best way to do this statelessly?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31765: czmq: Fix build with gcc-7 (staging...czmq-gcc7) https://git.io/vFyzc
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vF9eZ
<NixOS_GitHub> nixpkgs/master 26f1ae6 adisbladis: libmsgpack-1_4: Drop package. Broken with gcc-7 and not depended on.
<NixOS_GitHub> nixpkgs/master 253d9b6 adisbladis: libmsgpack-2_0: Drop package. Broken with gcc-7 and not depended on.
<NixOS_GitHub> nixpkgs/master e283833 Orivej Desh: Merge pull request #31764 from adisbladis/libmsgpack-gcc7...
NixOS_GitHub has left #nixos []
vcunat has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Neo--- has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
hamishmack has joined #nixos
pbeaucamp has joined #nixos
<pbeaucamp> Hi, I hope nobody minds me asking a pretty entry-level question, but I can't get a certain package to install. I don't know if this is my error or if it's a bug. Basically I'm trying to install `haskellPackages.pandoc-citeproc` but it doesn't place the binary on my path.
remexre has joined #nixos
<pbeaucamp> however I can find the binary just fine in /nix/store/i43z3m44gw0ksjkzqis279j7h7a3hjaz-pandoc-citeproc-0.10.5.1/bin/
python47` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<pbeaucamp> I'm trying to install it using nix-shell -p haskellPackages.pandoc-citeproc
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vF9vO
<NixOS_GitHub> nixpkgs/master 517741c Yucheng Zhang: thunar: add wrapGAppsHook
<NixOS_GitHub> nixpkgs/master b7734b6 Orivej Desh: Merge pull request #31736 from ChengCat/chengcat...
NixOS_GitHub has left #nixos []
<jeaye> nix-shell -p doesn't install things globally. It just gives you a shell with that thing installed. Outside of that shell, you won't know about that package.
<pbeaucamp> Yeah, I'm aware of that. I'm trying to get it running in nix-shell
<pbeaucamp> My main goal is to pass it into `buildInputs` in default.nix for a package of mine
<pbeaucamp> And I'm trying to debug it using nix-shell
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
<sphalerite> That's weird, it should end up on the path if you do that
<sphalerite> do you have any PATH hackery in your bashrc?
<pbeaucamp> hm, I'm adding a few things to it, but nothing fancy
<pbeaucamp> Interestingly enough, nix-env -f "<nixpkgs>" -iA haskellPackages.pandoc-citeproc works fine
<Unode> haskellPackages.pandoc-citeproc.out maybe?
<Unode> actually forget that, nix-shell -p haskellPackages.pandoc-citeproc works fine here
<sphalerite> Unode: and nix-shell -p uses all outputs of a package iirc
hamishmack has quit [(Quit: hamishmack)]
<Unode> sphalerite: I recall having variable results. But might just be me fumbling it.
<pbeaucamp> Hm, I begin to think that my nix-shell itself is broken
<pbeaucamp> oh, nevermind I found a bug report that nix-shell doesn't work under WSL. Sorry for jumping in here, this is obviously not the fault of nix
<sphalerite> mentioning that this is on WSL could have helped too x)
<pbeaucamp> ha, I know. Sorry
<Unode> WSL?
<pbeaucamp> I experience next to no issues on my day-to-day usage that I kinda accepted it as working by now
<pbeaucamp> Windows Subsytem for Linux
<Unode> oh that thing
<pbeaucamp> well, thank you guys anyway for being so helpful!
joncfoo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #31776: fastjet: 3.2.0 -> 3.3.0 (master...fastjet_330) https://git.io/vF9Uo
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 248 seconds)]
romanandreg has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vF9Tt
<NixOS_GitHub> nixpkgs/master c72b22c Daiderd Jordan: rust-bootstrap: cleanup darwin expressions
<NixOS_GitHub> nixpkgs/master ccf7310 Daiderd Jordan: Merge pull request #31125 from LnL7/darwin-rust-bootstrap...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vF9TY
<NixOS_GitHub> nixpkgs/master 2805444 Yurii Rashkovskii: rust: 1.20.0 -> 1.21.0
<NixOS_GitHub> nixpkgs/master cf9e6f3 Daiderd Jordan: cargo: fix darwin build
<NixOS_GitHub> nixpkgs/master 399a22e Daiderd Jordan: Merge pull request #31175 from yrashk/rust-1.21...
NixOS_GitHub has left #nixos []
civodul has joined #nixos
joncfoo has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pbeaucamp has quit [(Quit: Page closed)]
joncfoo has joined #nixos
joncfoo has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
joncfoo has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
fendor has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to staging: https://git.io/vF9Il
<NixOS_GitHub> nixpkgs/staging 3681820 Daiderd Jordan: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 250 seconds)]
hiratara has joined #nixos
<joncfoo> qq - how often are release channels updated?
<gchristensen> every time the tests pass
<gchristensen> what does that mean really? https://channels.nix.gsc.io/graph.html
<sphalerite> Is there any special meaning to the names of binary cache pubkeys listed in nix.conf?
<sphalerite> gchristensen: whoooooaaaaa
<sphalerite> that's awesome
<LnL> gchristensen: do you have one with longer history?
<gchristensen> sphalerite: I could make one
goibhniu has quit [(Remote host closed the connection)]
<LnL> wonder what it looks like over a couple of months
<gchristensen> let's find out
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
Itkovian has joined #nixos
goibhniu has joined #nixos
<LnL> interresting
<gchristensen> I could do longer but I'mnot sure it'll be useful
<LnL> you can see why nixos-unstable people complain sometimes :)
<gchristensen> (in this form)
<gchristensen> definitely... it _is_ living up to its name though!
<MP2E> haha
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<gchristensen> I've thought about sending "pings" to IRC if a channel hasn't updated in X days
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #31777: catch: 1.9.6 -> 1.11.0 (master...upd.catch) https://git.io/vF9tH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] chris-martin opened pull request #31778: nixpkgs manual: how to make a patch file with git (master...pr/patch) https://git.io/vF9tN
NixOS_GitHub has left #nixos []
dywedir has joined #nixos
<LnL> yeah, with the structured maintainers thing it could even ping the correct people
<gchristensen> we can start simple and go from there :P
<sphalerite> can anyone recommend a music player with a small dep closure? Particularly no X stuff
<gchristensen> mpd?
<sphalerite> gchristensen: has X deps, and particularly mesa
<gchristensen> wat
<gchristensen> _why_?
<sphalerite> which is problematic because it depends on llvm which takes about 7 hours to build (and fails to build!) on my chromebook :p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #31780: uncrustify: 0.64 -> 0.66 (master...upd.uncrustify) https://git.io/vF9q9
NixOS_GitHub has left #nixos []
<MP2E> wut, that is surprising, guess I haven't checked out the mpd package on nix
<LnL> really?
<MP2E> though not strictly a bug, might be one for the tracker, nonetheless
<sphalerite> it's not in the runtime closure though, only build-time
<symphorien> sphalerite: do you know about https://nixos.org/nixos/options.html#noxlib ? maybe it will give you a no-x mpd
<sphalerite> the runtime closure is generally fine
<symphorien> mmh right
dieggsy has joined #nixos
<LnL> there are also a bunch of packages that look at nixpkgs.config
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite> right, the dependency is because mpd depends on SDL2 and SDL2 depends on mesa
<LnL> wat
<MP2E> ohh I see.
<MP2E> hm
<LnL> why does it depend on sdl?
<sphalerite> ffmpeg
<symphorien> did you try to override mesa with null ?
kp__ has joined #nixos
<samae> Has anyone ever successfully installed NixOS through using a serial console?
<sphalerite> symphorien: ffmpeg also won't be fun to build probably. I'll give it a shot without ffmpeg first, although I don't have high hopes for that
Itkovian has joined #nixos
<MP2E> ffmpeg is a lot smaller than llvm, I think it'd be best to override the ffmpeg derivation being passed in to set sdlSupport to false
<MP2E> not sure why sdlSupport is true by default, come to think of it... I wonder if any of our programs actually need it
<MP2E> and if not, does anyone use ffplay?
mizu_no__ has joined #nixos
<sphalerite> ooh, I could also try oggdec + aplay
<sphalerite> kdenlive uses ffplay iirc
<symphorien> also environment.noXlibs could switch alsaSupport in ffmpeg, then
<MP2E> ah.. good to know. hm
<symphorien> *sdlsupport
tgunb has joined #nixos
<tgunb> @pstn: you there?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] robertodr opened pull request #31781: Update HDF5 and add option to compile Fortran2003 interface (master...hdf5-fortran-2003) https://git.io/vF9mN
NixOS_GitHub has left #nixos []
<pstn> tgunb: Yeah
<tgunb> can i have your openage nix expression?
<pstn> I already answered you, I think. I still got the expression but it's pretty bit rotten. I'm going to work on it this weekend though and will be creating a merge request if it works out.
<pstn> Should I mention you on github when I do?
<pstn> Or just tell you here?
<tgunb> mention me.
<tgunb> thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31776: fastjet: 3.2.0 -> 3.3.0 (master...fastjet_330) https://git.io/vF9Uo
NixOS_GitHub has left #nixos []
fragamus has joined #nixos
* hodapp runs git bisect to see who fux0red the CUDA shit again
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vF9OO
<NixOS_GitHub> nixpkgs/master 0c3a544 José Romildo Malaquias: catch: 1.9.6 -> 1.11.0
<NixOS_GitHub> nixpkgs/master b5148ce Orivej Desh: libjson-rpc-cpp: enable parallel building
<NixOS_GitHub> nixpkgs/master af748af Orivej Desh: Merge pull request #31777 from romildo/upd.catch...
NixOS_GitHub has left #nixos []
dieggsy has quit [(Remote host closed the connection)]
JosW has quit [(Quit: Konversation terminated!)]
ShalokShalom has quit [(Remote host closed the connection)]
dieggsy has joined #nixos
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vF9O1
<NixOS_GitHub> nixpkgs/master 6e53af6 José Romildo Malaquias: uncrustify: 0.64 -> 0.66
<NixOS_GitHub> nixpkgs/master 5e7be4a Orivej Desh: uncrustify: enable parallel building
<NixOS_GitHub> nixpkgs/master 59add31 Orivej Desh: Merge pull request #31780 from romildo/upd.uncrustify...
NixOS_GitHub has left #nixos []
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
filterfish has quit [(Ping timeout: 255 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<cement> I forget, is there a cargo2nix or is it considered "acceptable" to just use cargo directly?
hamishmack has joined #nixos
spietz has quit [(Quit: WeeChat 1.9.1)]
<tilpner> mkRustCrate is WIP: https://github.com/NixOS/nixpkgs/pull/31150
erictapen has quit [(Ping timeout: 268 seconds)]
cement has quit [(Ping timeout: 260 seconds)]
dhess` has joined #nixos
eel has joined #nixos
<eel> it seems like the instructions at https://nixos.wiki/wiki/Nix_Installation_Guide#PRoot are incorrect. any ideas?
fragamus has joined #nixos
thblt has quit [(Ping timeout: 248 seconds)]
mizu_no_oto has joined #nixos
<eel> context: trying to install nixos on a shared server in my home directory without root or admin priveleges
<tilpner> Your link doesn't mention installing NixOS, only Nix
<eel> sorry i meant nix
<eel> that's all i want
<tilpner> I have no experience with that, but anyone who does will probably need more information than "are incorrect", e.g. errors
mizu_no_oto has quit [(Client Quit)]
chreekat has joined #nixos
<joncfoo> I have a shell.nix file that I'm editing and I want to check that it will work when run - is there a syntax checker/linter?
<eel> tilpner well the CLI has changed. proot no longer just accepts a filename as an argument
<eel> so it gives some error about "not a regular file"
<eel> therefore i have no idea what combination of options and arguments are correct to emulate the old behavior
<amfl> Hi guys - Just installed NixOS for the first time on my desktop. My logitech g700s worked fine in the livecd, but not when installed. Any quick ideas for a fix?
<amfl> I would normally research more thoroughly before asking, but that is difficult without a mouse :)
MP2E has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 260 seconds)]
filterfish has quit [(Ping timeout: 268 seconds)]
filterfish has joined #nixos
<tilpner> amfl - Does "nixos-option hardware.enableRedistributableFirmware" output "Value: true"?
<amfl> tilpner: Yes
<tilpner> amfl - The ISO imports all-hardware.nix, which adds a bunch of kernel modules and enabled redistributable firmware, but IIRC the generated config should have that too
<amfl> Ooh, I think I know what I did wrong