gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
maximiliantagher has quit [Remote host closed the connection]
archaeron has quit [Quit: Communi 3.5.0 - http://communi.github.com]
Lisanna has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 256 seconds]
Meizikyn has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [Ping timeout: 240 seconds]
hakujin has quit [Ping timeout: 252 seconds]
shabius has quit [Ping timeout: 260 seconds]
ryanartecona has joined #nixos
srdqty has quit [Quit: WeeChat 1.9.1]
shabius has joined #nixos
hakujin has joined #nixos
dan_b has quit [Ping timeout: 264 seconds]
Judson has quit [Ping timeout: 240 seconds]
hakujin has quit [Ping timeout: 264 seconds]
Zigma has joined #nixos
alexteves has quit [Ping timeout: 256 seconds]
blonkhart has joined #nixos
<disasm> lol... just had 3 internal drives and 2 external drives all go bad in the last 48 hours (all are older than 5 years). I'm down to 1 copy left of my backups :(
<infinisil> Oh snap..
<rawtaz> uh, that's just too unlikely to even happen :P what did you do to them?
<rawtaz> are they in a raid of some sort?
<rawtaz> five drives dont randomly die within 48 hours unless there's some additional factor involved
<rawtaz> (unless you have lots and lots of drives, of course)
<rawtaz> disasm: quick, grab restic.net and make yourself a fresh backup just in case ;)
<{^_^}> [nix] @shlevy merged pull request #1906 → nix search: tests and fix #1893 and part of #1892 → https://git.io/vArBZ
<{^_^}> [nix] @shlevy pushed 5 commits to master: https://git.io/vxT6u
<{^_^}> → 8282c60d by @dtzWill: tests: test nix search behavior
<{^_^}> → 3cac8734 by @dtzWill: nix search: fix bug where we wrote to cache when shouldn't, breaking
<{^_^}> → 009cf9cd by @dtzWill: nix search: explicitly handle empty search string, fixes #1893
<disasm> rawtaz: just bad luck, not even raid, just rsyncs. 2 are system drives (old 320 gb WD SATA), a seagate external, a wd external, and a 128 gb ssd I salvaged from an old desktop in the attic stopped responding that i was trying to replace the 320 gb root
<MichaelRaskin> If you try to do something, please do it in a place with a different power source…
Arcaelyx_ has joined #nixos
<disasm> MichaelRaskin: 4/5 of them are clicking like the heads crashing into the spindles, so I doubt it's the power source
Arcaelyx has quit [Ping timeout: 252 seconds]
<disasm> rawtaz: I looked at tarsnap, but $500 /mo + initial transfer of $500 for 2 TB of data is a little pricey. Ordering a bunch of stuff off of amazaon and searching for another 2 tb disk to get at least one copy (I know have one around here somewhere)
hamishmack has joined #nixos
me421 has joined #nixos
<ottidmes> I really should update my hardware, my laptop, desktop and external drives are > 8 years old, but so far I have been in luck it seems, never had a disk fail on me, or any hardware except ear plugs, the accu of my first smartphone (started to swell), and the accu of my laptop (old age)
justanotheruser has quit [Quit: WeeChat 1.9.1]
<disasm> ottidmes: wow, never??? not even an old 4 GB drive from 20 years ago?
me421 is now known as cx405
<MichaelRaskin> Drives from 20 years old are actually harder to kill
<ottidmes> disasm: No, I stopped using those before they could break on me
<cx405> I am trying to resolve the basic sound issue the whole day without improvement. The phonon in kde has no plugins and does not work. I am affected by both #27050 (this one has my cfg.nix) and #10559. Can someone help, I am absolute newbie trying to get desktop system working. :(
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
<ottidmes> disasm: So I guess they too should still function, I have some laying around, although I really have no use for them anymore
justanotheruser has joined #nixos
<MichaelRaskin> Nice. I have learnt to create a PDF viewable in Evince but not Zathura
<tobiasBora> Hello again,
<Guanin> can someone help me setting up snapper? services.snapper.configs requires something like "name" = {some = "set";};, but I want to use map to build multiple similar configs
<gchristensen> any French or French-connected people around who love food?
<tobiasBora> Just a question, if I compile/install nix from git, will it change anything concerning the version of the channel I'll follow?
<tobiasBora> gchristensen: sure
<tobiasBora> why?
<gchristensen> I have this recipe for a pot pie of chicken, pancetta, and green olives. It always comes out super dry and a bit too salty, but I like the flavors. any suggested recipes?
pkill9 has quit [Ping timeout: 256 seconds]
<Guanin> So I have a list ["foo" "bar" "baz"] and want to build something like "foo" = {something = "/path/foo";}, "bar" = {something = "/path/bar";} and so on
ryanartecona has quit [Quit: ryanartecona]
<disasm> gchristensen: wash the olives so you don't get too much salt out of brine
<ottidmes> tobiasBora: Updating nix should not also update your channel.
<gchristensen> Guanin: you probably want ave this recipe for a pot pie of chicken, pancetta, and green olives. It always comes out super dry and a bit too salty, but I like the _ideas_ of the recipe. any suggested recipes?
<gchristensen> oops
justanotheruser has quit [Quit: WeeChat 2.0]
<Guanin> The recipe itself does not sound that bad, too :)
<tobiasBora> Guanin: ahah ^^ I never saw a pot pie in France ;) But if you first cook your chicken in the bake, do you regularely come and put the oil in the bottom of the "plate" on the top of the chicken ? ;)
justanotheruser has joined #nixos
<tobiasBora> But if you want a french receipe for a pot pie, they will just tell you that they don't do pot pie :P
<tobiasBora> ottidmes: ok thank!
<gchristensen> hmm the washing is worth thinking about, disasm. I only somewhat pre-cook it. perhaps cutting that in half might help. hah! fair
maximiliantagher has joined #nixos
<Guanin> gchristensen, thanks, it works flawless instantly :)
maximiliantagher has quit [Read error: Connection reset by peer]
<gchristensen> perfect!
maximiliantagher has joined #nixos
Lisanna has joined #nixos
<tobiasBora> I try to compile nix, but the .configure fail on the manual part:
<tobiasBora> make: *** [doc/manual/local.mk:24: doc/manual/manual.xmli] Error 1
<tobiasBora> I think to remember that I need to do something for that
<cx405> I am trying to resolve the basic sound issue the whole day without improvement. The phonon in kde has no plugins and does not work. I am affected by both #27050 (this one has my cfg.nix) and #10559. Can someone help, I am absolute newbie trying to get desktop system working. :(
<{^_^}> [nixpkgs] @dtzWill opened pull request #36948 → glibc: don't use bootstrap libgcc_s → https://git.io/vxTP8
<gchristensen> cx405: :( that sucks :(
<gchristensen> I'm sorry
<ottidmes> cx405: I have no experience with KDE, all I can suggest is trying to change to the unstable branch, see if it is fixed there. Or if you can live without KDE, trying a different desktop manager until this issue is resolved
<cx405> gchristensen: ottidmes: thanks guys
<{^_^}> [cabal2nix] @kmicklas opened pull request #337 → Display cabal file parsing errors to user → https://git.io/vxTPw
chessai has joined #nixos
hakujin has joined #nixos
MP2E has quit [Remote host closed the connection]
<cx405> I think this is about path, where phonon plugins are stored, but I have no experience how to change them.
<disasm> cx405: are you just using phonon for controlling pulseaudio?
<tobiasBora> I may found the problem, let's try
<cx405> disasm: well, I dont exactly understand unfortunately. I have a regular kde install, kde uses (should use) gstreamer as backend. For kde applications trying to play media, its gstreamer>phonon>pulse>alsa.
swolffs has quit [Ping timeout: 256 seconds]
<tobiasBora> hum no in fact it's during the make that the manual fails to be build
<tobiasBora> no idea how to install http://docbook.sourceforge.net/
<tobiasBora> can I just disable the manual? If yes, what happened?
<ottidmes> tobiasBora: Are you building Nix from source outside of NixOS?
<tobiasBora> ottidmes: yes
<tobiasBora> hum docbook seems to be in the installable packages :D
hakujin has quit [Ping timeout: 240 seconds]
<gchristensen> cx405: me either :(
<tobiasBora> hum docbook-xsl is not enough
<coconnor> tobiasBora: any further logs from the failed build?
<ottidmes> cx405: It seems like Arch Linux has had the same issue (unresolved it seems): https://bugs.archlinux.org/task/43791
<tobiasBora> coconnor:
<tobiasBora> GEN doc/manual/manual.xmli
<tobiasBora> make: *** [doc/manual/local.mk:24: doc/manual/manual.xmli] Error 1
<tobiasBora> (I'm building from the git)
<tobiasBora> I think this is why: " These are part of the libxml2 and libxslt packages, respectively. You also need the DocBook XSL stylesheets and optionally the DocBook 5.0 RELAX NG schemas."
newhoggy_ has quit [Remote host closed the connection]
<disasm> tobiasBora: might I suggest installing nix from binaries, and building within a nix-shell, then replacing nix with your own? Depending on OS libraries for building NixOS sounds painful.
<ottidmes> tobiasBora: Can't you just look at nix/default.nix and use that?
newhoggy has joined #nixos
Judson has joined #nixos
<coconnor> cx405: what is your configuration.nix?
Judson is now known as Guest67981
<tobiasBora> disasm: ottidmes : The thing is that I'll like to create a very general way to install nix from a place where a user has no root access
<tobiasBora> so I can't use the prebuild binaries "as it"
<abathur> cx405: no context for whether my config applies in your case, but I was able to get audio working with, I think, two things; adding pavucontrol to systemPackages, and enabling hardware.pulseaudio with the package set to pkgs.pulseaudioFull
<tobiasBora> and for now I do a funny trick that basically download a minimalist alpine repo, "chroot" (in fact it's proot) into it, then install the deps, compile, and copy on the host
<tobiasBora> after now the only problem is the manual
maximiliantagher has quit [Remote host closed the connection]
<tobiasBora> actually, if I use the tar version it compiles really nicely
<tobiasBora> I just need to figure out why the tar does not work
maximiliantagher has joined #nixos
aarvar has left #nixos [#nixos]
<cx405> abathur: thank you. I have those in pkgs list though.
<coconnor> cx405: I also have a working KDE + pulseaudio config
<cx405> ottidmes: apparently it is: https://bugs.kde.org/show_bug.cgi?id=340126
<abathur> cx405: to clarify, do you have hardware.pulseaudio.package = pkgs.pulseaudioFull;
maximiliantagher has quit [Remote host closed the connection]
<cx405> abathur: yes, exactly like that.
<disasm> tobiasBora: have you looked at https://github.com/matthewbauer/nix-bundle?
<cx405> abathur: line 139 in https://pastebin.com/TPb9QM1C
<disasm> tobiasBora: or, this might be more what you want: https://github.com/lethalman/nix-user-chroot
<coconnor> cx405: sound.enable = true; ?
maximiliantagher has joined #nixos
<coconnor> try nixos-option sound.enable to see the current value
<abathur> cx405: k. Not sure. Don't know much about it, but I don't think I needed any of the other packages to get sound running.
<ottidmes> cx405: All I can think of is to check if it actually is somewhere in your nix store to begin with, then you know if it is just the path, or some missing install. So the brute force check would be: find /nix/store -name 'phonon4qt5_backend' (or if it is a file for sure, also -type f), then you could try and symlinking that location in one of the paths shown in the list of paths it checks. That is no real fix,
<ottidmes> but would tell you something at least
<cx405> coconnor: I think its defaults to true, but I'll try pasting it and checking...
<cx405> coconnor: value true, default true
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marusich has joined #nixos
<abathur> so I don't have phonon, I don't have the support32Bit=true, etc; also no explicit sound.enable in my config, fwiw
<coconnor> Ah weird. mine is default false. (I have a bunch of sound related patches tho)
<cx405> abathur: I have tried various things, kmix, removing streamer etc - to no avail.
maximiliantagher has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Quit: WeeChat 2.0]
justanotheruser has joined #nixos
<abathur> not sure if kernel would matter there; I do have mine set to latest due to stability problems with ryzen on 4.09 or whatever is default
<cx405> ottidmes: thanks!
<ottidmes> abathur: My server with a Ryzen CPU got spammed with errors if I did not use kernel 4.13 or higher, so I have been using 4.14 ever since
<{^_^}> [nixpkgs] @DarkScythe97 opened pull request #36950 → microcode-intel: 20171117 -> 20180312 → https://git.io/vxT1t
<abathur> yeah, that was my experience
<ottidmes> abathur: I loved the fix, "disabled IRQ #7" (or something) "nobody cares" :P
<abathur> haha, yeah
<abathur> I was really confused the first time I tried to install nix, because it was as I was building the ryzen system
Synthetica has quit [Quit: Connection closed for inactivity]
<abathur> so my initial boot, I went afk while it was coming up and came back to a screenfull of those messages
<abathur> meaning I missed the message about how to launch the gui
<ottidmes> abathur: I could not even use the installer, I kept getting spammed with those errors, so that was the first time for me building a custom NixOS installer, which luckily was very easy to do
<abathur> I was able to use it once I launched the gui, but it was very hard to type at the initial console with those messages interruping all of my input
justanotheruser has quit [Quit: WeeChat 2.0]
justanotheruser has joined #nixos
disasm has quit [Quit: WeeChat 2.0]
<ottidmes> abathur: I believe, echo 1 > /proc/sys/kernel/printk, should have made it shut up about it within the login shell, but I did not dare continuing at the time, with clearly something being amiss
<la_putin> in patchelf how is the STRTAB read to get the DT_NEEDED's with --print-needed as i keep getting "ELF"
<ottidmes> time to sleep, goodnight
<la_putin> "DT_NEEDED This element holds the string table offset of a null-terminated string, giving the name of a needed library. The offset is an index into the table recorded in the DT_STRTAB entry."
<cx405> ottidmes: bb, thanks for trying to help
justanotheruser has quit [Quit: WeeChat 2.0]
cx405 has quit [Quit: Konversation terminated!]
justanotheruser has joined #nixos
ottidmes has quit [Ping timeout: 260 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
markus1199 has joined #nixos
Supersonic112 is now known as Supersonic
n0qqe has joined #nixos
markus1189 has quit [Ping timeout: 240 seconds]
noqqe has quit [Ping timeout: 264 seconds]
n0qqe is now known as noqqe
noam_ has joined #nixos
noam has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #36919 → busybox: backport updates and proper sandbox shell configuration → https://git.io/vxUNF
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to release-17.09: https://git.io/vxTMi
<{^_^}> → 768d2584 by @dtzWill: busybox: bump copybuf 4kB -> 64kB
<{^_^}> → 811b40e5 by @dtzWill: busybox-sandbox-shell: extract basic shell to new attribute
<{^_^}> → e0194ef7 by @adisbladis: busybox: 1.27.2 -> 1.28.0
maximiliantagher has quit [Ping timeout: 246 seconds]
leothrix has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c665fcca9e7 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
Arcaelyx_ has quit [Ping timeout: 246 seconds]
xcmw has joined #nixos
xcmw has quit [Client Quit]
leothrix has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
Arcaelyx has joined #nixos
sigmundv has joined #nixos
thc202 has quit [Ping timeout: 246 seconds]
Lisanna has quit [Quit: Lisanna]
MP2E has joined #nixos
loonquawl has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
roconnor has quit [Ping timeout: 256 seconds]
jtojnar has joined #nixos
roconnor has joined #nixos
Meizikyn has joined #nixos
aarvar has joined #nixos
<Meizikyn> I'm getting a strange error "Permission Denied" as root, when attempting to write a file in cgroups (/sys/fs/cgroup/systemd/machine.slice/<example_machine>/<file_to_be_written>)
<Meizikyn> I would call this systemd default behavior, however a few forums indicate that this is non-default behavior
<Meizikyn> is this something implemented by NixOS?
Meizikyn_ has joined #nixos
<Meizikyn_> if any responded, sorry intermittent disconnect
Guest67981 has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 260 seconds]
<coconnor> whoa. nix wiki looks nicer than last I checked
Meizikyn has quit [Ping timeout: 260 seconds]
mbrgm has quit [Ping timeout: 240 seconds]
<samueldr> :)
mbrgm has joined #nixos
<samueldr> if you have any (quick) questions about the wiki, you can ask, for longer and more involved, there is also a dedicated IRC channel at #nixos-wiki
<rawtaz> what's going on in there? i daren't look >_<
<samueldr> on the wiki channel? not much most of the time, but we do get notified when there is activity on the wiki
maximiliantagher has joined #nixos
<samueldr> (I say not much, but there somtimes are discussion about recently modified articles, about the contents, and at other times discussions about styleguide and operation on the wiki)
<rawtaz> o :)
<rawtaz> k
oahong has quit [Ping timeout: 252 seconds]
oahong has joined #nixos
blonkhart has quit [Quit: WeeChat 1.9.1]
maximiliantagher has quit [Ping timeout: 248 seconds]
MP2E has quit [Remote host closed the connection]
Sonarpulse has joined #nixos
marusich has quit [Ping timeout: 240 seconds]
marusich has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to gnome-3.28: https://git.io/vxTSk
<{^_^}> → 00b62043 by @jtojnar: gnome3.file-roller: fix build
<{^_^}> → 69f2325e by @jtojnar: gnome3.gnome-boxes: fix build
<{^_^}> → 8c8b5e82 by @jtojnar: gnome3.gnome-calculator: fix build
Sonarpulse has quit [Ping timeout: 264 seconds]
jadsh has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
chrios_ has quit [Ping timeout: 240 seconds]
<jadsh> Should I submit an issue to nixpkgs if a package (mgba in my case) doesn't include .desktop files?
<Meizikyn_> does mgba have a graphical front-end?
<jadsh> Yes, mgba-qt
<Meizikyn_> yeah I installed too doesn't have a .desktop, couldn't hurt right?
maximiliantagher has joined #nixos
<Meizikyn_> actually, it looks like mgba doesn't ship with one
<Meizikyn_> like in general, from the developer
<jadsh> Oh ok, I'll just make one and throw it into ~/.local/share/applications
maximiliantagher has quit [Ping timeout: 264 seconds]
loonquawl has quit [Quit: loonquawl]
Meizikyn_ has quit [Ping timeout: 260 seconds]
MP2E has joined #nixos
johnsonav has quit [Ping timeout: 268 seconds]
asuryawanshi has joined #nixos
hakujin has joined #nixos
johnsonav has joined #nixos
Tobba has quit [Read error: Connection reset by peer]
hakujin has quit [Ping timeout: 256 seconds]
chessai has quit [Remote host closed the connection]
blonkhart has joined #nixos
jadsh has quit [Remote host closed the connection]
schoppenhauer has quit [Ping timeout: 240 seconds]
blonkhart has quit [Quit: WeeChat 1.9.1]
boomshroom has quit [Quit: WeeChat 2.0]
schoppenhauer has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
peterzky has joined #nixos
disasm has joined #nixos
yorick has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
<disasm> Well managed to find an SSD laying around that works, albeit a little small. Got my root system running on that, got /var rsynced to the new disk aside from prometheus metrics which are being stored on my 2 TB disk. Got a full backup of the 2 TB disk to another external I found laying around, and have a booting EFI/root fs. ran `nixops deploy -d home` and it was like the catastrophe never happened :)
<disasm> Although the one disappointing thing was I tried switching to grub efi from systemd-boot and my motherboard failed to recognize it as bootable. switched back to systemd-boot and everything is fine. Not planning on debugging that one any further.
maximiliantagher has quit [Ping timeout: 240 seconds]
<disasm> brand new 240 GB SSD, and two 4 TB ironwolf drives (mirrored ZFS) arriving soon to replace this limping along server, lol.
<Rusty1_> good for another 20 years
<disasm> Rusty1_: exactly :)
<Rusty1_> :-)
Rusty1_ has quit [Quit: Konversation terminated!]
peterzky has quit [Ping timeout: 245 seconds]
peterzky has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 31 commits to gnome-3.28: https://git.io/vxT7G
<{^_^}> → f9b36b5d by @jtojnar: gnome3: automated update
<{^_^}> → ee1aba6b by @jtojnar: gnome3.gnome-backgrounds: fix build
<{^_^}> → 56ef61ba by @jtojnar: gnome3.geocode-glib: fix build
hamishmack has quit [Quit: hamishmack]
orivej has quit [Ping timeout: 260 seconds]
oahong has quit [Ping timeout: 260 seconds]
oahong has joined #nixos
Poca has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
muzzy has joined #nixos
jun1 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 14 commits to gnome-3.28: https://git.io/vxT5r
<{^_^}> → 9357339e by @jtojnar: gnome3.gnome-characters: fix build
<{^_^}> → 7228b5c5 by @jtojnar: gnome3.four-in-a-row: fix build
endformationage has quit [Quit: WeeChat 1.9.1]
<{^_^}> → e95a0430 by @jtojnar: gnome3.gnome-chess: fix build
robstr has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.gnome-documents: fix build »: https://git.io/vxT56
asuryawanshi has quit [Remote host closed the connection]
robstr has quit [Ping timeout: 264 seconds]
hamishmack has joined #nixos
srdqty has joined #nixos
srdqty has quit [Client Quit]
srdqty has joined #nixos
asuryawanshi has joined #nixos
srdqty has quit [Ping timeout: 260 seconds]
zzamboni has joined #nixos
srdqty has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
robstr has joined #nixos
zzamboni has quit [Client Quit]
srdqty has quit [Ping timeout: 264 seconds]
srdqty has joined #nixos
muzzy has quit [Ping timeout: 246 seconds]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @coreyoconnor opened pull request #36956 → Merge swi-prolog 7.4.2 -> 7.6.4 plus enable JPL feature → https://git.io/vxTdx
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-3.28: https://git.io/vxTFk
<{^_^}> → c2bbad3d by @jtojnar: atk: port to meson
<{^_^}> → 6f93ef7f by @jtojnar: gnome3.gnome-keyring: fix build
<{^_^}> → 7104110a by @jtojnar: gnome3: switch to Vala 0.40
Guanin has quit [Ping timeout: 246 seconds]
ma27 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.mutter: fix build »: https://git.io/vxTFG
Guanin has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d35cbdd85f8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
jtojnar has quit [Ping timeout: 264 seconds]
rauno has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @yrashk opened pull request #36957 → ape: init at 6.7-131003 → https://git.io/vxTFo
<{^_^}> [nixpkgs] @ryantm opened pull request #36958 → arangodb: 3.3.3 -> 3.3.4 → https://git.io/vxTF6
<{^_^}> [nixpkgs] @chrisburr opened pull request #36959 → cfitsio: Change has for 3.43 to reflect upstream → https://git.io/vxTFi
<{^_^}> [nixpkgs] @andir merged pull request #36935 → libdynd: fix build w/gcc7 → https://git.io/vxTlD
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vxTFX
<{^_^}> → 4436d21d by @xeji: libdynd: fix build w/gcc7
<{^_^}> → 14068234 by @andir: Merge pull request #36935 from xeji/p/libdynd
Poca has quit [Quit: Konversation terminated!]
nickoralias has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vxTbs
<{^_^}> → 9c7e9ef0 by @magnetophon: faust: 2.5.21 -> 2.5.23
<{^_^}> → 3887b6bf by @adisbladis: Merge pull request #36926 from magnetophon/faust
<{^_^}> [nixpkgs] @adisbladis merged pull request #36926 → faust: 2.5.21 -> 2.5.23 → https://git.io/vxTfm
<{^_^}> [nixpkgs] @ryantm opened pull request #36960 → atk: 2.26.1 -> 2.28.1 → https://git.io/vxTbW
rauno has quit [Ping timeout: 252 seconds]
kitemikaze1 has joined #nixos
Izorkin_ has joined #nixos
johbo_ has joined #nixos
hamishmack_ has joined #nixos
hamishmack has quit [Read error: Connection reset by peer]
blahdodo has quit [Ping timeout: 248 seconds]
johbo has quit [Ping timeout: 248 seconds]
kitemikaze has quit [Ping timeout: 248 seconds]
hamishmack_ is now known as hamishmack
kitemikaze1 is now known as kitemikaze
helpusobi_ has joined #nixos
blahdodo has joined #nixos
Izorkin has quit [Ping timeout: 248 seconds]
reinzelmann has joined #nixos
helpusobi has quit [Ping timeout: 248 seconds]
asuryawanshi has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #36961 → audit: 2.8.2 -> 2.8.3 → https://git.io/vxTNq
alex`` has joined #nixos
zzamboni has joined #nixos
wrl has quit [Ping timeout: 240 seconds]
loonquawl has joined #nixos
<silver_hook> How do I figure out which derivation of e.g. cups-filters is currently running on my system?
<{^_^}> [nixpkgs] @ryantm opened pull request #36962 → btrbk: 0.26.0 -> 0.26.1 → https://git.io/vxTAP
hyper_ch2 has joined #nixos
hyper_ch2 has left #nixos [#nixos]
hyper_ch2 has joined #nixos
fractal- has quit [Ping timeout: 276 seconds]
rauno has quit [Ping timeout: 240 seconds]
davidlt has joined #nixos
<clever> silver_hook: nix-store -qR /run/current-system | grep cups
<clever> that will show the path to the output
<clever> $ nix-store -qR /run/current-system | grep cups
<clever> /nix/store/hxrscdgw57pya4jwj56fgivgfjcn91c2-cups-2.2.6-lib
<clever> i dont have cups fully configured, so i'll use -lib as an example
<clever> $ nix-store -q --deriver /nix/store/hxrscdgw57pya4jwj56fgivgfjcn91c2-cups-2.2.6-lib
<clever> /nix/store/idzpv1j9yryq9lrsa82yg9ihxxvivyld-cups-2.2.6.drv
<clever> silver_hook: this then shows the path to the .drv that generated it
<garbas> anybody used "nix copy --to s3://<bucket> with success?
<clever> silver_hook: and that would then contain the instructions on how it was built
<{^_^}> [nixpkgs] @etu opened pull request #36963 → curl: 7.58.0 -> 7.59.0 → https://git.io/vxTx8
* garbas reads
zzamboni has quit [Ping timeout: 252 seconds]
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #36964 → buildbot: 1.0.0 -> 1.1.0 → https://git.io/vxTxo
<clever> garbas: i checked the irc logs for context around line 3, but nothing useful
<elvishjerricco> garbas: I've had pretty good success with it. For the most part it works just like `file://` stores
<clever> elvishjerricco: how does it know which accesskeys to use?
<elvishjerricco> clever: Apparently it just assumes the role of the user running the nix command. i.e. it just uses your `~/.aws/credentials`
<clever> ah
<elvishjerricco> I think that's generally a good model
<elvishjerricco> I like that `builtins.fetchgit` does that
<clever> so conflicts will arise if i need to use multiple accounts and all the tools require ~/.aws/credentials
<clever> nixops at least has a ~/.ec2-keys that lets you store and name several
<elvishjerricco> clever: I think there's a way to specify which access key to use
<elvishjerricco> .aws/credentials lets you list multiple, under different symbolic names
<elvishjerricco> I think there's an environment variable or something you can set to choose one of them for Nix.
<clever> yeah, ive seen that in some docs
<silver_hook> clever: Thanks :)
<garbas> elvishjerricco: is there a way to have a more verbose output to see what it actually tries to do?
<elvishjerricco> garbas: No idea, sorry
<clever> garbas: does -vvvv have any effect?
<silver_hook> clever: The reason I’m asking is very silly. I want to create a test print systemd “cronjob” and for that I need access to /nix/store/*-cups-filters-*/share/cups/data/testprint
<garbas> clever: it actually does, -v -> nothing, -vv -> nohing, -vvv -> nothing ... but then -vvvv gives some output :)
rauno has joined #nixos
<clever> silver_hook: ah, for that, you can work in the other direction, `nix-store -q --tree /run/current-system`
<clever> silver_hook: see what refers to cups-filters, and then find its nix expressions
<silver_hook> I don’t really care much which version of the `testprint` I run through `lpr`, but the longer-term issue will be that at some point the actual file in /nix/store will be garbage collected.
<clever> it will likely be within nixos/modules
<clever> silver_hook: if you gist the --tree output, i can skim over it
<silver_hook> clever: Sure, but if on a normal POSIX I could simply do `lpr /usr/share/cups/data/testprint`, on NixOS I’m still a bit lost as to where I could find a pointer like that (esp. to put it into the systemd cronjob in the configuration.nix)
spear2 has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
<clever> [clever@amd-nixos:~/apps/nixpkgs]$ grep -r --color cups-filters
<clever> nixos/modules/services/printing/cupsd.nix: serviceConfig.ExecStart = "${cups-filters}/bin/cups-browsed";
<clever> silver_hook: i think you just want pkgs.cups-filters
mounty has joined #nixos
periklis has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
winem_ has joined #nixos
<elvishjerricco> Aw. Was trying to cross compile NixOS to aarch64 for fun. `Program "objcopy" not found or not executable` when building systemd.
newhoggy_ has joined #nixos
vidbina has joined #nixos
jensens has joined #nixos
newhoggy has quit [Ping timeout: 240 seconds]
<sphalerite> infinisil: shlevy: re "modules that shouldn't be modules": https://github.com/NixOS/nixpkgs/issues/36648
hakujin has joined #nixos
zzamboni has quit [Quit: Leaving.]
newhoggy_ has quit [Ping timeout: 268 seconds]
Guanin has quit [Ping timeout: 246 seconds]
hakujin has quit [Ping timeout: 252 seconds]
pkill9 has joined #nixos
<silver_hook> clever: Right, but how can I specify the `testprint` file in there? It’s not in any path, since it’s not an executable.
John882 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #36965 → coqPackages.contribs.containers: make available for Coq 8.7 → https://git.io/vxThj
Tucky has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #36966 → cdrtools: 3.02a06 -> 3.01 → https://git.io/vxTjU
vidbina has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
ixxie has joined #nixos
ixxie has quit [Client Quit]
ixxie has joined #nixos
marusich has quit [Ping timeout: 240 seconds]
marusich has joined #nixos
<clever> silver_hook: what does "${pkgs.cups-filters}/share/cups/data/testprint" eval to inside `nix-repl '<nixpkgs>'`
alex`` has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @ryantm opened pull request #36967 → cfitsio: 3.43 -> 3.430 → https://git.io/vxkek
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/b47b4f3dd3c (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
asuryawanshi has quit [Remote host closed the connection]
jun1 has quit [Read error: Connection reset by peer]
jun1 has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon1 has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #36968 → chunksync: 0.3 -> 0.4 → https://git.io/vxkep
sigmundv has joined #nixos
<hyper_ch2> seems debian made a little plunder
fractal has joined #nixos
knupfer has joined #nixos
nickoralias has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ryantm opened pull request #36970 → clutter-gst: 3.0.24 -> 3.0.26 → https://git.io/vxkfO
<hyper_ch2> mic92: seems the sqlite change hasn't hit nixos-unstable-small yet
<sphalerite> hyper_ch2: ??
maximiliantagher has joined #nixos
<hyper_ch2> sphalerite: yes ??
knedlsepp has joined #nixos
loonquawl has quit [Quit: loonquawl]
maximiliantagher has quit [Ping timeout: 260 seconds]
<sphalerite> hyper_ch2: what do you mean "seems debian made a little plunder"?
<hyper_ch2> "Due to changes or a bug in the Debian package, some packages were uninstalled from the servers during the routine update. "
<hyper_ch2> "Affected: All webhosting packages and all managed servers"
thc202 has joined #nixos
<sphalerite> huh. They're very clear about what the actual bug was :p
<knedlsepp> Hi! I was wondering if someone got any tips on doing CI of overlays. I know that I could generate a jobset where I explicitly list all attributes I override or define within the overlay, but I would like this 'extraction' part to be done automatically.
<sphalerite> I'm guessing you meant blunder, not plunder?
<hyper_ch2> sphalerite: same thing ;)
paraseba has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 265 seconds]
henrytill has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #36971 → sshuttle: fix build on i686-linux → https://git.io/vxkJ9
<silver_hook> clever: Aaaah, that makes a lot more sense. Thanks :)
<silver_hook> It would surprise me if there wasn’t something like that already in there.
paraseba has joined #nixos
henrytill has joined #nixos
<silver_hook> It evals to: "/nix/store/vmbhh6x3b67jy8wxm84ml7f2iw0rbd74-cups-filters-1.16.0/share/cups/data/testprint"
<{^_^}> [nixpkgs] @michalrus opened pull request #36972 → hubstaff: 1.3.0 → 1.3.1 → https://git.io/vxkUJ
joepie91 has quit [Remote host closed the connection]
<clever> silver_hook: and does that path exist?
<silver_hook> … which is the file I’m looking for (in the current active profile)
<clever> nice
<{^_^}> [nixpkgs] @nlewo merged pull request #36845 → singularity: 2.4 -> 2.4.2 → https://git.io/vxvLR
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxkUk
<{^_^}> → 5c1e4227 by @jbedo: singularity: 2.4 -> 2.4.2
<{^_^}> → 65e5bc71 by @nlewo: Merge pull request #36845 from jbedo/singularity
<{^_^}> [nixpkgs] @nlewo merged pull request #36804 → notary: 0.5.1 -> 0.6.0 → https://git.io/vxeCQ
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxkUY
<{^_^}> → ef4790cf by @vdemeester: notary: 0.5.1 -> 0.6.0
<{^_^}> → a12ad22c by @nlewo: Merge pull request #36804 from vdemeester/update-notary-060
<silver_hook> Cool, so `lpr "${pkgs.cups-filters}/share/cups/data/testprint"` should work inside the systemd.services, I suppose.
pie__ has joined #nixos
<clever> silver_hook: yep
<clever> as long as lpr itself is in PATH
<silver_hook> clever: Sure.
<silver_hook> Yay! \o/
humanoyd has joined #nixos
henrytill has quit [Ping timeout: 248 seconds]
<Izorkin_> how to change custom location nix_store.squashfs with usb live cd?
ciil has quit [Ping timeout: 265 seconds]
ciil has joined #nixos
henrytill has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #36973 → editres: 1.0.6 -> 1.0.7 → https://git.io/vxkUp
<hyper_ch2> rnhmjoj[m]: I wrote several replies to your flexget PR
<the-kenny> Has anyone experienced systemd user-timers failing after some time? I've got a timer to fetch my mail and every few days it stops working (NEXT and LEFT stay n/a, LAST is the last time it executed)
knupfer has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #36974 → graalvm8: dontFixup = true → https://git.io/vxkTm
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #36971 → sshuttle: fix build on i686-linux → https://git.io/vxkJ9
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxkkw
<{^_^}> → f161fe06 by @volth: sshuttle: fix build on i686-linux
<{^_^}> → ca1921eb by @Mic92: shuttle: disable buggy test on darwin
<{^_^}> → 97c60ab3 by @Mic92: Merge pull request #36971 from volth/no-pandoc-on-i686
<srhb> the-kenny: More information necessary. Could be any number of things. Did the service fail or time out?
<the-kenny> srhb: the timer dies. The service itself works fine (it's Type=oneshot)
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxkki
<{^_^}> → fd6d464c by @volth: sshuttle: fix build on i686-linux
<{^_^}> → 136a39ee by @Mic92: shuttle: disable buggy test on darwin
<the-kenny> postbote.timer is configured to run postbote.service every few minutes. This works fine for days, then it stops working. list-timers gives the following output (in the error case): https://p.tarn-vedra.de/systemd-timer.html
<Mic92> 404 for the url
asuryawanshi has quit [Ping timeout: 260 seconds]
<Mic92> ah
<the-kenny> huh
<srhb> the-kenny: And what's the status for the service?
<Mic92> copy'n'paste error
<the-kenny> srhb: ugh
<the-kenny> Thanks
<the-kenny> "Activating". It's stuck
<srhb> Right. :)
<{^_^}> [nixpkgs] @adisbladis merged pull request #36970 → clutter-gst: 3.0.24 -> 3.0.26 → https://git.io/vxkfO
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vxkkb
<{^_^}> → e2fb4411 by @ryantm: clutter-gst: 3.0.24 -> 3.0.26
<{^_^}> → 60622897 by @adisbladis: Merge pull request #36970 from ryantm/auto-update/clutter-gst
marek_ has quit [Changing host]
marek_ has joined #nixos
marek_ is now known as marek
Neo-- has joined #nixos
<Mic92> the-kenny: is the service? RemainAfterExit = "yes";
<evangeline> hi, what is the quickest way to obtain the path of "${pkgs.bindfs}/bin/bindfs" in the current system ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #36968 → chunksync: 0.3 -> 0.4 → https://git.io/vxkep
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxkIJ
<{^_^}> → a73c91c9 by @ryantm: chunksync: 0.3 -> 0.4
<{^_^}> → e14bea96 by @Mic92: Merge pull request #36968 from ryantm/auto-update/chunksync
<Mic92> evangeline: nix repl
<Mic92> or nix-repl on stable
<the-kenny> Mic92: no, it isn't. It's just a one-off script that should run every few minutes. Type=oneshot. Would RemainAfterExit=yes make sense there?
<Mic92> the-kenny: it would have explained, why it would not be restarted.
<Mic92> but if it is still in the Activating state, this might be also the error
<Mic92> then it depends on the kind of service
<the-kenny> The script never exited. gmailieer got stuck. Killing the gmailieer process (therefore making the script exit with error) fixes the timer
<Mic92> I mean what it starts
<silver_hook> clever: It seems to have at least built. Let’s see if it triggers as well :)
<the-kenny> I'll throw a timeout in there and call it a day
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxkIn
<{^_^}> → b3283921 by @michalrus: hubstaff: 1.3.0 → 1.3.1
<{^_^}> → e58bb8d4 by @Mic92: Merge pull request #36972 from michalrus/hubstaff
<{^_^}> [nixpkgs] @Mic92 merged pull request #36972 → hubstaff: 1.3.0 → 1.3.1 → https://git.io/vxkUJ
<{^_^}> [nixpkgs] @Mic92 merged pull request #36973 → editres: 1.0.6 -> 1.0.7 → https://git.io/vxkUp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxkIy
<{^_^}> → a7bedb19 by @ryantm: editres: 1.0.6 -> 1.0.7
<{^_^}> → 0fc8f119 by @Mic92: Merge pull request #36973 from ryantm/auto-update/editres
<{^_^}> [nixpkgs] @ryantm opened pull request #36975 → evince: 3.26.0 -> 3.28.0 → https://git.io/vxkI7
Neo-- has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #36428 → satysfi: init at 2018-03-07 → https://git.io/vAbRx
<{^_^}> [nixpkgs] @vbgl pushed commit from @mt-caret to master « satysfi: init at 2018-03-07 (#36428) »: https://git.io/vxkLo
Guanin has joined #nixos
joepie91___ has joined #nixos
asuryawanshi has joined #nixos
<hyper_ch2> hmm, why does nixos suddenly complain about "set const" in /etc/nanorc: Error in /etc/nanorc on line 4: Unknown option "const"
<{^_^}> [nixpkgs] @ryantm opened pull request #36977 → fanficfare: 2.22.0 -> 2.23.0 → https://git.io/vxktJ
ma27 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #36975 → evince: 3.26.0 -> 3.28.0 → https://git.io/vxkI7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxktV
<{^_^}> → 99866d02 by @ryantm: evince: 3.26.0 -> 3.28.0
<{^_^}> → d1c6f5a6 by @Mic92: Merge pull request #36975 from ryantm/auto-update/evince
<srhb> hyper_ch2: Where'd the line come from? Looks like set const is a deprecated form of set constantshow
<hyper_ch2> srhb: I set it in the configuration.nix: set const
<srhb> Ah, well, don't do that then. :P
<hyper_ch2> srhb: which generates output of https://paste.simplylinux.ch/view/9d1faa4a
<hyper_ch2> srhb: https://www.nano-editor.org/dist/v2.1/nanorc.5.html set const is valid
<srhb> hyper_ch2: https://www.nano-editor.org/dist/v2.9/nanorc.5.html set const is invalid
<hyper_ch2> stupid change :)
ottidmes has joined #nixos
<hyper_ch2> they didn't even ask me if they could change it
<srhb> Rude!
<hyper_ch2> seems it was changed from 2.4 -> 2.5
<srhb> It was allowed but obsolete until 2.8
<etu> wow
<etu> I need to update my nano-config, for the first time in years.
<etu> It only contains 'set const' :D
civodul has joined #nixos
<hyper_ch2> when even seasoned linux beards like etu still use "const" then it's just wrong to change it in secret
spear2 has quit [Ping timeout: 260 seconds]
<etu> I just don't pay attention to things like nano...
* srhb goes back to bubbling snot and drinking tea
spear2 has joined #nixos
<etu> srhb: Thanks for that pointer with the option. Had no idea it was removed :D
<{^_^}> [nixpkgs] @7c6f434c merged pull request #36960 → atk: 2.26.1 -> 2.28.1 → https://git.io/vxTbW
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/vxkqW
<{^_^}> → b81e300d by @ryantm: atk: 2.26.1 -> 2.28.1
<{^_^}> → 72bdf3bf by @7c6f434c: Merge pull request #36960 from ryantm/auto-update/atk
<srhb> :)
sigmundv has quit [Remote host closed the connection]
pkill9_ has joined #nixos
<hyper_ch2> etu: you're on unstable (small)?
* hyper_ch2 gives srhb some delicious chocolate coated crispy cookies
<etu> hyper_ch2: nah, just nixos-unstable
<hyper_ch2> etu: is unstable already at nano v2.9?
<etu> So I'm about 8 days behind master at this point
<etu> nah
<srhb> hyper_ch2: :3
<hyper_ch2> etu: need to change it now before v2.9 hits ;)
<srhb> etu: hyper_ch2: Yes it is
ashgillman has joined #nixos
<etu> hyper_ch2: But the change is already made, so now I won't have any issues
pkill9 has quit [Ping timeout: 256 seconds]
<hyper_ch2> :)
<etu> oh yeah, it is. just checked.
<srhb> 18.03 as well.
<etu> But I haven't seen any complaining about it... now I'm confused instead.
<hyper_ch2> etu: you have v2.9 or v2.8?
<etu> GNU nano, version 2.9.3
asuryawanshi has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 240 seconds]
<hyper_ch2> hmmm
<hyper_ch2> you could change it back to const and re-try
asuryawanshi has joined #nixos
<hyper_ch2> you should get the error then
<etu> changed my .nanorc to be "set const" and it worked without any complaining
<hyper_ch2> you're doing it wrong
<hyper_ch2> :)
pkill9 has joined #nixos
<hyper_ch2> why use .nanorc when you can set /etc/nanoc in configuration.nix
pkill9_ has quit [Ping timeout: 256 seconds]
<etu> hyper_ch2: I use home-manager
<hyper_ch2> I've heard of that before :)
<etu> And before I used nix at all I used a solution using git and gnu stow to sync files around and to symlink things in the home directory :)
<hyper_ch2> btw, is home-manager your baby?
<etu> no?
<hyper_ch2> then it was someone else :)
<etu> rycee has the git-repo on github :)
<hyper_ch2> etu, rycee... sounds all the same :)
Maxdamantus has joined #nixos
periklis has quit [Ping timeout: 264 seconds]
<Myrl-saki> I'm pretty satisfied with my build system thus far.
<{^_^}> [nixpkgs] @7c6f434c pushed to master « graphviz_2_32: restore libgraph, the reason to keep this version »: https://git.io/vxkY4
nyberg has quit [Quit: WeeChat 2.0]
aarvar has left #nixos [#nixos]
<{^_^}> [nixpkgs] @7c6f434c pushed to release-18.03 « graphviz_2_32: restore libgraph, the reason to keep this version »: https://git.io/vxkYi
kosmikus_ has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
kosmikus has quit [Ping timeout: 268 seconds]
kosmikus_ is now known as kosmikus
<hyper_ch2> that looks... complicated
<{^_^}> [nixpkgs] @7c6f434c pushed to release-18.03 « Merge pull request #36871 from vbgl/clingo-fix-url »: https://git.io/vxkOl
kandinski has quit [Ping timeout: 248 seconds]
Ross has joined #nixos
sigmundv has joined #nixos
<srhb> Myrl-saki: I think that would clean up a bit if you passed overlays directly to nixpkgs instead of config/packageOverrides
mduggie has quit [Ping timeout: 256 seconds]
<Myrl-saki> srhb: Thanks, let me take a look at how to do that.
yorick has joined #nixos
<srhb> { pkgs ? import <nixpkgs> { overlays = [ (self: super: { foo = super.hello; }) ]; } }: pkgs.foo
<M-manveru> i finally started ricing thangs to rycee :)
__Sander__ has joined #nixos
<srhb> Myrl-saki: Nothing essentially different from what you're doing.
<Myrl-saki> srhb: Thanks. It should be an easy change. /me finger cross
<srhb> Then ./config.nix becomes just a list of those functions (or maybe just one)
<srhb> :)
bryanRobson has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
nallar is now known as Ross
<bryanRobson> anyone have any idea why nixos is waiting for a disk that does not exist in stage1? its causing like 30sec delay in my booting
mduggie has joined #nixos
<bryanRobson> I think it might be the usb disk that I installed with?
<Yaniel> because it's in your hardware.nix?
<bryanRobson> it's not
<Yaniel> the usb disk should be ignored from there automatically
<{^_^}> [nixpkgs] @Mic92 merged pull request #36974 → graalvm8: dontFixup = true → https://git.io/vxkTm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxk3N
<srhb> bryanRobson: What is the disk called?
<{^_^}> → 619af3dc by @volth: graalvm8: dontFixup = true
<{^_^}> → 7b0ae82c by @Mic92: Merge pull request #36974 from volth/patch-116
<bryanRobson> its just an uuid
<Yaniel> but something else that was conected when you installed maybe
<srhb> Meh
<clever> bryanRobson: is that uuid listed in /etc/fstab ?
<bryanRobson> you really are clever! yes it is, for some reason
<bryanRobson> strange
<bryanRobson> these should be added from hardware.nix right?
<clever> bryanRobson: what does fstab say about it? can you paste that line here
archaeron has joined #nixos
<bryanRobson> its saying its a swap, but the actual swap is listed under it
<bryanRobson> maybe I enabled a different swap during installation?
<srhb> Hmm, I don't know of any swap changes to the installer recently, there shouldn't be any by default.
<srhb> That would do it, yes.
<clever> bryanRobson: go into the hardware-configuration.nix and remove the extra swap and it should be good
<ottidmes> If I have a package that I always want to be build on a specific machine, how would I realize this in Nix 2.0? I thought about specifying the machine as a builder and using requiredSystemFeatures, but does this prevent the local machine from building it? Or might it still start building it itself?
<bryanRobson> thanks for the help!
<clever> ottidmes: i think requiredSystemFeatures is ignored when building locally
<{^_^}> [nixpkgs] @7c6f434c pushed to master « netsurfPackages.libcss: fix build by -Wno-error=implicit-fallthrough. »: https://git.io/vxkGf
reber has joined #nixos
<reber> hi all
<ottidmes> clever: I guessed as much, so it would potentially build it locally if there is not much to be build (i.e. it will not offload it to the builder it should)
<clever> ottidmes: ive also found nix to be rather eager to offload things to slaves, and it only builds locally if all the slaves are busy
<clever> ottidmes: though in your case, if the one slave you dedicated to the job happens to be busy with anything
<clever> ottidmes: why do you want to build it there?
<{^_^}> [nixpkgs] @7c6f434c pushed to release-18.03 « netsurfPackages.libcss: fix build by -Wno-error=implicit-fallthrough. »: https://git.io/vxkG8
<Taneb> I'm using nix with a makefile to build a C++ program. Is it possible it's removing debug flags?
<ottidmes> clever: I do not like the impact on my desktop of big builds, while I have a local server that can easily handle it
<clever> ottidmes: ah, if you set something like nix.maxJobs = 0; then it just never builds locally
bryanRobson has quit [Ping timeout: 260 seconds]
<ottidmes> clever: I guess I could just do that, too bad you cannot specify that you want to keep doing trivial builds (or whatever they are called, the configs and such)
<Taneb> Debug symbols/the -g flag, I mean
<clever> ottidmes: maxJobs = 1; may allow that, but yeah, its a bit of a pain
<ottidmes> But then again, they are trivial, so it is not as if it really matters
<{^_^}> [nixpkgs] @xeji opened pull request #36978 → [WIP] SELinux libs and tools: 2.4 -> 2.7 → https://git.io/vxkGg
<LnL> Taneb: hardeningDisable = [ "fortify" ];
<clever> ottidmes: ive found that the trivial ones are often slower with slaves
<clever> ottidmes: for example, the system-path derivation, is just scanning to see what files exist, and making a symlink tree, quick&easy
<clever> ottidmes: for a build slave to do that, you must copy over ALL systemPackages to the slave, 2-3gig of files
<ottidmes> clever: yikes!
<LnL> Taneb: otherwise it will use -O2
<clever> ottidmes: yep
<ottidmes> clever: I guess I will just try and use maxJobs = 1 with the builder, and hope that in practice is never builds locally, otherwise I will just have to prebuild it on the builder before starting the local build
vdemeester_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
<Taneb> LnL: thanks
orivej has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Li[m]> is there still a way to see nix's download progress?
kai_w has joined #nixos
vdemeester_ is now known as vde
vde is now known as vdemeester_
knupfer has quit [Ping timeout: 256 seconds]
swolffs has joined #nixos
the-kenny has quit [Quit: WeeChat 1.9.1]
simukis has joined #nixos
<layus> Li[m], The new nix interface makes it easier. Get a try at it https://nixos.org/nix/manual/#ssec-relnotes-2.0
<layus> s/easier/possible
mounty has quit [Ping timeout: 245 seconds]
<layus> Is there a way to get the closure of a derivation within nix, to mimic what nix-shell does ?
<clever> layus: what exactly are you trying to do?
ma27 has quit [Ping timeout: 246 seconds]
xcmw has joined #nixos
<layus> To make a nix-shell whose path is "cleaner"
<clever> layus: nix-shell --pure already does that
<layus> I want my path to look like "/somewhere/nix-shell-buildEnv/bin:/run/current-system/sw/bin:/home/layus/.nix-profile/bin"
Ross has quit [Ping timeout: 246 seconds]
<clever> layus: that will likely break the gcc include path for most things
asuryawanshi has quit [Ping timeout: 256 seconds]
Ross has joined #nixos
<layus> clever: Well, maybe indeed
goibhniu has quit [Ping timeout: 248 seconds]
xcmw has quit [Client Quit]
fendor has joined #nixos
the-kenny has joined #nixos
<clever> layus: the gcc search path works by having scripts in the stdenv iterate over everything in $buildInputs (a bash variable) and adding the include subdirs to the -I path via a gcc wrapper
fendor has quit [Remote host closed the connection]
<layus> Okay, as long as it does not use $PATH, I can still bundle it.
<layus> I mean that I could make my trick of bundling all the paths in $PATH and not break gcc
<layus> I tried `buildEnv { paths = myDerivation.buildInputs; }`
xcmw has joined #nixos
<Myrl-saki> Does mkDerivation do something that the $out/share disappears?
<layus> But buildInputs is not the build inputs closure, and misses all the implicit build inputs likes the one reffered to in strings and such
Ross has quit [Ping timeout: 246 seconds]
<Myrl-saki> Or maybe there's no $out/share from the very start?
<clever> Myrl-saki: it probably never existed to begin with
<layus> clever, It seems that accessing the real inputs closure is only available in cpp, and not exported to nix language. A pity
xcmw has quit [Client Quit]
<clever> layus: yeah
<clever> layus: recursive nix would allow that to work
<layus> clever, Not willing to got there ATM.
<Myrl-saki> clever: Yeah, that worked.
<Myrl-saki> My .cabal was wrong.
ixxie has joined #nixos
Ross has joined #nixos
MP2E has quit [Remote host closed the connection]
zzamboni has quit [Quit: Leaving.]
knupfer has joined #nixos
<Myrl-saki> clever: I made MySC to be a package-repo-thingy instead, and mysc-server depends on mysc-client(GHCJS version) and mysc-common.
<Myrl-saki> I'll have to apply srhb's suggestion on the overlay.
<clever> i also just now hard another idea, an optimization
<clever> in theory, you could make a the server accept those paths via cli args or env vars
<clever> and then make a 3rd derivation, that just generates a bash script to run it with the right args
<clever> so changes to the client dont needlessly recompile the server
<Myrl-saki> clever: I believe the old version is better if I want to do that? https://github.com/adrianparvino/mysc/blob/672c9eda1dcd71f8de538e8e03ed5e8b69d1fbe0/default.nix
<clever> yeah
<clever> but it doesnt have to copy the binary, just call it with the right params at runtime
<Myrl-saki> clever: That also means less reliance on Cabal's Paths.
Ross has quit [Ping timeout: 240 seconds]
<clever> you could also do both, have a boolean flag to switch between them
<Myrl-saki> clever: Actually, s/less/no/ and also allows it to be extensible.
<clever> so at dev time, it builds faster
<clever> but for release, it just bundles
rauno has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
archaeron has quit [Ping timeout: 264 seconds]
MercurialAlchemi has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed commit from @pbogdan to release-18.03 « pingus: fix build with gcc7 »: https://git.io/vxkWj
<Myrl-saki> clever: Well, this isn't really my sharpest moments right now.
dan_b has joined #nixos
<rawtaz> do you ever sleep, clever? :P
<clever> rawtaz: when you least expect it :P
<rawtaz> :D
<rawtaz> i like that!
<Myrl-saki> clever: How do I make the bash script? let foo = pkgs.writeFile; in pkgs.runCommand ... ''ln -s foo ${foo}''`
<{^_^}> [nixpkgs] @clearyf opened pull request #36979 → cdparanoia: Fix private keyword in header → https://git.io/vxklT
<clever> Myrl-saki: you could use just writeScriptBin and nothing else
<Myrl-saki> make that ln -s $out/foo
xcmw has joined #nixos
MercurialAlchemi has joined #nixos
<clever> Myrl-saki: this calls electron with the right paths for it to find things
<clever> in this case, just finding the path is a bit tricky
xcmw has quit [Client Quit]
swolffs has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
hakujin has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
<Myrl-saki> clever: How do I make a derivation with only writeScriptBin?
<clever> Myrl-saki: writeScriptBin is a derivation
hakujin has quit [Ping timeout: 245 seconds]
<Myrl-saki> clever: http://ix.io/WWJ
<Myrl-saki> clever: It says "expression does not evaluate to a derivation"
<clever> Myrl-saki: it needs a name for the script
<Myrl-saki> Ughh, right. Whoops.
<clever> writeScriptBin is a function that takes 2 arguments
<clever> so `writeScriptBin "foo"` is a function that takes 1 more
<clever> also, all it does, is write the string to $out/bin/<name>
<clever> so it wont do what your thinking
<clever> the script in that paste, looks better suited to runCommand "name" {} ''
orivej has joined #nixos
<Myrl-saki> clever: Yeah, I'll fix that soon.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> Expect something in.. mmm. 10 mins?
<clever> sure
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Myrl-saki> Need to add command line handling to my server.
<electrocat> someone know how to configure VAAPI hardware acceleration?
zzamboni has joined #nixos
newhoggy has joined #nixos
xcmw has joined #nixos
kolb has joined #nixos
chrios_ has joined #nixos
<kolb> So I am trying to install hydra, and it tries and fails to compile something along the way? https://gist.github.com/eugeneia/3ceed450b64249f87bc4fc62bdbba6a5
orivej has quit [Ping timeout: 256 seconds]
<clever> kolb: a: hydra wont really work when installed with nix-env enless you want to do a lot of configuring by hand, b: the build was recently broken on nixos-unstable, you may need to update your channel
Ross has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #36980 → flashplayer: 28.0.0.161 -> 29.0.0.113 → https://git.io/vxk4p
zzamboni has quit [Quit: Leaving.]
<kolb> clever: hmm I see
spear2 has quit [Remote host closed the connection]
<kolb> can you suggest any cheap VPS I can run semi-conveniently run NixOS on?
<clever> ive not really been using any cheap ones, i either go AWS, OVH, or just throw another desktop into the storage room
<manveru> kolb: hetzner is usually good
* etu has two DO vpses running nixos, both converted from ubuntu with nixos-infect. Probably not the cheapest ones.
zzamboni has joined #nixos
<tilpner> kolb - Vultr and Hetzner are good options
<tilpner> (Both have NixOS ISOs, or let you upload them)
<manveru> i think hetzner has servers from about 2.5EUR and you can use nixops to deploy them
<tilpner> manveru - Have you actually done that? Last I checked it wasn't possible
<manveru> sure have
<manveru> i haven't tried their new cloud thingy yet, but the old VPS work fine
<tilpner> Ah, that's what I meant. You couldn't use nixops with the cloud offering a while ago
<{^_^}> [nixpkgs] @globin closed pull request #36910 → nodejs: add headers output → https://git.io/vxUig
<elvishjerricco> I just use AWS. Fairly cheap, super easy, very well supported
<manveru> yeah... AWS isn't cheap to me :)
pkill9_ has joined #nixos
warbo has joined #nixos
pkill9 has quit [Ping timeout: 268 seconds]
<tilpner> Especially if you add egress to your budget
<elvishjerricco> Granted I don't do anything crazy in the cloud. So i spend like $0.50 a month for my personal stuff
pkill9_ has quit [Client Quit]
<warbo> hello, is there a simple way to build an R package from a tarball (the "exact" package from cran)?
reinhardt has joined #nixos
pkill9_ has joined #nixos
<warbo> those in nixpkgs seem to all be autogenerated
kolb has left #nixos [#nixos]
lord| has quit [Quit: WeeChat 2.0.1]
<warbo> ah, pkgs/development/r-modules/generic-builder.nix might be what I'm after...
fendor has joined #nixos
<Myrl-saki> clever: Thanks, I have something that you might like. :3
Neo-- has joined #nixos
darlan has joined #nixos
enick_346 has joined #nixos
darlan has quit [Client Quit]
pie__ has quit [Ping timeout: 246 seconds]
<Myrl-saki> clever: It's very simple and it works. :D
<clever> Myrl-saki: 404
<Myrl-saki> Oh whoops
<clever> Myrl-saki: only improvement i can say, is to add exec on line 11
<clever> without exec, the shell on line 10 hangs around waiting for the server to quit
<clever> which costs you a bit of ram and a pid
<Myrl-saki> Makes sense.
jtojnar has joined #nixos
<Myrl-saki> clever: I love it. I can even have the port as an argument.
<Myrl-saki> I'll have to apply srhb's suggestion now.
<clever> you could parse $* within that bash script, and accept flags to override the port
<clever> or you could just "$@" at the end of line 11, passing all flags to the server, and then allow the haskell to accept 2 -p's, so the later ones override
<Myrl-saki> True.
<Myrl-saki> Yeah, that's pretty clean. Let me try it out.
<warbo> d'oh! turns out that this package is already available as rPackages.Exact (with a capital "E")!
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 15 commits to release-18.03: https://git.io/vxkEZ
<{^_^}> → beccfcd7 by @dotlambda: pythonPackages.tunigo: move expression
<{^_^}> → 11d8ea3f by @dotlambda: pythonPackages.tunigo: fix tests
<{^_^}> → fed17ce2 by @dotlambda: pythonPackages.virtual-display: move expression
<{^_^}> [nixpkgs] @7c6f434c merged pull request #36980 → flashplayer: 28.0.0.161 -> 29.0.0.113 → https://git.io/vxk4p
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxkEc
<{^_^}> → 864f4ceb by @taku0: flashplayer: 28.0.0.161 -> 29.0.0.113
<{^_^}> → fabbf35d by @7c6f434c: Merge pull request #36980 from taku0/flashplayer-29.0.0.113
<Myrl-saki> clever: I'll have to check the optparse-applicative documentation.
<Myrl-saki> clever: But it's clean otherwise.
wrl has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-3.28: https://git.io/vxkEy
<{^_^}> → e10245e6 by @jtojnar: gnome3.libhttpseverywhere: fix build
<{^_^}> → ca3b62cb by @hedning: wayland-protocols: 1.11 -> 1.13
<{^_^}> → 35b67d8a by @jtojnar: valadoc: fix build
maximiliantagher has joined #nixos
<tokudan[m]> could someone look at the firefox-bin PRs #36921 - #36923 and merge them? firefox shows warnings that it cannot download updates
xcmw has quit [Ping timeout: 248 seconds]
Ross has quit [Ping timeout: 260 seconds]
swolffs has joined #nixos
archaeron has joined #nixos
Synthetica has joined #nixos
<archaeron> hi, does anyone have any experience with ruby and nix? I'm trying to get jekyll working following this guide: https://thisissavo.github.io/programming/2017/01/31/jekyll-setup-in-nixos.html
abathur has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Ping timeout: 260 seconds]
<archaeron> but bundix is not setting up the path quite right it seems.
alex`` has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « atk: try to fix darwin »: https://git.io/vxkuX
<tobiasBora> disasm: In my computer, unshare is not permitted
srhb has quit [Quit: Quit]
srhb has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.vala: fix darwin build »: https://git.io/vxkz9
ixxie has joined #nixos
asuryawanshi has joined #nixos
tobiasBora has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
Rusty1_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.gnome-characters: fix build »: https://git.io/vxkgu
tobiasBora has joined #nixos
newhoggy has quit [Remote host closed the connection]
szicari has joined #nixos
newhoggy has joined #nixos
jun1 has quit [Quit: WeeChat 1.6]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
srhb has quit [Quit: Quit]
newhoggy has quit [Ping timeout: 268 seconds]
swolffs has left #nixos [#nixos]
thefloweringash has quit [Read error: Connection reset by peer]
<tobiasBora> No one knows how to compile nix without an already working nix install?
<tobiasBora> (from git)
<tobiasBora> The "make" command fails on the manual build...
<srid> Anyone here uses autorandr and have configured to use it whenever plugging/unplugging the monitor?
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « fixup! gnome3.libhttpseverywhere: fix build »: https://git.io/vxk25
<fearlessKim[m]> in this soft I am packaging, I get the two consecutive simple tests here failing https://github.com/pazz/alot/blob/master/tests/helper_test.py#L442 . any idea ?
<gchristensen> yeah, srid
<srid> gchristensen: would love to look at your nix config :)
<gchristensen> one sec
<tobiasBora> espacially I don't understand the "You also need the DocBook XSL stylesheets and optionally the DocBook 5.0 RELAX NG schemas."
<srid> i'm tired of forgetting to change mode before unplugging my laptop and then being welcome by black screen
<ottidmes> srid: I just always use a keyboard shortcut to refresh my screen setup
<clever> srid: i use xfce and it just auto-detects that without any fuss
<srid> i would like to automate this, really
* srid uses xmonad
<srid> so everything is done by hand :P
<clever> srid: but you could add code to the xmonad config file to manage this!
<srid> once i rebound my xmonad quit keybinding to something else. then i realized i had no way to quit xmonad. ended up killing lightdm in order to exit x session
<Synthetica> srid: I run the xfce settings daemon under i3, works as a charm
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
srhb has joined #nixos
<srid> clever: oh? can I hook into monitor plug (unplug) event in xmonad config?
<srid> I'm familiar with haskell, and here's my xmonad config: https://github.com/srid/mynixos/blob/master/xmonad/.xmonad/xmonad.hs
<fearlessKim[m]> is there a way to get nix-shell works as a sandbox ? I don't have the same failures (most things work in the nix-shell while they fail on nix build ) so it's harder to debug the build
<clever> srid: its haskell, so i would expect you to be able to ffi into pretty much anything, and then hook the right events
<srid> in nix how would you add a haskell package dependency to xmonad?
knupfer has joined #nixos
<srid> ah yes forgot
warbo` has joined #nixos
<gchristensen> ssh: Could not resolve hostname github.com: Device or resource busy
<gchristensen> lol ...
fendor has quit [Ping timeout: 246 seconds]
<clever> srid: you may also want to look into the xmonad source and figure out what library it uses to hook into X to begin with, so you can stay compatible with that
warbo has quit [Ping timeout: 264 seconds]
freeman42x]NixOS has joined #nixos
<srid> this may be relevant: "handleEventHook: this hook is called on all events handled by xmonad, thus it is extremely powerful. See Graphics.X11.Xlib.Extras and xmonad source and development documentation for more details." https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Doc-Extending.html#g:4
<gchristensen> srid: all the generated-configs were made by arandr
<ottidmes> Synthetica: Do you need to do anything special to make that work? I am already using a big portion of xfce applications. I assume I have to add pkgs.xfce.xfce4settings? And then just start whatever executable is associated with that at boot or something?
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.gnome-system-monitor: fix build »: https://git.io/vxkVE
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c665fcca9e7 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<Synthetica> ottidmes: In `services.xserver`: https://pastebin.com/tXAxrBzt
<clever> srid: ah, sounds like its at least using the same module i linked
asuryawanshi has quit [Ping timeout: 256 seconds]
<clever> srid: so you could trivially add an xmonad binding that activates hard-coded xrandr profiles
<clever> and depending on the api, auto-detect&switch
pie_ has joined #nixos
Ross has joined #nixos
<Synthetica> ottidmes: And then in my i3conf: `exec --no-startup-id xfsettingsd &`
<srid> gchristensen: ah, you are patching autorandr
<gchristensen> yeah ... should probably upstream that ...
<Synthetica> But that's prolly different for xmonad
<srid> gchristensen: does it auto switch mode based on monitor connect/disconnect event?
<gchristensen> srid: it does
<srid> gchristensen: would love to see it as a 1 or 2 line nix config (`xserver.autorandr.switch = true`) :-)
<gchristensen> me too
<clever> also, auto-config doesnt work so well on my desktop, my monitors are laid out in the 1,3,2 order
<gchristensen> maybe you'd like to upstream that patch? :)
<ottidmes> Synthetica: Ah thanks, I checked the source of xfce nix desktop environment and I have already what I needed except that one package, the rest I do not want (I have a hybrid desktop, a bit from everything), but I guess adding pkgs.xfce.xfce4settings and running xfsettingsd will do, thanks!
gammarray has joined #nixos
tilpner_ has joined #nixos
<gammarray> i'm not sure what caused it, but after a recent nixos-rebuild i'm experiencing page crashes in chromium anytime i copy text. i've disabled extensions and the issue persists. anyone got a clue?
civodul has quit [Ping timeout: 246 seconds]
civodul has joined #nixos
tilpner has quit [Ping timeout: 248 seconds]
tilpner_ is now known as tilpner
trevorcook has joined #nixos
<manveru> Archaeron: yo
asuryawanshi has joined #nixos
<manveru> seems a bit odd
asuryawanshi has quit [Remote host closed the connection]
<gammarray> ya i also tried uninstalling and reinstalling.
asuryawanshi has joined #nixos
warbo` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<gammarray> i'd been testing on the unstable channel, then switched back to stable to reinstall. still not fixed. :/
<disasm> gammarray: did you try removing the profile and recreating?
<rawtaz> hm, videos not playing in Falkon, could that be due to missing ffmpeg or similar in the system?
<gammarray> is that something i can do for just chromium or would that remove all my other customizations?
<Synthetica> ottidmes: Did that work?
<etu> gammarray: Should be a directory in ~/.config named chromium that contains the chromium profile
<gammarray> etu: ah, thx. will try that
<Synthetica> I might also switch to that
<trevorcook> Hi all, I'm running into a problem using copy-closure, to a linux system. nix-store is not found; the nix path environments are not set. I tried copying the "source .../nix.sh" statement found in ~/.profile to ~/.bashrc, /etc/bash.bashrc and probably a few others, but nothing works. Any suggestions?
<gammarray> etu: just tried that. didn't help.
<clever> trevorcook: add an echo to ~/.bashrc, then try `ssh user@host nix-store --version` and see if it both prints that echo, and finds nix
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-3.28: https://git.io/vxkrF
<{^_^}> → 240eb10f by @jtojnar: gnome3.gnome-system-monitor: fix build
<{^_^}> → 2e9631e1 by @jtojnar: enchant2: init at 2.2.3
<gammarray> looks like i'm running Chromium 65.0.3325.146 (Developer Build)
<{^_^}> → 48f2a024 by @jtojnar: gnome3.gspell: fix build
<manveru> Archaeron: to get the Gemfile.lock and gemset.nix, remove `env env.wrappedRuby` from the buildInputs, run `bundix -l`, and then add them again. that should work, just make sure you do everything in that nix-shell
<elvishjerricco> Does nixos-rebuild update the kernel in place or warn you that kernel upgrades need a reboot?
<bgamari-> Is there any way to get nix-shell to not override your shell configuration?
<gchristensen> neither elvishjerricco
<gchristensen> elvishjerricco: one or both of those would be very nice
<bgamari-> I find I use it quite a bit, but it annoyingly removes all of the shell customization that makes it feel like home
<elvishjerricco> gchristensen: hm. A warning would probably be a good idea...
<elvishjerricco> bgamari-: The new `nix run` keeps your shell configuration but doesn't do the same thing as nix-shell
<manveru> bgamari-: direnv
knupfer has quit [Ping timeout: 260 seconds]
rardiol1 has joined #nixos
<manveru> bgamari-: install direnv, then use `direnv edit .` in the directory with your shell.nix, then write `use nix` in it, save, and you should be done
<srid> clever: xmonad doesn't receive any x11 event for monitor plug/unplug
<gchristensen> elvishjerricco: agreed
gammarray has quit [Quit: Leaving]
<clever> srid: it may need to ask xorg to send them first via some api
<Ke> xmonad is a lib for writing window managers, you can make it watch whateevr you want
<trevorcook> clever: added the echo to .bashrc. no echo on ssh, nix-store: command not found. I take it that this is the usual method to get it to work? I might have to check in with my sysadmin to see if he's doing anything
<clever> trevorcook: try again with .profile
<Ke> or more precisely, you can make your own wm watch whatever you want
<Ke> I was actually also interested in solution to make xmonad do stuff on monitor plug, but haven't bothered yet to figure out, how that works
<clever> srid: does 'xev' show anything when you plug in a monitor?
<archaeron> manveru: thank you, -I'll try that! :)
erasmas has joined #nixos
alex`` has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
oahong has quit [Remote host closed the connection]
* srid wonders where the `nextEvent` comes from. https://github.com/xmonad/xmonad/blob/master/src/XMonad/Main.hs#L259
oahong has joined #nixos
<tokudan[m]> could someone look at the firefox-bin PRs #36921 #36922 and #36923 and merge them? firefox shows warnings that it cannot download updates, these PRs fix that.
vidbina has quit [Ping timeout: 256 seconds]
<clever> srid: i see data's in here that have similar names
<{^_^}> [nixpkgs] @vcunat pushed to master « 18.09: let's call it "Jackrabbit" »: https://git.io/vxk6v
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.28: https://git.io/vxk6k
<{^_^}> → 90b61e49 by @jtojnar: gnome-themes-extra: rename from gnome-themes-standard
<{^_^}> → f210005a by @jtojnar: gnome-themes-extra: 3.27.90 → 3.27.92
gammarray has joined #nixos
<clever> srid: one issue ive had with hackage, back-references, what functions accept or provide a XRROutputInfo
<clever> srid: lol, the entire graphics ffi, is on the xmonad project
<palo> dywedir[m]: You maintain the ion-shell package. I was wondering, the string functions which are documented https://doc.redox-os.org/ion-manual/ch05-05-method.html#len do not exist. `nix-shell -p ion --run ion` shows it.
<srid> clever: I think I probably should instead write a simple haskell daemon that listens for events and invokes autorandr, instead of baking it into xmonad.
<clever> srid: and it does support this event, so you just have to convince xorg to send it
<bgamari-> elvishjerricco, yes, so I've noticed
fendor has quit [Remote host closed the connection]
<bgamari-> manveru, hmm, interesting
<clever> srid: ive been pretty weird with xmonad, i come up with fun and whacky ideas on how it can do abnormal things
<gammarray> tested chromium in xterm/i3 instead of plasma. still unable to copy text. the crash causes this error: validation failed for clipboardhost requestvalidator [validation_error_unexpected_null_pointer (null field 3)]
<clever> srid: yet ive never once ran xmonad, nor any tiling window manager more complex then ratpoison
alexteves has joined #nixos
alex`` has joined #nixos
<srid> clever: searching for github i found this https://github.com/digar4o/DesktopFiles/blob/master/lib/Monitor.hs
<srid> gotta try it tonight
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « fixup! gnome3.gspell: fix build »: https://git.io/vxk61
krey has joined #nixos
<trevorcook> clever: moved .bashrc echo to top of file... now shows. Noticed a case statement for "return if interactive". included the source command. Working, thanks!
<clever> trevorcook: nice
<clever> trevorcook: anoyingly, ive discovered that a mac will never source a file from $HOME when on non-interactive shells
<clever> trevorcook: or rather, from /etc, i mean
<clever> so every single user must have a .bashrc, and there is no way to configure it globally
ixxie has joined #nixos
<elvishjerricco> clever: That's insanely annoying...
<{^_^}> [nixpkgs] @limeytexan opened pull request #36983 → perlPackages.Config-IniFiles: init at 2.94 → https://git.io/vxkii
<tobiasBora> Everyone can confirm that there is no link to the latest tar version right?
ashgillman has quit [Ping timeout: 256 seconds]
<trevorcook> can I copy a closure of my build result, or does it have to be installed?
<electrocat> is it safe to use nix 2.0 while the system uses an older version?
<clever> elvishjerricco: but its only really an issue for non-interactive shells
<clever> elvishjerricco: interactive ones still source a thing in /etc, so they work fine
<avn> Folks, does anyone experienced problems with webrtc in recent builds of mozilla/chromium?
<elvishjerricco> clever: Unfortunately, non-interactive shells are somewhat important :P
<clever> electrocat: a few things may not work when using nix2 without root and nix 1.11 as the daemon, but nothing that major
<tobiasBora> And by the way, if I compile nix, will nix be updated wen a more recent version will be available on the channel ?
oahong has quit [Quit: 暂离]
<clever> elvishjerricco: also, you may want to clean the echo's up, they can break things like scp
<elvishjerricco> trevorcook: What are you trying to achieve? Copying a closure just puts it in the file system. If you want its commands available on the path you'll need to install it somehow
<electrocat> clever: ok tnx
maximiliantagher has joined #nixos
ixxie has quit [Ping timeout: 264 seconds]
ixxie has joined #nixos
oahong has joined #nixos
<CrazedProgrammer> is there a way i can add the lz4 package to the PATH when compiling the kernel without modifying something in the nixpkgs tree? i want to compress the kernel image with lz4 but after a long process of compiling the kernel it fails because the program `lz4c` is not found. i tried adding pkgs.lz4 to nativeBuildPackages in the override but it did not
<CrazedProgrammer> work, same error: https://i.crzd.me/Mb7DjQeZ.png
<trevorcook> elvishjerricco: ultimately: run a server which I'm developing locally on a server in my lab. proximally: getting my first copy-closure to go. Following or conversation from #reflex-frp, trying 'copy-closure --include-outputs user@host result'
<trevorcook> current error: 'path ‘.bashrc’ is not in the Nix store at ..'
<clever> CrazedProgrammer: can you gist your current override?
<roconnor> what's the new nix command to replace pp-aterm?
<elvishjerricco> trevorcook: Ah. Yea so once you copy it over you can `nix-env -i /nix/store/path`
gammarray has quit [Quit: Leaving]
<srhb> CrazedProgrammer: Where'd you get nativeBuildPackages from?
<trevorcook> elvishjerricco: that will be my next step, any idea what the copy-closure error i posted above means?
<elvishjerricco> trevorcook: Wait that error happened during nix-copy-closure?
Mateon3 has joined #nixos
<trevorcook> elvishjerricco: yes
<elvishjerricco> whoa. Never seen that. Not sure what it means
<clever> trevorcook: can you gist the exact command you ran and its output?
<srhb> roconnor: show-derivation I think
<CrazedProgrammer> shrb: it was just a guess, overrideAttrs didn't work.
<CrazedProgrammer> clever: https://i.crzd.me/paste/rzMuscj3.nix
blankhart has joined #nixos
<srhb> CrazedProgrammer: Ah, right. Was surprised since I've never heard of it.
<CrazedProgrammer> clever: kernel_gcc_patch is not used atm, you can ignore it
<roconnor> srhb: ty!
<srhb> roconnor: Welcome.
Mateon3 is now known as Mateon2
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon2 is now known as Mateon1
<clever> CrazedProgrammer: try wrapping the entire .override{} with () and then do .overrideAttrs (drv: { buildInputs = drv.buildInputs ++ [ lz4 ]; })
blankhart has quit [Read error: Connection reset by peer]
<clever> CrazedProgrammer: .override can only change the args on the 1st line of a package, and cant modify things like buildInputs
blankhart has joined #nixos
thefloweringash has joined #nixos
humanoyd has quit [Quit: WeeChat 2.0.1]
<CrazedProgrammer> clever: thanks! tried it, seems to disable the default config: https://i.crzd.me/paste/ZlRAGCuL.nix https://i.crzd.me/9fB8BDrr.png
<{^_^}> [nixpkgs] @jtojnar pushed 52 commits to gnome-3.28: https://git.io/vxk1T
<{^_^}> → be30c654 by @jtojnar: meson: fix rpath fixup
<{^_^}> → ff3dea29 by @jtojnar: deja-dup: remove unneeded rpath fixup
<{^_^}> → 73a8b24c by @jtojnar: epiphany: remove unneeded rpath fixup
<CrazedProgrammer> clever: i'll try copying all the options from https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/common-config.nix
<clever> that shouldnt be needed
<clever> its not clear if .override is acting on lines 1-6 or 18-40
<clever> possibly neither, extraConf isnt valid here
<clever> trevorcook: try --to tcook@host
<srhb> It's the one in generic.nix
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « fixup! atk: port to meson »: https://git.io/vxk1i
<clever> srhb: yep
<trevorcook> clever: same result
<clever> trevorcook: what about `ssh tcook@host nix-store --version`
<clever> in lib.extendDerivation true passthru kernel
<clever> srhb: this may be why overrides break
<trevorcook> clever: I had kept in the echo statement, which echoed ".bashrc", now working
fendor has joined #nixos
<srhb> clever: Oh, I wasn't aware that they broke.
<CrazedProgrammer> clever: i think the override extraOptions goes here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/generic.nix#L16
<clever> CrazedProgrammer: yep
reinzelmann has quit [Quit: Leaving]
<trevorcook> clever: perl must have sourced my .bashrc, and that echo must have been appended to the set of paths
<clever> CrazedProgrammer: but i dont see a clear way to add lz4, and the config vanishes when you .overrideDerivation
<clever> trevorcook: i think when it ssh'd into the remote machine, it ran bash to execute nix-store --serve
<johnhamelink[m]> Hey folks! I'm having an issue with zsh which I'm trying to figure out: `programs.zsh.interactiveShellInit` is perfect - if I run its contents manually in a terminal I get ZSH setup just as I want it to, but for some reason when I open a new terminal the contents of `programs.zsh.interactiveShellInit` doesn't seem to be ran?
<clever> trevorcook: and then bash sourced .bashrc, and printed out text, which confused the nix protocol
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxkDY
<{^_^}> → 591fd5ee by @xeji: libsemanage: fix build w/gcc7
<{^_^}> → 527ff9c5 by @vcunat: Merge #36936: libsemanage: fixup build with gcc7
<johnhamelink[m]> (in other words, I just get a stock ZSH config)
<clever> CrazedProgrammer: sometimes, its just simpler to fork nixpkgs and insert lz4 at the right spot
chessai has joined #nixos
grulli has left #nixos [#nixos]
<trevorcook> Thanks clever
<srhb> Wait, how did you conclude that the config gets nuked?
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #36936: libsemanage: fixup build with gcc7 »: https://git.io/vxkDn
<srhb> It seems to work for me.
<clever> srhb: 2018-03-14 11:38:42 < CrazedProgrammer> clever: thanks! tried it, seems to disable the default config: https://i.crzd.me/paste/ZlRAGCuL.nix https://i.crzd.me/9fB8BDrr.png
alex`` has quit [Ping timeout: 264 seconds]
<srhb> Oh, I missed that
<srhb> Thanks
<clever> and thats a nix level assertion!
<clever> or rather, nixos i think
<CrazedProgrammer> clever: yeah, I just wanted to refrain from that because using my own nixpkgs doesn't seem very streamlined with the rest of my system. if i can't figure out how to add the config back i'll fork nixpkgs :)
<clever> CrazedProgrammer: ahh, i think the passthru and .features are being lost
<clever> CrazedProgrammer: so the kernel does have those flags, but nixos cant auto-detect them
<clever> so nixos thinks the kernel isnt capable of running nixos
<CrazedProgrammer> ahh
<clever> CrazedProgrammer: try .overrideDerivation instead of .overrideAttrs
<clever> and you may need to switch buildInputs to nativeBuildInputs
<{^_^}> [nixpkgs] @jtojnar pushed 12 commits to gnome-3.28: https://git.io/vxkD5
<{^_^}> → 90d0974c by @jtojnar: atk: port to meson
<{^_^}> → 2ab32224 by @jtojnar: gnome3: switch to Vala 0.40
<{^_^}> → bb1961a1 by @jtojnar: gnome3.mutter: fix build
<{^_^}> [nixpkgs] @vcunat merged pull request #36936 → libsemanage: fix build w/gcc7 → https://git.io/vxT8M
<CrazedProgrammer> clever: thanks! i'll try that when i get home and i'll report if it worked :)
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxkDb
<{^_^}> → 883b26b9 by @vcunat: Merge #36788: nextcloud-client: restrict to linux
<{^_^}> → b619881a by @badi: nextcloud-client: restrict platform to linux
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #36788: nextcloud-client: restrict to linux »: https://git.io/vxkyY
<tokudan[m]> could someone look at the firefox-bin PRs #36921 #36922 and #36923 and merge them? firefox shows warnings that it cannot download updates, these PRs fix that.
<{^_^}> [nixpkgs] @vcunat merged pull request #36788 → nextcloud-client: restrict platform to linux → https://git.io/vxeJW
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #36985 → treewide: get rid of platforms.allBut → https://git.io/vxkyi
zzamboni has quit [Quit: Leaving.]
alex`` has joined #nixos
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.28: https://git.io/vxk9t
<{^_^}> → 316eef24 by @jtojnar: gnome3.libgnome-games-support: fix darwin build
<{^_^}> → f1da9524 by @jtojnar: gnome3.libgnome-games-support: rename from gnome3.libgames-support
<{^_^}> [nixpkgs] @ryantm opened pull request #36986 → fricas: 1.3.2 -> 1.3.3 → https://git.io/vxk9r
<tobiasBora> Hello,
<tobiasBora> I'd like to build a general tool that basically bootstraps nix on any architecture when the user is non root
<tobiasBora> I just suppose that I have an alpine (or any distribution actually) that exists for this arch and that I can unpack into a classic tree
<clever> trevorcook: https://nixos.org/nix/install already does that on darwin and x86-linux
<clever> tobiasBora: adding arm-linux isnt that much more complex
<tobiasBora> clever: it does not work because it needs access to /nix that you don't have when you're a non root user
<clever> tobiasBora: ah right, thats where the nix-installer.nix i recently wrote comes in
ryanartecona has joined #nixos
<tobiasBora> Then, what I try to do it to chroot (in fact proot) into the alpine linux, install all the deps, compile nix with a custom /nix folder, and then copy back the files on the host system
<clever> tobiasBora: this generates an arx bundle using mount namespaces, that will install nix to ~/nix-install/nix/store/
<clever> and includes a script to enter the namespace
<tobiasBora> clever: I would like to avoid mount namespaces, because debian does not enable it by default
<tobiasBora> but this script may be useful for me later on, I keep it somewhere
<clever> tobiasBora: ah, then youll probably want to read my expression as an example, of how to make a similar thing with proot
ThatDocsLady has quit [Ping timeout: 246 seconds]
raynold has quit [Quit: Connection closed for inactivity]
<tobiasBora> clever: I guess yes. So here I'm not sure to understand how you would set it up on a fresh system
MercurialAlchemi has quit [Ping timeout: 264 seconds]
<tobiasBora> clever: to run this system, you would first need to have nix installed no?
<clever> tobiasBora: nix can be used to generate a tarball, which you would then just unpack to a given path
<clever> so you pass around the tarball that nix generated
<tobiasBora> clever: so you start from your own computer, generate this tarball, and copy it on the host?
<clever> yeah
<tobiasBora> cleaver: cleaver
alexteves_ has joined #nixos
<clever> tobiasBora: arx may also be of interest to you
<tobiasBora> I don't know that, what is it?
<clever> tobiasBora: this uses arx to package up ${archive} and it will run ${startup} after unpacking it
<clever> the end result is a "bash" script (with a tar appended to it), that will unpack itself to a tmpdir, and run the command hard-coded into it
hakujin has joined #nixos
<clever> nix-bundle uses it to run a staticly linked namespace helper against the nix/store in a tar
<clever> but you can just skip the namespace, and run a bash script and proot instead
knupfer has joined #nixos
<clever> or have it copy things to ~/nix/store/ so the store actually persists
<tobiasBora> clever: does this happened only during install, or at each single step ?
<clever> the arx file it generates is basically a self-extracting tar file
alexteves has quit [Ping timeout: 248 seconds]
<clever> so it unpacks to a tmpdir every time you run it
<clever> in the nix-installer.nix i linked above, i only use arx for the "installer", and it copies the full store into ~/nix-install/nix/store/
<tobiasBora> ok. So proot is used only during install
<tobiasBora> it's really interesting...
thefloweringash has quit [Quit: WeeChat 1.9.1]
<clever> you would also need proot after the install, like i still need the namespace utils
<clever> but the installer would generate a bash script, that runs proof/namespaceutil against the fake root dir in $HOME
<tobiasBora> Do you have a full how-to to run this? With all comands run on the initial computer, and all commands run on the host ?
<clever> and the user runs that to enter the root
<tobiasBora> clever: grr, my goal is to avoid proot for efficiency reasons
<tobiasBora> and that's why basically I try to recompile a new nix
<clever> the problem there, is that the compile only works in /home/clever/nix
<clever> and it wont work in /home/tobias/nix
<clever> so every user has to have their own custom build
<tobiasBora> yes sure
<clever> proot or namespaces get around that issue
<clever> also, https://nixos.org/nix/install doesnt really need root, if the admin simply does `mkdir /nix && chown tobias /nix`, you can install with zero sudo access
<tobiasBora> that's why for now I proot into alpine, to create for each new user a new build, and try to install it back on the host
<srhb> I'm wondering if a slightly nicer (though still annoying) solution to the nixos kernel feature check above would be to let pkg = super.linux_whatever; in pkg.overrideAttrs (oa: { passhtru = pkg.passthru; ... })
<tobiasBora> so ultimately I would like a script that first: 1) tries to use namespace 2) if not available, compiles a new nix version (on alpine for example), install it on the host, and in parallel provide a proot instance for people that would like to have a quick install of a tool
<clever> tobiasBora: and for the paranoid admins, you could maybe use https://directory.fsf.org/wiki/Pam_chroot
<srhb> It's a bit weird to rely on passthru at build time.
<srhb> Or well, in the NixOS build rather.
<clever> so: i think overrideAttrs shouldnt break passthru
<tobiasBora> clever: and yes, I know about the fact that just one folder needs to be created... But I don't want to realy on any sys admin... and I like this kind of challenge
<srhb> CrazedProgrammer: ^
<srhb> At least that way you get to avoid overrideDerivation, but meh.
<clever> srhb: i have no idea who so is, but my tab-completion likes him, lol
<srhb> clever: Agreed...
<srhb> hehe :-) I thought it was just a "So, blah ..."
<tobiasBora> clever: but for now the problem is that when I compile nix into alpine, the nix-env interpreter is the alpine interpreter (different from my debian interpreter), so I can't bootstrap it. Do you know how I could make it use another interpreter in the nix store ?
<clever> tobiasBora: nix.override { storeDir = "/home/clever/nix/store"; stateDir = "/home/clever/nix/var"; confDir = "/home/clever/etc"; }
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages: default to 4.05 »: https://git.io/vxkdn
<{^_^}> [nixpkgs] @vbgl merged pull request #36641 → ocamlPackages: default to 4.05 → https://git.io/vAp08
<clever> tobiasBora: that will generate a nix that expects the store to be at that path
<clever> tobiasBora: combine it with NIX_STORE=local?root=/home/clever/nix/store and you can build it in that path
<tobiasBora> clever: will it also change the /lib/ld-linux-x86-64.so.2 interpreter into /home/clever/nix/store/.../ld-linux... ?
<clever> tobiasBora: yep
maximiliantagher has quit [Remote host closed the connection]
<tobiasBora> clever: isn't it supposed to do the same thing as ./configure --disable-doc-gen LDFLAGS="-static" --enable-static --prefix="${PREFIX}" --with-store-dir="${NIX}/store" --localstatedir="${NIX}/var" ?
<manveru> any ideas why fetchGit is so insanely slow?
<clever> tobiasBora: the NIX_REMOTE part will put everything, including glibc, into that new path
jlle[m] has joined #nixos
<clever> manveru: git doesnt allow you to fetch a specific revision, so it has to fetch a specific branch, and then work its way backwards in history
<tobiasBora> clever: I don't see what you mean. Where do you see NIX_REMOTE?
<clever> tobiasBora: i mis-typed NIX_REMOTE as NIX_STORE
<clever> tobiasBora: and some of those args may need tweaking, i havent used them in a while
<manveru> clever: doesn't it just clone the repo?
<woffs> Hi. How to make PDFs in X11 open with mupdf-x11 instead of firefox?
<tobiasBora> clever: ok thanks... So this is an env variable? Should I define it before running the compilation ?
<clever> manveru: it has to clone the given ref (maybe the default one), then checkout the commit you want, and deal with all the history
<clever> [clever@system76:~]$ NIX_STORE=/home/clever/nix/store nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "/home/clever/nix/store"; stateDir = "/home/clever/nix/var"; confDir = "/home/clever/etc"; }'
<clever> tobiasBora: something like this i think
<clever> [clever@system76:~]$ NIX_REMOTE=local?root=/home/clever/nix/store nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "/home/clever/nix/store"; stateDir = "/home/clever/nix/var"; confDir = "/home/clever/etc"; }'
<clever> tobiasBora: or this, not sure yet
<clever> the NIX_REMOTE one still needs proot to function
<roconnor> do I set buildInputs to include libsodium or libsodium.dev ?
<clever> roconnor: libsodium, the stdenv handles the rest for you
<tobiasBora> clever: you mean at compile time?
<clever> tobiasBora: with NIX_REMOTE=local?root, it basicaly fakes a chroot, during the nix build, so the build expects that path to become / at runtime, requiring proot
hyper_ch2 has quit [Quit: Page closed]
<roconnor> clever: if I don't have a configure file do I have to set -I${libsodium.dev}/include by hand?
<clever> roconnor: no, the stdenv handles that
BenceF has joined #nixos
zzamboni has quit [Quit: Leaving.]
<roconnor> Hmm I have a build error ...: undefined reference to `randomebytes_buf` which is in include/sodium/randombytes.h
<tobiasBora> clever: hum wait I'm lost, the good one is NIX_STORE or NIX_REMOte?
alexteves_ has quit [Remote host closed the connection]
<clever> tobiasBora: not sure yet, still testing things
<BenceF> hi, I added a module to `boot.kernelModules' but I don't see it in lsmod and can't load it with modprobe. Am I missing a step?
<clever> roconnor: undefined reference is a link-time failure, you need to pass -lsodium to the linker
<roconnor> clever: oh crap you are right. TY!!
<johnhamelink[m]> Anyone able to help me with the zsh issue above? :)
blankhart has quit [Remote host closed the connection]
<tobiasBora> clever: ok thanks. So if I follow correctly *at compile time*, the NIX_REMOTE variable and the /nix folder should point to the same folder right ?
<clever> [clever@system76:~]$ NIX_LOG_DIR=/home/clever/nix/var/log/nix NIX_STORE=/home/clever/nix/store NIX_STATE_DIR=/home/clever/nix/var nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "/home/clever/nix/store"; stateDir = "/home/clever/nix/var"; confDir = "/home/clever/etc"; }'
<clever> tobiasBora: this version, will compile a glibc&nix, that expect the store to be at /home/clever/nix/store, so proot isnt required
<clever> error: opening file '/etc/nix/secret-key-file': Permission denied
jtojnar has quit [Read error: Connection reset by peer]
<clever> tobiasBora: and now my host nix.conf breaks it
<clever> [clever@system76:~]$ NIX_CONF_DIR=/home/clever/etc/nix NIX_LOG_DIR=/home/clever/nix/var/log/nix NIX_STORE=/home/clever/nix/store NIX_STATE_DIR=/home/clever/nix/var nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "/home/clever/nix/store"; stateDir = "/home/clever/nix/var"; confDir = "/home/clever/etc"; }'
<tobiasBora> clever: I'm so sorry
<clever> tobiasBora: this changes where nix searches for nix.conf
jtojnar has joined #nixos
<clever> building '/home/clever/nix/store/40brlg8zm8r6z5m3cnppaicrqwzhvs5f-binutils-2.28.1.tar.bz2.drv'...
<clever> tobiasBora: it is now building the world, at this new path
<tobiasBora> clever: you are amazing, I'm so exiting to test it
zzamboni has joined #nixos
<clever> tobiasBora: also, i think debian can be fixed with: sudo sysctl -w kernel.unprivileged_userns_clone=1
<tobiasBora> clever: I know, but I want to build a solution as general as possible, included sys admin that disabled unprivileged users
<clever> the only remaining issue with the above, which i might be able to solve
pkill9_ is now known as pkill9
<clever> is that you have to replicate the $HOME of the target
<clever> i think i have a fix for that too
<tobiasBora> clever: I just want to make sure you agree with the build receipe. 1) proot into alpine 2) download and compile git nix 3) fake the /home/clever (or whatever) on the alpine part 4) run your amazing command using the newly build nix 5) copy back the /home/clever folders on host 6) hope
<clever> i think i can do the entire thing with nix, on any machine with nix
alexteves has joined #nixos
<tobiasBora> clever: yes, but I need alpine to have nix right?
<clever> why?
<tobiasBora> clever: well on a fresh system, nix isn't installed
<clever> building '/home/tobias/nix/store/14dp8ydgcxzfsa3k2pihjsw9lr4sc6pf-bash-4.4.tar.gz.drv'...
<clever> i am now generating a store, for an example home, that doesnt exist
<clever> NIX_REMOTE=local?root=/home/clever/rootfs/ NIX_CONF_DIR=/home/$X/etc/nix NIX_LOG_DIR=/home/$X/nix/var/log/nix NIX_STORE=/home/$X/nix/store NIX_STATE_DIR=/home/$X/nix/var nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "/home/'$X'/nix/store"; stateDir = "/home/'$X'/nix/var"; confDir = "/home/'$X'/etc"; }'
<tobiasBora> great ! And where are these file put ?
zzamboni has quit [Remote host closed the connection]
<clever> it puts the final files in /home/clever/rootfs/home/$X/nix/store
<srhb> johnhamelink: How do you invoke zsh?
<clever> and it expects you to chroot into rootfs (or copy it over to /home/$X/nix/store)
<BenceF> to answer my own question: I need to add it to `boot.extraModulePackages' as well
BenceF has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<tobiasBora> clever: amazing...
<clever> tobiasBora: yeah, i didnt think these 2 modes could be mixed at first
<johnhamelink[m]> srhb: using `users.users.join.shell = pkgs.zsh;` 🙂
<johnhamelink[m]> * `users.users.john.shell`
maximiliantagher has joined #nixos
<johnhamelink[m]> srhb: here's the relevant .nix files: https://gist.github.com/johnhamelink/507d7b630699c790843ea5a50116aa46
<srhb> johnhamelink: Missing the init stuff on purpose?
<krey> I just did a nixos-rebuild switch and seem to have lost 10GB of disk space in the process
<krey> any leads on how to reclaim it?
<clever> krey: to start with, try just a normal `nix-collect-garbage` and see how much you regain
alexteves has quit [Remote host closed the connection]
<johnhamelink[m]> srhb: I don't think so :D What am I missing? :)
<{^_^}> [nixpkgs] @hschaeidt opened pull request #36988 → stabber: init at 2017-11-09 → https://git.io/vxkxW
<srhb> johnhamelink: I'm a bit puzzled. As far as I can see ohMyZsh doesn't even enable programs.zsh on its own, so I'm wondering where you saw the final zshrc file
<krey> clever: I just ran it with -d, about 1 GB freed
<clever> krey: with or without root?
<krey> clever: without
<srhb> johnhamelink: I mean I don't see programs.zsh.interactiveShellInit in your gists.
<clever> krey: -d with root will delete more
<johnhamelink[m]> srhb: I ran `nixos-option programs.zsh.interactiveShellInit` to see what the value was?
<krey> clever: ooh, didn't know there was a difference
<srhb> johnhamelink cat /etc/zshrc please
<johnhamelink[m]> srhb: I'll send you the output of that command :)
<johnhamelink[m]> srhb: sure
<srhb> The fact that it even exists has me puzzled. I wasn hoping it didn't, because then it was a simple matter of programs.zsh.enable = true; :P
blankhart has joined #nixos
<srhb> I was*
<johnhamelink[m]> srhb: `cat: /etc/zshrc: No such file or directory`
<srhb> Ah, good
<srhb> programs.zsh.enable = true; :)
<clever> krey: it wont help in your case, but i also prefer this variant: [root@amd-nixos:~]# nix-collect-garbage --max-freed 5g
thefloweringash has joined #nixos
<johnhamelink[m]> srhb: it works, but I have an error now! :)
<srhb> johnhamelink: Progress. :)
maximiliantagher has quit [Ping timeout: 246 seconds]
<johnhamelink[m]> srhb: `/nix/store/4b9n0q2mqs5w40i3sxlk4ipwfb9k3qza-set-environment:24: can't find terminal definition for xterm-termite`
<johnhamelink[m]> same error is also logged on line 63 of the same file
<johnhamelink[m]> I think this is an issue with my terminal (which is called termite)
<krey> clever: what does that option do? it's missing from the manpage
<srhb> Seems related...
Ross has quit [Quit: ZNC - http://znc.in]
<clever> krey: it stops garbage collection after it deletes 5gig of garbage
<johnhamelink[m]> srhb: for sure! I'll comb through that. Thanks for your help ⭐
<tobiasBora> clever: I tried you last command (for now on my main computer with nix installed), but I get an error: error: invalid setting for NIX_REMOTE, ‘local?root=/home/leo/rootfs/’
Sonarpulse has joined #nixos
<tobiasBora> (I replaced clever with leo in the command)
Ross has joined #nixos
<clever> tobiasBora: thats a nix 2.0 command
<tobiasBora> good point
<tobiasBora> clever: and if I want to run it on alpine (that has nix2), then I think that I wrongly configured the paths after the compilation because I get some errors like
<tobiasBora> error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<tobiasBora> do you know how I can set it up? I tried make install after make, but it does not exist...
chessai has quit [Ping timeout: 264 seconds]
digitus has joined #nixos
<clever> tobiasBora: you still need to setup NIX_PATH via nix-channel
<{^_^}> [nixpkgs] @matthewbauer opened pull request #36990 → pixman: fix on Darwin → https://git.io/vxkhF
<srhb> ralith: Do you still use termite?
Ross has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @dotlambda pushed 19 commits to release-18.03: https://git.io/vxkjI
<{^_^}> → a34123b7 by @dotlambda: pythonPackages.binaryornot: 0.4.0 -> 0.4.4
<{^_^}> → 362b9457 by @dotlambda: pythonPackages.bibtexparser: add propagatedBuildInputs
<{^_^}> → 480fb8c0 by @dotlambda: pythonPackages.bibtexparser: enable tests
<srhb> ralith: (And by extension, did you find a nice workaround for the terminfo/zsh thing)
<{^_^}> [nixpkgs] @dotlambda pushed to release-18.03 « pythonPackages.csvkit: fix build »: https://git.io/vxkjR
Ross has joined #nixos
<johnhamelink[m]> srhb & Ralith for reference, my default $TERM value is "xterm-termite", and it's not inside the terminfo dir: https://gist.github.com/johnhamelink/854cc19ac4cb8c9b443284bc654f8376
<johnhamelink[m]> I can make my terminal usable by adding `export TERM=xterm-256color` or any other $TERM which is in the terminfo directory
<johnhamelink[m]> (but if I do I still get those errors when the terminal opens)
<tobiasBora> clever: hum... I've no idea how to do that... for now I've just a bunch of exec files in /tmp/nix/src/nix-<name of exec>/<name of exec>. I tried to mimic my nix.sh profile by using export PATH=$NIX_LINK/bin:$NIX_LINK/sbin:$PATH, but it does not change anything
<clever> tobiasBora: download nixpkgs somehow (git clone, or nix-channel), and then point NIX_PATH at it
<srhb> johnhamelink: Oh, if it's not there at all.. Hmm.
<jtojnar> can I just sed binary files to replace /nix/store with /usr/store (for use within chroot)
<srhb> johnhamelink: How did you install it again?
<johnhamelink[m]> srhb: 2 secs I'll get you a definitive answer :)
<srhb> johnhamelink: If you're okay with a global install, it could be as simple as adding termite.terminfo to your systemPackages
<tobiasBora> clever: ok thank you, I'll try it
<srhb> johnhamelink: But honestly I'm a bit shaky on how the terminfo stuff works
<srhb> johnhamelink: (Actually, that will probably put you square in that issue linked previously, :|)
<srhb> Sorry, I don't know enough here.
<johnhamelink[m]> srhb: sorry I'm trying to figure out where zsh is coming from 😂
<coconnor> 34 pages of pull requests on github for nixpkgs project. Whew.
c00kiemon5ter has joined #nixos
<gchristensen> whew that is a lot
<coconnor> 2k+ issues. Aye. A lot on both counts.
<gchristensen> 844 ... we need to step up our game, we've only merged 1,330 in the last 30 days!
<gchristensen> (I say, kidding, extremely thrilled we've merged 1,330PRs in 30 days)
<coconnor> Good signal to noise on it all tho!
<coconnor> haha aye. that is excellent.
Ross has quit [Ping timeout: 246 seconds]
<johnhamelink[m]> hmm srhb , looks like I don't explicitly install it anywhere
<coconnor> lol. too bad github doesn't give badges on profiles for that stuff
<srhb> johnhamelink: termite? I'm guessing you nix-env'ed it then?
<{^_^}> [nixpkgs] @hschaeidt opened pull request #36992 → profanity: fix build on osx → https://git.io/vxIvn
<johnhamelink[m]> I just reference it in `programs.zsh` - I think that is triggering an instal
<johnhamelink[m]> *install
<srhb> johnhamelink: I mean termite, not zsh
<coconnor> I know grahm of borg automatically checks some aspects of pull requests. But is there any automation on merging pull requests in?
<gchristensen> coconnor: just got approval a couple days ago, for grahamcofborg to do such a thing!
<srhb> coconnor: That was just discussed on the mailing list the other day
* srhb is too slow
<johnhamelink[m]> srhb: sorry! termite is installed relative to `users.users.john`
<srhb> johnhamelink: OK, let me explain my thinking
<coconnor> XD sorry, still getting caught up. I've basically missed a few years of involvement
<gchristensen> it is okay!
<johnhamelink[m]> srhb: sure :)
<srhb> johnhamelink: In order for the terminfo (termite.terminfo pkg) to be available to the system, you'll need to add it to your systemPackages. That *should* propagate to /run/current-system/sw/share/terminfo -- I think! However, I'm unsure from that issue whether that'll actually be in TERMINFO_DIRS at the right time
<srhb> johnhamelink: But I think it's cheaper to just try it out rather than figure out the internals. :)
<coconnor> cool! I'll be curious what impact auto-merge will have.
<roconnor> I'm irritated that htop doesn't run properly in konsole.
krey has quit [Remote host closed the connection]
<gchristensen> coconnor: to be clear this is _unattended_ merge, not "auto-merge"
<srhb> Eh, one step at a time. :-)
<johnhamelink[m]> srhb: agreed! Let me give it a go and see what happens :D I should add `termite.terminfo` to my global packages as opposed to my user's packages, right?
<gchristensen> I don't plan to ever build something to merge a PR which hasn't been looked at
raynold has joined #nixos
<srhb> johnhamelink: Yes. Though honestly I'm pretty sure installing it in your user packages will populate ~/.nix-profile/share/... too -- but not sure that's sufficient.
<srhb> Ideally it should be, obviously.
Judson has joined #nixos
<johnhamelink[m]> srhb: I just added it to my user's packages and it seems to have fixed it! :)
<srhb> woo
<srhb> Apparently I'm too much of a pessimist. Who would have thunk :)
Judson is now known as Guest96958
maximiliantagher has joined #nixos
<johnhamelink[m]> srhb: thank you for your help! :D One quick question though - why are the termite and termite.terminfo packages separate?
<srhb> johnhamelink: I imagine you could want the terminfo on a remote headless system where the application itself is nonsensical.
* srhb waves hands
<johnhamelink[m]> srhb: aah, I guess that does make sense
<srhb> I'm basically just saying words that are vaguely terminal related. You should look for an authoritative source. :P
<johnhamelink[m]> well thanks for your help :)
zzamboni has joined #nixos
<coconnor> gchristensen: understood. still: progress!
<srhb> You're welcome.
<gchristensen> indeed!
<johnhamelink[m]> srhb: :joy
<johnhamelink[m]> srhb: :joy:
Ross has joined #nixos
<johnhamelink[m]> srhb: I think I might send the maintainer an email to see if they could fill me in :)
<gchristensen> coconnor: probably the next thing after this will be the ability to put a merge command in the body of the PR by a trusted user, so the PR can be opened, checked, merged automatically
<srhb> johnhamelink: I think it's recurring for just about every terminal that has its own terminfo :)
<srhb> johnhamelink: And split packages are usually good! It means you can easily get subsets of packages.
<srhb> johnhamelink: (This, for instance, is why we often don't have -dev packages like other distros. Instead, we just have separate outputs)
<{^_^}> [nixpkgs] @ryantm opened pull request #36993 → fwts: 18.01.00 -> 18.02.00 → https://git.io/vxIf4
maximiliantagher has quit [Ping timeout: 246 seconds]
krey has joined #nixos
<srhb> johnhamelink: Generally, this might interest you: https://nixos.org/nixpkgs/manual/#chap-multiple-output
<johnhamelink[m]> srhb: I'm all for that, but how would I discover that package exists? If I search on https://nixos.org/nixos/packages.html#termite I don't see this (same for options). So how would I discover this package if not for this amazing channel? :D
[Leary] has joined #nixos
<coconnor> gchristensen: what are your thoughts on an implicit merge command for PRs by trusted users with low impact (defined by number of packages rebuild count)?
jtojnar has quit [Quit: jtojnar]
<srhb> johnhamelink: Yes, that's an issue. Ideally it should fold out and show you all the outputs I guess.
<gchristensen> coconnor: bad
<srhb> johnhamelink: You can follow the link to the definition though
jtojnar has joined #nixos
<srhb> johnhamelink: (Not ideal, I know)
<johnhamelink[m]> srhb: out of interest, how did you find that package? Are you doing things differently to me?
<gchristensen> a PR can be low impact on purpose or by mistake, implicitly merging low-impact PRs means disregarding the author's intentional decision to leave out the merge command
<johnhamelink[m]> Ahh I see :)
<coconnor> gchristensen: understood
<srhb> johnhamelink: Though if I'm reading that correctly, the default output already links in the terminfo. Hmm.
<srhb> Oh, no, I misread.
<srhb> Nevermind :)
<krey> are people using 18.03?
MinceR has quit [Ping timeout: 264 seconds]
<srhb> krey: iiish.
<srhb> krey: Honestly I'm on NixOS-frankenOS
<srhb> >>
<gchristensen> really? going teh michaelraskin route?
<srhb> gchristensen: If by that you mean #YOLO -- yeah!
<gchristensen> nice
<krey> srhb: huh?
<srhb> I mean every part of this hardware is already falling apart, so if the OS crashes and burns, meeh.
<srhb> krey: I do pull in a few things from 17.09 and -unstable as well
MinceR has joined #nixos
<krey> srhb: ah, same here
marusich has quit [Ping timeout: 252 seconds]
<coconnor> Have a CI that pulls master and nixos-rebuild on success. Latest and most on fire for me!
<srhb> :o
<srhb> I feel outclassed.
alexteves has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<coconnor> go go jenkins plus dangerous hacks
marusich has joined #nixos
<sphalerit> johnhamelink: o/
alexteves has quit [Remote host closed the connection]
Ross has quit [Quit: ZNC - http://znc.in]
<reber> hey all. Any good tutorial to start with nix please ?
<coconnor> which... has actually worked fine for several years *shrug*
<LnL> !pills
ixxie has quit [Ping timeout: 256 seconds]
<LnL> reber: ^
<johnhamelink[m]> Linus: 👋
<reber> thanks LnL
<LnL> there's also a lot of information in the manuals if you're looking for more specific information
<srhb> reber: And depending on which "nix" you mean :-P
<{^_^}> [nixpkgs] @dotlambda pushed to staging « pythonPackages.pytest-mock: remove superfluous patch »: https://git.io/vxIUt
<srhb> coconnor: I think I would want to at least incorporate the vm tests I care about :P
Ross has joined #nixos
alexteves has joined #nixos
<coconnor> srhb: fortunately, each stage of the CI pipeline is several VM tests I care about :)
<srhb> Aha!
blankhart has quit [Ping timeout: 268 seconds]
<srhb> coconnor: Do you just run it locally?
<srhb> I am intrigued...
<coconnor> srhb: a slightly different set than hydra or borg it seems. Not sure how test selection is done for borg.
<srhb> coconnor: I think borg only runs when you ask it to, and it just runs whatever you specify from nixos/release.nix
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}{Stable,Preview}: 2.1.3 -> 2.1.4 »: https://git.io/vxIUz
timon37 has joined #nixos
<reber> srhb, nix ... ? o.O
<coconnor> srhb: yea. I have a server node that runs jenkins locally. Executes git checkout and build per usual.
archaeron has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<srhb> reber: nix the language, nix the package manager, NixOS (the system). Sorry, I was unclear. I mean there's several manuals, depending on what you want specifically :)
<reber> srhb, nix the package manager
<coconnor> srhb: https://github.com/coreyoconnor/nix_configs/tree/master/ci has some of the CI scripts.
<srhb> reber: Righto. :)
<coconnor> srhb: seriously tho, the setup has collected years of detrious. Cleaning it up then will publish a bit on it. "an alternative approach" kinda thing
<srhb> coconnor: Nifty, thanks!
<reber> https://nixos.org/nixos/nix-pills/index.html <--- it seems it's more the language herre...
<srhb> reber: It ties in closely with _making_ packages with the nix language (for the nix package manager) but yes.
<srhb> reber: Less usage, more doing.
<srhb> Though in my experience you'll end up with the doing sooner or later :P
<srhb> reber: This might be closer: https://nixos.org/nix/manual/#chap-package-management
<srhb> Though it quickly dives into details too.
alexteves has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #36994 → glib: 2.54.3 -> 2.56.0 → https://git.io/vxITY
<tobiasBora> clever: ok, so step by step, I go further
<tokudan[m]> could someone look at the firefox-bin PRs #36921 #36922 and #36923 and merge them? firefox shows warnings that it cannot download updates, these PRs fix that.
<tobiasBora> now the build fails on "error: cloning builder process: Operation not permitted
<tobiasBora> clever: I suspect the error comes from https://github.com/NixOS/nix/issues/1625
<clever> tobiasBora: you may need namespace support to build it, and i suspect proot makes it worse
<tobiasBora> it is because on debian, CAP_SYS_ADMIN is not enabled I thikn
<LnL> reber: if you're looking for information on the cli you'll probably find more in the nix manual, there's also this if you are familiar with apt https://nixos.wiki/wiki/Cheatsheet
<reber> i'm looking for a (very) old version of firefow
<tobiasBora> clever: I do need namespace support to build it? And I think to remember that even without proot it also fails... So there is no way to avoid namespace when I want to build with nix??? :'(
<tobiasBora> clever: or is it just because we do some strange tricks in this command that we can't use namespaces ?
<clever> tobiasBora: i suspect that the NIX_REMOTE=local?root= uses namespaces to get the job done
<clever> tobiasBora: if you remove that, and create the /home/$X/ it would work without them, i think
<srhb> reber: How old approximately?
<tobiasBora> clever: indeed, when I remove the options it goes a little bit further
<tobiasBora> (then it segfault, but it's another question I guess)
dan_b has quit [Ping timeout: 246 seconds]
<srhb> reber: (Note that you'll probably have to rebuild the world, including the standard tool chain, in order to do this. But it'll be transparent at least.)
rardiol1 has quit [Ping timeout: 264 seconds]
<tobiasBora> I hate segfaults...
<LnL> srhb: the cache has versions all the way back to 31.0
<srhb> LnL: That's, like, 2014!
<tobiasBora> and I'm pretty sure it's due to proot builder for '/home/leo/nix/store/gkmndl1ji3w2pqll766g2vq7dwh2hl04-0001-Fix-missing-build-dependency-for-pods.patch.drv' failed due to signal 11 (Segmentation fault)
blankhart has joined #nixos
alexteves has joined #nixos
alhariel has joined #nixos
Ross has quit [Quit: ZNC - http://znc.in]
Ross has joined #nixos
<alhariel> so ive downloaded the image with the kde interface, created partitions etc, but despite being able to connect to wifi networks i cant access the internet, no pages will load in firefox
<alhariel> ill be afk for a few mins so thanks in advance for any replies
<rawtaz> alhariel: start by the basics - can you `ping 8.8.8.8` ?
fendor has quit [Ping timeout: 260 seconds]
maximiliantagher has joined #nixos
<rawtaz> if yes, you probably dont have DNS resolution set up correctly. if not, it might be a lacking default gateway, in which case you should still be ablet o ping your default gateway's IP. if you cant even do that, then the networking problem is more fundamental, you might not even have an IP on the wifi network (check using `ip a`)
zzamboni has quit [Ping timeout: 264 seconds]
<srhb> I think I recall having to kick the dhcp client on manual wifi setup, but not sure about the kde livecd.
<srhb> (I assume it's just networkmanager underneath that)
rogue_koder has joined #nixos
peterzky has quit [Quit: WeeChat 2.0]
maximiliantagher has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #36995 → gnome-themes-standard: 3.22.3 -> 3.27.90 → https://git.io/vxItC
alex`` has quit [Quit: WeeChat 2.0.1]
<reber> srhb, firefox 48
chessai has joined #nixos
<reber> how can i show all versions of firefox ?
<{^_^}> [nixpkgs] @jtojnar closed pull request #36995 → gnome-themes-standard: 3.22.3 -> 3.27.90 → https://git.io/vxItC
maximiliantagher has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar closed pull request #36994 → glib: 2.54.3 -> 2.56.0 → https://git.io/vxITY
<srhb> reber: They don't all exist in one point in time in nixpkgs, so there's no glorified way of doing that.
<srhb> reber: Essentially you'd search the git history for the revision that has the version you care about. I'm not sure if there's a better way.
maximiliantagher has joined #nixos
kai_w has quit [Quit: kai_w]
<tokudan[m]> looking at the history of https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/browsers/firefox-bin should do it. or if you don't want to use the mozilla binaries, replace firefox-bin with firefox
<reber> where is the git to browse ?
<srhb> I just checked firefox 48.0.2 which appears to have an impurity related to OpenGL which causes it to fail to run.
<reber> v54
<Ralith> johnhamelink: I do use termite+zsh, yes
<reber> how can i ?
<srhb> ralith: I think we figured it out :)
<srhb> reber: With nix 2.0 you'd do something like... nix run -f https://github.com/NixOS/nixpkgs/archive/commithash.tar.gz firefox
<Ralith> still got some weird random bugs with things that can't find it (especially pinentry-curses) but zsh works fine
maximiliantagher has quit [Ping timeout: 240 seconds]
<johnhamelink[m]> Ralith: srhb we did - I'm intrigued to know if you had the same issue and if you solved it the same way?
<Ralith> johnhamelink: the `termite` package should implicitly bring in the terminfo, though, the separate output is only there for when you *only* want the terminfo
<Ralith> mine's not installed explicitly
<johnhamelink[m]> Ralith: interesting...
<Ralith> my original issue was a bug in zsh, which got fixed
maximiliantagher has joined #nixos
<srhb> I guess I didn't misread after all then.
<reber> srhb, unable to download 'https://github.com/NixOS/nixpkgs/archive/commithash.tar.gz': HTTP error 404
<srhb> Wonder what was wrong then.
<Ralith> these days I just have `programs.termite = true` in my home-manager config
<srhb> reber: Substitute commithash for the actual hash of the revision
<Ralith> srhb: from my skimming like johnhamelink was somehow managing to install termite without its terminfo, which shouldn't be possible
<Ralith> it sounded like*
<srhb> Agreed.
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
<johnhamelink[m]> Ralith: I suspect its something to do with the fact I installed termite as a package for my user as opposed to installing it globally (by adding to `users.users.john.packages`)
<Ralith> johnhamelink: that should work fine
<johnhamelink[m]> Ralith: yeah... its just the only thing that might be seen as out of the ordinary in my config (from my very limited experience of using Nix for the past 5 or 6 days, lol)
<srhb> reber: That will drop you into a shell in which that version of firefox is available.
<alhariel> rawtaz: i can ping 8.8.8.8
<Ralith> hm, looks like the `terminfo` output is indeed the sole source of the file; I don't really understand the logic for when you get all the outputs of a package and when you get just `out` but perhaps it's what you're running afoul of
<Ralith> srhb: you have any idea how that works?
* reber installing
<{^_^}> [nixpkgs] @ryantm opened pull request #36996 → googler: 3.3 -> 3.5 → https://git.io/vxIYU
<srhb> Ralith: I think it's just meta.outputsToInstall
<jtojnar> What is the best way to copy nix store closure into a chroot directory? I want the folders to be writable so I can clean up later. At the moment I just cp -r and then chmod +w all directories later.
<reber> in wich directory is it installed ?
<rawtaz> alhariel: then check your DNS configuration
<srhb> reber: Everything is always in /nix/store/somehash-program/...
<srhb> reber: "Install" is tricky in Nix
<Ralith> srhb: surely that doesn't contain "terminfo" by default, and yet my environment works
<srhb> Ralith: I'm probably mistaken then. :/
<clever> jtojnar: with nix2, you can `nix copy --no-check-sigs --to local?root=/home/clever/chroot/ /nix/store/foo`
<clever> jtojnar: that will create a new store in the chroot directory, with the complete closure
<srhb> reber: In this case (nix run), it will simply live there until you garbage collect your nix store.
<rawtaz> alhariel: you can also try `ping www.google.com` and `host -va google.com` if you have the latter
<srhb> reber: The command helpfully sets up your PATH in that shell in order to have the /nix/store path available.
<Ralith> on another subject, what's the proper way to update a 17.09 install to nix2? is that a good idea to do or should I just wait for 18.03?
<clever> Ralith: you can just nix.package = pkgs.nixUnstable; in configuration.nix
<srhb> Ralith: I believe it's just nixpkgs.package -> nixUnstable on 17.09
<srhb> Oh, right, nix.package...
<srhb> Ralith: Whether or not your should upgrade... It Should Be Safe. :-)
<reber> it's installed how can i run it ?
<alhariel> rawtaz: ping www.google.com worked, but still couldnt get firefox to load pages, so i closed & reopened and everything works fine.. go figure
<srhb> reber: Simply firefox :)
<rawtaz> alhariel: nice
<reber> o.O
<srhb> reber: And only until you exit that shell will it point to that firefox.
<reber> i already have firefox installed o.O
<srhb> reber: Think of it as a completely ephemeral environment
<jtojnar> clever: that will still not make the directories writeable but it is nice
<srhb> reber: Sure, but look at: echo $PATH
hotfuzz_ has joined #nixos
<srhb> reber: You should see a long path at the very start of it
<reber> ah ok true :)
<reber> yeah
<reber> and if i want to restart it after i close this shell ?
<srhb> reber: Open the shell again
<srhb> reber: Same command.
<reber> o.O
<Ralith> srhb: does that get me a reasonably recent version or do I need to pull it in from a different channel?
<reber> really ? (what a pain)
<srhb> reber: It doesn't redownload or anything if it's already present
<srhb> reber: You can also just point directly at the store path
<reber> course yes but ... o.O
<srhb> /nix/store/.../bin/firefox
<reber> aye
<reber> better
<srhb> Or you can install it in a _different_ sense, but how will you manage collissions then?
<srhb> I think you're better off with a shell script that holds onto the command for you :-)
<srhb> Because that way, you get isolation.
<srhb> Ralith: Lemme check...
hotfuzz has quit [Ping timeout: 265 seconds]
<srhb> Ralith: It's still some pre-blah version on 17.09
<srhb> Ralith: iirc it's not very old though. Perhaps even identical.
<Ralith> kay, will have a go
<slabity[m]> Hey guys. For some reason nearly every nix action I try to perform fails with "has '' has wrong length for hash type 'sha256'"
<slabity[m]> This only started happening after I did a nixos-rebuild, and I can't seem to revert back
<clever> slabity[m]: what does `sudo nix-channel --list` report?
<slabity[m]> No configuration changes, just a system upgrade
<srhb> slabity[m]: You should be able to rollback by manually invoking the activation script, worst case.
<coconnor> which would have included a nix upgrade IIRC. difference in nix 2.0 behavior?
__Sander__ has quit [Quit: Konversation terminated!]
<clever> slabity[m]: or just picking an older generation in the grub menu
<srhb> coconnor: The activation script?
<slabity[m]> clever: the only channel is nixos-unstable
<clever> slabity[m]: what about something simple like `nix-build '<nixpkgs>' -A hello --arg config '{}'`
<gchristensen> slabity[m]: maybe include --show-trace and paste the whole log
<slabity[m]> clever: same issue. I'll print the full trace in a moment
Slabity has joined #nixos
<reber> thanks for your help srhb :)
<reber> very reactive, lots of helps and explanations, thanks a lot :)
<gchristensen> slabity[m]: also include `nix-info -m`'s output in the pastebin
krey has quit [Remote host closed the connection]
<reber> something goes wrong ...
<reber> i still have the extensions in firefox 49 (installed with nix) than in firefox 58 (my system)
<Slabity> Looks like even nix-info gave the error
<reber> worse : firefox -v ---> Mozilla Firefox 49.0.1 but i can't install an extension for firefox 49 ... :/
<gchristensen> Slabity: do you have a file in ~/.nixpkgs/ or at ~/.config/nixpkgs?
<reber> i don't understand what's happening then
<srhb> reber: Ah, right. This is entirely firefox related
<srhb> reber: firefox probably writes things to configuration in your homedir.
<clever> gchristensen: the `--arg config {}` disables config.nix
<srhb> reber: I should have warned you about that, sorry. I know the behaviour from chrome.
<Slabity> gchristensen: Yes, but it only contains the mozilla overlay and `allowUnfree`
<gchristensen> clever: don't tell me that, tell Slabity :P
<srhb> reber: essentially I don't think they support "downgrades" in any reasonable sense.
<clever> Slabity: what does `type nix-build` say?
<Slabity> nix-build is /run/current-system/sw/bin/nix-build
<srhb> reber: (Nix does nothing to "sandbox" the running application out of the box)
<clever> Slabity: nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
<{^_^}> [nixpkgs] @ryantm opened pull request #36997 → grib-api: 1.24.0 -> 1.26.0 → https://git.io/vxIsp
<Slabity> clever: Same error
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/683c5794b0f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ddc2ad4e2e1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<reber> srhb, if let's say i su to another user (blank one), do you think it could work ?
<{^_^}> [nixpkgs] @abbradar pushed to master « sleekxmpp: 1.3.1 -> 1.3.3 »: https://git.io/vxIGm
<clever> Slabity: nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion --arg overlays '[]'
<srhb> reber: Yeah, they would have a completely clean homedir
<srhb> reber: Well, the first time anyway
<Slabity> clever: Okay... That worked... I'm guessing it's my overlays then?
<clever> Slabity: yep
<srhb> reber: You might want a more robust solution for the long term. Maybe involving chroots or containers.
<Ralith> is there any way to do garbage collection on s3 bucket being used as a binary cache?
<reber> good. How can i removed the firefox i installed for my current user (before i installed to the new one to save hd space) ?
<reber> -d
<srhb> reber: easiest way is to nix-collect-garbage -- it will remove everything that doesn't have a "gc root"
<srhb> reber: Which your ephemeral firefox will not.
<reber> ok done
<reber> thx i try
<Slabity> clever: Is there a way to disable sha256 checking for `fetchFromGithub` (or whatever)?
<clever> Slabity: nope
risciii has joined #nixos
winem_ has quit [Ping timeout: 268 seconds]
ma27 has joined #nixos
vidbina has joined #nixos
joepie91___ is now known as joepie91
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/8be8c91d0a5 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
<srhb> Goodness
<coconnor> srhb: (back) I was referring to the behavior of nixos-rebuild to, by default, use nixUnstable in nixpkgs.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c3ccaedee0a (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> coconnor: Ah
<srhb> Sorry, got confused :)
<gchristensen> /!\ 17:55 -- Notice({^_^}): Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/8be8c91d0a5 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> [nixpkgs] @ryantm opened pull request #36999 → gsettings-desktop-schemas: 3.24.1 -> 3.28.0 → https://git.io/vxInc
<{^_^}> [nixpkgs] @dotlambda merged pull request #36944 → python27Packages.nevow: fix build, 0.14.2->0.14.3 → https://git.io/vxTVv
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxInF
<{^_^}> → 9a10c55a by @xeji: pythonPackages.nevow: fix build, 0.14.2->0.14.3
<{^_^}> → c8a7aa1e by @dotlambda: Merge pull request #36944 from xeji/nevow
hariel has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed commit from @xeji to staging « pythonPackages.nevow: fix build, 0.14.2->0.14.3 »: https://git.io/vxIcI
<reber> srhb, do you think i can chroot to have a clean ~/ dir
<reber> ?
* reber thinking of this solution...
Ross has quit [Ping timeout: 276 seconds]
alhariel has quit [Ping timeout: 276 seconds]
<woffs> Slabity, clever what if you set sha256="" ?
<gchristensen> woffs: that isn't permitted
<gchristensen> IIRC it was for a time due to a bug
<clever> woffs: there was a bug in nix that allowed it, i suspect Slabity's problem is because it was fixed
<{^_^}> [nixpkgs] @dotlambda pushed commit from @xeji to release-18.03 « pythonPackages.nevow: fix build, 0.14.2->0.14.3 »: https://git.io/vxIca
<{^_^}> [nixpkgs] @knedlsepp opened pull request #37000 → glm: fix darwin build → https://git.io/vxIc1
reinzelmann has joined #nixos
<Slabity> So... Why can't we allow disabling hash checking manually?
<ottidmes> clever: Pff, I just had a kexec loop on all my remaining generations, luckily I had sshd running in the background so with carefull killing of processes I managed to break it, ah well, managed to fix quite a few edge cases I missed before
<clever> ottidmes: heh
Ross has joined #nixos
<srhb> reber: I'm sure you could script that :)
<clever> Slabity: builtins.fetchTarball doesnt need a hash
jensens has quit [Ping timeout: 248 seconds]
<srhb> reber: easier might be to just check if it respects $HOME and just set that.
<rnhmjoj[m]> what is nixpkgs policy on using external libraries bundled with the source? should it be avoid entirely or it's just preferable to build with system libraries when possible?
<reber> aye true
<coconnor> I mean.. Jackrabbit for 18.09 is great and all but I was hoping for Jackalope XD
<{^_^}> [nixpkgs] @jtojnar closed pull request #36999 → gsettings-desktop-schemas: 3.24.1 -> 3.28.0 → https://git.io/vxInc
[0x4A6F] has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37001 → gucharmap: 10.0.3 -> 10.0.4 → https://git.io/vxIC1
<hariel> im trying to include vista-fonts in my fonts.fonts but it gives me an 'undefined variable' error, even tho https://github.com/NixOS/nixpkgs/tree/master/pkgs/data/fonts/vista-fonts
<srhb> rnhmjoj[m]: There's definitely examples of packages with included libraries, so I'd say it's a strong preference to have them in-tree as real derivations.
<hariel> is there something else i have to set before including vista-fonts
<srhb> hariel: At a guess, it's unfree,
<gchristensen> hariel pkgs.vista-fonts maybe?
<ottidmes> hariel: pkgs.vistafonts
<srhb> Oh, that simple... :-)
<hariel> i see
<hariel> thanks
<gchristensen> srhb: unfree shouldn't cause undefined var errors
<srhb> Really? I must have forgotten.
<srhb> Does it give an actual unfree warning then?
<gchristensen> yeah
<jtojnar> ryantm: could you not update the GNOME 3.28 apps?
tmaekawa has joined #nixos
<srhb> Too easy. We'll be mainstream in no time.
<gchristensen> srhb: lol
ClashTheBunny has joined #nixos
<tokudan[m]> reber: firefox -ProfileManager, create a new profile for the old version
<hariel> how did you find out it was vistafonts tho
<{^_^}> [nixpkgs] @magnetophon opened pull request #37002 → mpv: 0.27.0 -> 0.27.2 → https://git.io/vxIWP
<ottidmes> hariel: Simple, I had it like that in my fonts :P, I guess you could check it out in all-packages.nix
<{^_^}> [nixpkgs] @magnetophon opened pull request #37003 → youtube-dl: 2018.03.10 -> 2018.03.14 → https://git.io/vxIWM
<hariel> ah i see
<tokudan[m]> reber: downside is that only one version of firefox can run at the same time, even with multiple profiles
<hariel> is there a way to make https://nixos.org/nixos/packages.html show unfree packages
<gchristensen> hariel: no :(
<ottidmes> hariel: vistafonts = callPackage ../data/fonts/vista-fonts { };
<reber> O.O
<reber> tokudan[m], oh really sad :(
ottidmes has quit [Quit: WeeChat 1.9.1]
<reber> is there a way to isolate process ?
peciolo has joined #nixos
<reber> so that the older version doesn't know anything about the whole system ?
tmaekawa has quit [Quit: tmaekawa]
<tokudan[m]> reber: isolating the process probably wont help, as firefox checks if there is already a firefox window in the same x server. i'm sure there is a way around that, but i don't know the details
<reber> wow :(
<gchristensen> browsers: more magic than you expected
<hariel> rxvt_unicode_with-plugins and rxvt_unicode-with-plugins, whats the difference?
shabius has quit [Quit: Leaving]
<tokudan[m]> reber: what firefox does actually makes sense to avoid having 20 firefox processes on a system, but in your case it throws you some sticks and stones
knupfer has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #37004 → teamspeak_client: use qt56 → https://git.io/vxIly
<Orbstheorem[m]> Hi. So, I'm making a package and testing it with nix-build -E '... callPackage ./pk.nix', Is there any way I can run until configurePhase and be dropped in a shell to see why it won't compile?
<Orbstheorem[m]> I kinda want git-rebase -i 'edit', but when building not rebasing :P
oahong has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #36930 → Fix qca-qt5 build on darwin → https://git.io/vxTYj
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/vxI8U
<{^_^}> → 4e96d0e2 by @mpickering: Only apply patch on darwin
<{^_^}> → 2b114a8c by @mpickering: Fix qca-qt5 build on darwin
<{^_^}> → a45e1c6e by @LnL7: Merge pull request #36930 from mpickering/qca-qt5-darwin
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/vxI8k
<{^_^}> → c04bca34 by @edolstra: Factor out commonality between release.nix and shell.nix
<{^_^}> → ca14b142 by @edolstra: Use boost::format from the boost package
<{^_^}> → 55aa622f by @edolstra: Fix compatibility with latest boost::format
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vxI8L
<{^_^}> → ec191e7d by @mpickering: Only apply patch on darwin
<{^_^}> → 4ab4af1b by @mpickering: Fix qca-qt5 build on darwin
<clever> Orbstheorem[m]: if you build with --keep-failed, it will leave the /tmp/nix-build directory behind, so you can inspect what remains
<clever> Orbstheorem[m]: and if you run nix-shell against the .drv file, you will get into an env thats fairly similar, just missing a few env vars
<Orbstheorem[m]> thanks!
<{^_^}> [nixpkgs] @LnL7 merged pull request #36990 → pixman: fix on Darwin (in staging) → https://git.io/vxkhF
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to staging: https://git.io/vxI8a
<{^_^}> → 3b089a5e by @matthewbauer: pixman: fix on darwin
<{^_^}> → c461c002 by @LnL7: Merge pull request #36990 from matthewbauer/staging
c00kiemon5ter has left #nixos [#nixos]
shabius has joined #nixos
[0x4A6F]1 has joined #nixos
shabius has quit [Remote host closed the connection]
oahong has joined #nixos
shabius has joined #nixos
<tilpner> tokudan[m], reber - It uses X shared memory. Look at --no-remote and --no-xshm
[0x4A6F] has quit [Ping timeout: 264 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<{^_^}> [nixpkgs] @coreyoconnor opened pull request #37005 → gnome2.zenity: Add docbook_xml_dtd_412 to prevent build failure → https://git.io/vxI8d
humanoyd has joined #nixos
<robstr> Hey, for whatever reason my X freezes from time to time, some tips how to debug this ? :-/
thblt has joined #nixos
<coconnor> robstr: what is your driver configuration?
<{^_^}> [nixpkgs] @LnL7 merged pull request #37000 → glm: fix darwin build → https://git.io/vxIc1
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vxI4f
<{^_^}> → 863fb7b8 by @knedlsepp: glm: fix darwin build
<{^_^}> → 212d0283 by @LnL7: Merge pull request #37000 from knedlsepp/fix-glm-on-darwin
<robstr> coconnor: nvidia
paraseba has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed commit from @knedlsepp to release-18.03 « glm: fix darwin build »: https://git.io/vxI4q
<{^_^}> [nixpkgs] @dezgeg pushed 5 commits to unstable-aarch64: https://git.io/vxI4Y
<{^_^}> → d7670946 by @dezgeg: nixos/qemu-vm: Add virtualized display + HID devices on AArch64
<{^_^}> → e7ebe42e by @dezgeg: edk2: Reformat a bit for readability
<{^_^}> → d5fb10de by @dezgeg: OVMF: Reformat a bit for readability
<coconnor> robstr: using nouveau or proprietary?
<robstr> coconnor: good question, just received it the second time, but it is annoying
<coconnor> robstr: If the value of services.xserver.videoDrivers contains "nvidia" then proprietary
ottidmes has joined #nixos
paraseba has joined #nixos
<coconnor> robstr: I've had desktop freezes on both nouveau and nvidia. Took a bit to find a config that was stable.
<robstr> coconnor: strange -.- how did you debug it
<coconnor> robstr: Tried a mess of different kernel versions and nvidia version XD
<robstr> coconnor: maybe this is the cpu ? I read some stuff about the amd ryzen :-/
<coconnor> robstr: what is your configuration.nix and hardware-configuration.nix ?
<robstr> coconnor: i will create a gist, one second
<coconnor> robstr: ah. that I would not know. I had the most issues due to nouveau's lack of support for geforce 900+ cards
<hariel> how do i install oracle jdk instead of openjdk
<{^_^}> [nixpkgs] @mbode opened pull request #37006 → flink: 1.4.0 -> 1.4.2 → https://git.io/vxI42
Myrl-saki has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @ryantm opened pull request #37007 → hwdata: 0.309 -> 0.310 → https://git.io/vxI4a
Slabity has quit [Remote host closed the connection]
<tilpner> hariel - Download http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html , then nix-store --add-fixed sha256 jdk-8u161-linux-x64.tar.gz
<tilpner> hariel - Afterwards, you can use oraclejdk
<tilpner> (But it says all that in the error)
<hariel> what error
<tilpner> The error you get when trying to use oraclejdk
<dtz> can someone try running "teamspeak_client" on 18.03, confirm it crashes, and then see if this fixes it: https://github.com/NixOS/nixpkgs/issues/36793#issuecomment-373132488 ? Hoping to get some insight from someone else's system ... :3
<tilpner> You may need to allowUnfree to even show oraclejdk
<hariel> i didnt try it
<reber> tokudan[m], tilpner ok then maybe the easiest way is to run a virtualbox vm :)
<tilpner> reber - No!
<hariel> i just assumed that allowing unfree and setting programs.java.enable to true woudl do dl the oracle one
<tilpner> reber - Did you try the flags I told you about?
<Izorkin_> how to change in nixos/modules/system/boot/loader/grub/install-grub.pl "terminal_output gfxterm" to "terminal_output console"
<tilpner> hariel - It can't for legal reasons
jtojnar_ has joined #nixos
<tilpner> hariel - But you can set programs.java.package = pkgs.oraclejdk;
<coconnor> robstr: what kernel version are you on? uname -a ?
<hariel> ah i see
<reber> ah ok i see. trying
<hariel> the installer is currently running ill try the fix shortly
<robstr> coconnor: 4.9.86
<robstr> coconnor: I have the feeling this happens when using chrome ...
<{^_^}> [nixpkgs] @LnL7 pushed to master « python-tkinter: mark linux only »: https://git.io/vxIB3
jtojnar has quit [Ping timeout: 260 seconds]
jtojnar_ is now known as jtojnar
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « python-tkinter: mark linux only »: https://git.io/vxIBZ
<coconnor> robstr: hm. perhaps video decode related. dunno. I'm on 4.14 for what it's worth. Not a ryzen system tho
<robstr> coconnor: did you move to unstable ? Or how did you update the kernel ?
<hariel> does anyone here have any experience with hybrid graphics cards
[0x4A6F] has quit [Quit: [0x4A6F]]
<hariel> i have intel/radeon hybrid, on arch i could just set DRI_PRIME=1 and it would use the radeon card, is it the same on nixos?
<coconnor> robstr: I'm on unstable. I also specify the kernel specifically in the configuration.nix.
bitemyapp has joined #nixos
boomshroom has joined #nixos
<{^_^}> [nixpkgs] @knedlsepp opened pull request #37008 → pythonPackages.pycurl: Fix darwin build → https://git.io/vxIRq
<boomshroom> Hello!
rardiol1 has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<robstr> coconnor: thank you, i will try next time it freeze again - sometimes problems move to others .... hopefully :D
<boomshroom> One thing that's been bugging me since installing NixOS on my laptop has been the trackpad. 1. How can I increase the mouse speed and 2. how can I enable right click?
<{^_^}> [nixpkgs] @ryantm opened pull request #37009 → igv: 2.4.8 -> 2.4.9 → https://git.io/vxIRw
<coconnor> boomshroom: check out the services.xserver.synaptics options
<coconnor> boomshroom: if your trackpad is a synaptics pad then that is nice for customizing
<Izorkin_> how to change in file nixos/modules/system/boot/loader/grub/install-grub.pl parametrs "terminal_output gfxterm" to "terminal_output console"
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<coconnor> Izorkin_: checkout nixpkgs; change the file; build using updated checkout
contrapumpkin has joined #nixos
<boomshroom> coconnor: I have a synaptics sections in my configuration.nix and under additionalOptions, am attempting to set corner buttons, but the right click still doesn't work.
<Izorkin_> coconnor: is there no automatic way?
<boomshroom> It specifically has `Option "RBCornerButton" "1"`
<coconnor> boomshroom: are you using KDE or such? I think there is a also a GUI configurator that will reload from a preference file.
<boomshroom> coconnor: No, I'm using i3.
<reber> tilpner, tokudan[m] srhb yay it worked \o/ : mkdir ~/testuser; firefox HOME=~/testuser; firefox --no-remote
<coconnor> boomshroom: are you sure the trackpad is synaptics? There is also the services.xserver.multitouch driver that might help.
<reber> thanks for all
<boomshroom> Looking at the ArchWiki, they're claiming that synaptics is being deprecated in favour of libinput, which NixOS also supports.
<reber> -firefox in my line
<coconnor> boomshroom: ah! in which case check out hte services.xserver.libinput options :)
<boomshroom> coconnor: I know that 2-finger scrolling works, and that's set in my synaptics configuration.
maximiliantagher has quit [Remote host closed the connection]
<hariel> ive read it said somewhere that "only applications should be installed into profiles", that libs like boost shouldnt be included in configure.nix, is that correct?
cx405 has joined #nixos
<neonfuz> isn't there a cli flag or something to do a "more pure" nix build?
<neonfuz> idr what it is
<boomshroom> `Whether to enable touchpad support. Deprecated: Consider services.xserver.libinput.enable.` Looks like NixOS agrees with ArchLinux.
jtojnar_ has joined #nixos
<cx405> Hello! Can I request to reopen this bug please? I have published a lot of data and I am affected by this. https://github.com/NixOS/nixpkgs/issues/27050
<goibhniu> hariel: that's right, for development you should use nix-shell
alex`` has joined #nixos
<boomshroom> Does nix support block comments?
jtojnar has quit [Ping timeout: 246 seconds]
jtojnar_ is now known as jtojnar
<neonfuz> don't think so?
<tilpner> /* it does */
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/683c5794b0f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<boomshroom> C-style
<symphorien> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<symphorien> hariel: ^
<hariel> goibhniu but does that include things like clang and llvm?
boomshroom is now known as boomshroom-away
<goibhniu> hariel: yeah
<hariel> hm ill have to read up on that
<{^_^}> [nixpkgs] @nlewo merged pull request #36996 → googler: 3.3 -> 3.5 → https://git.io/vxIYU
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxIEe
<{^_^}> → 725c2b32 by @ryantm: googler: 3.3 -> 3.5
<{^_^}> → caf4aa73 by @nlewo: Merge pull request #36996 from ryantm/auto-update/googler
<goibhniu> hariel: symphorien's link above should get you going
<{^_^}> [nixpkgs] @dezgeg pushed to master « nixos/qemu-vm: Add virtualized display + HID devices on AArch64 »: https://git.io/vxIEU
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxIEI
<{^_^}> → 2217c706 by @mbode: doitlive: init at 3.0.3
<{^_^}> → 6d661f37 by @dotlambda: Merge pull request #34361 from mbode/doitlive_3_0_3
<{^_^}> [nixpkgs] @dotlambda merged pull request #34361 → doitlive: init at 3.0.3 → https://git.io/vND5N
<hariel> oh thanks
MichaelRaskin has joined #nixos
<mpickering> Should I submit the other package fixes in this PR each as separate prs? https://github.com/NixOS/nixpkgs/pull/36902
<hakujin> anyone familiar with "access to path '/nix/store/invgs35iq21m5nqrfin2zq9i9s3shiy2-github-pulls-sorted.json' is forbidden in restricted mode" via a hydra eval?
<hakujin> using nixpkgs HEAD
John882 has quit [Ping timeout: 246 seconds]
<Orbstheorem[m]> Is there a standard way to manage doxygen output? (ie. the project I'm packaging provides doxygen documentation)
<{^_^}> [nixpkgs] @ryantm opened pull request #37011 → inboxer: 1.0.2 -> 1.0.3 → https://git.io/vxIEl
<cx405> To anyone with github member rights, can I request to reopen the bug #27050 please? I have published a lot of data and I am affected by this.
<cx405> grahamc: thank you very much!!!!
logzet has joined #nixos
muzzy has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #35612 → double-conversion: 2.0.1 -> 3.0.0 → https://git.io/vArPT
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIEi
<{^_^}> → 4042708b by @ryantm: double-conversion: 2.0.1 -> 3.0.0
<{^_^}> → c4638631 by @joachifm: Merge pull request #35612 from ryantm/auto-update/double-conversion-2.0.1-to-3.0.0
<hariel> goibhniu qtcreator in configure.nix is ok tho right?
<{^_^}> [nixpkgs] @joachifm merged pull request #35586 → certstrap: 1.0.1 -> 1.1.1 → https://git.io/vAr4r
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIEH
<{^_^}> → 1e822343 by @ryantm: certstrap: 1.0.1 -> 1.1.1
<{^_^}> → b60cd4be by @joachifm: Merge pull request #35586 from ryantm/auto-update/certstrap-1.0.1-to-1.1.1
<{^_^}> [nixpkgs] @matthewbauer opened pull request #37012 → Make "localizations" sane again → https://git.io/vxIEF
<goibhniu> hariel: hrm, I'm not sure about that ... IIRC it can be sensitive to Qt paths etc. ... but editors would typically be installed outside of nix-shell
<Guanin> is there any setting I can use to prevent systemd from killing a mounting process? I asked in #btrfs a few minutes ago, I have a 32TB btrfs volume (on mdadm) and it times out on boot
<{^_^}> [nixpkgs] @joachifm merged pull request #36422 → aj-snapshot: 0.9.7 -> 0.9.8 → https://git.io/vAbsu
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIua
<{^_^}> → c7f69d04 by @ryantm: aj-snapshot: 0.9.7 -> 0.9.8
<hariel> goibhniu also about clang, it can be used as an application (compiler) or as a library, so if it can be used as an application should it not be in configure.nix?
<{^_^}> → 809057ce by @joachifm: Merge pull request #36422 from ryantm/auto-update/aj-snapshot
<{^_^}> [nixpkgs] @joachifm merged pull request #36427 → ansifilter: 2.4 -> 2.9 → https://git.io/vAb8L
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIuo
<{^_^}> → f5a4fa7e by @ryantm: ansifilter: 2.4 -> 2.9
<{^_^}> → 4203a5c8 by @joachifm: Merge pull request #36427 from ryantm/auto-update/ansifilter
aborsu has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #36430 → apktool: 2.3.0 -> 2.3.1 → https://git.io/vAbEC
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIuX
<{^_^}> → bab699fa by @ryantm: apktool: 2.3.0 -> 2.3.1
<{^_^}> → 6de46712 by @joachifm: Merge pull request #36430 from ryantm/auto-update/apktool
<{^_^}> [nixpkgs] @joachifm merged pull request #36473 → biboumi: 6.1 -> 7.2 → https://git.io/vANas
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIuh
<{^_^}> → 848d597e by @ryantm: biboumi: 6.1 -> 7.2
<{^_^}> → e27e8a8b by @joachifm: Merge pull request #36473 from ryantm/auto-update/biboumi
jtojnar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @joachifm merged pull request #36477 → binaryen: 42 -> 44 → https://git.io/vANVh
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIz3
<{^_^}> → 2bb8c17e by @ryantm: binaryen: 42 -> 44
<{^_^}> → c3b783da by @joachifm: Merge pull request #36477 from ryantm/auto-update/binaryen
<{^_^}> [nixpkgs] @joachifm merged pull request #36478 → bleachbit: 1.12 -> 2.0 → https://git.io/vANwS
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIzs
<{^_^}> → 617a8bda by @ryantm: bleachbit: 1.12 -> 2.0
<{^_^}> → 61d3b3b8 by @joachifm: Merge pull request #36478 from ryantm/auto-update/bleachbit
<ottidmes> cx405: Did you manage to find the _backend file in your nix store?
<goibhniu> hariel: I would say compilers would belong in a nix-shell
<{^_^}> [nixpkgs] @joachifm merged pull request #36480 → byobu: 5.121 -> 5.124 → https://git.io/vANrX
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIzW
<{^_^}> → bf110ef5 by @ryantm: byobu: 5.121 -> 5.124
<{^_^}> → 05a2aa62 by @joachifm: Merge pull request #36480 from ryantm/auto-update/byobu
<{^_^}> [nixpkgs] @joachifm merged pull request #36481 → cadvisor: 0.28.3 -> 0.29.1 → https://git.io/vANoO
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIz8
<{^_^}> → bc7ca173 by @ryantm: cadvisor: 0.28.3 -> 0.29.1
<{^_^}> → db1d422a by @joachifm: Merge pull request #36481 from ryantm/auto-update/cadvisor
<gchristensen> I'm going to turn that part of the bot off for now
<{^_^}> [nixpkgs] @joachifm merged pull request #36483 → calc: 2.12.6.3 -> 2.12.6.6 → https://git.io/vANKc
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxIz0
<{^_^}> → 6edbf98d by @ryantm: calc: 2.12.6.3 -> 2.12.6.6
<{^_^}> → d703988c by @joachifm: Merge pull request #36483 from ryantm/auto-update/calc
<MichaelRaskin> Heheh
<gchristensen> joachifm: let me know when you're tired and I can turn it back on :)
<hariel> i see
peciolo has quit [Ping timeout: 260 seconds]
<hariel> im getting some warning upon running nixos-install "warning: in configuratioin file '/etc/nix/nix.conf': unknown setting 'signed-binary-caches'"
loonquawl has joined #nixos
<ottidmes> hariel: You probably did update to nix 2.0?
<hariel> im just installing for the first time on physical machine, no updates
<kini> I did `nix-env -i gcc`, and that pulled in the gcc-7.3.0-man derivation, but symlinks to gcc man pages don't seem to have been installed into ~/.nix-profile/share/man
<kini> am I doing something wrong?
<ottidmes> hariel: What does nix-daemon --version return?
<hariel> 1.11.16
<cx405> ottidmes: hai! I have tried various things. It looks like both phonon4 and phonon5 are installed. I have tried pulling unstable phonon. Still nothing.
<hariel> im running this from the image with kde, not from the installation
<cx405> ottidmes: #27050 is the bug
<cx405> ottidmes: I have tried adding both phonon-gstreamer and phonon-vlc, but nothing showed up.
<ottidmes> hariel: Anyway it should be harmless, that setting has been replaced by require-sigs, which is enabled by default
<hariel> i see, thanks
jarth has joined #nixos
<ottidmes> hariel: Once nixos 18.03 is out it will no longer add this setting to the nix.conf
maximiliantagher has joined #nixos
<ottidmes> hariel: For now you could set nix.requireSignedBinaryCaches = false; to prevent it from adding this setting, but I would not recommend using it, because I believe in 18.03 this affects the require-sigs setting, which you probably want to keep at true!
<ottidmes> cx405: I know the issue, but did you try my "solution" (more of a temp hack)
<maurer> Anyone familiar with carnix? I'm getting:
<ottidmes> cx405: But for the solution to work, I need to know where phonon4qt5_backend is located in your nix store, hence my question
<maurer> ERROR 2018-03-14T19:46:59Z: carnix: Could not resolve some sources
<maurer> when trying to use packages located in a git repository
robstr has quit [Remote host closed the connection]
<ottidmes> cx405: Did you manage to find the phonon4qt5_backend file in your nix store?
robstr has joined #nixos
<cx405> ottidmes: one second
maximiliantagher has quit [Ping timeout: 264 seconds]
chessai has quit [Remote host closed the connection]
jtojnar has joined #nixos
aarvar has joined #nixos
<LnL> maurer: pretty sure git sources are not supported (yet)
knupfer has joined #nixos
<maurer> Hrm, OK.
<cx405> ottidmes: but I dont understand many things. Why I have qt4 backends? Why gstreamer has qt4 AND qt5 backend?
robstr has quit [Ping timeout: 240 seconds]
<maurer> I guess I could cut an 0.1.0 release of my crate, just don't want to clutter up crates.io with stuff that isn't especially suited to general use yet
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7cb4bebacdc (from 62 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<ottidmes> cx405: That seems pretty problematic, you can fix the paths all you want, but if the file is not installed somewhere to begin with, that is the first problem you would have to fix
ryanartecona has joined #nixos
<cx405> ottidmes: I tried to explicitly pull both, so both files must be present
<ottidmes> cx405: I just checked my own store, I do have /nix/store/ykzwxnwkczz2smwmjsgqdq4b571f1m5y-phonon-qt5-4.9.1/lib/libphonon4qt5.so, maybe it is an alias for that file?
hakujin1 has joined #nixos
<neonfuz> can I manually set $out while testing a nix build?
<neonfuz> I can't figure out how to do it
<neonfuz> so I can test a package installing (nix-shell fails during installPhase because of no write permissions to /nix/
<MichaelRaskin> Yes, and you probably want to do it as early as possible
<cx405> ottidmes: when you go to system settings > multimedia (bottom) > sound and video (bottom) > backend (on far right), do you see any backends?
hakujin has quit [Ping timeout: 240 seconds]
reinzelmann has quit [Quit: Leaving]
<cx405> ottidmes: also, may I ask if you have pulseaudio installed?
<ottidmes> cx405: I do not use KDE, only some Qt applications
<MichaelRaskin> neonfuz: or use user namespaces…
<ottidmes> cx405: I do have pulseaudio enabled, generally a good idea
<hariel> so i have a working system but xmonad default keybindings do not seem to work
<neonfuz> MichaelRaskin: do I just set $out? I tried that and it didn't work
maximiliantagher has joined #nixos
<MichaelRaskin> I would expect it to work if done before any build steps
<cx405> ottidmes: what I find strange, is that NixOS images are shipped with KDE desktop and have this bug.
<ottidmes> cx405: /nix/store/9nh2mg8kd14qa6c2hw0cw81lm494qig6-phonon-backend-vlc-qt4-0.9.0/lib/kde4/plugins/phonon_backend/phonon_vlc.so is the most likely candidate for the file you are looking for, since if I google for the file actually being looked for, they all contain phonon_vlc.so as well, e.g. (from random snippet on the internet): /usr/lib64/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
shabius has quit [Quit: Leaving]
<neonfuz> I ran "out=$(pwd)/out genericBuild" and it failed at install phase trying to write to /nix/...
<neonfuz> so it somehow still wanted to build as if I didn't set out
<neonfuz> btw this is a cmake built program
<mpickering> How do I get the ability to add labels to issues on the issue tracker? It seems silly to read an issue but not be able to add tags to it
<MichaelRaskin> Hmmmm
Drakonis[m] has quit [Changing host]
Drakonis[m] has joined #nixos
Drakonis[m] has joined #nixos
<neonfuz> this is important because currently my build fails at install phase
hakujin2 has joined #nixos
<MichaelRaskin> Maybe hooks have set cmake flags before you had a chance to override anything…
<ottidmes> cx405: So what if we make some derivation that copies over that lib from its actual package and places it in one of the locations being searched for, worth a try, let me see if can write on quick
shabius has joined #nixos
<neonfuz> yeah i should look at the cmake hook maybe
<MichaelRaskin> neonfuz: I would just run it inside an unshare
<cx405> ottidmes: I think its not required, friend..
<ottidmes> cx405: What do you mean, you doubt that that is causing the bug, or what?
<cx405> ottidmes: I think I have done my best to report the problem. Lets hope that maintainer pings back.
shabius has quit [Remote host closed the connection]
<cx405> ottidmes: I don't want you to invest time unnecessary, for workarounds, if you can understand.
<neonfuz> the problem is this program has nested builds "in the project root and also in ./external/<thing>/", and somehow the external builds are failing because they think their root is the main project root
shabius has joined #nixos
<neonfuz> this might be a problem with the program btw, not really sure why it's happening
shabius has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 264 seconds]
hakujin1 has quit [Ping timeout: 264 seconds]
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
<hariel> does anyone here have xfce+xmonad working?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ec191e7d960 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
muzzy has quit [Ping timeout: 260 seconds]
maximiliantagher has joined #nixos
<nand0p> hi all. i try to rebuild my plasma5 desktop weekly from latest master, but this week i got this error:
<nand0p> im usually able to isolate the broken package, and either comment it or fix it (sometimes resulting in PR), but this time i am a bit stuck. any help would be appreciated. im not clear if i should open a github issue, or if this is user error ( i need to declare a package i am missing?)
<mpickering> is that the full log?
<nand0p> the log file specified in output does not exist
shabius has quit [Client Quit]
<mpickering> use -K to keep the build directory and it will be in there
John882 has joined #nixos
<nand0p> ok i will try that. further up in the output, i see:
trevorcook has quit [Ping timeout: 260 seconds]
shabius has joined #nixos
chisui has joined #nixos
<hariel> here are the relevant setting in my configuration.nix, but my xsession is none+xmonad
<chisui> when are changes to the repo propagated to http://nixos.org/channels/nixos-unstable?
<gchristensen> when they pass fitness tests
<symphorien> !stuck
<symphorien> chisui: it is well explained here ^
<gchristensen> !m symphorien
<[0__0]> You're doing good work, symphorien!
hakujin2 has quit [Ping timeout: 246 seconds]
<elvishjerricco> hariel: I think the default display manager is SLiM. On top of that being obsolete (i.e. you should switch to something like lightdm), you have to press F1 to choose the right session
<gchristensen> oh! botbot is back!
maximiliantagher has quit [Remote host closed the connection]
orivej has joined #nixos
maximiliantagher has joined #nixos
<ottidmes> cx405: I think I might have solved your issue, add these to your systemPackages: libsForQt5.phonon-backend-gstreamer libsForQt5.phonon-backend-vlc
<CrazedProgrammer> clever: so, using overrideDerivation worked. it compiled but when booting it could not mount the root filesystem. it was the same issue when trying to apply the kernel_gcc_patch. i'll do some digging in the compile log to see what went wrong. thanks anyways!
<nand0p> mpickering: looks like log file is over 3000 lines,... too big for pastebin and github gist. how can i provide useful output? perhaps you only need the latter half of log file?
<ottidmes> cx405: look: /run/current-system/sw/lib/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so
coot has joined #nixos
<hariel> elvishjerricco i have lightdm, but there is not option to change sessions, i think this happens when theres only 1 option?
<infinisil> Why don't we switch to a non-obsolete window manager as default? I think that's worth considering eventually
<infinisil> display-manager i mean
<gchristensen> I thought we were going to switch to lightdm by default?
<elvishjerricco> hariel: there should be an option; left-most button in the top right corner.
<ottidmes> cx405: Although I do see it refers to qt5.9 and not qt5 in your list of paths, but that might be us having different environment (lets hope so, otherwise that is the bug)
<cx405> ottidmes: I have this file. Its strange.
<elvishjerricco> it's small and unassuming
<infinisil> gchristensen: Ah didn't know that, nice
<hariel> f1 just switches to bigger fotn
<gchristensen> infinisil: I might be wrong ... but good god I hope we do
<infinisil> I just found some really cool SDDM theme, so i think I'll stick with that for now
<hariel> ahh there is
loonquawl has quit [Remote host closed the connection]
<hariel> sorry for missing it
<cx405> ottidmes: let me try this two packages!
<infinisil> SDDM is themed with QML, so it's really flexible, you can do all sorts of things, I haven't looked deep into it though
<lejonet> infinisil: that is quite cool
<hariel> so i can launch xfce+xmonad now but still xmonad default keys wont work
<infinisil> lejonet: you mean QML?
<cx405> ottidmes: I actually added vlc backend just for testing, to make sure its not gstreamer problem
<lejonet> infinisil: mhm
<infinisil> There's this SDDM there I tried to package for NixOS.. https://github.com/3ximus/aerial-sddm-theme
hakujin2 has joined #nixos
<infinisil> Looks really sweet, but I couldn't do it
<infinisil> Maybe a bit unnecessary though heh
<infinisil> it's just a display-manager after all
<cx405> brb
<boomshroom-away> Got libinput running. So smooth...
cx405 has quit [Quit: Konversation terminated!]
<infinisil> boomshroom-away: with a touchpad?
boomshroom-away is now known as boomshroom
<boomshroom> infinisil: Yup.
<coconnor> boomshroom: did you remove/disable services.xserver.synaptics?
<infinisil> I haven't had a a great experience with libinput
<boomshroom> I can even right click!
<boomshroom> coconnor: I commented it out.
<elvishjerricco> infinisil: I just switched to it and it has WAY better defaults than synaptics
<boomshroom> Which is something I can say only because this is NixOS. :D
<boomshroom> I suppose I should have just disabled it and left the configuration there.
maximiliantagher has quit [Remote host closed the connection]
<MichaelRaskin> Well, commenting out the driver configuration in Xorg.conf would work on other distributions…
hakujin2 has quit [Ping timeout: 256 seconds]
<boomshroom> MichaelRaskin: Yes, but on other distrobutions, commenting does not equal uninstalling.
<MichaelRaskin> boomshroom: I guess on the last iteration of my A/B LFS that I used before NixOS, I would have a possibility to comment out as in temporary uninstall. Would just need to reconfigure the huge magic unionfs
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7cb4bebacdc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
cx405 has joined #nixos
<boomshroom> MichaelRaskin: Funny you should mention LFS. My latest LFS installation was interupted by the realisation that what I was doing was already done in Nix. I then installed NixOS and haven't looked back.
<boomshroom> Though the manualness is still cool.
newhoggy has joined #nixos
tertle||eltret has joined #nixos
<MichaelRaskin> I actually used A(utomated)/B(eyond), still got the transparency and configurability
<cx405> ottidmes: unfortunately it backends are not there. nixos-rebuild switch has added libva and vlc, I rebooted the machine and on reboot did nix-collect-garbage, yet they are still missing in settings/multimedia.
<cx405> ottidmes: this has an effect, that firefox is muted for example, but some applications output through alsa plugin, like freeorion or palemoon.
shabius has quit [Quit: Leaving]
newhoggy has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
shabius has joined #nixos
<boomshroom> MichaelRaskin: I've actually considered building an LFS-like installation using Nix, but without using Nixpkgs.
<ottidmes> cx405: Add this to your systemPackages and it should hopefully work: https://pastebin.com/7j6mjv3J I just tested it with one of your paths and it works
timon37 has quit [Read error: Connection reset by peer]
shabius has quit [Remote host closed the connection]
<MichaelRaskin> boomshroom: briefly used at SimplyMEPIS after my third and last ABLFS iteration (the unionfs one), just to look at the opposite side of the spectrum. It mutated into effectively Debian unstable over a short time, and then I stumbled upon NixOS…
<ottidmes> ls /run/current-system/sw/lib/qt-5.9/plugins/phonon4qt5_backend (copied from your issue comment) now returns: phonon_gstreamer.so phonon_vlc.so (yay! that is, if this is all that is needed)
shabius has joined #nixos
jensens has joined #nixos
<infinisil> Ah I see there are more options since last time I used the libinput nixos option
<cx405> ottidmes: let me test, thank you again.
<infinisil> Maybe I'll try it out once more
<neonfuz> nice
<cx405> ottidmes: do I need to relogin or reboot after switch? Its building now.
<cx405> ottidmes: I can read through expression and understand most of it, although I still can't write my own.
newhoggy has joined #nixos
<ottidmes> cx405: It should just work after nixos-rebuild switch, but you might need a restart/relogin for everything to properly work (some apps might not try again to look for the lib for example)
<cx405> ottidmes: YAY!
<ottidmes> cx405: it works? :D
<cx405> ottidmes: :) worked without loging out! I am gonna publish the changes in the ticket using your name, if you are not against!
johannjohann has joined #nixos
rardiol1 has quit [Ping timeout: 240 seconds]
<cx405> ottidmes: yes, both of plugins now list in the dialog. Its probably true that paths are hardcoded. However, I dont understand why did maintainer close the bug...
maximiliantagher has quit [Ping timeout: 276 seconds]
<cx405> ottidmes: thank you very much!
jtojnar has quit [Read error: Connection reset by peer]
<ottidmes> cx405: Sure go ahead, the proper fix would be to patch those 2 libs to point to qt5 as well, but I leave that to the maintainer (I am not familiar enough with the packages)
maximiliantagher has joined #nixos
jtojnar has joined #nixos
aborsu has quit [Quit: aborsu]
maximiliantagher has quit [Remote host closed the connection]
zzamboni has joined #nixos
newhoggy has quit [Ping timeout: 246 seconds]
timon37 has joined #nixos
<cx405> ottidmes: ok, done #27050
asuryawanshi has quit [Ping timeout: 246 seconds]
<cx405> ottidmes: thank you very much again!
asuryawanshi has joined #nixos
reber has quit [Remote host closed the connection]
cx405 has quit [Quit: Konversation terminated!]
risciii has quit [Read error: Connection reset by peer]
<manveru> Profpatsch: that's how the new vgo dependecy file looks like
marusich has quit [Ping timeout: 276 seconds]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<gchristensen> akshay!
<johannjohann> hey everyone--i have a java program attempting to bind to an address using "::" is getting a 'protocol family unavailable' exception. am i right in thinking that this means my system isnt allowing ipv6 addrs to be bound?
<Profpatsch> manveru: I think we just have to live with two lines per dependency.
<Profpatsch> *transitive dependency.
sanscoeu_ has joined #nixos
<Profpatsch> And build our package wrappers in a way that nix produces the same packages from the same sources.
<Profpatsch> At least that gives us deduplication on the store-level.
asuryawanshi has quit [Client Quit]
marusich has joined #nixos
<manveru> johannjohann: what does `ip addr show lo` say?
<johnhamelink[m]> Hey again folks! I'm trying to hook up mopidy with Pulseaudio. When I play a track I don't see a source in `pavucontrol`. When I run `sudo systemctl status mopidy` I see errors like this in the log output: `[pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11`.
<johannjohann> @manveru hi! here is the commands output. im also using networkmanager if thats relevant https://gist.github.com/jobez/12ef55707cc4652d3473fa1da34d82d2
jarth has quit [Ping timeout: 260 seconds]
<manveru> so yeah, it's not your system
sanscoeur has quit [Ping timeout: 245 seconds]
<manveru> you have ipv6 :)
maximiliantagher has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
<boomshroom> Does anyone here have experience with xargo? The rust cross-compilation tool?
<boomshroom> I'm tempted to reimpliment its functionality in Nix.
humanoyd has quit [Quit: WeeChat 2.0.1]
newhoggy has joined #nixos
<Synthetica> How do I override a non-toplevel package?
deepfire has quit [Ping timeout: 248 seconds]
<infinisil> Synthetica: Specifically what? It depends
<Synthetica> xorg.xorgserver
deepfire has joined #nixos
winem_ has joined #nixos
viric has quit [Quit: mirar]
John882 has quit [Ping timeout: 264 seconds]
<infinisil> Synthetica: I think this should be just xorg.xorgserver.override { ... }
<infinisil> not tested though
shabius has quit [Quit: Leaving]
Izorkin_ has quit [Ping timeout: 268 seconds]
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
szicari has quit [Quit: szicari]
zzamboni has quit [Quit: Leaving.]
<boomshroom> Synthetica: infinisil is right. There's no real diference between top-level and non-top-level packages. xorg.xserver evaluates to an overridable package just like any other.
<boomshroom> As far as I know
<Synthetica> Oh, yeah, should've been more clear, I can't assign it back to xorg.xserver for some reason
<infinisil> Synthetica: xorg = xorg // { xserver = xorg.xserver.override { ... }; }
<Synthetica> I get the same error when I just try to just do `xorg.xorgserver = optimizeForThisHost pkgs.xorg.xorgserver;`
<Synthetica> `error: assertion failed at /nix/store/7y4wqpqzh58k9a5rysvkmwgfq993h6q6-nixos-18.03pre130932.cc4677c36ee/nixos/pkgs/development/libraries/dbus/default.nix:4:1`
ryanartecona has quit [Quit: ryanartecona]
<infinisil> Oh optional dependencies, these always confused me, I don't even know if there's a standard way in nixpkgs to do them
<infinisil> I just looked at this line in the file in the error btw
Ridout has joined #nixos
endformationage has joined #nixos
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
viric has joined #nixos
ryanartecona has joined #nixos
shabius has joined #nixos
<Synthetica> Turns out `xorg = lib.mapAttrs (name: value: optimizeForThisHost value) pkgs.xorg;` works
<Synthetica> That's also fine
shabius has quit [Remote host closed the connection]
<hariel> so when i installed nixos it didnt ask me for a root password..
<tilpner> And now you can't login?
<hariel> i can, just cant su
newhoggy has quit [Ping timeout: 264 seconds]
<Synthetica> Can't you do something like set /bin/sh as init script in grub/systemd-boot to get a root shell?
lord| has joined #nixos
<Synthetica> Set a password from there
<tilpner> That's possible, if tedious, assuming that editor is enabled on your system
Ridout has quit [Ping timeout: 248 seconds]
<hariel> i disabled it, as recommended
johannjohann has left #nixos ["ERC (IRC client for Emacs 25.2.1)"]
<Synthetica> Hmm
<tilpner> Another option would be to redo the install from the live ISO. It won't rebuild/download everything, but it should let you set a password
<tilpner> Just mount things into place, and you get another try
hiratara has quit [Ping timeout: 240 seconds]
<hariel> just by running nixos-install?
<tilpner> I think so, yes (but I haven't done this myself)
Ridout has joined #nixos
<hariel> its just weird that it didnt ask me for a password the first time
<hariel> er i remember pressing the middle mouse button by mistake while the installer was running
<hariel> must have pasted some random stuff in there
hiratara has joined #nixos
peciolo has joined #nixos
<hariel> oh well
zzamboni has joined #nixos
MP2E has joined #nixos
<tilpner> Did you disable mutable user accounts?
<hariel> yes
<tilpner> Then everything is working as intended, you just intended the wrong thing :/
zzamboni has quit [Client Quit]
<tilpner> (At least according to nixos-install comments)
ryanartecona has quit [Quit: ryanartecona]
<hariel> it doesnt ask for a password when users are non-mutable?
<tilpner> # Ask the user to set a root password, but only if the passwd command
<tilpner> # exists (i.e. when mutable user accounts are enabled).
<tilpner> That's from nixos-install
<hariel> oh
<hariel> so theres no root? thats weird
<symphorien> non mutable users means everything is declarative, so asking would defeat the purpose
<tilpner> There is root, but you didn't set a password for it? I'm not sure
Ridout has quit [Ping timeout: 256 seconds]
shabius has joined #nixos
<hariel> it makes sense, but still weird
<tilpner> It would have worked if you had set a password for root in your configuration
mahalel_ has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
mahalel_ has quit [Remote host closed the connection]
<gchristensen> there is a root, but the password must be set by setting the hash within the config file
<tilpner> I agree it's a little dangerous, I still haven't activated that option myself
<ottidmes> In user-groups.nix they check for this: "If mutableUsers is false, to prevent users creating a configuration that locks them out of the system, ensure that there is at least one "privileged" account that has a password or an SSH authorized key. Privileged accounts are root and users in the wheel group."
mahalel_ has joined #nixos
<gchristensen> I always turn it on from the first install so there is no danger
mahalel_ has quit [Remote host closed the connection]
infinisil has joined #nixos
<hariel> yeah i can sudo, just can su
<tilpner> Oh
<tilpner> You could have said that :/
<hariel> lol sorry
<hariel> cant su*
newhoggy has joined #nixos
<tilpner> Then you don't need to reinstall, that's good
<joepie91> wrote a little thing on why it's probably best to avoid wildcard certificates (now that Let's Encrypt has them): https://twitter.com/joepie91/status/974040519281168385
<joepie91> er, that was meant to be a link to the post, but I guess the tweet works too..
<hariel> i was just about to lol
mahalel_ has joined #nixos
chisui has quit [Ping timeout: 260 seconds]
<tilpner> What happens when you try to use su?
coot has quit [Quit: coot]
<tilpner> You can try setting users.users.root.hashedPassword, then rebuilding with sudo
<ottidmes> joepie91: Nice to know that they now support wildcard certificates, I did not know. You make a good point in your post, something to keep in mind :)
coot has joined #nixos
vidbina has quit [Quit: #timewarrior]
<hariel> tilpner it asks for root passord
vidbina has joined #nixos
Unode has quit [Ping timeout: 276 seconds]
<tilpner> joepie91 - Another reason to avoid wildcards with specifically LE: they require dns-01 verification, which is really scary to automate, so many people will provide API credentials for the entire domain
<tilpner> hariel - You can try setting users.users.root.hashedPassword, then rebuilding with sudo
<hariel> yup will do
rardiol1 has joined #nixos
ClashTheBunny has quit [Ping timeout: 260 seconds]
<joepie91> tilpner: right, but that's a solvable problem :P
<joepie91> I'm just focusing on the inherent risk here, of the concept
Unode has joined #nixos
Ridout has joined #nixos
<tilpner> (pm, this is offtopic)
maximiliantagher has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
maximiliantagher has joined #nixos
<MichaelRaskin> Hey, there's #nixos-chat specifically for that!
ryanartecona has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
abrar has quit [Quit: WeeChat 2.0]
hariel has quit []
pie_ has quit [Ping timeout: 264 seconds]
kblobr has joined #nixos
kblobr has left #nixos [#nixos]
hiratara has quit [Quit: ZNC - http://znc.in]
kblobr has joined #nixos
hiratara has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
<shlevy> :o
<shlevy> So many channels...
simukis has quit [Ping timeout: 268 seconds]
jensens has quit [Ping timeout: 246 seconds]
winem_ has quit [Ping timeout: 276 seconds]
<jluttine> doc/package-notes.xml
jluttine has quit [Quit: WeeChat 2.0]
jluttine has joined #nixos
maximiliantagher has joined #nixos
<jluttine> LnL: thanks
maximiliantagher has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/622c5bebbea (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<tilpner> An activation script sets permissions of a directory in my setup, but I just encountered a state where "sudo /run/current-system/activate" altered those permissions. Any ideas?
<tilpner> I didn't change those activation scripts recently, but I did just upgrade to nixos-18.03. Is there any way that (+ a reboot) could cause an activation script to not... run? Or an old one, maybe?
* tilpner reboots, will be right back
pikajude has quit [Quit: ZNC 1.6.5 - http://znc.in]
pikajude has joined #nixos
<tilpner> Hmm, after rebooting, the permissions are again reset
<tilpner> (To bad values)
mkoenig_ has quit [Ping timeout: 264 seconds]
mkoenig has joined #nixos
pp00m has joined #nixos
hakujin2 has joined #nixos
zzamboni has joined #nixos
maximiliantagher has joined #nixos
hakujin2 has quit [Ping timeout: 264 seconds]
jtojnar has quit [Quit: jtojnar]
maximiliantagher has quit [Ping timeout: 246 seconds]
jtojnar has joined #nixos
pp00m has quit [Quit: Page closed]
ryanartecona has quit [Read error: No route to host]
ryanartecona has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/af97515d70d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
maximiliantagher has joined #nixos
muzzy has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
gerschtli has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
Tobba has joined #nixos
maximiliantagher has joined #nixos
<la_putin> is it possible in a shared object for the stack to overwrite the heap
gerschtli has quit [Ping timeout: 248 seconds]
alexteves has quit [Ping timeout: 256 seconds]
alexteves has joined #nixos
Neo-- has quit [Ping timeout: 246 seconds]
ryanartecona has quit [Quit: ryanartecona]
knupfer has quit [Ping timeout: 240 seconds]
zzamboni has quit [Quit: Leaving.]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/622c5bebbea (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
alexteves has quit [Ping timeout: 264 seconds]
digitus has quit [Quit: digitus]
muzzy has quit [Remote host closed the connection]
rogue_koder has quit [Quit: Konversation terminated!]
<tobiasBora> Is there a command to statically build nix using the ./configure script? I tried different tricks, but none of them are working