zimbatm changed the topic of #nixos to: NixCon 2018 - 25-27 Oct in London https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<ldlework> I have just enabled virtualization.docker but there is no docker related systemd unit and the daemon is not runnign
<ldlework> And I have "docker" in my extraGroups, but my user isn't in that group
<gchristensen> ah, you'll need to log out / log back in for your groups to update
<ldlework> oh derp
<gchristensen> oh actually I just recently learned about `newgrp`?
<gchristensen> never used it though
camsbury has joined #nixos
jasongrossman has joined #nixos
MrAngel has quit [Ping timeout: 256 seconds]
devoid has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed 6 commits to release-18.09: https://git.io/fxfVK
camsbury has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed to master « Revert "doc: Update section about imperative containers" »: https://git.io/fxfV9
<makefu> ldlework: docker is socket-activated. once you try to use the docker tools the service should spin up
<makefu> ah, and the re-login ofc
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fxfVp
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/29624f6bb26 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxfVj
jasongrossman has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @grahamc pushed commit from @dtzWill to release-18.09 « nix-daemon: only add channels dir to NIX_PATH if exists »: https://git.io/fxfwL
<{^_^}> [nixpkgs] @grahamc closed pull request #45400 → NIX_PATH: don't prepend $HOME-based value in session variable, set later → https://git.io/fAJeX
thc202 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @grahamc pushed to master « Revert "Revert "doc: Update section about imperative containers"" »: https://git.io/fxfwn
<{^_^}> [nixpkgs] @grahamc pushed to release-18.09 « Revert "Revert "doc: Update section about imperative containers"" »: https://git.io/fxfwB
Rusty1 has quit [Quit: Konversation terminated!]
<gchristensen> Dezgeg: ^
<{^_^}> [nixpkgs] @grahamc pushed to release-18.09 « docs: format »: https://git.io/fxfwE
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to master « docs: format »: https://git.io/fxfwa
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7b54dbafa88 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
sb0 has quit [Quit: Leaving]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
lassulus_ has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @nek0 opened pull request #47545 → openra: 20180307 -> 20180923 → https://git.io/fxfrZ
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
silver has quit [Read error: Connection reset by peer]
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @nek0 opened pull request #47546 → EmptyEpsilon: fix version numbering → https://git.io/fxfru
sb0 has joined #nixos
Kelppo has joined #nixos
Kelppo has quit [Ping timeout: 252 seconds]
Kelppo has joined #nixos
<ldlework> gchristensen: makefu so I relogged in and there's still no docker service, docker ps doesn't work, I'm not in the docker group, which doesn't exist
<ldlework> I have virtualization.docker.enable = true; in my config
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/26537f53792 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
phreedom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47547 → lz4: 1.8.2 -> 1.8.3 → https://git.io/fxfKR
<clever> ldlework: what does `grep docker /etc/group` report?
<ldlework> nada
<clever> then the docker group doesnt exist, relogging wont do anything
<clever> did you nixos-rebuild?
phreedom has joined #nixos
Ariakenom has quit [Quit: Leaving]
init_6 has joined #nixos
b has joined #nixos
sb0 has quit [Quit: Leaving]
slack1256 has joined #nixos
init_6 has quit []
wpcarro has joined #nixos
<wpcarro> Does anyone have an example of a NixOS configuration that uses i3? I'm having a hard time setting it up currently
wpcarro has quit [Remote host closed the connection]
drakonis has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @Sorixelle opened pull request #47549 → dart: 1.24.3 -> 2.0.0 → https://git.io/fxf68
Kelppo has quit []
Mateon2 has joined #nixos
EarlDeLaWarr has quit [Ping timeout: 252 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon2 is now known as Mateon1
<jasongrossman> wpcarro: I do. The relevant part is:
<jasongrossman> windowManager.default = "i3";
<jasongrossman> windowManager.i3.enable = true;
<jasongrossman> desktopManager.default = "none";
<jasongrossman>
<jasongrossman> (All under services.xserver.)
orivej has quit [Ping timeout: 252 seconds]
hamishmack has joined #nixos
<clever> ,locate json-diff
<{^_^}> Found in packages: haskellPackages.aeson-diff
jb55 has joined #nixos
<jb55> in the process of upgrading to xorg 1.20... brutal refactor: https://github.com/jb55/nixpkgs/commit/329548a7b7d9225dbd65049fcfc6d5c47df6fe38
drakonis has quit [Read error: Connection reset by peer]
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fxfiH
<{^_^}> [nixpkgs] @dtzWill merged pull request #47534 → zig: 0.2.0 -> 0.3.0 → https://git.io/fxf8z
<{^_^}> [nixpkgs] @dtzWill merged pull request #47530 → libreoffice-fresh: 6.1.1.2 -> 6.1.2.1 → https://git.io/fxfnA
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fxfiA
init_6 has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0a784c094f2 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
camsbury has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #47551 → snipes: init at 20171208 → https://git.io/fxfPs
camsbury has quit [Ping timeout: 245 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
glowpelt has quit [Quit: Restarting...]
glowpelt has joined #nixos
jasongrossman has quit [Ping timeout: 272 seconds]
<ldlework> clever: I did indeed nixos-rebuild
Thra11 has joined #nixos
<clever> ldlework: have any reboots occured?
<ldlework> No I just logged out
jasongrossman has joined #nixos
<clever> virtualisation.docker.enable
<clever> 2018-09-29 23:49:24 < ldlework> I have virtualization.docker.enable = true; in my config
<clever> ldlework: you spelled virtualisation wrong
<ldlework> nooooooooo
<clever> the mkRenameModule stuff breaks this error detection
sir_guy_carleton has joined #nixos
<typetetris> is there a fetchFromNexus in nixpkgs?
<ldlework> clever: didn't this happen before? lol jeeze.
<clever> ldlework: yeah, i remember somebody in #nixos having this same issue before
<sir_guy_carleton> so disabled memtest86 on my machine, and it booted up muke quicker, with 5 sec less on boot. not complaining, but i'm not sure why. any ideas?
<clever> sir_guy_carleton: how did you disable it?
<sir_guy_carleton> just with nixos option boot.loader.grub.memtest86.enable = false
<sir_guy_carleton> i believe that is the default
<sir_guy_carleton> i enabled because i wanted it there just in case, i guess
<clever> sir_guy_carleton: the only thing that does is add a single entry to the grub menu, and copy a single file to /boot/
<sir_guy_carleton> but trying it, on a lark, it didn't work, so i decided to remove it
<clever> it should have no effect on or off
<clever> try turning the option back on and see if it makes it slow again
<clever> sir_guy_carleton: and check what systemd-analyze reports
<clever> for my laptop:
<clever> Startup finished in 3.762s (firmware) + 5.318s (loader) + 30.203s (kernel) + 31.852s (userspace) = 1min 11.137s
<clever> graphical.target reached after 31.852s in userspace
<clever> and desktop:
<clever> Startup finished in 459us (firmware) + 32us (loader) + 6.082s (kernel) + 20.118s (userspace) = 26.200s
<clever> graphical.target reached after 20.117s in userspace
<clever> the laptop has luks active, so part of the pause is just it waiting for a password
<sir_guy_carleton> clever: eh, maybe later; it's not the biggest deal. just seemed odd; i can't think of any other recent boot changes that decrease boot time, oh well
<{^_^}> [nix] @cleverca22 opened pull request #2459 → add a sublist primop → https://git.io/fxfXc
<Zajcev> guys, please help, what firewall configuration enable ftp? networking.firewall.allowedTCPPorts = [ 20 21 ] is not working, I can connect but ls command is stucked at [Making data connection...]. When I disable firewall, it's working.
simukis has joined #nixos
<Zajcev> I think I need something else?
<clever> Zajcev: ftp opens another connection on a somewhat random port, in a somewhat random direction, for the ls traffic
sir_guy_carleton has quit [Disconnected by services]
<clever> the direction depends on if you are using active or passive ftp
<Mic92> Zajcev: you need an iptables helper for connection tracking.
<clever> and that controls which end you have to open the port on
sir_guy_carleton has joined #nixos
<Mic92> but is not already included in our iptables?
<clever> Mic92: i can see the conntrack plugin loaded in my laptop&desktop, neither of which have nat setup
<Zajcev> I've allready tried networking.firewall.connectionTrackingModules = [ "ftp" ] and networking.firewall.autoLoadConntrackHelpers = true
<Zajcev> same results
<Mic92> Zajcev: it looks to me, that you have to reboot at the moment or use manually sysctl -w net.netfilter.nf_conntrack_helper=1 to have an effect
<Mic92> and modprobe ip_conntrack_ftp
grp has joined #nixos
<Mic92> this module will be also loaded after reboot
<Zajcev> hm
<Zajcev> I don't like reboots :-)
<Mic92> then do sysctl + modprobe
<clever> ive disassembled a laptop down to its motherboard before, just to avoid a reboot!
<Mic92> well if you want to impress your friends with uptime stats use rather this: https://github.com/Mic92/uptime_hack
<clever> your evil!
<Mic92> but way more effective and one can still get kernel security updates.
<clever> 08:13:41 up 837 days, 13 min, 12 users, load average: 3.86, 3.50, 3.63
<clever> 07:14am up 565 days 7:29, 1 user, load average: 0.05, 0.05, 0.02
alex`` has joined #nixos
<alex``> Hi
<clever> Mic92: those are the highest legit times i can find
<alex``> What is the value of $XDG_CURRENT_DESKTOP when using Plasma?
<Zajcev> Mic92: I'll try, thanks guys, I have to run now ... :-)
<Zajcev> clever:
v0|d has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos
<Zajcev> Mic92: clever: update, it's kind of working without any modification yet, but ls command takes ages, minutes ...
<Zajcev> next question, little bit stupid ... machine I want to ftp is behind nat, is neccessary to have firewall enabled there? I forward only needed ports
<clever> Zajcev: check with `netstat -anp` to see what connections the ftp client is making
<clever> or enable a verbose mode in it
<Mic92> Zajcev: sftp is probably faster, for NAT you will also need the ftp nat helper ip_nat_ftp
<Mic92> The destination will not need a firewall.
<Zajcev> Mic92: wordpress needs ftp
<Mic92> how?
<Mic92> https://stackoverflow.com/a/5650020 there seems to be alternatives though.
<Zajcev> hm ...
<Zajcev> it'll be nice ... I prefer to not use ftp ...
<Zajcev> thanks, I'll look at it
goibhniu has quit [Ping timeout: 272 seconds]
b has quit [Quit: Lost terminal]
<teto> --no-build-hook is still present in nix-build doc but I think it was removed, at least recent nix-build don't accept it
<teto> doc = manpage
wpcarro has joined #nixos
Anton-Latukha has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
wpcarro has quit [Ping timeout: 268 seconds]
Izorkin has joined #nixos
Thra11 has quit [Quit: WeeChat 1.4]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @teto closed pull request #46027 → [rdy] fetchFromGitLab: escape "repo" parameter → https://git.io/fA46M
jasongrossman has joined #nixos
juhe has joined #nixos
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<colemickens> Anyone on 'nixos-unstable' and having issues with flatpak apps?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
norfumpit has joined #nixos
wpcarro has joined #nixos
<norfumpit> so how do yall backup your postgres databases
wpcarro has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
<Mic92> colemickens: do you have the flatpack module enabled?
goibhniu has quit [Read error: Connection reset by peer]
<Mic92> norfumpit: there is a postgres backup module, I have not migrated to it yet
JonReed has joined #nixos
init_6 has joined #nixos
<teto> is there a way to convert an attrset into json while keeping the order ? right now order is lost
<symphorien> an attrset has no order
<Mic92> it is mapped to an c++ map
<clever> in the nix side, an attrset is sorted by the int behind each key
<clever> and those ints are sorted by when the given string was first used as a key in any set
slack1256 has quit [Ping timeout: 268 seconds]
nschoe has joined #nixos
nschoe has quit [Client Quit]
sigmundv has joined #nixos
<colemickens> Mic92: yeah, I'd been using the FirefoxNightly flatpak for a while without issue.
<colemickens> It could be an issue with that flatpak, I'll give another one a whirl.
<colemickens> worse yet, it looks like it's a known issue with Sway. Even though I swear it was working previously. Might've been before I switched to the 1.0 builds...
<colemickens> anyway, I've got some things to check :/
wpcarro has joined #nixos
<emily> colemickens: oh, do you have nix(os) stuff for those?
Ariakenom has joined #nixos
Thra11 has joined #nixos
<colemickens> Yeah, but it's a bit convoluted. I'm using a second nixpkgs enlistment locally with a PR for meson pulled. I'm then referencing that from my regular nixpkgs enlistment so that I can pull in the right sway package and get the sway wrapper. I've also added an option to the sway module to make the package configurable. I was going to send PRs when Sway actually hit 1.0 and the Meson PR lands.
sir_guy_carleton has quit [Ping timeout: 268 seconds]
wpcarro has quit [Ping timeout: 264 seconds]
<colemickens> I'm also wondering if the addition of the sway wrapper in the module is what broke flatpaks for me (others don't work either)... I'm going to do some testing.
sir_guy_carleton has joined #nixos
inquisitiv3 has quit [Ping timeout: 252 seconds]
<emily> colemickens: right, okay.
<colemickens> https://github.com/colemickens/nixpkgs (cmpkgs=my main branch) (sway-wip=sway changes)
<emily> I'd vaguely encourage you to send PRs sooner but I guess the Sway maintainer guy gets mad if you do that <_<
<JonReed> Which package provides `ghcjs`? I have tried `haskell.packages.ghcjs.ghcWithPackages` and it seems to compile packages with ghcjs, but the environment it results in has no `ghcjs` command.
<colemickens> emily, hm, as much as I love the bleeding edge, I don't usually send PRs for upgrades to unstable builds. I think the pre-1.0 builds are considered more stable of Sway? But I actually don't know that for a fact.
<colemickens> I can at least send the module change.
<emily> I've found the release version of Sway to be kind of unusable :s
<emily> colemickens: 1.0 doesn't need the caps at all, by the way
<emily> so all that can be dropped
<colemickens> :)
* colemickens feels like he hit the IRC jackpot
<colemickens> thank you! I can at least send PRs for wlroots and sway and let it sit for others to pull and/or maintainers to consider.
<colemickens> I'll do it right now.
<emily> ah, I suggest not for sway
<emily> the reason I said that about the maintainer is I've seen him actively complain about it getting packaged
<emily> when prerelease
<colemickens> Ah okay.
<colemickens> emily: is the dbus-launch stuff in swayWrapped/swayJoin still needed?
<emily> I don't know. I don't understand why it uses dbus-launch in the first place. in my opinion that should be the user's decision.
sigmundv has quit [Ping timeout: 244 seconds]
<emily> you need a logind session for it to not need root/setuid though
<emily> but presumably NixOS should arrange that okay
<emily> I think for 1.0, since no caps are needed as long as logind is set up correctly, it'd be best to just remove all the wrapping done over upstream.
goibhniu has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<norfumpit> Mic92: do you mean wal-g?
sir_guy_carleton has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Ping timeout: 240 seconds]
<norfumpit> Mic92: oh nice, pretty barebones tho
<Mic92> norfumpit: what is missing?
<norfumpit> Mic92: like rotation
<norfumpit> cleanup
<Mic92> norfumpit: well, you don't want to backup to the same machine any way. You can combine with attic.
<Mic92> I mean borgbackup
<norfumpit> Mic92: im using tarsnap on the filesystem, so i thought i would just do dumps locally, and then upload to tarsnap
<Mic92> norfumpit: yes, then you can use tarsnap for rotation/cleanup
<norfumpit> Mic92: i dont think it does that
<norfumpit> i would need a third thing
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<Mic92> norfumpit: it does not? I thought it would have been more advanced.
oldandwise has joined #nixos
jasongrossman has joined #nixos
__monty__ has joined #nixos
<norfumpit> Mic92: so this would do rotation of tarsnap backups. that doesn't take care of pg dumps locally
<Mic92> Well then you need your own script I gess
<norfumpit> yea think so
dozn_ has quit [Read error: Connection reset by peer]
<Mic92> zfs does my auto snapshots
<norfumpit> i was thinking of just packaging that^
<norfumpit> as i understand it pg needs to be shutdown to reliably take snapshots of its data dir on fs level
<Mic92> I remember it had an option to do a snapshot that can be dumped
sir_guy_carleton has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
<JonReed> ,locate ghcjs
<{^_^}> Found in packages: haskellPackages.ghcjs-ajax.doc, haskellPackages.ghcjs-base-stub, haskellPackages.ghcjs-codemirror, haskellPackages.ghcjs-websockets.doc
<manveru> norfumpit: you should use pg_dump for backups
<manveru> or pg_dumpall, depending on your usecase :)
<manveru> that works fine while the DB is up too
sir_guy_carleton has quit [Ping timeout: 252 seconds]
sir_guy_carleton has joined #nixos
<manveru> either -Fc or -Fd formats are ok now, i think that wiki is old
oldandwise has quit [Quit: leaving]
[Leary] has quit [Ping timeout: 252 seconds]
Lears has joined #nixos
wpcarro has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
patrl has joined #nixos
patrl has quit [Ping timeout: 260 seconds]
<Ashy> hmm, I'm trying to nixify a personal python project with setup.nix, but when I run nix-shell the Nix daemon runs out of memory
v0|d has joined #nixos
<Ashy> i did find this but get an error "cannot coerce null to a string" if i try that: https://stackoverflow.com/a/39493330
<symphorien> Do you have the message "dumping a large path, this may run out of memory" ?
<symphorien> Ah this is the subject of the stack overflow thread
<manveru> Ashy: usually that means you have a `src` set that includes the whole directory, including some huge things like binaries, logs, caches, etc...
<Ashy> manveru: ah yeap, that's true i do
<manveru> check `ncdu` to find those, and either use `filterSource` to remove them from `src`, or delete them if possible :)
<Ashy> oh wow just reading the manual on filterSource, even the git dir is likely being pulled in
orivej has joined #nixos
timon_ has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
kyren has quit [Read error: Connection reset by peer]
owickstrom has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #47554 → light: 1.1.2 -> 1.2, use new udev support instead of setuid wrapper. → https://git.io/fxfHK
jtojnar has quit [Ping timeout: 244 seconds]
sb0 has joined #nixos
kreetx has joined #nixos
<kreetx> if I use runInteractiveCommand from within my haskell app it says that /bin/sh is not found. This makes sense that it is so -- given nixos. What would be a good way to fix this?
<kreetx> should I pass in the path to shell in the systemd configuration?
<kreetx> or should I make an alias for it somehow
b has joined #nixos
<symphorien> NixOS has /bin/sh
<symphorien> this sounds strange
<kreetx> the actuall error is this: "app: /bin/sh: runInteractiveCommand: runInteractiveProcess: exec: does not exist (No such file or directory)"
<kreetx> and this is from a docker image created from nix
<kreetx> is it the exec that is missing, I'm not really sure
<symphorien> hum. this error message is obscure. can you strace -f -e trace=process to find what exactly fails to execute ?
<kreetx> symphorien: I'll try!
orivej has joined #nixos
<srhb> kreetx: /bin/sh might indeed not exist in your docker image unless you added it to contents.
<JonReed> kreetx: I'm not sure about shell, but for any extermal dependencies normally you would wrap a haskell executable with `wrapProgram $yourHaskellExecutablePath --prefix PATH : ${makeBinPath buildInputs}`, where `buildInputs` are non-haskell dependencies.
<JonReed> during the installation process
astrofog has joined #nixos
inquisitiv3 has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
juhe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.3.14 -> 1.4.0 »: https://git.io/fxf7d
owickstrom has quit [Ping timeout: 244 seconds]
philippD has joined #nixos
<avn> kreetx: regular nixos have /bin/sh, particular container can haven't it
Diagon has joined #nixos
<Diagon> Could nix pkg manager be used by a non-root user? Eg, something like homebrew/linuxbrew?
<Yaniel> yes
<Diagon> Excellent. I'm off to read. Thank you both!
<avn> Boo. Zathura synctex still broken?
<Diagon> Ok, but not having sudo, can I replace /nix by some other local directory?
<avn> Diagon: you won't it. /nix hardwired into too much stuff. You would need rebuild everything yourself.
<Diagon> Ah, too bad. Have a shared server. I thought I could get rid of linuxbrew ... Well, I'll find another way to learn about Nix. Thanks.
<teto> avn: the fix is in staging/master you just ahve to wait
<avn> teto: 9e87b56dd1e20b1d0f5fce34694f4e1362afd3fb isn't help. Still want synctex_version.h to build
<teto> avn: you need texlive to reach nixos-unstable I think
<avn> ce6e72a11cc2f52d6e92224791fe5db7f9e2ecdd I guess is needed. It is in staging, but not in master yet
<avn> (I am on master, or moreover on own branch on top of master)
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth opened pull request #47555 → language_subtag_registry: fix hash → https://git.io/fxfd2
<teto> meanwhile I replaced it with apvlv
<avn> teto: replace what?
graphene has joined #nixos
<avn> tell me more please ;)
<teto> avn: https://github.com/naihe2010/apvlv is zathura -like. I havent tested the synctex support though
<avn> teto: I don't need synctex, but I want zathura build for my pdfs ;)
Rusty1 has joined #nixos
<avn> Shit, looks like texlive related commit invalidate half of system (including browsers)
<{^_^}> [nixpkgs] @et4te opened pull request #47556 → buildRustPackage now installs binaries to bin and libraries to lib → https://git.io/fxfdM
<avn> teto: is apvlv in nixpkgs?
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<Unode> Has anyone managed to successfully run nix-index recently? I keep getting http://dpaste.com/3NSNXNV
sir_guy_carleton has joined #nixos
<rawtaz> Unode: curious, did you investigate the JSON file?
<rawtaz> it sure isnt JSON
<Unode> no, it's some kind of binary blob
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<Unode> I mean, yes I did inspect the file in the error, and no it's not JSON.
goibhniu has quit [Ping timeout: 268 seconds]
<Unode> though I can't really tell if this is a mistake on nix-index or if something weird happened to that file in the cache.
sir_guy_carleton has joined #nixos
<rawtaz> me neither. let's see what some knowledgable people in here say about it
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxfFq
<{^_^}> bennofs/nix-index#35 (by jameysharp, 2 weeks ago, merged): Ignore fetch failures
<manveru> you'll need this version
sir_guy_carleton has quit [Ping timeout: 272 seconds]
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @knedlsepp opened pull request #47557 → python-mapnik: Fix build → https://git.io/fxfFs
sir_guy_carleton has joined #nixos
<rawtaz> manveru to the rescue :)
wpcarro has quit [Ping timeout: 244 seconds]
<kreetx> is therea a way to find a nix package by the binary name?
<Unode> manveru: :thumbsup:
sir_guy_carleton has quit [Ping timeout: 272 seconds]
<teto> kreetx: you can install nix-index / nix-locate
<manveru> kreetx: nix-index :)
<manveru> ,locate firefox
<{^_^}> Found in packages: msf, warmux, firefox-esr, firefox-unwrapped, firefox-esr-60-unwrapped, python27Packages.selenium, python36Packages.selenium, firefoxPackages.tor-browser
<manveru> or this bot here
<kreetx> ,locate shasum
jtojnar has joined #nixos
<{^_^}> Found in packages: perl, meteor
<kreetx> ok :)
<manveru> ,locate sha256sum
<{^_^}> Found in packages: busybox, coreutils
<kreetx> perl it is :p
<kreetx> wait, which one I should use?
<manveru> depends on what hash you want
<manveru> but coreutils has sha1 to sha512
<Unode> ah having it in the bot is even better!
<manveru> not sure which nixpkgs the bot queries though
<Unode> (is there anything the bot can't do these days? :)
<Unode> nixpkgs master I suppose
<kreetx> and: are there two bots?
<manveru> also there's the command-not-found command, which i like
<Unode> manveru: by the way, in your endeavours with nix-index, you wouldn't happen to have come across any tricks to lower the memory requirement? On my machine 4GB are barely enough. If I have a browser open it will start freezing/swapping
<Unode> ,locate aclocal
<{^_^}> Couldn't find in any packages
<Unode> interesting
<manveru> no, sorry, i only use it on my machine with 32GB :P
<manveru> but command-not-found uses the db built by hydra i think
<manveru> so should use next to no memory
<manveru> ,locate command-not-found
jb55 has quit [Quit: WeeChat 2.1]
<{^_^}> Found in packages: oh-my-zsh, zsh-prezto
<infinisil> The bot doesn't use a specific nixpkgs version, it's just the one I updated nix-index with last
<infinisil> Automatic updates to nixos-unstable or so would be nice
<rawtaz> ,locate restic
<{^_^}> Found in packages: restic.bin
inquisitiv3 has quit [Ping timeout: 252 seconds]
<Unode> manveru: seems like the latest nix-index doesn't build here. Oh well...
jb55 has joined #nixos
<Unode> oh nevermind, the hash is outdated
sir_guy_carleton has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
<jb55> woot running on xorg 1.20 now. patch incoming
avn has quit [Ping timeout: 272 seconds]
mkoenig has joined #nixos
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<Unode> curiosity, has anyone ever tried to use nix (the language) for anything else other than nix the package manager?
<Myrl-saki> Unode: A calculator?
<Myrl-saki> Unode: I use it to fetch source code too, if that counts.
<Myrl-saki> cd $(mktemp -d)
wpcarro has joined #nixos
<Myrl-saki> tar -xf $(nix-build '<nixpkgs>' -A hello.src --no-out-link)
sir_guy_carleton has joined #nixos
<manveru> Unode: i use it to build kubernetes configs for example
<Myrl-saki> I also use it to manage my shell scripts.
<manveru> also all my desktop via home-manager
<manveru> but that falls under package manager... kinda
<Unode> yeah, I was wondering more of standalone things. Like say, could the 'nix' command actually be implemented in nix?
<{^_^}> [nixpkgs] @knedlsepp opened pull request #47558 → pythonPackages.py-cpuinfo: Fix darwin build → https://git.io/fxfbG
astrofog has quit [Remote host closed the connection]
wpcarro has quit [Ping timeout: 244 seconds]
sir_guy_carleton has quit [Ping timeout: 268 seconds]
<infinisil> Unode: Nope
<infinisil> It's a purely functional language, and the only thing it can do is build derivations
chaker has quit [Quit: WeeChat 1.4]
<infinisil> No I/O
<infinisil> (Unless you implement some runtime system in another language that interprets nix in some way..)
chaker has joined #nixos
<teto> any advice on a GUI process manager ? I am tired of looking at ps manpage :'(
<infinisil> teto: htop?
<teto> infinisil: was thinking more like gnome-system-monitor, I want to see the environment of a process
<infinisil> teto: press 'e' in htop to see the env :)
<infinisil> Yeah not what you're looking for, but htop can really do a lot
<Unode> atop can do what htop can't
<teto> infinisil: neat ! Do you know by any chance if it's possible to fold process trees ?
<infinisil> Heh, don't think htop can do that
<tilpner> teto - "+" and "-"
<infinisil> Oh yeah, just found out too
<infinisil> press 'h' for the help page with available commands
<tilpner> Also "s" for strace and "l" for open files
<teto> gnome-systemmonitor fails in strange way. I clik on "ressources" it switches to right window but immediately goes back to the previous window
owickstrom has joined #nixos
<chaker> Hey, I'm trying to build a package remotely using '--builders' flags. My local nix-daemon was able to connect to the remote one. It sent all deps necessary to build the package and it was built successfully. But when it was copying back to my local machine, I got a "error: cannot add path 'blablabla' because it lacks a hash".
<chaker> Root does have ssh access to the remote env (hence it was able to sent the deps). And my user is trusted in the nix-daemon.
<teto> everytime I use htop I get frustrated at how long simple things take but your tips are helpful ty infinisil
<infinisil> teto: What simple thing takes long?
wpcarro has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<manveru> chaker: you'll need to add a signing key to your remote machine, i think
<manveru> chaker: also, how did you copy it back?
<manveru> using `nix copy`?
<teto> it's just as I use it only from time to time, I forget the mappings so I would rather click somewhere :)
<manveru> just use it a year or ten... :)
<manveru> and you can always type `?` to get help too
<manveru> or `h`, or `F1`
<kreetx> srhb, JonReed, avn: thanks for the hints earlier! The fix was to add packages like 'bash', 'coreutils' and 'gnutar' to the docker image's 'contents' attribute -- so sh, tar, sha256sum, etc can be used. Also, when diagnosing the problem then apparently docker command 'docker logs <container>' shows only the stderr part of what my app complains, so it's important to print to *that* instead of stdout,
<kreetx> otherwise the actual errors go un-noticed.
<manveru> doesn't `docker logs` show stdout if you run docker without `-i`?
<manveru> (also with `-d` i guess)
camsbury has joined #nixos
<chaker> manveru: No, without 'nix copy'. nix-build was trying to copying the result of the remote build locally. But it failed with that error.
wpcarro has quit [Read error: Connection reset by peer]
wpcarro has joined #nixos
wpcarro has quit [Client Quit]
<chaker> Hmm, nix copy fail with "error: hash '' has wrong length for hash type 'sha256'"
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
goibhniu has joined #nixos
<alex``> How use Plasma here?
kreetx has quit [Ping timeout: 252 seconds]
<rawtaz> alex``: "here"?
goibhniu has quit [Ping timeout: 252 seconds]
owickstrom has quit [Ping timeout: 252 seconds]
MrAngel has joined #nixos
<MrAngel> I've followed the dual boot instructions and applied the resulting config but I don't get a windows option on my GRUB menu. Is there another step I've missed/
<rawtaz> MrAngel: what instructions did you follow?
<MrAngel> Specifically adding the following to config:
<MrAngel> boot.loader.grub.extraEntries = '' menuentry "Windows 7" { chainloader (hd0,1)+1 } '';
<rawtaz> do you have MBR or EFI on the disk?
camsbury has quit [Quit: WeeChat 2.0]
owickstrom has joined #nixos
<symphorien> MrAngel: https://nixos.org/nixos/options.html#useosprober can generate this automatically
<rawtaz> heh, the autoprober thing looks simpler, tried it? :)
<MrAngel> Yeah, "useOSProber" isn't recognised as a legal field
<rawtaz> hey symphorien, our eternal helper hero
<rawtaz> MrAngel: please pastebin your config :)
<MrAngel> I'm guessing this means I need to update but I really don't want to try and read the procedure for updating through links :/
<MrAngel> It's literally what's shown in the wiki article
<symphorien> what do you mean by "update"
<symphorien> ?
<rawtaz> MrAngel: yes, but that doesnt let us determine if you put it the right place etc
<MrAngel> Fair. I'll go pastebin the thing now, brb because I'll have to reboot to nix again
<rawtaz> thank you
kreetx has joined #nixos
<kreetx> manveru: 'docker logs' appears only to show stderr when the executable is started via systemd
<kreetx> which I think the Cmd = "..." does
<kreetx> otherwise yes, docker logs would print stdout too (I think)
rfold has joined #nixos
MrAngel has quit [Ping timeout: 256 seconds]
<symphorien> kreetx: systemd has options to decide what happens with stdout and stderr, maybe it can help
MrAngel has joined #nixos
<MrAngel> Is this thing on? Been a very long time since I touched irssi
<rfold> Hi, does nix-build spawn a new process which does the actual work? I'm trying to use a Nix expression in /proc/self/fd/... with a file opened with O_TMPFILE.
<rawtaz> MrAngel: sure it is
<MrAngel> Cool, now just let me figure how to use gpm to get things onto pastebin
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/766e3228c2f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<rfold> Oh it seems like it stats the file to resolve symlinks, and finally opens it via the resolved name instead of directly reading from the file.
v0|d has quit [Ping timeout: 268 seconds]
<MrAngel> @rawtaz http://sprunge.us/lRyalx
<{^_^}> [nixpkgs] @vbgl merged pull request #47458 → ocamlPackages.odoc: fix resolution of odoc.css → https://git.io/fxeVJ
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.odoc: fix resolution of odoc.css »: https://git.io/fxfxr
endformationage has joined #nixos
johanot has joined #nixos
<rawtaz> MrAngel: do you use MBR or EFI on the disk?
<MrAngel> I think it's MBR but I'm not 100% sure
<MrAngel> (It's supposed to be a UEFI Sandy Bridge board but when I installed Arch back in the day I could only get it to boot MBR)
<rawtaz> hm
<rawtaz> ah you can check with fdisk /dev/yourdevice i think
<rawtaz> or probably gparted too
<MrAngel> What do I do in fdisk to get that info out?
<MrAngel> The screen here is so small it chomps fdisk's help output :/
MrAngel has quit [Quit: Lost terminal]
init_6 has quit [Ping timeout: 252 seconds]
<alex``> rawtaz: I want to know the value of $XDG_CURRENT_DESKTOP when in Plasma
<rawtaz> mayhewluke: are you in the fdisk prompt? if yes, press p to print info, then q to quite
<rawtaz> -e
<rawtaz> err
<rawtaz> mayhewluke: that wasnt for you, sorry
<rawtaz> alex``: open a terminal and enter `echo $XDG_CURRENT_DESKTOP`?
<rawtaz> without quotes
<alex``> rawtaz: I’m not in Plasma
<alex``> I want to know it to have the Dolphin icons
<alex``> Apparently it is required to set XDG_CURRENT_DESKTOP when launching Dolphin
MrAngel has joined #nixos
<alex``> Otherwise there is no icons
<MrAngel> Sorry, I accidentally my kernel
<MrAngel> I think it must be MBR because I have an extended partition
<MrAngel> Which isn't possible in GPT
agander has joined #nixos
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @t184256 opened pull request #47559 → omegat: init at 4.1.5.2 → https://git.io/fxfp3
<{^_^}> [nixpkgs] @johanot opened pull request #47560 → kubernetes: 1.11.3 -> 1.12.0 → https://git.io/fxfp8
<rawtaz> MrAngel: < MrAngel> Yeah, "useOSProber" isn't recognised as a legal field <-- what are the symptoms of that?
<MrAngel> error: The option 'boot.loader.grub.useOSProber defined in '/etc/nixos/configuration/nix' does not exist.
<rawtaz> thats interesting :)
<MrAngel> Hence my assumption that something was out of date
<samueldr> alex``: I believe setting programs.qt5ct.enable to true would fix that
<samueldr> alex``: it installs qt5ct and configures the system to use that "platform theme" https://github.com/NixOS/nixpkgs/blob/release-18.03/nixos/modules/programs/qt5ct.nix#L28
<rawtaz> would be great if options had a "since version" on them.
johanot has quit [Quit: WeeChat 2.0]
<rawtaz> MrAngel: so what version are you on?
<samueldr> alex``: until you log out and back in, it wouldn't work right, but you could `export QT_QPA_PLATFORMTHEME="qt5ct"` in a shell and then start dolphin to confirm without logging out and in
<samueldr> (that is, once you already rebuilt)
<rawtaz> looking at https://github.com/NixOS/nixpkgs/blame/release-18.03/nixos/modules/system/boot/loader/grub/grub.nix it seems "useOSProber" was added two years ago
<MrAngel> I used the nix-in-place script literally today so I would imagine it'd be fairly recent
<MrAngel> How do I check?
fendor has joined #nixos
<samueldr> nixos-version may help
<samueldr> (it's a command)
<rawtaz> your config has system.stateVersion = "16.09"; in it, which suggests it might be old
<rawtaz> that might be a hint,h m
<MrAngel> Ah. Can I bump that to 18.09 safely?
<samueldr> only a hint, as stateVersion should not be updated without care :)
<samueldr> MrAngel: stateVersion does not determine the version of your system
<samueldr> think of it as the "schema version" for everything stateful (e.g. databases)
<rawtaz> MrAngel: yeah as samueldr says dont change the stateVersion, instead see https://nixos.org/nixos/manual/index.html#sec-upgrading
<alex``> samueldr: I have fixed by adding services.xserver.destopManager.plasma5.enable to true, but it change the look of SDDM alongside
<rawtaz> MrAngel: whatever you do, be sure to ride this out, cuz we want to make it work :)
<samueldr> (though if it's a REALLY fresh system, the chances of actively breaking things is much lower)
<rawtaz> MrAngel: i upgraded my nixos the other week, it was just a matter of upgrading the channels and rebuilding :)
owickstrom has quit [Ping timeout: 245 seconds]
<MrAngel> Aight, thanks folks, I'll try upgrading the version and see if that makse probeOSVersion love me
<samueldr> alex``: that's because plasma5.enable installs a bunch of additional stuff, and also changes some defaults in the configuration, so yeah, it's likely to work too
graphene has quit [Remote host closed the connection]
<samueldr> MrAngel, rawtaz: looks like it installs 16.09 :/
graphene has joined #nixos
<rawtaz> samueldr: yeah, terribly outdated
<rawtaz> then again there are multiple of those projects. nixos-infect or something as well i think.
<samueldr> yes
<rawtaz> MrAngel: if you installed it just today, perhaps it's better to use a more recent "infector" to get a newer stateVersion
<rawtaz> i dont know how relevant it is
Thra11 has quit [Ping timeout: 268 seconds]
<samueldr> hopefully, shouldn't change much to start from an older version, but it might also be a learning experience :/
<rawtaz> which infector thingie would you recommend, if any?
<samueldr> (I don't have experience with any)
<ashkitten> i'm getting this error with nix-index: https://ptpb.pw/N2fZ
<samueldr> I live a simple life, installing from media, to the whole drives :)
<samueldr> ashkitten: it's been fixed in the most recent revision, not sure it hit any nixpkgs channel yet
<samueldr> meanwhile you can install like that: https://github.com/bennofs/nix-index#installation
<samueldr> (there are some assets in the cache that were compressed in a wrong manner, only a few of them, but the previous nix-index revisions did not continue on errors)
<samueldr> (so you'll still have those errors, but it will complete the indexing; with maybe a couple paths missing)
<ashkitten> ah
<ashkitten> okay, thanks
<MrAngel> OK, so I upgraded my channels with nix-channel --update and then rebuilt with nixos-rebuild switch
<MrAngel> Should that be sufficient?
<samueldr> it could very well be
<rawtaz> i think so yeah
<rawtaz> what does nixos-version say now?
<MrAngel> 16.09.xxx -_-
<samueldr> ah, right
* samueldr should have read better
<samueldr> nix-channel --list
<samueldr> (maybe with a dash of sudo)
<MrAngel> I have a single channel nixos-16.09
<samueldr> you should have the 16.09 channel listed, thus you updated from an older 16.09 revision to a more recent one
<MrAngel> Ah
<MrAngel> That makes sense
<MrAngel> Is there a generic unversioned channel I can migrate to?
<samueldr> there is, nixos-unstable
<rawtaz> why not go for the latest release channel?
<MrAngel> Latest release channel sounds good to me
<rawtaz> e.g. # nix-channel --add https://nixos.org/channels/nixos-18.03 nixos
<MrAngel> :thumbsup: - that the most recent one?
<rawtaz> yeah. 18.09 will soon be, but its not released yet afaik
<samueldr> 18.03 is the current stable, soon to be 18.09
<MrAngel> OK I've added it
<MrAngel> Do I need to designate a default channel or something?
<samueldr> it uses the channel with the name "nixos" in root's channels
<rawtaz> MrAngel: you are running all these commands as root or with sudo, right?
kreetx has quit [Ping timeout: 252 seconds]
<MrAngel> I'm even running irssi as root :O
<jeaye> MrAngel: nixos-in-place sticks with an older version because newer versions broke the process and 16.04 is proven to work. Upgrading is very simple, once it's installed, and NixOS won't care which version you were on to start with.
<rawtaz> hah, shouldnt :P
<MrAngel> Fair enough, makes sense
<samueldr> jeaye: updating from such an older version may break soon, nix 2.x features are appearing in master
<jeaye> With that said, it could to an auto upgrade, after installing but before rebooting, to bring you to the latest state version.
<jeaye> MrAngel: In which environment are you using nixos-in-place?
<MrAngel> I don't mind, I think it probably works unsurprisingly in 99% of cases
<MrAngel> Most recent Ubuntu release
<jeaye> Hosted by whom?
<MrAngel> It's my personal desktop
<jeaye> Curious. The most common use case is for turning a hosted server from Ubuntu/Debian into NixOS, not a personal machine. Why not just go through the proper NixOS install process?
* jeaye is coming in late, so sorry if you already said that.
<MrAngel> Because when I tried to follow the instructions from the LiveCD they choked somewhere around mounting /dev/my-dvice/nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #47561 → Add licenses → https://git.io/fxfhE
<jeaye> It can be easy to miss a step.
<MrAngel> It's totally possible I missed a step
<MrAngel> But since I had the Ubuntu environment already and didn't really care if it got nuked, I figured I'd just install in-place and see how it panned out
<rawtaz> nice try :)
<MrAngel> It _almost_ worked :P
<MrAngel> So I edited ~/.nix-channels to change the channel labelled as nixos but didn't get a substantial change - do I need to run nix-channels --update or reboot as well?
<rawtaz> MrAngel: just use the command i gave you earlier to change it to 18.03
<rawtaz> as root
Thra11 has joined #nixos
<MrAngel> Sorry rawtaz, which command was that? I think I missed it (resolution on my screen in console mode is _absurd_ :/)
<rawtaz> nix-channel --add https://nixos.org/channels/nixos-18.03 nixos
<rawtaz> then nixos-rebuild switch --upgrade
<rawtaz> then you should have the latest version of nixos
<rawtaz> man, trying to wrap your head around .NET and all the variants of it and related software is tough :8
<MrAngel> nixos-rebuild switch --upgrade blows up really badly
<MrAngel> Hang on, let me pastebin it
Thra11 has quit [Ping timeout: 252 seconds]
agander has quit [Ping timeout: 252 seconds]
owickstrom has joined #nixos
<rawtaz> that just shows /tmp/nixos-rebuild.B4vN7W/nix
<MrAngel> oh dear
<MrAngel> It throws a bunch of syntax errors reading from /nix/store
<MrAngel> syntax error, unexpected $undefined, expecting IND_STR or DOLAR_CURLY or IND_STRING_CLOSE at a whole bunch of locations
<rawtaz> hm
<rawtaz> ya know, im thinking that while you can probably figure that out, why not just install nixos from scratch and be done with it, then you got a completely fresh install and can probably fix the grub stuff out of the box using the probe
<rawtaz> if you want you can show the output and we'll figure it out probably, just thinking it might be easier to get the fresh one instead
<MrAngel> I think you're probably right and I'd like to use your time respectfully. I'm hugely grateful for your help but this does indeed feel like a dead end
agander has joined #nixos
<MrAngel> I'll go reinstall from the livecd and see how OSProbe shakes out
<MrAngel> And I can finally stop looking at IRSSI <3
<MrAngel> peaced
MrAngel has quit [Remote host closed the connection]
<rawtaz> oh no he left
<rawtaz> that wasnt my intention :P
owickstrom has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
sir_guy_carleton has joined #nixos
<yurb> Hi everyone. A few days ago I was asking how to build SuperCollider with alsa support, and with help I've managed to do it. Now I think it makes sense to work towards a contribution enabling alsa on linux by default. Is that a good starting point? https://github.com/yurkobb/nixpkgs/commit/86e8a195f0587d2a1f1e1b01a2c50885dadfc35b
<yurb> *with the help of people here:)
<infinisil> yurb: Looks good to me :)
<yurb> thanks infinisil (and srhb for the initial guidance). I'm wondering - if alsa is linux-only, maybe I should specify it as linux-only rather than non-darwin?
wpcarro has joined #nixos
<wpcarro> I'm installing NixOS onto my MBP. I've found some indispensable articles outlining the process, but I currently have a blindspot wrt partitioning using DiskUtil. Does it matter what format I use for the NixOS partition?
<wpcarro> I'm presuming yes...
<{^_^}> [nixpkgs] @kalbasit opened pull request #47562 → plex: 1.13.5.5291 -> 1.13.8.5395 → https://git.io/fxJea
<wpcarro> appealing options are ExFAT and MS-DOS (FAT)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #46045 → plasma-applet-volumewin7mixer: init at v23 → https://git.io/fABlx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fxJeo
tusj has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
<sir_guy_carleton> wpcarro: are you dual booting with windows?
graphene has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
<wpcarro> sir_guy_carleton: no dual booting with OSX
<wpcarro> eventually going to erase OSX partition
jonge has joined #nixos
endformationage has quit [Ping timeout: 252 seconds]
<sir_guy_carleton> wpcarro: okay, i don't have any expience with macos and nixos
<sir_guy_carleton> sorry
<jonge> hey there. i think there was some kind of command from which the spec.json file that contains pinned nix pkgs with an sha256 hash can be generated, right?>
<wpcarro> no worries. I'm going to try ExFAT and see what happens!
<wpcarro> Wish me luck...
<{^_^}> Good luck!
<sir_guy_carleton> bonne chance!
<sir_guy_carleton> when i installed nixos alongside windows 10, i installed it with a boot parition in fat and a root parition in ext4
<lassulus> jonge: nix-prefetch-git --url https://github.com/NixOS/nixpkgs-channels --rev refs/heads/nixos-18.03 ?
<jonge> lassulus: interesting, so nix-prefetch-git emits json stuff, but nix-prefetch-url does not, is that right?
<Unode> when running inside nix-shell, shouldn't including a package be sufficient for a binary to find a lib provided by the package? Trying to run something compiled manually against X11. Compilation works in the same environment ldd reports libX11.so.6 => not found
<Unode> 'Compilation works *but in the same environment' ...
<Ralith> Unode: that's enough for a *compiler* to find the lib; for a precompiled binary, you need to use LD_LIBRARY_PATH or patchelf
Xiro` has joined #nixos
<Unode> Ralith: 'precompiled'? If I just compiled the binary using make, is it still a 'precompiled' binary?
<Ralith> not if you built it in the nix-shell environment using a supported compiler, no
<lassulus> jonge: Yeah, seems like the tools were written by different authors ¯\_(ツ)_/¯
<jonge> lassulus: hehe. thank you!
<Unode> I mean, I literally do 'nix-shell -p x11 ; make ; ldd ./binary' and I see the libX11.so.6 not found error
Izorkin has joined #nixos
<Unode> the 'make' part inside the shell, not after
wpcarro has quit []
<alex``> samueldr: Enabling Qt does not work for me
<Unode> http://dpaste.com/36Z4TAY <- confused... The aosd.so error is expected but I don't understand the X11 one.
<{^_^}> #11556 (by flosse, 2 years ago, closed): kde5.dolphin: QPixmap problem
<alex``> samueldr: services.xserver.desktopManager.plasma5.enable = true; and environment.variables.XDG_CURRENT_DESKTOP = "kde";
agander has quit [Remote host closed the connection]
agander has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
johanot has joined #nixos
fenedor has joined #nixos
redj has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jameysharp opened pull request #47563 → Replace several activation script snippets with declarative configuration → https://git.io/fxJfi
fendor has quit [Ping timeout: 252 seconds]
<Ralith> Unode: what's really weird there is that libX11 shows up *twice*
moredhel has joined #nixos
<Unode> Ralith: oh! didn't notice that
<Unode> how can that happen?
<Unode> first time seeing this
<Ralith> I'm not sure; perhaps something transitive? I'd review your compiler commands and play around with readelf -d
<{^_^}> [nixpkgs] @srhb merged pull request #47560 → kubernetes: 1.11.3 -> 1.12.0 → https://git.io/fxfp8
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxJJJ
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<srhb> Anyone know why ofborg runs into this error, but local builds are fine (with the usual sandboxing restrictions on.) https://logs.nix.ci/?key=nixos/nixpkgs.47448&attempt_id=94073d0c-591a-485a-92a2-3e49f29084e0 -- is ofborg even more restricty?
alex`` has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46400 → nixos: release.nix: add `configuration` parameter → https://git.io/fA2ry
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fxJJz
ma9e has joined #nixos
<{^_^}> [nixpkgs] @redvers closed pull request #46753 → openspin: init at 2018-02-26 → https://git.io/fA19H
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @srhb reopened pull request #46753 → openspin: init at 2018-02-26 → https://git.io/fA19H
ma9e has quit [Quit: leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #47557 → python-mapnik: Fix build → https://git.io/fxfFs
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fxJUt
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.09: https://git.io/fxJUG
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @xeji merged pull request #47555 → language_subtag_registry: fix hash → https://git.io/fxfd2
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « language_subtag_registry: fix hash (#47555) »: https://git.io/fxJUC
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to release-18.09 « language_subtag_registry: fix hash (#47555) »: https://git.io/fxJU8
patrl has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47561 → Add licenses → https://git.io/fxfhE
<{^_^}> [nixpkgs] @xeji pushed 10 commits to master: https://git.io/fxJUa
<{^_^}> [nixpkgs] @xeji merged pull request #47558 → pythonPackages.py-cpuinfo: Fix darwin build → https://git.io/fxfbG
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to master « pythonPackages.py-cpuinfo: Fix darwin build (#47558) »: https://git.io/fxJUK
<shreyansh_k> "with import <nixpkgs> {}; with goPackages;" in default.nix file. "nix-shell" complains: "error: undefined variable 'goPackages'". I'm on NixOS 18.09... any pointers?
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to release-18.09 « pythonPackages.py-cpuinfo: Fix darwin build (#47558) »: https://git.io/fxJUX
<{^_^}> [nixpkgs] @xeji merged pull request #47509 → libosinfo: 1.1.0 -> 1.2.0, osinfo-db: 20180903 -> 20180920 → https://git.io/fxvp6
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/fxJUM
softinio_ has joined #nixos
softinio_ has quit [Client Quit]
orivej has joined #nixos
rfold has quit [Quit: leaving]
<lassulus> shreyansh_k: there are no goPackages since 16.09
patrl has quit [Ping timeout: 250 seconds]
<lassulus> "goPackages was replaced with separated Go applications in appropriate nixpkgs categories. Each Go package uses its own dependency set. There's also a new go2nix tool introduced to generate a Go package definition from its Go source automatically"
<rawtaz> go2nix, what a suiting name :>
<{^_^}> [nixpkgs] @xeji merged pull request #47562 → plex: 1.13.5.5291 -> 1.13.8.5395 → https://git.io/fxJea
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fxJTW
georges-duperon has quit [Ping timeout: 252 seconds]
<shreyansh_k> lassulus: Doesn't seem to support go modules yet? correct?
<lassulus> go2nix? I'm not sure, depends on what you want to do. I'm not sure whats the difference between a package and a module/
<shreyansh_k> lassulus: Recently, go team enabled "mod" based on the vgo proposal. they have gotten rid of GOPATH
<shreyansh_k> lassulus: Okay, I was able to get go2nix running. Now I get the error: "error: cannot auto-call a function that has an argument without a default value ('stdenv')". How do I install from it?
<shreyansh_k> I get this error when invoking nix-shell
<lassulus> you could try: nix-shell -p '(with import <nixpkgs> {}; callPackage ./my-file.nix {})'
agander has quit [Quit: Leaving]
niksnut_ is now known as niksnut
Boobuigi has joined #nixos
Boobuigi has left #nixos [#nixos]
georges-duperon has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #47564 → linux kernel: increase build timeout from 2 to 4 hrs → https://git.io/fxJkw
<alex``> Is nix-shell deprecated for `nix run`?
<shreyansh_k> lassulus: That worked! I'm able to build it. Now, how do I install it with nix-env?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b46666a8677 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
silver has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #47549 → dart: 1.24.3 -> 2.0.0 → https://git.io/fxf68
grp has quit [Ping timeout: 252 seconds]
<infinisil> alex``: Nope, the nix commands are very much unfinished, and the old style commands will continue to exist for a long while
alex`` has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mpickering opened pull request #47565 → gdal: 2.3.1 -> 2.3.2 → https://git.io/fxJIC
<lassulus> shreyansh_k: good, question, it's been a while since I last used nix-env
jb55 has quit [Quit: WeeChat 2.2]
<andi-> Anyone ran into issues with `efibootmgr` regarding "No space left on device" when trying to add an EFI boot entry? The Machine only has default values thus I think it isn't actually a space issue with the amount of entries..
<samueldr> andi-: agh, memory fails me
<samueldr> but
<samueldr> I seem to recall other users hitting this recently
<samueldr> I think one of the way that was worked around was to install as removable
<samueldr> (though that's a grub thing only)
<andi-> I found some references to clearning the CMOS settings... Since I do not treat my machines as pets I'll do that...
<samueldr> I think the actual error message is a red herring, and it could be more related to a read-only guard on the efivar fs, but haven't been able to confirm
<samueldr> andi-: it'd be interesting to see if it fixes
<samueldr> it may also be that different unrelated issues end up showing that error message :(
<lassulus> shreyansh_k: nix-env -i $(nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}') seems to do the trick, but it's a bit hacky
johanot has quit [Quit: WeeChat 2.0]
<lassulus> There should be a better way, but i'm not sure right now :D
<elvishjerricco> lassulus: `nix-env -iE 'with import <nixpkgs> {}; callPackage ./default.nix {}'`?
<lassulus> does it work?
<infinisil> nix-env -iE 'pkgs: pkgs.callPackage ./default.nix {}'
<infinisil> Or this ^^
<elvishjerricco> lassulus: Haven't tested it, but that is the documented behavior of -E :P
<infinisil> -E passes pkgs as an argument
<elvishjerricco> oh that's cool
<infinisil> oh wait
<infinisil> nix-env -iE 'pkgs: { x = pkgs.callPackage ./default.nix {}; }'
<elvishjerricco> ?
nDuff has joined #nixos
<infinisil> Ah nah the above works, never mind
<infinisil> I once thought it needed to return an attrset, but a single derivation works too apparentyl
catern has quit [Excess Flood]
nDuff has quit [Ping timeout: 252 seconds]
<bigvalen> When you run 'switch-to-configuration boot', how does it work out where to put the boot loader ? For some reason, it's ignoring my /etc/nixos/configuration.nix and /etc/nixos/hardware.nix, and putting it on a USB device that isn't connected anymore.
lord| has quit [Ping timeout: 260 seconds]
samrose_ has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
samrose__ has quit [Ping timeout: 256 seconds]
samrose has quit [Ping timeout: 256 seconds]
kyren has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #47566 → i3status-rust: 0.9.0.2018-06-22 -> 0.9.0.2018-09-30 → https://git.io/fxJtt
apeyroux has joined #nixos
<apeyroux> hello
<rawtaz> HELLO
<rawtaz> what is up?
vandenoever has quit [Ping timeout: 240 seconds]
<apeyroux> nothing special. There are French, Parisians in the room?
<gchristensen> there are
<apeyroux> gchristensen: I saw that you were in Paris (twitter) a while ago! I would have liked to see you but I could not ... Also my english is really too bad! :)
<tpanum> Mic92: Do you plan to update your Alacritty fork to v0.2 so we can get scrollback? :-)
gerschtli has joined #nixos
<gchristensen> apeyroux: my French is probably much much worse :)
<gchristensen> also I'll be back in Paris in October/November
<gchristensen> apeyroux: #nixos-fr too
<Mic92> tpanum: it is in staging since some time
Anton-Latukha has quit [Ping timeout: 252 seconds]
<yurb> Is there a way to rebuild a package using sandboxing just once (without changing any user or global configuration?) I want to test my pull request.
<Mic92> due some changes in our rust infrastructure the fork becomes unnessary
<Mic92> yurb: if you make your user a trusted user you can set --option sandbox true
<Mic92> or just --sandbox true
<Mic92> *trusted nix user
<yurb> Mic92: I think I'm using a single-user configuration (I've installed nix on fedora)
<yurb> so this should work I guess
simukis has quit [Ping timeout: 268 seconds]
<Mic92> yurb: no, only if you have nix-daemon, you can use the sandbox
<Mic92> you can also install that on fedora
<andi-> samueldr: so turns out even resetting to factory defaults, power draining, removing batteries, pressing all the buttons and trying to update the BIOS didn't help.. Fun part is that the BIOS update is 16M but the BIOS chip is just 8MB in size.. and ofc it complains about that m(
redj has joined #nixos
<yurb> Mic92: Oh I see, thanks. I'm curious, if I submit the pull request without testing in sandbox locally (as I'd rather skip switching to multi-user for now with nix-daemon), would it be considered?
<Mic92> yurb: leave the option unticked in that case. Usually I build the stuff on my system as well.
<yurb> Mic92: okay, thanks.
reardencode has joined #nixos
ma9e has joined #nixos
<ma9e> is there a function to get just the package name of a derivation? pkg.name returns the whole name plus version
patrl has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0f1911eea20 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<tilpner> > (builtins.parseDrvName hello.name).name
<{^_^}> "hello"
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
<emily> "The name of the song is called 'Haddock's Eyes'." "Oh, that's the name of the song, is it?" Alice asked, trying to feel interested. "No, you don't understand," the Knight said, looking a little vexed. "That's what the name is called. The name really is 'The Aged Aged Man'."
<andi-> samueldr: I found the solution in the NIxOS issue tracker... It is old/obsolete/stale `dump-*` files in the efivars
<samueldr> it is really?
<andi-> yes..
<samueldr> now that you say that, it rings a bell, but I hadn't seen it for nixos, only other distros
<samueldr> though, it's a drag that clearing defaults on the bios doesn't fix that
<andi-> I just went to bed. Googled one more time. Saw te NixOS hit.. and now it works..
<andi-> yeah
<ma9e> thanks tilpner :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #47407 → terraform: update all providers and move nixos provider under terraform.withPlugins → https://git.io/fAhIQ
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/fxJm8
<Mic92> Can somebody tell if terraform can also de-provision ec2-instances these days?
silver_ has joined #nixos
<Mic92> I mean actually stop ec2 instances.
<gchristensen> oh like as part of a provision step?
silver has quit [Ping timeout: 268 seconds]
v0|d has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46533 → dart: 1.24.3 -> 2.0.0 → https://git.io/fArVv
<{^_^}> [nixpkgs] @xeji pushed commit from @bitmappergit to master « dart: 1.24.3 -> 2.0.0 (#46533) »: https://git.io/fxJmX
<Mic92> yes, sometimes I have a machine for benchmarking that I only need while I am working.
<{^_^}> [nixpkgs] @Mic92 merged pull request #47532 → vimPlugins.wal-vim: init at 2018-06-04 → https://git.io/fxfC8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxJm7
patrl has quit [Ping timeout: 252 seconds]
EarlDeLaWarr has joined #nixos
ma9e has quit [Quit: leaving]
fenedor has quit [Read error: Connection reset by peer]
philippD has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #47567 → simple-websocket-server: Init at 20180414 → https://git.io/fxJYL
<{^_^}> [nixpkgs] @xeji merged pull request #47566 → i3status-rust: 0.9.0.2018-06-22 -> 0.9.0.2018-09-30 → https://git.io/fxJtt
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « i3status-rust: 0.9.0.2018-06-22 -> 0.9.0.2018-09-30 (#47566) »: https://git.io/fxJYB
wpcarro has joined #nixos
timon_ has quit [Ping timeout: 268 seconds]
devopsdeluxe has joined #nixos
<wpcarro> I'm trying to run `nixos-install` but I keep getting a "No space left on device" error. Any insights much appreciated
ma9e has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47068 → gcalcli: 3.4.0 -> 4.0.0a4 → https://git.io/fA7Ww
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gcalcli: 3.4.0 -> 4.0.0a4 (#47068) »: https://git.io/fxJYM
<wpcarro> I've tried resizing my partition table multiple times to accomodate space, but I think I'm missing something key here
<wpcarro> I'm booting from a Live USB. I'm unsure if the space issue is coming from my USB or my harddrive
justanotheruser has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
<Diagon> I just looked at the nix-2.1.2-x86_64-linux/install script, and running a single user install with "/nix" modified to some local directory would be easy. What would I have to rebuild to make nix work with a user writeable directory?
<Diagon> (user creatable & writeable directory - eg in the user's home directory)
<wpcarro> Does the /nix/store on the live usb live on the USB device? That might be my problem
<wpcarro> I have 3.6GB of stuff on a 4GB USB
<wpcarro> Perhaps I need to use a large USB stick..?
<wpcarro> I don't see any mention of space requirements on the manual about USBs though, so I might be wasting time with that theory.
__monty__ has quit [Quit: leaving]
wennefer0 has joined #nixos
wennefer0 has quit [Client Quit]
lostman has joined #nixos
[Leary] has quit [Ping timeout: 272 seconds]
<lostman> I'm trying to write a derivation for a custom LXC container. There is `(import <nixpkgs/nixos/release.nix> {}).containerTarball` but how can I customize it? I want to setup users, packages, ssh keys, etc, like a normal nixos config
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0f1911eea20 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
philippD has quit [Ping timeout: 268 seconds]
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
wpcarro has quit [Ping timeout: 256 seconds]
<samueldr> darn
<samueldr> it may have been the issue andi- just faced
<samueldr> (but wpcarro just left)
avn has joined #nixos
<samueldr> ,tell wpcarro hi, if you haven't figured out a solution to "no space left on device" for nixos-install, ping me back; (I may miss you joining back here)
<{^_^}> samueldr: I'll pass that on to wpcarro
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b66d6f404ef (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ma9e has quit [Quit: Lost terminal]
jasongrossman has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b46666a8677 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jasongrossman has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: Konversation terminated!]
fragamus has joined #nixos
fragamus has quit [Client Quit]
camsbury has joined #nixos
philippD has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
<__red__> any chance I could request someone to trigger the OSX testing on PR# 46753 please
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Diagon> Does nix use a chroot build environment? Guix apparently does, and if so that would be a fundamental obstacle to a userspace replacement of linuxbrew.
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #47569 → linux: 4.19-rc5 -> 4.19-rc6 → https://git.io/fxJsK
<__red__> ping jtojnar
<jtojnar> §
<__red__> hey, I wanted to ask if you had any questions on #46753
<{^_^}> https://github.com/NixOS/nixpkgs/pull/46753 (by redvers, 2 weeks ago, open): openspin: init at 2018-02-26
graphene has quit [Remote host closed the connection]
<__red__> You asked me to do something a certain way, but it isn't going to work because unstream hard-coded the compiler, ignoring the environment vars
graphene has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #47570 → linux: Add hardened test kernel → https://git.io/fxJs7
<samueldr> or alternatively: what's this used for?
<jtojnar> samueldr: it is not used for anything
<jtojnar> it should be removed
<samueldr> good
<samueldr> thanks!
<samueldr> (would you be kind enough to land the removal with 3.30?)
<jtojnar> it was used for some themes, I think, but that only caused problems
worldofpeace has joined #nixos
jperras has joined #nixos