gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! 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
<logzet> But how is that useful if even the installation image does not boot properly
<logzet> ?
<clever> you can more easily customize the initrd if it still fails
<clever> just edit configuration.nix on a different machine and nixos-rebuild
<logzet> Thats a point
<logzet> dmesg shows that the kernel is able to find the USB controller and identifies them as such
sam__ has joined #nixos
<logzet> But they dont seem to do anything :/
mroutis has quit [Remote host closed the connection]
fragamus has joined #nixos
worldofpeace_ has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
<Dezgeg> does it have USB working in other distros?
joehh has joined #nixos
<joehh> is something up with cache.nixos.org?
<joehh> trying to access it from AU and not getting much response
<Dezgeg> 8086:1e31 is PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI which sounds like a bog standard xhci controller
<logzet> Dezgeg: The Xubunt installation image i tried didn't boot either, I got the laptop without a disk, so I couldnt test it on another OS
<joehh> I am aware that grahamc made some changes last night (which should hopefully improve stuff....), but wonder if that is the issue
<gchristensen> shouldn't be, joehh
<clever> joehh: what is the issue you are seeing?
<gchristensen> ,cloudfront
<gchristensen> maybe try running that diagnostic ^
<{^_^}> [nixpkgs] @Infinisil pushed to master « Revert "lib: Use lib.fixed-points.extends to avoid repetition" »: https://git.io/fNIyx
<joehh> sadly it is not working.... same issue I'm seeing generally
<joehh> [joe@jx250:~]$ ./cloudfront.sh
<joehh> download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/b9hbljrkygxldmakhahdbv4h166kndqm.narinfo’ after 5 seconds...
telent has quit [Ping timeout: 240 seconds]
CouperinGTRameau has joined #nixos
<Dezgeg> perhaps the linux usb drivers are broken for that chipset then... maybe it has an sd card reader or something else to boot off
<CouperinGTRameau> How does nix figure out that my .nix package is, eg, a haskell package, that should be built via cabal and so on? Doesn't it use the generic (configure; make; make install) builder if none is specified?
<gchristensen> joehh: what of the following programs do you have: dig, ping, traceroute, curl?
<gchristensen> oh, joehh, looks like aws is broken
<gchristensen> aws says green but lots of aws-backed sites are broken
<gchristensen> ... like amazon
<clever> CouperinGTRameau: you have to make the derivation with haskellPackages.mkDerivation instead of stdenv
endformationage has quit [Ping timeout: 260 seconds]
<joehh> that is sad...
<logzet> Dezgeg: It has a cardreader, time to find an SD?
<gchristensen> all that looks healthy ... I really really wish you had traceroute
<clever> joehh: it looks like you have ipv6 enabled, but not working
<clever> joehh: and nix is prefering v6 when it shouldnt
zearen has joined #nixos
<infinisil> gchristensen: I spent the last 30 minutes tracking down that commit because it broke my system, ugh, probably breaks a whole lot of other stuff
<clever> joehh: does `ip addr` show a v6 address not starting with fe80?
<Dezgeg> it could be worth a try if a card shows up in the initrd environment (with bad enough luck, the card reader is on the USB bus as well...)
<joehh> [joe@jx250:~]$ ip addr | grep inet6
<joehh> inet6 ::1/128 scope host
<joehh> inet6 fe80::30fd:f02a:9c7c:8c33/64 scope link
<joehh> inet6 fe80::3ac6:ca97:9e57:916c/64 scope link stable-privacy
<joehh> inet6 fe80::66ea:7c4c:4b42:d7b6/64 scope link stable-privacy
<gchristensen> infinisil: ouch :(
goibhniu has quit [Ping timeout: 260 seconds]
<clever> joehh: i dont expect nix to prefer v6 in that case, and the test script only hung because the last step forced v6 usage
ihar has quit [Quit: WeeChat 2.0]
<clever> joehh: what if you run the failing nix command with -vvvvvv, what does it output?
<logzet> Dezgeg: Seems to be bad luck
<joehh> just changing network, so may disconnect
srl295 has quit [Quit: Connection closed for inactivity]
klntsky has quit [Ping timeout: 250 seconds]
klntsky has joined #nixos
<logzet> clever, gchristensen, Dezgeg: Thanks for the help, I am going to try again tomorrow, it's getting late here
<infinisil> Alright, what the hell nixops
joehh has quit [Ping timeout: 260 seconds]
sk8forether has quit [Quit: Connection closed for inactivity]
<infinisil> nixops/nixos
joehh has joined #nixos
<infinisil> First it complains about system.stateVersion being renamed to system.nixos.stateVersion
<logzet> I'll also ask the previous owner if he did something funny with the USB
<gchristensen> you back, joehh? :)
<infinisil> After renaming it complains about it defined multiple times
<clever> infinisil: nixops defines the option itself, so you cant rename it in your own files
<gchristensen> nixops defines the state version too
<joehh> changed network a couple of times
<clever> infinisil: you must remove it from your files
<infinisil> Once in nixpkgs/nixos/modules/rename.nix
<joehh> all works on alternate network, so I suspect local network issues
<infinisil> Oh, so that's managed by nixops?
<gchristensen> yea
* infinisil checks out --export
<gchristensen> joehh: see PM?
<infinisil> It is :O
<infinisil> clever: gchristensen Okay, and to get rid of the warning about it being renamed I have to update nixops?
<clever> infinisil: yeah
<joehh> looks like ipv6 issues
CouperinGTRameau has quit [Quit: Page closed]
<bgamari> is there any way to determine which nixpkgs commit my current nixpkgs channel corresponds to?
sbdchd has joined #nixos
<clever> bgamari: yes, one sec
<clever> [root@amd-nixos:~]# nix-instantiate --eval '<nixpkgs>' -A lib.version
<clever> "18.09pre144959.be1461fc0ab"
<bgamari> ahh
<bgamari> lovely
<bgamari> clever, thanks!
<infinisil> ,nixpkgsVersion = nix-instantiate --eval '<nixpkgs/lib>' -A version
<{^_^}> nixpkgsVersion defined
<clever> bgamari: you can also use `nix-instantiate --find-file nixpkgs` to see where nix thinks <nixpkgs> is
logzet has quit [Ping timeout: 265 seconds]
logzet_ has joined #nixos
<clever> /nix/var/nix/profiles/per-user/root/channels/nixos
<clever> bgamari: in my case, its a channel managed by root called nixos
Khetzal has quit [Ping timeout: 240 seconds]
<bgamari> hmm, strangely I get an error with both formulations; something of the effect
<bgamari> error: attribute 'version' in selection path 'version' not found
<clever> [root@amd-nixos:~]# nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
<clever> trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
<clever> bgamari: this is the old name of the attribute
<bgamari> ahh, there we are
<bgamari> thanks!
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<bgamari> hmm, strangely it returns "18.03.132646.08d245eb31a"
ma27 has quit [Quit: WeeChat 2.0]
<bgamari> yet 08d245eb31a isn't a commit in nixos/nixpkgs nor nixos/nixpkgs-channels
logzet_ has quit [Remote host closed the connection]
<gchristensen> it sure is
<{^_^}> [nixpkgs] @aszlig pushed 2 commits to master: https://git.io/fNI9m
vasiliy_san has joined #nixos
Guest55745 has quit [Ping timeout: 240 seconds]
<bgamari> GitHub's search must find only full matches
<gchristensen> github's search is terrible
<clever> bgamari: that is searching for a commit with that hash in the commit msg
<clever> bgamari: ive memorized the patterns of URL's github uses, and just type out what gchristensen linked above :P
<bgamari> alright then, that would do it
<bgamari> heh
<infinisil> git clone https://github.com/ github
<infinisil> cd github; rg "the thing you want to search for"
<infinisil> That would be nice :P
<clever> infinisil: one min
<gchristensen> infinisil: you asked for it
<clever> what was it called...
<samueldr> I wonder what would take more time, cloning github or that svn checkout that's been running since yesterday on my computer
<infinisil> samueldr: A git svn checkout conversion of the svn directory that's been running since yesterday!
<samueldr> well, that's what I'm doing, git svn clone :/
<infinisil> Ahhh
<infinisil> Yeah it's notoriously slow
<samueldr> I actually forgot I started that
<clever> infinisil: i saw a talk at ase2017 about a github scrapper database
<infinisil> How would search work with that?
<clever> infinisil: its more of an index of every repo, comment, branch change, pr, and other such events
<clever> the data that exists outside of git
<gchristensen> I'd love a properly indexed version of `git log -S`
<clever> infinisil: actually, now that i think about it, the talk wasnt about the database, but it used data from that database
<clever> infinisil: aha, http://ghtorrent.org/
<infinisil> gchristensen: Never knew about that, neat
<infinisil> Interesting
<clever> infinisil: that has all github activity, going back to 2012, totalling 4tb of json in mongodb, and 1.5 billion rows of mysql data
<infinisil> Why did they even bother with mongodb though
<clever> infinisil: https://cmustrudel.github.io/papers/ase17ci.pdf is the paper that used it
<clever> description The Impact of Continuous Integration on Other Software Development Practices: A Large-Scale Empirical Study
<clever> infinisil: i think the mongodb is just to store the raw json of the events, and then another program goes over that, and makes mysql rows
thc202 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #43372 → chirp: 20180623 -> 20180707 → https://git.io/fNIYE
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNI9x
andreabe_ has joined #nixos
<infinisil> Well I'm sure there must be something useful about it, but as just a transitional format I can't quiet make any sense of it
andreabe_ has quit [Client Quit]
<infinisil> They could've just ran the program that inserts the rows directly on the input
<clever> infinisil: the shear volume of data, and the need to perform api queries and deal with github rate limiting to get further data
<infinisil> clever: Oh you know what, it might be because a stream of json files isn't really mappable to relational schemas
<infinisil> So instead they get the whole data and then do transformations over the whole set
<clever> infinisil: i'm wondering, could hnix and http://www.stephendiehl.com/llvm/ be jammed together, to translate nix files into ELF binaries?
<kalbasit> srhb: I've created the issue, and cc'd you on it https://github.com/NixOS/nixpkgs/issues/43395
<{^_^}> #43395 (by kalbasit, open): Kubernetes 1.10.5 is unusable, auth is not working
<{^_^}> [nixpkgs] @Infinisil closed pull request #43387 → lib: Fix typo `fixed-points` to `fixedPoints` → https://git.io/fNIVK
<infinisil> clever: You madman
<gchristensen> O.o
chreekat has joined #nixos
<infinisil> main = [ (readline "result") (println ("You entered: " ++ getVar "result")) ]
<rardiol1> How do I do a wrapProgram ' --run "cd $HOME/foo"' that evaluates $HOME at runtime instead of installtime?
fractalcat has joined #nixos
<infinisil> clever: How about that
<clever> infinisil: i dont mean a programming language that looks like nix, but turning nixpkgs into a dynamic library, and then turning configuration.nix into an actual executable
<infinisil> rardiol1: Use ' quotes instead of " ones
<clever> infinisil: so i can just edit configuration.nix, re-compile it, then run it to produce the .drv files
<infinisil> clever: So, compilation would do something like nix-instantiate --eval, while running it would do a nix-instantiate?
<infinisil> More or less
<{^_^}> [nixpkgs] @volth reopened pull request #37594 → xfce4-13: fix build, add nixos module → https://git.io/vxC74
<clever> infinisil: yeah
<clever> infinisil: it would also resolve symbols sooner on, and become a less dynamicaly typed language
<gchristensen> I have aproblem where the file selection dialog is HUGE like 2x the size of the screen, and it doens't remember resizes
<gchristensen> anyone know about this issue, or have ideas on fixes?
<rardiol1> infinisil: thanks. Also, If one of the --run commands fails, does the program carry on or it stops executing?
<clever> 2018-07-11 20:18:18 < infinisil> static languages with compilers wouldn't have allowed this
<clever> gchristensen: try alt+space ?
<infinisil> <make-wrapper.nix>
<infinisil> (My pc just crashed, what's the file?)
<gchristensen> clever: alt-space doesn't seem to do anything
<clever> gchristensen: alt and left drag?
<gchristensen> that does do it
<gchristensen> but it doesn't save resizes, so it is massive every time
<infinisil> <make-wrapper.sh>
<samueldr> gchristensen: don't have a solution, but which file dialog? gtk2, gtk3, kde, qt?
<gchristensen> Firefox 61... thats gtk rigt?
<samueldr> probably gtk3 then
<samueldr> and for investigation's sake, other software using gtk3 exhibit the same issue?
<infinisil> rardiol1: see line 40 in that file
<infinisil> rardiol1: it calls bash with -e, which means it will exit if any intermediate command fails
<samueldr> ( nix-shell -p gnome3.gedit --run gedit for a gtk3 dialog )
klntsky has quit [Ping timeout: 250 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
stepcut has joined #nixos
<clever> one anoying thing ive noticed, is that chrome has a good gtk file diaglog, with previews for images, but electron based apps have the identical dialog, without previews
alexteves has quit [Remote host closed the connection]
<samueldr> google-chrome or chromium?
<clever> chromium
klntsky has joined #nixos
<samueldr> (important because of the libraries built into google-chrome)
<samueldr> weird
<clever> i think the electron side is the broken one
<samueldr> and for completion's sake, geany has a gtk2 file dialog ( nix-shell -p geany --run geany )
<gchristensen> samueldr: gedit does too
worldofpeace_ has quit [Quit: worldofpeace_]
<samueldr> so it really looks like an interaction with gtk3 + your setup
<clever> gchristensen: what desktop manager are you using?
doyougnu has quit [Ping timeout: 240 seconds]
<gchristensen> i3
chreekat has quit [Quit: quitting]
<clever> then my xfce directions wont help much
<rardiol1> infinisil: thanks, hopefully this time I fixed the installation problems without waiting 1 hour for the compile
worldofpeace has joined #nixos
worldofpeace has quit [Client Quit]
<samueldr> hmmm, gsettings (gnome3.gconf) doesn't work neither nix-env or nix-shell
<pie_> so i have fish set as my shell and everything, but nix-shell still runs bash after its done installing stuff, can i do something about that?
<infinisil> pie_: --command fish
<infinisil> I also do `alias nix-shell="nix-shell --command zsh"`
<pie_> can i do anything on the configuration.nix level?
<pie_> well, ok its not so much a question of "can"
<infinisil> environment.shellAliases
<pie_> guess i'll go with that.
<infinisil> :)
<gchristensen> samueldr, clever grahamc@Morbo> cat ~/.config/gtk-2.0/gtkfilechooser.ini
<gchristensen> GeometryWidth=1047
<gchristensen> GeometryHeight=899
<gchristensen> awww that didn't do it
<samueldr> naw, yours are probably under dconf
<clever> GeometryWidth=1073
<clever> GeometryHeight=853
<clever> thats what mine are at
<pie_> infinisil, doesnt nix-shell have a conf file or something? x)
graphene has quit [Remote host closed the connection]
<infinisil> Nope
<clever> pie_: shell.nix
<samueldr> I've been trying to get gsettings working to check before sharing this
<samueldr> but it's really stubborn
<infinisil> Not really a config which could set --command zsh though
graphene has joined #nixos
<samueldr> tried jtojnar's suggestion here https://github.com/NixOS/nixpkgs/issues/33277#issuecomment-354689755 but it still barfs "No schemas installed"
andreabe_ has joined #nixos
<samueldr> gchristensen: use `nix-shell -p gnome3.dconf-editor --run "dconf-editor"` and navigate to --run "dconf-editor
<samueldr> oops
<samueldr> navigate to org.gtk.Settings.FileChooser
<gchristensen> hmm -1,-1!
<samueldr> that's... probably not right
<gchristensen> (dconf-editor:20027): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
<gchristensen> it can't save my changes
<clever> gchristensen: the gconf daemon has to be running
<clever> gchristensen: xfce has an option in its settings gui for that, dont know about i3
aarvar has quit [Ping timeout: 244 seconds]
<gchristensen> hmmm I see
<gchristensen> I probably just need to start it up when i3 starts
aarvar has joined #nixos
<gchristensen> a systemd user service would be nice
pie__ has joined #nixos
<Dezgeg> sounds like dbus would/should auto-start it
zearen has quit [Ping timeout: 240 seconds]
stepcut has quit [Remote host closed the connection]
<iqubic> Is there a way to unpack a .rar file in linux?
<clever> iqubic: unrar x
<clever> ,locate bin/unrar
<{^_^}> Couldn't find any packages
<clever> ,locate unrar
<{^_^}> Found in packages: couchpotato, bash-completion
<Dezgeg> it's non-free I think
<clever> ah
<clever> probably just pkgs.unrar
<clever> > unrar.meta
<{^_^}> { available = <CODE>; description = "Utility for RAR archives"; homepage = "http://www.rarlab.com/"; license = <CODE>; maintainers = <CODE>; name = <CODE>; outputsToInstall = <CODE>; platforms = <CODE...
frankpf has joined #nixos
<clever> > unrar.meta.license
<{^_^}> { free = false; fullName = "Unfree redistributable"; shortName = "unfreeRedistributable"; }
<clever> Dezgeg: yep
pie_ has quit [Ping timeout: 260 seconds]
<iqubic> Well, I'm still running into issues with nix daemon running out of memory.
<iqubic> But there's a work around where I revert to a previous version of nix.
<infinisil> I never realized that nix-locate wouldn't have unfree packages :/
<infinisil> Bummer
<iqubic> And that workaround is no loner working for me.
<infinisil> Oh fancy, you just need to add unrar to the buildInputs and it has a setup hook to unpack the rar sources automatically
<iqubic> See, I was away for like 2 weeks without updating. It's being a pain to update all of everything.
<infinisil> There is a low memory branch of nix iirc
<iqubic> I just need to update all of my packages without running out of memory.
<infinisil> Add some swap temporarily?
<iqubic> I'm using ZFS. I'm not sure I want add swap.
<{^_^}> [nixpkgs] @volth opened pull request #43396 → nixos: remove option services.xserver.desktopManager.xfce.screenLock → https://git.io/fNI7E
<iqubic> But you might know better than me.
<iqubic> How do I update all my packages after 2 weeks of not updating anything?
<iqubic> Without running out of memory.
<gchristensen> Dezgeg: you think so?
<gchristensen> I'mrunning dbus
<infinisil> iqubic: Not sure tbh, I do have some swap in zfs, but I think that's what's causing my pc to occasionally freeze..
<infinisil> Sometimes it works though
<clever> iqubic: i have 95gig of swap..., but its not on any zfs volume
<infinisil> iqubic: Oh, you can use --max-jobs 1 and --cores 1
<iqubic> This is a weird situation to be in.
<infinisil> To limit how much it does
<Dezgeg> probably dconf isn't installed (or at least not in a way dbus finds it)
<clever> gchristensen: https://nixos.org/nixos/options.html#dbus.packages
<kalbasit> I'm trying to use `:Gist` in vim but it's erroring out because `vimPlugins.WebAPI` is not installed. I'm trying to file a PR (my first one). For vimPlugins, is this enough: https://github.com/NixOS/nixpkgs/compare/master...kalbasit:fix-gist-vim ?
stepcut has joined #nixos
<iqubic> Still running out of memory and such. Even with --max-jobs 1 and --cores 1
<clever> iqubic: if its nix-daemon that runs out, --cores isnt at play
<infinisil> kalbasit: Looks good to me
<kalbasit> Awesome. thx
<clever> iqubic: what path is it downloading when it fails?
<{^_^}> [nixpkgs] @illegalprime opened pull request #43397 → Add libphonenumber package → https://git.io/fNI7i
<iqubic> The last piece of output I'm getting is: "Copying Path: /nix/store/../ghc-8.2.2"
<iqubic> Before that it tries to copy "shadow-4.5-man"
<kalbasit> infinisil: trying to test it, shouldn't this work `nix-env -I nixpkgs=/home/kalbasit/code/opensource/base/src/github.com/NixOS/nixpkgs -i all`? (my config.nix: https://gist.github.com/kalbasit/b3aca134c164c99df7d0e3f1c576f1a4 )
<clever> iqubic: thats what i expected, i think your only choice is to add some swap temporarily, and dont put the swap on zfs
zearen has joined #nixos
viric_ has joined #nixos
drakonis has joined #nixos
lnikkila_ has quit [Ping timeout: 240 seconds]
<infinisil> kalbasit: Not sure, probably
<iqubic> infinisil: can you help me add some swap space?
<infinisil> iqubic: with zfs?
<infinisil> Be warned that this might make your machine freeze, I think clever knows this as well
hxrts_ has joined #nixos
<clever> iqubic: is there a non-zfs FS?, how much ram does the machine have?
<iqubic> No.
viric has quit [Ping timeout: 240 seconds]
<clever> iqubic: not even /boot?
<gchristensen> w00t
<clever> iqubic: how much total ram?
<iqubic> Wait /boot is not zfs
<iqubic> how do I check ram amount?
<clever> iqubic: free -m ; df -h /boot/
<infinisil> Oh, btw, I also one time solved the out of memory error by just rebooting, might wanna try that first
<iqubic> that's free -m
<clever> iqubic: you have 8gig of ram, just close a few programs!
<iqubic> Oh, really?
<clever> iqubic: ps aux | sort -nk6
<gchristensen> samueldr, clever: https://nixos.wiki/wiki/I3#DConf
<gchristensen> Dezgeg: ^ thnk you all!
<iqubic> I think it must be the 7.9GB file that FF is downloading that s screwing stuff up.
<infinisil> clever: I'm frequently getting OOM for my 16GB..
<clever> infinisil: i sometimes ran out of ram with 32gig of ram and 32git of swap
<clever> infinisil: so i threw another 64gig swap partition at it
<infinisil> Something fishy going on
<infinisil> Memory leak
<infinisil> Or whatever (I'm no expert)
<clever> gchristensen: id say that its a bug for https://github.com/NixOS/nixpkgs/blob/release-18.03/nixos/modules/programs/dconf.nix to not configure dbus
<gchristensen> I feel like I should learn dbus
hxrts_ has quit [Remote host closed the connection]
<gchristensen> dbus seems cool
<iqubic> Yeah, so I think FireFox downloading a big file is screwing me up.
<clever> iqubic: probably a memory leak within firefox, try just closing it and then re-running the nix cmd
<clever> or do the "windows thing" and reboot :P
<{^_^}> [nixpkgs] @kalbasit opened pull request #43399 → vimPlugis.gist-vim: depend on vimPlugins.WebAPI → https://git.io/fNI5L
pie___ has joined #nixos
<iqubic> clever: I'll do that.
<iqubic> Well, stuff is still failing. WIll try with the max-jobs and cores flags.
<iqubic> both set to one.
<clever> iqubic: it may need 3gig of ram, check the ps output again with the cmd i gave above
pie__ has quit [Ping timeout: 264 seconds]
<iqubic> I have no idea how to parse the ps output.
<iqubic> That's the output of "ps aux | sort -nk6"
<clever> iqubic: i said to run `ps aux | sort -nk6`
<clever> there are several columns missing
<iqubic> Really? Maybe that command line paste thing didn't work.
<iqubic> Sorry about that.
<iqubic> What do you want me to look for in the output of the "ps" command?
tenten8401 has quit [Remote host closed the connection]
<clever> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
<clever> iqubic: the process with the highest RSS value
<clever> you can also just run `top` and hit `M` to sort by memory usage
<iqubic> Yeah, the output that I gave you in my paste above is the same as the output I'm getting from a terminal.
<iqubic> I have no PID or %CPU stuff.
<clever> iqubic: oh, strange, i can see ps aux, and sort -nk5 in the ps listing
<clever> PID USER TIME COMMAND
<clever> iqubic: this line
<clever> iqubic: half the columns are just missing for some strange reason
dbmikus__ has quit [Ping timeout: 260 seconds]
<iqubic> I don't think I should be running this in a TTY.
<iqubic> But I don't see why that should matter.
<iqubic> Nope: Running it in urxvt still gives me an output with half of the columns missing.
<clever> iqubic: just use top
<iqubic> What the hell is going on here? What the hell should I do here?
<iqubic> *** buffer overflow detected ***: top terminated.
<iqubic> And I get like no output at all.
<clever> iqubic: nix-store --verify --check-contents
<iqubic> Is this what a linux virus looks like?
blankhart has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<iqubic> Checking hashes is taking a bit of time.
<clever> thats normal
sigmundv has quit [Ping timeout: 260 seconds]
<iqubic> How long can I expect this to take?
<clever> it has to read every single file in /nix/store/
zearen has quit [Ping timeout: 260 seconds]
<iqubic> Is my NixOS installation broken because I went on a 2 week trip and didn't update in all of that time?
<clever> iqubic: that shouldnt break anything
<iqubic> Why are top and ps acting weird then?
<clever> something may be corrupt from an improper shutdown
<clever> the last cmd i gave is checking for corruption
<clever> though zfs should have also caught it
<iqubic> I see. The last time I shut down was a while ago. Is there anything I can do to fix this?
<clever> wait for the verify to finish and see if it found anything
<iqubic> Will I need to reinstall NixOS?
<clever> no
<iqubic> Even if the nix-store command finds issues?
<clever> the nix-store command also has options to fix them
<infinisil> Just compiled idris for about 20 minutes only to find out that the tests don't pass and I can run the build again :)
<iqubic> Sounds stupidly annoying.
<iqubic> clever: that latest nix-store command finished checking the hases and exited without any more output.
<clever> iqubic: then your store is not corrupt
<clever> iqubic: is memtest enabled?
<iqubic> but top and ps are still being weird.
<iqubic> how do I check if memtest is enabled?
<infinisil> Hmm.. How can I run a haskell package build from a nix-shell?
dje4321_ has joined #nixos
<infinisil> genericBuild, buildPhase and all that doesn't appear to be set
<clever> infinisil: you need to use the .env attribute of the derivation
muzzy__ has joined #nixos
<infinisil> Ohh right
<iqubic> memtest is not enabled at all. Sorry.
<infinisil> Well when I use .env I get that $src isn't set :/
<clever> iqubic: enable it, nixos-rebuild, and then reboot and select memtest
<clever> infinisil: the .env derivation only works in nix-shell
<{^_^}> [nixpkgs] @dtzWill merged pull request #43369 → ghc: support musl-native! → https://git.io/fNIkQ
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fNIdG
<clever> infinisil: what args did you run it with?
<infinisil> clever: Yeah that's what I do, directly from nixpkgs though: `nix-shell -p haskellPackages.idris.env`
<iqubic> nixos-rebuild is failing with OOM because it is trying to update everything
<clever> infinisil: -p creates a new derivation, that depends on the env
<iqubic> I'm not sure I *can* enable memtest ATM
<clever> infinisil: which is wrong
<infinisil> Ohhh
<clever> infinisil: thats also why you where missing all of the functions
<infinisil> Yeah I actually know that, how did I not notice
muzzy_ has joined #nixos
<clever> iqubic: download a disk image and flash it to a usb stick
<clever> iqubic: or from here http://www.memtest.org/
<iqubic> Also, I'm not using Grub, so I doubt memtest would even work for me.
<iqubic> I'm using systemd-boot
<clever> iqubic: the usb image works without grub
<iqubic> Does the Nixos version require grub?
frankpf has quit [Ping timeout: 256 seconds]
<clever> iqubic: yes
<iqubic> Why? Why isn't there a systemd-boot option?
<clever> iqubic: the memtest binary doesnt boot with efi
<iqubic> efi and memtest don't mix?
<clever> correct
<gchristensen> iirc the efi-compatible memtest is nonfree?
muzzy__ has quit [Ping timeout: 244 seconds]
<iqubic> Alright, so I'll download the memtest thing, put it on a flash drive. Then what?
<clever> iqubic: then boot from it
<adelbertc> been getting `warning: unknown setting 'signed-binary-caches'` since upgrading to Nix 2 (on Darwin) - i assume i can just remove it from `/etc/nix/nix.conf` but i'm curious what it's been replace with, if anything
blankhart has quit [Ping timeout: 265 seconds]
<iqubic> And what do I do from there.
<clever> iqubic: wait a few hours
<{^_^}> [nixpkgs] @dtzWill opened pull request #43400 → ghc: don't use LLVM w/musl on non-cross → https://git.io/fNIdl
<iqubic> Why do I want to run memtest?
<iqubic> What benefits do I get from it?
<clever> iqubic: i suspect your memory is bad
<iqubic> does memtest fix that?
<clever> no
<clever> that would be called memfix
<clever> memtest just tests the mem
<iqubic> How long does memtest take to run?
<clever> 2018-07-11 23:37:09 < clever> iqubic: wait a few hours
<iqubic> Sorry.
<iqubic> I'm going to try just a simple reboot first. LOL.
iqubic has quit [Remote host closed the connection]
blankhart has joined #nixos
iqubic has joined #nixos
lassulus_ has joined #nixos
<iqubic> Yeah, well...
<iqubic> A reboot didn't help.
realrokka has quit [Read error: Connection reset by peer]
<iqubic> Shall I download and run memtest now?
<clever> yes
sir_guy_carleton has joined #nixos
<iqubic> Does it work with a dual boot system? I have a windows 10 partition on this machine that I'd like to keep around.
<clever> yes
justanotheruser has quit [Ping timeout: 268 seconds]
realrokka has joined #nixos
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<iqubic> Wait...
andreabe_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<iqubic> I just tried a nixos-rebuild, and it seems to be working right now.
<iqubic> Should I still run memtest?
<clever> yes
<iqubic> Why?
<clever> if top is breaking for weird reasons, it cant hurt to run a memtest
<iqubic> But that is going to prevent me from using my laptop for the next few hours.
<samueldr> I need to figure out why a nix-build requires the build of texinfo, cab I make why-depends work when a path hasn't been built?
<samueldr> or an alternative solution to figuring this?
<clever> samueldr: for that, you want to look at the `nix-store --query --tree` of the .drv files
<iqubic> It turns ot when you don't update for a few weeks, you have to wait a while for the update to finish.
<samueldr> awesome, there's data in there :)
<dje4321_> Im trying to run something that require tkinter on python3 but it keeps failing to import. it cant find the module _tkinter.
<dje4321_> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(dje4321): "nixos-18.09pre145679.dae9cf6106d", channels(root): "nixos-18.09pre145679.dae9cf6106d", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<iqubic> How did you install tkinter?
frankpf has joined #nixos
<dje4321_> nix-env -i python3.6-tkinter
sbdchd has quit [Remote host closed the connection]
<clever> dje4321_: you need to use the python binary made by `python.withPackages (ps: [ ps.tkinter ])` instead
<clever> dje4321_: nix-shell -p 'python.withPackages (ps: [ ps.tkinter ])'
<iqubic> What does that do?
<clever> iqubic: it creates a python that has tkinter in PYTHONPATH
<iqubic> Can't you just manually add tkinter to the PYTHONPATH?
<clever> iqubic: that expression automates it for you, and keeps things pure
<iqubic> And what if you wanted different libraries for different projects?
Psi-Jack has joined #nixos
<dje4321_> still fails.
<clever> iqubic: thats why you dont install python or libraries, thats why you put that expression into a shell.nix for each project
<iqubic> What fails?
<dje4321_> not finding module _tkinter
<iqubic> clever: I have no idea how to use shell.nix
<iqubic> I really really need to learn that.
<iqubic> But first I need to fix my memory issues.
<dje4321_> running "python3 -c "import tkinter" returns this error https://hastebin.com/fiduwirela.sql
<clever> dje4321_: run python, not python3
<clever> because you installed python, you are able to run the installed one, which lacks tkinter
<clever> 2018-07-11 23:53:17 < clever> iqubic: thats why you dont install python or libraries, thats why you put that expression into a shell.nix for each project
<clever> and if you need to use python3, use nix-shell -p 'python3.withPackages (ps: [ ps.tkinter ])'
<iqubic> Once this long long update finishes, I'll run memtest, and then I'll learn what a shell.nix does.
<clever> iqubic: shell.nix is just the default file that nix-shell reads when given no args
<iqubic> What does nix-shell do?
<clever> iqubic: give you a shell with the things defined in shell.nix
<iqubic> I see. And why do you want that?
<iqubic> Wait, is that so you get a pure development environment?
<clever> yeah
<dje4321_> still fails to find _tkinter
<iqubic> And if you needed a repl you'd run that through nix-shell?
<clever> iqubic: yes
<iqubic> And what if you wanted your vim plugins to be able to find the symbols defined in a library?
<clever> iqubic: run the vim inside the shell
<iqubic> You can do that?
<iqubic> How many people actually do that?
<clever> nothing is stopping you from running vim inside nix-shell
<clever> nix-shell is just a shell
<iqubic> Where do I go to download a memtest iso?
halfbit has quit [Quit: WeeChat 2.1]
<clever> iqubic: check the memtest pages i linked, there is a download page
<iqubic> do I want memtest 86?
<clever> yes
<sir_guy_carleton> the difference between the nix shell and the regular shell is that the nix shell has access to the extra packages, right?
<clever> sir_guy_carleton: yes
<iqubic> https://www.memtest86.com/download.htm I just used the second link under mac/linux there.
<iqubic> Now, how do I move that to a usb? What's the right dd command?
<sir_guy_carleton> clever: yes, but it still has access to all the other installed 'non-standard' packages, right?
<iqubic> sir_guy_carleton: define 'non-standard'
<iqubic> Well, this is weird.
<clever> iqubic: thats a tar file, so you have to unpack the tar file first
<sir_guy_carleton> i mean stuff you put in systemPackages or nix-env
<drakonis> gchristensen, you might want to also look into varlink, red hat is making a push for it atm
<iqubic> How do I unpack a tar file?
<clever> sir_guy_carleton: those are available by default, but nix-shell --pure will exclude them
<drakonis> tar -xvf?
<clever> iqubic: https://xkcd.com/1168/
<iqubic> well... this is being weird.
<sir_guy_carleton> clever: ah, i didn't know; i thought they were excluded by default.
<sir_guy_carleton> i was surprised when i could access them in the nix-shell
<iqubic> I try "mount /dev/sdb /home/iqubic/usb" and get "mount: mounting /dev/sdb on /home/iqubic/usb failed: invalid argument"
<clever> iqubic: the memtest image can only be put on the usb when it is NOT mounted
<clever> iqubic: read the README file inside the tar
<iqubic> I know. I'm trying to mount this usb so I can see if it has any important data on it.
<clever> iqubic: what does `ls -l /dev/sdb*` say?
jperras has quit [Ping timeout: 260 seconds]
<iqubic> brw-rw---- 1 root disk 8, 16 Jul 11 20:05 /dev/sdb
<iqubic> That looks right to me.
frankpf has quit [Ping timeout: 256 seconds]
<iqubic> Not sure why I can't actually mount this thing.
<clever> iqubic: fdisk -l /dev/sdb
<iqubic> What the hell... This drive doesn't have a valid partition table!?!?!
<clever> iqubic: blkid /dev/sdb
<iqubic> It's formatted with an ext4 FS.
<clever> iqubic: dmesg | tail
ericsagnes has joined #nixos
DwarfMaster has quit [Ping timeout: 256 seconds]
<clever> iqubic: mount /dev/sdb /home/iqubic/usb -v
<Psi-Jack> So, I tried following this example: https://nixos.wiki/wiki/PostgreSQL -- And it doesn't like the package = pkgs.postgresql100 part.
DwarfMaster has joined #nixos
<iqubic> invalid argument is still happening.
<clever> iqubic: anything new in dmesg|tail ?
andymandias has quit [Ping timeout: 244 seconds]
<iqubic> literally nothing.
<clever> iqubic: file -s /dev/sdb
<Psi-Jack> Ahh, nevermind, it didn't like me trying to put the package in environment.systemPackages.
<iqubic> Well, that file has errors and is also kinda huge.
<Psi-Jack> Interesting.
pie___ has quit [Ping timeout: 264 seconds]
<clever> iqubic: pastebin?
<iqubic> /dev/sdb: Linux rev 1.0 ext4 filesystem data, UUID=a1454475-a751-4a19-80b3-2ad654762984 (errors) (extents) (64bit) (large files) (huge files)
<iqubic> That's all I got.
<clever> iqubic: fsck /dev/sdb
<iqubic> fsck (busybox 1.28.1)
<iqubic> fsck: fsck.auto: No such file or directory
<iqubic> So that's not helpful.
<clever> iqubic: busybox, that explains a lot of things
<iqubic> It does?
<clever> iqubic: what does `type ps` return?
<clever> iqubic: and `type top`
<iqubic> more than just this mount issue?
<clever> iqubic: and even `type mount`!
<iqubic> I don't have the type command available right now.
<clever> iqubic: try which instead
<iqubic> /run/current-system/sw/bin/{ps,top,mount}
<clever> iqubic: ls -lh /run/current-system/sw/bin/{ps,top,mount}
andymandias has joined #nixos
<iqubic> lrwxrwxrwx 1 root root 68 1969-12-31 1969 /run/current-system/sw/bin/mount -> /nix/store/wwsy5zahji1jjhakq08zy3mmmvnxgnmv-busybox-1.28.1/bin/mount
<clever> iqubic: yeah, thats the cause of all of your problems
<iqubic> Same place for top and ps.
<iqubic> It is?
<clever> iqubic: remove busybox from your systemPackages
<clever> it has dumber versions of mount, top, and ps
<iqubic> Oh. I've not had a problem with any of those until today.
<iqubic> So all of those programs are now working as expected. Should I still run memtest?
<clever> no real need
<clever> we have identified the problem
<clever> as for why reinstalling typically fixes other distros, everything is lost, including busybox, and the problem just vanishes :P
muzzy has joined #nixos
<clever> but if you saved your configuration.nix file, you would have recreated the identical system, with identical problems, upon reinstalling
muzzy_ has quit [Ping timeout: 244 seconds]
<iqubic> So, why did I want busybox in the first place? Why does that even exist?
<clever> its used by the initrd, so its required to boot
<clever> but it shouldnt be installed in a normal system
<iqubic> I see. I seem to recall that I placed it there because the package gave me some command that I was missing.
<samueldr> I missed the initial issue here, what were the symptoms caused by using busybox?
<clever> commonly, busybox is wrongly given as an answer, because it includes nearly every program
<clever> samueldr: `ps aux` is missing half the expected columns, `top` segfaults, and `mount` fails to mount things
<samueldr> hm, top segfaulting is weird, but yeah, that sounds right for everything else
<iqubic> I was getting a stack overflow error there.
<clever> *** buffer overflow detected ***: top terminated
<clever> Aborted (core dumped)
<clever> iqubic: thats not a stack overflow
<iqubic> Oh, I see. I mis-remembered that.
<clever> `nix run nixpkgs.busybox -c valgrind top` reveals that its caused by a call to vfprintf
<iqubic> Do we still need busybox as a thing?
<iqubic> Like can we remove it from the Nix repos?
<samueldr> (my busybox top works here BusyBox v1.28.1)
<clever> iqubic: its used by the initrd
lopsided98 has quit [Quit: Disconnected]
<samueldr> nah, the programs it replaces are much too big to use in the initrd
<clever> samueldr: ive got /nix/store/5r3alnn6v25fi7nav1sxww76kd0sr3i6-busybox-1.28.4
<iqubic> So will I have issues if I do a reboot?
<samueldr> it replaces bash, udev, many other things
<clever> iqubic: the initrd can still use busybox without having it in systemPackages
<samueldr> /nix/store/wwsy5zahji1jjhakq08zy3mmmvnxgnmv-busybox-1.28.1 here
<iqubic> Cool.
<clever> samueldr: your version fails for me
<samueldr> /nix/store/5r3alnn6v25fi7nav1sxww76kd0sr3i6-busybox-1.28.4/bin/top works here :/
<clever> samueldr: oh, i have chrome open
<clever> samueldr: i suspect its an actual buffer overflow exploit, my process list is too big for a fixed-size buffer
<samueldr> kernel 4.17.5, I do have chrome open, but often cull open tabs in onetab
<clever> samueldr: `ps aux` outputs about 205kb
<samueldr> ps aux | wc -l → 329
<clever> 658
<iqubic> Is 4.14.47 too old?
<samueldr> nah, LTS so it's fine
<clever> Linux c2d 3.8.13-gentoo #3 SMP Thu Dec 15 10:33:05 AST 2016 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
<samueldr> (there shouldn't be any issue with using an older kernel, unless you have REALLY new hardware)
* clever hides
<clever> i dont think any of my 2.6 machines are still running
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #43402 → tig: add zsh completion → https://git.io/fNIbm
* clever heads off to bed
<samueldr> 'night
iqubic` has joined #nixos
<iqubic`> Is 193 too few?
<samueldr> processes?
<samueldr> there's no "too few" processes
<clever> samueldr: 0 :P
* samueldr wonders if a unikernel is 0 or 1
<samueldr> though, I don't think you'd be able to observe 0 in normal conditions :)
<clever> samueldr: one min
iqubic has quit [Ping timeout: 276 seconds]
iqubic` is now known as iqubic
<clever> samueldr: line 408 is responsible for creating pid 1
<clever> prior to that, only pid 0 exists, which is invisible to nearly all tools
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> samueldr: kernel_init is defined on line 1057
<samueldr> ah, didn't mean "observe PID 0", but observing a count of 0 processes, as AFAIK ps should see itself?
<clever> samueldr: and line 1073 is where it tries to run the initrd init process
<clever> samueldr: which is just an execve, that replaces the current context
<clever> samueldr: prior to line 408, pid 1 doesnt exist, and there are zero running processes
<samueldr> good luck observing this in a running system ;)
<clever> samueldr: in that state, ps cant be running, and just the act of starting ps will create 1 process
<clever> samueldr: line 1068, system_state = SYSTEM_RUNNING;
<clever> that only occurs after pid 1 has been created :P
<clever> so its literally not a running system until after pid 1 has been made
<samueldr> so I'm right, you see, SYSTEM_RUNNING only after PID 1 :)
<clever> and only in very very special cases can you see exactly 1 process
<samueldr> yeah, running ps as pid 1 is bound to panic :/
<clever> samueldr: this project gives you a haskell based "shell" as pid 1, where you can then implement `ps aux` as a forkIO, no new processes
<clever> samueldr: but you will still have kernel threads from drivers, which appear as unique proccesses
<iqubic> VLC is truely an amazing thing.
<samueldr> ah, that's cheating :D
worldofpeace has joined #nixos
<clever> samueldr: even with that cheating, it wont be 1 :P
<clever> samueldr: `ps aux | head -n20` and good luck stopping all of those from starting in the first place :P
<samueldr> yeah, I was casually avoiding mentioning the kernel threads
<clever> samueldr: i see over 110 kernel threads
<clever> some of them are zfs related
<clever> a major hint with them, is to look for a gap
<clever> the gap is the result of a userland process that was started, prior to the kernel thread, implying the kernel thread could be optional
<clever> root 164 0.0 0.0 0 0 ? I< Jul05 0:00 [scsi_tmf_9]
<clever> root 234 0.0 0.0 0 0 ? I< Jul05 1:31 [kworker/0:1H]
<clever> and i see gaps as low as 20
<clever> even pid 5 is missing!
* clever actually heads off to bed
dje4321_ has quit [Quit: Page closed]
vmandela has joined #nixos
reinzelmann has joined #nixos
muzzy has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
cherrybl0ss0m_ has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
Ridout has quit [Quit: Lost terminal]
<ldlework> Does anyone using emacs get the following message on startup?
<ldlework> Loading /nix/store/1lkypi0a5m9j0raqqvl3wcsz880s5y8v-emacs-25.3/share/emacs/site-lisp/site-start.el (source)...done
<ldlework> You appear to be setting environment variables ("PATH") in your .bashrc or .zshrc: those files are only read by interactive shells, so you should instead set environment variables in startup files like .profile, .bash_profile or .zshenv. Refer to your shell’s man page for more info. Customize ‘exec-path-from-shell-arguments’ to remove "-i" when done, or disable
<ldlework> ‘exec-path-from-shell-check-startup-files’ to disable this message.
<ldlework> I notice in ~/.config/zsh/.zshrc there is the line:
<ldlework> path+="$HOME/.config/zsh/plugins/zsh-autosuggestions"
raynold has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/411cc559c05 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
cherrybl0ss0m_ has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1539167d215 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #43234 → openblas: backport fix → https://git.io/fNfON
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fNIAW
cherrybl` has joined #nixos
cherrybl` has quit [Client Quit]
endformationage has quit [Ping timeout: 244 seconds]
cherrybl0ss0m_ has joined #nixos
MercurialAlchemi has joined #nixos
srl295 has joined #nixos
blob_ has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon2 is now known as Mateon1
Guanin has quit [Ping timeout: 265 seconds]
Guanin has joined #nixos
polyzen has quit [Ping timeout: 244 seconds]
manny has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh merged pull request #43157 → singularity: 2.5.1 -> 2.5.2 → https://git.io/fNvoV
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNIx4
<{^_^}> [nixpkgs] @jbedo opened pull request #43403 → somatic-sniper: init 1.0.5.0 → https://git.io/fNIxR
dramforever has joined #nixos
tadni has joined #nixos
dramforever has quit [Client Quit]
dramforever has joined #nixos
dramforever has quit [Read error: Connection reset by peer]
tadni has left #nixos [#nixos]
polyzen has joined #nixos
<zgrep> Hello. It seems I'm unable to get audio working on my laptop. I set sound.enable = true; and rebooted. alsamixer chooses the correct (and only) audio card, I turn all of the volume bars up, and there's no sound. Not via my laptop's speakers, nor via plugged in headphones. I tried adding myself to the audio group just in case, but that didn't help. It's not a hardware problem, because sound was working with a different linux distro
<zgrep> before, and I can hear a static-like noise changing when I modprobe snd_hda_intel (and during boot) if I have headphones plugged in. I'm at a loss as to what I could do next.
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<adisbladis[m]> zgrep: What does `nixos-option hardware.pulseaudio.enable` say?
Deknos has quit [Remote host closed the connection]
<zgrep> Err, I didn't enable pulseaudio (on purpose, I'd rather not have it if possible), but when I tried with pulseaudio earlier, I had the same problem.
Deknos has joined #nixos
johanot has joined #nixos
<zgrep> Currently it's set to false.
<adisbladis[m]> zgrep: Ah check. I mean it should work anyway using alsa.
<adisbladis[m]> How are you testing this?
<zgrep> Playing a video using mpv, I also tried $ cat /dev/urandom | aplay #.
Deknos has quit [Changing host]
Deknos has joined #nixos
<zgrep> (Err, pulseaudio is indeed not enabled, the value of hardware.pulseaudio.enable is false, in case I didn't clarify that well enough.)
Deknos has left #nixos [#nixos]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
crmlt has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
andymandias has joined #nixos
drakonis has quit [Remote host closed the connection]
<zgrep> Also videos in firefox.
wucke13 has quit [Quit: WeeChat 2.0]
mkoenig has quit [Quit: Lost terminal]
<teto1> I would like to run `eval "$buildPhase"` from a subprocess of the nix-shell. Which file(s) should I source when running a sub-shell to set $buildPhase ?
johanot has quit [Remote host closed the connection]
mkoenig has joined #nixos
crmlt has quit [Ping timeout: 240 seconds]
coot has joined #nixos
<joepie91> adisbladis[m]: zgrep: muzzy had similar issues a few days ago
<joepie91> I suspect that non-pulseaudio audio is just broken?
<joepie91> (it worked for them with pulse)
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
joehh has quit [Ping timeout: 260 seconds]
robstr has joined #nixos
<zgrep> Mmh. Trying with pulseaudio again, it seems to work with my headphones.
<zgrep> And with my speakers.
<adisbladis[m]> Firefox is expected iirc
<adisbladis[m]> Didn't they drop alsa support a while back?
<zgrep> I believe firefox audio worked for me on a different distro with only alsa installed (earlier this month).
<adisbladis[m]> zgrep: Depends on the version
<adisbladis[m]> It happened not too long ago
<zgrep> That's unfortunate. :(
robstr has quit [Read error: Connection reset by peer]
robstr has joined #nixos
<joepie91> zgrep: can you file a bug? regarding ALSA not working
<joepie91> once is an edge case, twice sounds like a bug :P
Lisanna has quit [Quit: Lisanna]
<adisbladis[m]> joepie91: It's pretty near impossible pulse would work but not alsa except in case of pebkac
<joepie91> adisbladis[m]: thing is, we've had two reports in as many days
<joepie91> of exactly that
<joepie91> and that's just those who have hopped onto IRC to ask about it
<joepie91> warrants at least triaging
MercurialAlchemi has quit [Remote host closed the connection]
MercurialAlchemi has joined #nixos
reinzelmann has joined #nixos
<adisbladis[m]> Just tested locally from latest master: Pure alsa works just fine
<adisbladis[m]> login as root/user in audio group: mpv -vo null -ao alsa somefile.flac
redj has quit [Ping timeout: 240 seconds]
redj has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #43404 → zsh-command-time: 2017-05-09 -> 2018-04-30 → https://git.io/fNIjv
viric_ is now known as viric
Khetzal has joined #nixos
trcc has joined #nixos
MercurialAlchemi has quit [Quit: Lost terminal]
MercurialAlchemi has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
Guanin has quit [Quit: Leaving]
srl295 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @dotlambda closed pull request #43393 → pythonPackages.cython: run tests in parallel → https://git.io/fNI1d
<{^_^}> [nixpkgs] @dotlambda reopened pull request #43393 → pythonPackages.cython: run tests in parallel → https://git.io/fNI1d
Mercuria1Alchemi has joined #nixos
MercurialAlchemi has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43389 → geojson: 2.3.0 -> 2.4.0 → https://git.io/fNIrj
<{^_^}> [nixpkgs] @xeji pushed commit from @geistesk to master « geojson: 2.3.0 -> 2.4.0 (#43389) »: https://git.io/fNLew
<{^_^}> [nixpkgs] @xeji merged pull request #43392 → ponyc: 0.23.0 -> 0.24.0 → https://git.io/fNIXy
<{^_^}> [nixpkgs] @xeji pushed commit from @patternspandemic to master « ponyc: 0.23.0 -> 0.24.0 (#43392) »: https://git.io/fNLeX
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43359 → hspell: fix build when default perl is 5.26+ → https://git.io/fNk94
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « hspell: fix build when default perl is 5.26+ (#43359) »: https://git.io/fNLe7
npmccallum has joined #nixos
Turion has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #43406 → libmodsecurity: 3.0.0 -> 3.0.2 → https://git.io/fNLvc
mmercier_ has joined #nixos
<zgrep> Hm. From the latest master. I'm using 18.03, as far as I know.
Khetzal has quit [Remote host closed the connection]
<zgrep> Interestingly enough, upgrading and switching to alsa, everything is fine now.
Khetzal has joined #nixos
Guanin has joined #nixos
jackdk has quit [Ping timeout: 244 seconds]
v0latil3 has joined #nixos
i0-dfn has quit [Remote host closed the connection]
<zgrep> adisbladis[m]: joepie91: PEBKAC indeed: I forgot the way in which alsamixer shows that devices are muted (and that they can be muted at all, apparently).
reinzelmann has quit [Ping timeout: 240 seconds]
<v0latil3> can anyone bother to help me with making a PHP package? I have a couple questions
thc202 has joined #nixos
__Sander__ has joined #nixos
phdoerfler has joined #nixos
palo has quit [Ping timeout: 260 seconds]
phdoerfler has quit [Read error: Connection reset by peer]
coot has quit [Quit: coot]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<adisbladis[m]> zgrep: :)
Khetzal has quit [Ping timeout: 240 seconds]
<adisbladis[m]> v0latil3: I don't know much about PHP in particular but quite a bit of nix. Shoot.
<v0latil3> basically there is a config file with database connection, etc. that would end up in the nix store
<v0latil3> <v0latil3> I think maybe I need to change the application itself a bit to package it the nix way
<v0latil3> the file is called .env and has lines like "DB_CONNECTION=mysql"
spear2 has joined #nixos
Mercuria1Alchemi has quit [Quit: Lost terminal]
<adisbladis[m]> v0latil3: If you are using composer there is https://github.com/svanderburg/composer2nix
Ariakenom has joined #nixos
<v0latil3> adisbladis[m], i see that and tested it but would like to make a package for it in nixpkgs tree
<adisbladis[m]> v0latil3: Ahh ok. How far along are you? Could you paste your expressions?
reinzelmann has joined #nixos
NicksNix has joined #nixos
<adisbladis[m]> It would help a lot to understand what you want
<v0latil3> adisbladis[m], not far at all haha literally just the fetchFromGitHub and the meta
<NicksNix> Hey everyone! I have a weird problem trying to use tensorflow for a python package I'm building.
<v0latil3> I can get it to work with that composer2nix but I have to edit this .env file and configure it like on a normal ubuntu or whatever and then use composer2nix and add the nix expressions from that
remmster has joined #nixos
goibhniu has joined #nixos
<v0latil3> but instead i would like to package it "natively?" so i can have the package for it and a service for it to configure instead of hardcoding in the configuration to a specific derivation
<NicksNix> I'm using nix (on a NixOS machine), and have a default.nix script which describes the dependencies etc. Everything works as long as I'm not using tensorflow, Keras or the likes. When I add one of these (in the python36Packages.buildPythonPackage.propagatedBuildInputs list)
<v0latil3> adisbladis[m], I don't know if that makes sense. i'm a noob to nix :)
<NicksNix> the machine builds tensorflow and Keras, but when I start a nix-shell, the libraries aren't available
<remmster> Does anyone have custom theme/icons for lightdm-gtk-greeter working?
<NicksNix> (both when using "import keras" in the code I want to run, and they're not listed through the command
<NicksNix> python -c "import sys; print(sys.path)")
<NicksNix> does anyone have any suggestions?
vmandela has quit [Quit: Leaving]
redj_ has joined #nixos
Khetzal has joined #nixos
<adisbladis[m]> v0latil3: Yes that makes sense :)
<v0latil3> adisbladis[m], not 100% sure i even understand exactly what composer2nix does. i'm looking at the .nix it created for this
<adisbladis[m]> v0latil3: It looks like most packages simply unpackes and copies the files
<adisbladis[m]> v0latil3: If you look at other php packages in nixpkgs
<{^_^}> [nixpkgs] @dotlambda merged pull request #43393 → pythonPackages.cython: run tests in parallel → https://git.io/fNI1d
redj has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed commit from @volth to master « pythonPackages.cython: run tests in parallel (#43393) »: https://git.io/fNLJK
<v0latil3> adisbladis[m], Yeah, I'm looking at LimeSurvey
<adisbladis[m]> Ore use buildPecl
<adisbladis[m]> NicksNix: How are you launching nix-shell?
obadz has quit [Ping timeout: 248 seconds]
<v0latil3> adisbladis[m], I think pecl is for php extensions and composer is for libraries which is different maybe. idk.
obadz has joined #nixos
<adisbladis[m]> v0latil3: Anyway. There are lots of examples using `stdenv.mkDerivation` and just copying the source to the output
<Lears> remmster: not icons, but I am using the numix gtk theme with it. The displayManager section of my services.xserver config looks like this: http://nixpaste.lbr.uno/JfQrUer1?nix
<adisbladis[m]> Maybe that works for you?
<v0latil3> adisbladis[m], can you link me another example? https://github.com/LimeSurvey/LimeSurvey/blob/master/composer.json only has 1 dependency and it looks like the nix pkg just ignores that maybe? the app im looking at has like 30
myshoe has joined #nixos
coot has joined #nixos
<v0latil3> yeah i think those are native libs/extensions for the core php or something. https://stackoverflow.com/a/4960483
<adisbladis[m]> v0latil3: Packaging them should still be very similar
<adisbladis[m]> If not identical
<{^_^}> [nixpkgs] @dotlambda opened pull request #43407 → seafile-client: 6.2.1 -> 6.2.2 → https://git.io/fNLUZ
<v0latil3> adisbladis[m], Yeah probably. I think i can get it to work from the composer2nix output, i will just have to patch the app to get the .env variables from a different location instead of nix store
<remmster> Lears: thanks - mine is pretty similar but it's not working. Let me try with the numix theme
<NicksNix> adisbladis: I execute "nix-shell" without any arguments
Ariakenom has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « multi-ghc-travis: update to latest git version »: https://git.io/fNLUV
<{^_^}> [nixpkgs] @joachifm merged pull request #43391 → tor-browser-bundle: update license to free → https://git.io/fNI6T
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fNLU6
remmster has quit [Quit: Lost terminal]
andymandias has quit [Ping timeout: 260 seconds]
<adisbladis[m]> NicksNix: Would you mind pasting your shell.nix/default.nix
<adisbladis[m]> I have a feeling you are using python packages a bit incorrectly and getting a bit of a strange env
winem_ has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
andymandias has joined #nixos
trcc has quit [Read error: Connection reset by peer]
trcc has joined #nixos
hyper_ch2 has quit [Ping timeout: 252 seconds]
wucke13 has joined #nixos
<NicksNix> adisbladis:
<NicksNix> { python3Packages, lib }: let pythonPkgs = python3Packages; in pythonPkgs.buildPythonPackage { name = "nn-python-0.0.0"; namePrefix = ""; src = ./.; buildInputs = []; pythonPath = with pythonPkgs; [ numpy scipy scikitlearn tensorflow Keras ]; doCheck = false; meta = { homepage = http://lumiguide.nl; description = "Experimen
<adisbladis[m]> NicksNix: Use a pastebin please :)
knupfer has quit [Remote host closed the connection]
civodul has joined #nixos
knupfer has joined #nixos
<wucke13> Hey, I've run into an interesting 'bug' while deploying nix to a non nixos machine: while creating the build users, the script correctly dislikes the fact that the uid (30001) is already in use. As this is a univesity application server, this makes sense (the uid is taken by a regular user). How do I circumvent this? Maybe just assuming that no user has the uids ranging from 30001-30000+number-of-buildusers is
<wucke13> not a good idea?
<manveru> hmm
<manveru> you can probably just modify the script
<manveru> i don't think it matters what uids they have in practice
Ariakenom has joined #nixos
<wucke13> manveru: why are they explicitly stated if they don't matter? I think there is no need to state them explicit, as they happen to be autoassigned by the system? I'm uncomfortable about modifying the script.
<wucke13> Basically that filters the target audience for a non nixos multiuser nix install to all Systems with <29000 users...
<manveru> well, it's the first time i hear of this problem :)
<manveru> and we usually only fix problems if we know about them, so now it's time to fix it
<wucke13> Hmmh. Which script needs to be modified then? The install script itself doesn't look like it adds the user itself?
<manveru> the install script fetches a tarball with another install script
<wucke13> So basically one would need to modify the install script in a way it modifies the other install script which is first downloaded from an external ressource?
__Sander__ has quit [Ping timeout: 240 seconds]
<manveru> that's the actual installer for your machine i think
<manveru> gchristensen: you around?
Turion has quit [Ping timeout: 248 seconds]
<wucke13> How and what would I run to perform the install after modyfing the given lines? And to what value should I set it?
<manveru> something like `readonly NIX_FIRST_BUILD_UID="${$NIX_FIRST_BUILD_UID:-30001}"` would seem nicer...
<manveru> so you can modify the installer without having to mess with the tarball
<manveru> well, i don't know what your first free uid is
<{^_^}> [nixpkgs] @peti pushed to master « xmonad-extras: jailbreak to build to cope with out patched version of xmonad »: https://git.io/fNLki
<manveru> https://github.com/NixOS/nix/issues/2233 seems like a related issue
<{^_^}> #2233 (by pboyer, open): Install on MacOS High Sierra fails after interrupting first install
hyper_ch2 has joined #nixos
<manveru> wucke13: you know how to download the tarball for nix?
<LnL> manveru: probably a bit early for him
<manveru> yeah
<manveru> this part, you have to substitute $system for your arch, like x86_64-linux https://nixos.org/releases/nix/nix-2.0.4/nix-2.0.4-$system.tar.bz2
<manveru> damn, i gotta go too now
ckauhaus has joined #nixos
ThatDocsLady_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
__Sander__ has joined #nixos
xy2_ has joined #nixos
<LnL> wucke13: download/unpack the tarball and run the install script that's inside after editing it
fractalcat has quit [Quit: WeeChat 2.1]
sigmundv has joined #nixos
johanot has joined #nixos
helzik has joined #nixos
lnikkila_ has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fNLLK
<adisbladis[m]> NicksNix: A more typical python development environment would use `python.withPackages(ps: [ ps.requests ])`
helzik has left #nixos [#nixos]
<wucke13> manveru: Thanks! I will give that a shot
NicksNix has quit [Quit: Page closed]
kyren has quit [Ping timeout: 240 seconds]
polyzen has quit [Quit: WeeChat 2.1]
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fNLtE
Izorkin has quit [Read error: Connection reset by peer]
Izorkin has joined #nixos
xy2_ has quit [Quit: WeeChat 2.1]
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fNLto
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @iimog opened pull request #43408 → rPackages.haven: fix installation → https://git.io/fNLtD
Yaniel has quit [Ping timeout: 240 seconds]
Yaniel has joined #nixos
<Myrl-saki> TIL, there's a withPackages for Python.
<Myrl-saki> haskellPackages uses ghcWithPackages. :(
<WilliamHamilton> hi, I'd like to understand what controls the read only attribute of /nix/store wrt $out
<WilliamHamilton> why is it that I can say `mkdir $out` in a derivation, and it will be built, while I can't say `mkdir $out` when I am in a nix shell following that derivation step by step?
Wharncliffe has joined #nixos
spear2 has quit [Quit: Leaving]
trcc has quit [Remote host closed the connection]
<{^_^}> [cabal2nix] @peti pushed 3 commits to master: https://git.io/fNLmc
nschoe has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-18.03: https://git.io/fNLm2
<{^_^}> [nixpkgs] @peti merged pull request #43408 → rPackages.haven: fix installation → https://git.io/fNLtD
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fNLmy
<nschoe> Hi everyone, I'm trying to install `system-config-lvm` on nixOS, but I can't seem to find the package. Is there one and I'm just bad a looking, or is it not packaged?
Yaniel has quit [Ping timeout: 240 seconds]
<nschoe> This is a GUI tool to handle lvm partitions.
<WilliamHamilton> nschoe: what's the name of the executable you hope to use?
<nschoe> WilliamHamilton, `system-config-lvm`.
Yaniel has joined #nixos
<Myrl-saki> myrl@myrl:~$ command-not-found system-config-lwm
<WilliamHamilton> ,locate bin system-config-lvm
<Myrl-saki> system-config-lwm: command not found
<{^_^}> Couldn't find any packages
<nschoe> ho that's neat ^^
<nschoe> Okay thanks, so it is not packaged :)
<Myrl-saki> nschoe: Not necessarily, it could also just be part of the packages that are not being built.
<Myrl-saki> But I 99.9% doubt that's the case.
<nschoe> Myrl-saki, the above commands looks for hydra, is that it?
<Myrl-saki> nschoe: I have no idea, but from what I understand, command-not-found(or at least the backing function) checks a file that you download from channels.
<nschoe> Hum ok.
<nschoe> Thanks, I'll try to ind another way.
<angerman> hmm windows cross compilation via mingw is broken in nixpks, due to trying to build coreutils.
<Myrl-saki> Also, I messed up my command-not-found, but it didn't work either way. :P
<nschoe> Myrl-saki, yes I have command-not-found installed on the system as well, it did not find anything.
<nschoe> It doesn't matter, I'll try to fond another GUI.
<Myrl-saki> nschoe: There's partitionmanager from KDE, according to https://askubuntu.com/a/968843
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/2.10.0: https://git.io/fNLYp
<nschoe> Myrl-saki, yes I'm on this too, but I get some weird errors like "Could not load plugin for core backend "pmlibpartedbackendplugin" : "The shared library was not found.""
trcc has joined #nixos
<nschoe> Wellll nothing's working, so I guess I'll have to do it by hand :P
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
logzet has joined #nixos
v0latil3 has quit [Read error: Connection reset by peer]
ericsagnes has quit [Ping timeout: 244 seconds]
ajs124 has left #nixos ["Stream closed by us: Replaced by new connection (conflict)"]
ajs124 has joined #nixos
zduch4c has joined #nixos
<zduch4c> henlo
<zduch4c> I'm wondering how the programs.chromium.extensions variable works... do I need to install chromium in some particular way for the extensions to be installed?
<zduch4c> for now I'm just installing it in environment.systemPackages
<WilliamHamilton> when is the $out folder created in a derivation?
fendor has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 260 seconds]
<teto1> WilliamHamilton: when in a nix-shell, export out to a path where you can write
<WilliamHamilton> teto1 I see, so the $out creation process is only handled by nix, there's no way to observe it manually?
simukis has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
<WilliamHamilton> in the installPhase, I'm writing "mv * $out" in the derivation
<LnL> the build has to create it
<WilliamHamilton> but when building with nix-build it complains that $out is read-only
<LnL> outputs can be a directory or a file so nix can't create it upfront
nschoe has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
dmc has joined #nixos
Yaniel has quit [Ping timeout: 264 seconds]
Yaniel has joined #nixos
<WilliamHamilton> see, if I put "mv * $out" as my installPhase, I get the error
mmercier_ has quit [Quit: mmercier_]
<WilliamHamilton> mv: target '/nix/store/8lpvgayy7n8j96amblzg4wfjn5jhybcw-pakcs-2.0.2' is not a directory
<WilliamHamilton> I'd like, when the build finishes, to copy the files in $out (I understand that they are built in a temporary directory
wucke13 has quit [Quit: WeeChat 2.0]
zduch4c has quit [Quit: Page closed]
phreedom has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
ajs124 has left #nixos ["Stream closed by us: Replaced by new connection (conflict)"]
ajs124 has joined #nixos
__monty__ has joined #nixos
<WilliamHamilton> on the other hand, if I don't provide a makefile, the default is a `make install`, that the makefile doesn't have
raynold has quit [Quit: Connection closed for inactivity]
init_6 has joined #nixos
<adisbladis[m]> WilliamHamilton: `mkdir $out`
<adisbladis[m]> You are responsible for creating the output
<WilliamHamilton> adisbladis: I'll correct that asap, thanks. Could I say `installPhase="mkdir $out; mv * $out` when I'm in a nix shell and then issue `eval $installPhase`?
xorkle has quit [Ping timeout: 268 seconds]
humanoyd has joined #nixos
<adisbladis[m]> WilliamHamilton: That's fine for the derivation itself. Though you cannot create $out from your nix-shell
<adisbladis[m]> Only the daemon can do that
<adisbladis[m]> /nix/store is read only
<WilliamHamilton> I see, thank you
humanoyd has quit [Quit: WeeChat 2.1]
<rardiol1> Does someone here owns the paid version of keeperrl?
<nschoe> Hey, any tip for optimizing disk space? My nix store takes about 50G and I'm running out of space.
<nschoe> I have deleted old generations of my user profile, the "channel" profiles, the system profile and ran the garbage collector.
<nschoe> I have also ran nix-store --optimize (or equivalent, smth like this).
<{^_^}> [nixpkgs] @xeji merged pull request #43394 → flash: 30.0.0.113 -> 30.0.0.134 → https://git.io/fNIDU
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNLWW
<LnL> how many system/user generations do you have?
fendor has joined #nixos
<nschoe> LnL, `nix-env --list-generations` alone gives just one, with -p /nix/var/nix/profiles/system, there are 2, with -p /nix/var/nix/profiles/default there are 1
johanot has quit [Ping timeout: 256 seconds]
<goibhniu> nschoe: could you have some gc-roots from running nix-build?
<LnL> 50G isn't that much, depending on the size of your system build
<goibhniu> nschoe: `nix-store --gc --print-roots | grep -v memory`
<LnL> take a look at nix-store --gc --print-roots | grep -v memory:
<cocreature> is there some semiautomatic tooling for figuring out nodes in the dependency graph that might be useful to remove? e.g. something like “if you manage to get rid of this dependency, we can drop those 50 other deps as well”
pie___ has joined #nixos
<cocreature> the output of --query --graph seems to be to large to get anything useful out of it (at least with my very limited graphviz skills)
mmercier_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #43404 → zsh-command-time: 2017-05-09 -> 2018-04-30 → https://git.io/fNIjv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNLWx
ericsagnes has joined #nixos
telent has joined #nixos
<WilliamHamilton> should I put in the installPhase the symlink of the program in my user profile? How is this commonly done?
buzzmaster[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @Mic92 merged pull request #43402 → tig: add zsh completion → https://git.io/fNIbm
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNLlP
<LnL> no builds only have access to $out
<LnL> nix-env itself is what takes care of creating the symlink tree and updating profile links
<nschoe> goibhniu, yes I have 30 apparently
<nschoe> goibhniu, most of them are "/nix/var/nix/profiles/per-user/nschoe/channels-XX-link" though.
fendor has quit [Read error: Connection reset by peer]
buzzmaster[m] has joined #nixos
phaebz has joined #nixos
<goibhniu> nschoe: I'd try removing the build result link and running the garbage collector again
johanot has joined #nixos
ma27 has joined #nixos
<gchristensen> standard firefox on 18.03 can use u2f keys now, fyi
<{^_^}> [nixpkgs] @rardiol opened pull request #43409 → keeperrl: init at alpha24 → https://git.io/fNL8r
<hodapp> cocreature: hmm, looking for eliminating transitive dependencies in other words?
<hodapp> seems like an easy thing from a graph theory standpoint but I might also not understand it well
<cocreature> hodapp: yeah
justanotheruser has joined #nixos
<cocreature> from a graph theory standpoint it’s something like finding nodes which when removed will break the connection to the root for other nodes
fendor has joined #nixos
phdoerfler has joined #nixos
alexteves has joined #nixos
averell has quit [Quit: .]
averell has joined #nixos
frankpf has joined #nixos
kyren has joined #nixos
Wharncliffe has quit [Ping timeout: 240 seconds]
xy2_ has quit [Ping timeout: 264 seconds]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
joehh has joined #nixos
tessa has joined #nixos
trcc has quit [Remote host closed the connection]
<nschoe> goibhniu, yep, I have removed the result that I felt confortable removing, but what about those "nschoe/channels-XX-link"? Is it safe to remove? I don't know what they are :/
fragamus has joined #nixos
<WilliamHamilton> LnL: so, I have an executable in $out/bin, but if I call it from the shell by name I get "command not found"
frankpf has quit [Ping timeout: 256 seconds]
<goibhniu> nschoe: have you run `nix-collect-garbage -d` as your normal user too?
<WilliamHamilton> are all the executables in bin symlinked in the profile? Or is it because I'm running this with nix-build and I should put it in the nixpkgs tree instead?
<{^_^}> [nixpkgs] @pSub merged pull request #43293 → hetzner-kube: init at version 0.3.1 → https://git.io/fNTLI
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/fNLRv
johanot has quit [Ping timeout: 244 seconds]
<nschoe> goibhniu, yes, without the -d, though. Because I don't like erasing everything but the current. But I have removed profiles by hand, and then run `nix-collect-garbage`.
<LnL> WilliamHamilton: you have to explicitly install things into your profile
johanot has joined #nixos
<buzzmaster[m]> what are the common usecases for NIxOS?
<{^_^}> [nixpkgs] @pSub merged pull request #43213 → mate.caja: 1.21.1 -> 1.21.2 → https://git.io/fNvQY
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNLRY
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #43205 → mate.engrampa: 1.20.1 -> 1.21.0 → https://git.io/fNv9o
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNLRc
<__monty__> buzzmaster[m]: I think having a fairly reproducible declarative system's the main use case.
patrl has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43396 → nixos: remove option services.xserver.desktopManager.xfce.screenLock → https://git.io/fNI7E
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fNLRR
xy2_ has joined #nixos
<buzzmaster[m]> __monty__: how does it compare to Anisble/Terraform?
redj_ is now known as redj
<__monty__> buzzmaster[m]: I'd compare those more to nixops than nixos. The main difference is nixos is declarative instead of imperative. (I'm not up on current ansible et al. though, maybe they've improved.)
aarvar has quit [Ping timeout: 240 seconds]
<buzzmaster[m]> __monty__: both declarative and imperative approaches are supported. Terraform is declarative AFAIK
<buzzmaster[m]> how does NixOS define declarative?
<{^_^}> [nixpkgs] @xeji merged pull request #43407 → seafile-client: 6.2.1 -> 6.2.2 → https://git.io/fNLUZ
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNL0G
rprije has quit [Ping timeout: 260 seconds]
<Psi-Jack> buzzmaster[m]: Have you even tried NixOS out in a VM or anything?
<buzzmaster[m]> Psi-Jack: not yet, mostly because it's not clear to me what problems it tries to solve
<__monty__> buzzmaster[m]: You specify the software/services that should be on the machine in configuration.nix and a rebuild makes it so. You never have to say "stop all services, change some services, start all the new services" or anything of the sort.
<Psi-Jack> buzzmaster[m]: Well, I recommend you do so, as that will answer many questions, and likely have you asking better questions. :)
<Lears> The common use cases of NixOS are very simple: "home desktop and server".
<Lears> It's just a nice OS that's easy to keep clean and hard to break.
<gchristensen> well, laptops too
<Lears> Right, I was lumping them in with desktop since I don't really distinguish.
<gchristensen> buzzmaster[m]: nixos is actually declarative, not declarative-but-actually-imperative
* etu uses nixos on laptops, desktops, vpses and raspberry pis
<gchristensen> it doesn't guess what commands should be run to change your system to match desired state, it recreates the entire system on each run to match your spec
ThatDocsLady has joined #nixos
<ocharles_> Any Packet.net & NixOS users here? I'm wondering how NixOps fits in
libertyprime has joined #nixos
<gchristensen> ocharles_: yep... :)
<ocharles_> My Packet server seems to have /etc/nixos/packet with a lot of important things, things that I think change when I change things in app.packet.net
<rardiol1> Why not on the toaster etu?
<gchristensen> ocharles_: those files are never regenerated
<ocharles_> ah
<etu> rardiol1: Because I don't have a toaster:)
ThatDocsLady has quit [Client Quit]
<ocharles_> so I can grab em once and stick em in a nixops network and forget about them?
<gchristensen> ocharles_: yep
<ocharles_> nice. I'm pretty excited about this. AWS pisses me off more than it makes me happy
<gchristensen> are your systems running the 18.03 or 17.09 version?
<buzzmaster[m]> Psi-Jack: right, it's just I'm not a fan of going through pages of manuals to get something to work
<gchristensen> Packet is *amazing* and their Slack is great, ocharles_
<ocharles_> e.g., right now nixops has been sat there for about 10 minutes trying to get SSH. I give up
<ocharles_> gchristensen: 18.03 on one of the "tiny" machines
<Psi-Jack> buzzmaster[m]: You go through a page or two at best to get started.
<buzzmaster[m]> gchristensen: what is "declarative" in this context?
<gchristensen> ocharles_: nice
<ocharles_> gchristensen: nice! I'm impressed so far
<gchristensen> buzzmaster[m]: you should just try it :)
<Psi-Jack> buzzmaster[m]: I just started /looking/ at nixos yesterday, and all the questions you've asked, I already have seen first hand.
<gchristensen> buzzmaster[m]: if you're not willing to try it, then I'm not sure we can help further. you'll definitely have to do some manual reading and some source code reading to have a good experience on nixos
Yaniel has quit [Excess Flood]
<gchristensen> ocharles_: lmk if you have bugs with the install process :) https://github.com/grahamc/packet-provision-nixos-ipxe/
<ocharles_> I saw that but I wasn't sure if it was still relevant
<ocharles_> e.g., I haven't needed that yet
Yaniel has joined #nixos
<ocharles_> I dunno what ipxe is though
<gchristensen> (that source isn't up to date, due to some NDA'd features in the installer. I'll be pushing the fully updated source soon.)
<__monty__> buzzmaster[m]: Declarative means the same thing everywhere. You say what instead of how.
joepie91_to_go has joined #nixos
<Enzime> should I be using lib.optional or lib.optionals?
<Enzime> what's the difference?
<Lears> buzzmaster[m]: The introductory section of the "Declarative programming" wikipedia page seem to give a pretty good description.
alex``` has joined #nixos
<buzzmaster[m]> too vague
mariatsji has quit [Ping timeout: 248 seconds]
<clever> Enzime: optionals doesnt wrap the arg in a list, so you can pass it a list of several optional things to include
<gchristensen> buzzmaster[m]: we can't help you further if you're not willing to try. #nixos isn't here to support you to the ends of the earth. (this is a warning.)
<buzzmaster[m]> I guess I'll fire up nix in a vm tonight after I get out of the office
<etu> buzzmaster[m]: So go download virtualbox and a nixos image and try it out.
<gchristensen> great :)
<{^_^}> [nixpkgs] @taku0 opened pull request #43410 → Thunderbird bin 52.9.1 → https://git.io/fNLEC
<buzzmaster[m]> I strongly dislike docker + ansible combo I have to use
<Enzime> clever: but for someone that's hardcoding a list of values
<Enzime> it doesn't make a difference right?
<Enzime> lib.optional a b c
<Enzime> or
<Enzime> like I could do either
<Enzime> lib.optionals [ a b c ]
<etu> buzzmaster[m]: you can build docker images with nix :)
<clever> Enzime: the first argument to both must be a boolean
<buzzmaster[m]> etu: right. I can also use Packer
<Enzime> clever: oops forgot that, but regarding the latter argument(s)?
<clever> Enzime: there are examples where i linked, optional true "foo"
<clever> Enzime: vs optionals true [ 2 3 ]
<Enzime> clever: is optional true "foo" "foo" equivalent to optionals true [ "foo" "foo" ]
<clever> Enzime: no
<clever> Enzime: that will attempt to call "foo" on "foo", and fail
<Enzime> clever: ah okay
<Enzime> just realized I could've tested this in the nix repl
<clever> > optional true "foo" "foo"
<{^_^}> undefined variable 'optional' at (string):154:1
<clever> > lib.optional true "foo" "foo"
<{^_^}> attempt to call something which is not a function but a list, at (string):154:1
<clever> the bot also can do it
<Enzime> can I make it build all the packages?
<buzzmaster[m]> it'd be nice if Nix could be ported to Illumos at some point
<buzzmaster[m]> I like zones a lot better than LXC
<buzzmaster[m]> and dtrace
<etu> buzzmaster[m]: Probably not impossible since nix is actively used on macOS
<Enzime> isn't macOS too fargone from other BSDs?
<{^_^}> [nixpkgs] @xeji merged pull request #43406 → libmodsecurity: 3.0.0 -> 3.0.2 → https://git.io/fNLvc
<{^_^}> [nixpkgs] @xeji pushed commit from @Izorkin to master « libmodsecurity: 3.0.0 -> 3.0.2 (#43406) »: https://git.io/fNLuU
phaebz has quit [Ping timeout: 240 seconds]
<ocharles_> grahamc: is all your stuff using packet these days, or AWS? (or neither?)
<logzet> clever, gchristensen: I tried a Win10 setup today and it complains àbout missing a USB driver.
<gchristensen> I'm all on AWS, ocharles_
<clever> logzet: ah, that could explain why nixos also cant boot
<logzet> I am actually clueless what else to try now :/
<clever> logzet: put the hdd into another machine, install, then move it, use the removable efi option i mentioned for the usb stick
<clever> logzet: or look into network booting over ethernet
<clever> logzet: this module turns a laptop into a router+netboot server, treating the wifi as WAN and the ethernet as LAN
<logzet> clever: So I just have to connect the laptop to a pc running that config?
<clever> logzet: and that pc needs 2 network interfaces
<logzet> I have a wlan stick somewhere
phaebz has joined #nixos
<logzet> So the 2nd interface is just a little configuration
<gchristensen> ocharles_: erm
<gchristensen> ocharles_: I said that wrong
<gchristensen> ocharles_: I'm all on *Packet* :D
<clever> logzet: yeah, i had originally made that config to run on a laptop, to spread the infection that is nixos :P
vmandela has joined #nixos
<logzet> My other laptop currently has nixos-immunity, time to exame what causes this?
<ghasshee> Hi, I still could not find correct dropbox client on nixos, does anyone know how to install the latest one?
<clever> logzet: you could probably even put that module into the imports section of a laptop booting from the liveusb, and nixos-rebuild switch
aminechikhaoui has quit [Killed (rajaniemi.freenode.net (Nickname regained by services))]
<logzet> Thats a cool idea
aminechikhaoui has joined #nixos
aminechi1haoui has joined #nixos
<ghasshee> @clever I tried it. and start the command, but it does not start sync.
<ghasshee> So, I typed on command line `nix-env -qaP '.*dropbox.*' `, but it do not tell there is dropbox.
<ghasshee> on nixos-18.03
<ghasshee> I could install anything else other than dropbox.
goertzenator has quit [Quit: Page closed]
<ghasshee> And I am getting error message when I did 'nixos-rebuild switch' with message with url 'http://http://....' which seems so buggy
<gchristensen> ocharles_: oh ... I didn't explain clearly, https://github.com/grahamc/packet-provision-nixos-ipxe/ is what Packet uses to install NixOS, you don't need it or use it directly.
<ocharles_> Ah I see
<gchristensen> so if something is inconvenient with how the install process works, opening an issue there would be the way to solve it
<ocharles_> Got it, thanks!
aminechi1haoui has quit [Ping timeout: 256 seconds]
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
trcc has joined #nixos
kyren has quit [Remote host closed the connection]
kyren has joined #nixos
hxrts_ has joined #nixos
<{^_^}> [nixpkgs] @akru opened pull request #43411 → parity: 1.10.8 -> 1.10.9 → https://git.io/fNL26
bmikedesk has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #43412 → flashplayer: fix hashes → https://git.io/fNL2H
trcc has quit [Remote host closed the connection]
hxrts_ has quit [Remote host closed the connection]
averell has quit [Quit: .]
<Psi-Jack> Hmm. I will say this. So far, NixOS does peak some curiosity for me. :)
<hodapp> pique*
averell has joined #nixos
<Psi-Jack> Yes, pique. :)
orivej has joined #nixos
<infinisil> Psi-Jack: Nice :D
lord| has quit [Ping timeout: 240 seconds]
<Psi-Jack> I might just have to try it out in actual use, and see if I can put it to the uses I can forsee me using it for, primarily servers.
averell has quit [Remote host closed the connection]
averell has joined #nixos
<gchristensen> /!\ warning: it is very hard to turn away from once you step your toe in /!\
<Psi-Jack> Though to do that, I'll also have to figure out nix itself, because the zabbix-2.x crap is just too dang old.
zduch4c has joined #nixos
<zduch4c> hello
chaker has joined #nixos
<zduch4c> what's the easiest way to make an executable file (that I downloaded off the net, for example some game) work under NixOS? I heard about patchelf, how do I use it?
lord| has joined #nixos
<gchristensen> Psi-Jack: we're happy to help you with updating a package and service, as part of learning how those systems work
<Psi-Jack> heh.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> as part of *teaching* you how they work I mean
<gchristensen> zduch4c: first thing I'd try is steam-run, which pretends to be enough of a regular linux to run Steam games
<Psi-Jack> Well, I learned how to do Solus packaging within just a couple days. If nixos's is anywhere near as good and easy, nix won't be much either.
<infinisil> ,locate bin steam-run
<{^_^}> Found in packages: steam-run-native
<Enzime> gchristensen: that's cheeky
<nbathum> ghasshee: I'm also on 18.03. for me, `nix-env -qaP '.*dropbox.*' returns like 6 packages from the main nixos channel
blob_ has quit [Remote host closed the connection]
<zduch4c> "nix search <package-name>" is better I heard
<nbathum> ooh
<Enzime> wow
<Enzime> this is a world of colour
<nbathum> nice
<Enzime> I've been using `nix-env -qaP | grep dropbox` this whole time
<nbathum> zduch4c: thanks
<infinisil> Enzime: Could've also used `nix-env -qaP | fzf`, much nicer and faster
<joepie91> Psi-Jack: I've personally found the packaging process itself to be very pleasant for Nix; but it does involve a bit more thinking in the sense that you can't just drop files into /bin and /lib and *certain* software does really dubious things with global system state that you need to prevent (although if there's a pre-existing package, even if it's an old one, somebody has likely already sorted those things out)
<Enzime> infinisil: peco > fzf :)
<infinisil> Never heard of peco, *tries it*
<Enzime> joepie91: I mean doesn't Nix prevent that :)
<joepie91> Psi-Jack: also, for server usage, you'll probably want to look at NixOps at some point as well
<Enzime> the main issue is that the application won't work :P
Coyin has joined #nixos
<__monty__> infinisil: Try rg instead ; )
<hodapp> Psi-Jack: by the way, did you ever work your confusion out with why you kept insisting to me that CRC32 is *not* for error-checking?
<joepie91> Enzime: well, yes, Nix tries pretty hard to disallow this kind of thing, but 1) it can't do so perfectly and 2) you're still left with a mysteriously non-working application that you need to fix :)
<infinisil> What the hell, peco messes up my terminal
<infinisil> __monty__: Yeah I'm using rg extensively already
<Psi-Jack> joepie91: Eventually. Though we'll see. I run 3 AWS EC2 instances, of which runs my webserver stuff, mail server stuff, and miscellany stuff (znc, vpn, etc).
<Enzime> infinisil: what terminal are you running?
<infinisil> Enzime: tmux in alacritty
blob_ has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
<Psi-Jack> hodapp: Pardon?
<gchristensen> man, a major problem I have with all these fuzzy-finders is they're not typo-resiliant. if the text contains "license" and I type "licence" they don't work
<gchristensen> hodapp: please don't troll here
<joepie91> Psi-Jack: if it's of any use, this is my current NixOps/NixOS setup for all my servers that run NixOS (which is a slowly growing set of them): https://git.cryto.net/joepie91/nixops-configuration/src/master/networks/default.nix
<joepie91> might be useful as a point of reference
<Psi-Jack> gchristensen++
<{^_^}> gchristensen's karma got increased to 15
<hodapp> gchristensen: hrm?
<joepie91> quite a few people publish their NixOS/NixOps configs as well, I think we even have a repo for it?
wucke13 has joined #nixos
* joepie91 searches
<hodapp> gchristensen: wait, I thought the point of fuzzy-finders was to be resilient to that
<joepie91> infinisil: ah, wiki page, not repo - yes, that's the one
<joepie91> thanks :P
<infinisil> It should have some descriptions along with the repos though
<gchristensen> hodapp: they seem to only handle missing characters
<joepie91> yeah
<Enzime> wow never realized Mozilla actually uses Nix
<Enzime> makes sense when you think about Firefox build times...
<hodapp> gchristensen: oh, wonder why they don't use Levenshtein distance or something
<hodapp> Enzime: they do?
<joepie91> Enzime: well, at least they provide an overlay for their stuff, and presumably some of their employees use it
<hodapp> first I've heard this.
<joepie91> I don't know if they use it for Mozilla infra
<gchristensen> hodapp: me too, it is really bizarre people have implemented dozens of fuzzy-finders and they're all really missing trivial features
<Enzime> hodapp: in the previous wiki link
<gchristensen> I guess they're fun :)
<joepie91> the overlay is well-supported though
<joepie91> Enzime: this suggests that it is at least semi-endorsed: https://docs.mozilla-releng.net/develop/install-nix.html
jtojnar has joined #nixos
<joepie91> possibly might just be used for consistent dev envs
aminechikhaoui has quit [Ping timeout: 240 seconds]
aminechikhaoui has joined #nixos
aminechikhaoui has quit [Remote host closed the connection]
chaker has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #43413 → percona-xtrabackup: 2.4.9 -> 2.4.12 → https://git.io/fNLVb
aminechikhaoui has joined #nixos
<joepie91> gchristensen: afaik this is because once you implement levenshtein distance, you can no longer do a fast binary tree implementation
<Enzime> heh
<gchristensen> a fast binary tree implementation is useless to me if it doesn't get me any results
<Enzime> "©1970, Mozilla Release Engineering."
<infinisil> Oh, and naive levenshtein distance sucks btw, need to add some smarts to it
<Enzime> wonder if that's (a)a joke (b)intentional or (c) unintentional
ilav has joined #nixos
<blob_> hello. the steam-run command works but the text in the application doesn't render. it's just a bunch of brackets
<hodapp> Enzime: if you build Sphinx docs in Nix (for instance) they're date-stamped with 1970 for some reason I forget
ilav has quit [Client Quit]
<joepie91> Enzime: the homepage of the domain states 'version 42' so I'm going for A
<joepie91> :P
<Enzime> hodapp: probably unix timestamp 0?
<Psi-Jack> That, and I also of course have my home-based Proxmox VE cluster with Ceph cluster, which does quite a lot. :)
<Enzime> blob_: what are you trying to steam-run?
<gchristensen> Enzime: unix timestamp 1 :)
<Psi-Jack> Which is funny, because just recently I switched most of my CentOS 7 servers to Debian 9, and now I'm looking at NixOS.
<Enzime> gchristensen: off-by-one error
<{^_^}> [nixpkgs] @bricewge opened pull request #43414 → mosquitto: 1.4.5 -> 1.5 → https://git.io/fNLwZ
<gchristensen> apparently things detect a timestamp of zero and assume it is an error
<gchristensen> so, we use 1
<Enzime> heh
Coyin has quit [Remote host closed the connection]
<Enzime> > 1 == 0
<{^_^}> false
<joepie91> lol
<__monty__> Should've used 31337 instead.
jperras has joined #nixos
wucke13 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Enzime opened pull request #43415 → termite: Add support for macOS → https://git.io/fNLwu
srl295 has joined #nixos
wucke13 has joined #nixos
<infinisil> > botsnack
<{^_^}> undefined variable 'botsnack' at (string):154:1
<infinisil> :w
<infinisil> Aw
adamt has joined #nixos
<blob_> Enzime: A pretty obscure chiptune player. It works on every other distro I used. https://bulba.untergrund.net/emulator_e.htm
reinzelmann has quit [Remote host closed the connection]
<Enzime> blob_: why are you steam-running it?
aminechikhaoui has quit [Quit: Lost terminal]
aminechikhaoui has joined #nixos
<blob_> I can't directly launch it. bash: ./Ay_Emul: No such file or directory
<hodapp> it looks like https://bulba.untergrund.net/progr_e.htm has source code for whatever that's worth
<hodapp> it may be easier to compile than to worry about patching the binary
jperras_ has joined #nixos
jperras has quit [Read error: Connection reset by peer]
<blob_> I'll try that
Guanin has quit [Ping timeout: 244 seconds]
<hodapp> oy. "last version where Windows 98 is supported"
<blob_> heh
<hodapp> but then squaretone is the port to Linux? little confused...
<adamt> Just throwing this out there: Would anybody be interested in nix-related meetups in the Copenhagen area? Or does anybody know of Danish companies or groups of people who already use Nix/NixOS and friends?
<srhb> adamt: I'd be interested. :-)
<Psi-Jack> Nah. I don't do dip. :)
<cocreature> is there some documentation on how steam is packages in nixos that would be useful for packaging similar software? (e.g. the itch.io client)
* Psi-Jack ducks.
ericsagnes has joined #nixos
<adamt> srhb: \o/
robogoat has quit [Ping timeout: 256 seconds]
<logzet> cocreature: The steam nix-expression?
<hodapp> one of these days I'll make it to a Nix/NixOS meetup.
<zduch4c> gchristensen: thanks, steam-run works great
zduch4c has quit [Quit: Page closed]
<Taneb> cocreature: I'm aware of https://nixos.org/nixpkgs/manual/#sec-steam
<etu> adamt: A bit far but still so close. I've been thinking about the same thing in Stockholm.
<srhb> etu: We can meet in skåne :P
<hodapp> do one in Canada and give me an excuse to go there
<blob_> Yikes. his source is windows only. guess I'll find something else
<cocreature> logzet: I was hoping for some more userfriendly docs than the source code :)
<cocreature> Taneb: thanks!
<etu> srhb: denmark you say ;)
<srhb> etu: :D
<hodapp> blob_: but he has the Linux port and he built it from something...
<etu> I've lived in Skåne for several years
<etu> Then I moved back to Sweden
<adamt> srhb / etu: Who's going to provide the free pizza if it's in Skåne? :P
<srhb> *snort*
<srhb> adamt: Good point.
<hodapp> adamt: Papa John's, obviously.
<hodapp> they need the business.
<etu> srhb: Are you in Skåne? :)
<srhb> Nah, Copenhagen as well.
<adamt> hodapp: I get the sensation of not being in the loop with this Papa John guy.
binaryphile has joined #nixos
<binaryphile> hello all
tessa has quit [Quit: Leaving]
<etu> Well, the first week down there the Skånish people told me off for trying to be helpful because they heard that I'm from Stockholm... I felt so welcome ;)
<blob_> hodapp: I know he has the code but won't release it. I emailed him before but I don't think he would give it away
robogoat has joined #nixos
<hodapp> blob_: that's a shame
<etu> srhb: I have nothing against denmark though:)
<hodapp> so he doesn't have the actual source he built binaries from?
<srhb> etu: Give it time... :P
<blob_> yep
<etu> srhb: Thinking of going to copenhagen on my vacation in august:)
<etu> because it's a nice city
<adamt> etu: I imagine you would have something against a 675 km drive each way. :P
<srhb> etu: Hit me up for a beer if you want. :)
<etu> adamt: Well, I'm from Stockholm. Moved to Helsingborg for a job. Started to hate the job. Had no real reason to stay down there so moved back up:)
<etu> srhb: I'll remember that:)
cherrybl0ss0m_ has quit [Remote host closed the connection]
<adamt> etu: You could just apply for a job here, working with NixOS, then we would be four people in Cph working with NixOS. :P
mmercier_ has quit [Ping timeout: 240 seconds]
<Enzime> blob_: could always try running the Windows binary through WINE
<Taneb> adamt: one of my coworkers works remote from Copenhagen and we use nix quite heavily
<etu> adamt: It's tempting, but I don't wish to make a long distance move :)
sam__ has quit [Quit: sam__]
<srhb> Taneb: Who might that be?
<etu> oh well, wife is probably waiting for me now. Gotta leave work:)
<{^_^}> [nixpkgs] @alyssais opened pull request #43416 → vagrant: 2.1.1 -> 2.1.2 → https://git.io/fNLKq
<adamt> etu: Have fun. :-)
<Taneb> srhb: he's on IRC as Boomerang but I don't think he's in this channel?
<srhb> Taneb: Alright, thanks. :)
<adamt> Taneb: I half expected you to name srhb :P
<srhb> It would be embarrasing if I didn't know that I worked with Taneb :-P
<srhb> adamt: It might be worth looking in the Haskell ecosystem as well. Might be some people there that don't frequent this channel.
telent has quit [Ping timeout: 264 seconds]
<blob_> Enzime: It works perfectly fine in wine
<{^_^}> [nixpkgs] @volth opened pull request #43417 → libxklavier: 5.3 -> 5.4 → https://git.io/fNLKR
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dezgeg merged pull request #43134 → nixos/sd-image: make partition ID/UUID configurable → https://git.io/fNvkY
<{^_^}> [nixpkgs] @dezgeg pushed commit from @andrew-d to master « sdImage: make partition ID/UUID configurable »: https://git.io/fNLKz
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dezgeg merged pull request #41327 → raspberrypiWirelessFirmware: init → https://git.io/vhnjg
<{^_^}> [nixpkgs] @dezgeg pushed commit from @lopsided98 to master « raspberrypiWirelessFirmware: init »: https://git.io/fNLKo
fendor has joined #nixos
<symphorien> nix-shell -p "python.withPackages(ps: with ps; numpy)" does not work: error: value is a set while a list was expected
<symphorien> is it expected ?
<adamt> srhb: Ah. Right. I'll try one of these days. If I dare ask in there.
<gchristensen> symphorien: with ps; [ numpy ]
<symphorien> (nixos 18.03)
<LnL> symphorien: yes, python.withPackages(ps: with ps; [ numpy ])
<symphorien> right that was dumb :°
<symphorien> thankgs
<LnL> well to be fair, it's not a great error message :)
blob_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dezgeg pushed 3 commits to master: https://git.io/fNLKN
<srhb> adamt: Also /r/nixos maybe :)
<srhb> And discourse.nixos.org
robogoat has quit [Ping timeout: 260 seconds]
robogoat has joined #nixos
<adamt> srhb: i'm sure there's a free pizzy-subreddit somewhere as well.
<adamt> :P
joehh has quit [Ping timeout: 260 seconds]
cherrybl0ss0m_ has joined #nixos
<nyanloutre[m]> Hi, did somone already packaged an electron app ? I would like to package the ledger-live app but it seems a bit more complicated than just use the yarn wrapper.
<Taneb> Anyone know why my hydra server might be trying to ssh to a build machine using ED25519 rather than RSA?
<joepie91> PSA: eslint-scope package on npm was compromised: https://twitter.com/joepie91/status/1017411484509298688
<joepie91> may have stolen npm credentials
<joepie91> it is likely a worm
<__monty__> All I hear is JS and worm. All I think is "duh." : >
<srhb> Shots fired (let's not)
<gchristensen> srhb++
<{^_^}> srhb's karma got increased to 7
<adisbladis[m]> joepie91: Thanks for the heads up :)
patrl has quit [Ping timeout: 265 seconds]
johanot has quit [Quit: Leaving.]
aminechikhaoui has quit [Remote host closed the connection]
aminechikhaoui has joined #nixos
<adisbladis[m]> srhb++
<{^_^}> srhb's karma got increased to 8
<adisbladis[m]> Ohh .. I meant to do joepie91++
<srhb> I'll take it.
<srhb> :-P
<adamt> srhb--
<adamt> Damnit. :P
<joepie91> lol
<hodapp> 9_9
<joepie91> taking my karma points eh
<adisbladis[m]> That sweet sweet karma
<infinisil> There are only 2 people who can decrease someones karma
<infinisil> One of them being me because it's running on my server :P
<infinisil> And the other is a mechanism against narcissism
tzemanovic has joined #nixos
npmccallum has quit [Ping timeout: 240 seconds]
ihar has joined #nixos
alex``` has quit [Quit: WeeChat 2.1]
Guanin has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
dbmikus__ has joined #nixos
patrl has joined #nixos
<adisbladis[m]> adisbladis++
<{^_^}> adisbladis's karma got increased to 4
<adisbladis[m]> :)
owickstrom has joined #nixos
<infinisil> Sneaky!
Guanin has quit [Read error: Connection reset by peer]
Guanin has joined #nixos
<adamt> infinisil: It should probably only allow karma points from registered users.
cherrybl0ss0m_ has quit [Remote host closed the connection]
revtintin has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
nschoe has quit [Ping timeout: 260 seconds]
<gchristensen> infinisil: well and also that other person I guess
<gchristensen> infinisil++
<{^_^}> infinisil's karma got increased to 14
<gchristensen> oh you have actual karma now ;)
dbmikus has joined #nixos
sk8forether has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
<infinisil> Hehe
dbmikus__ has quit [Ping timeout: 244 seconds]
<adisbladis[m]> He's rich!
<Dezgeg> but he just admitted he could have added it himself
sir_guy_carleton has joined #nixos
<infinisil> Actually some initial karma might have originated from testing the implementation, hmm..
<gchristensen> Dezgeg: these are two actual lines of source code in the ircbot gateway: if msg.body == "Did you mean infinity? Increasing infinity doesn't do anything.." {
<gchristensen> server.send_privmsg(&msg.target, "infinisil's karma got increased to NaN").unwrap();
<hodapp> needs more blockchain
* infinisil grudgingly looks away
<maurer> joepie91: Seems like the relevant thing for us there is just "don't do any node2nix or similar updates today"
<joepie91> yeah
<{^_^}> [nixpkgs] @Izorkin opened pull request #43418 → dar: 2.5.14 -> 2.5.15 → https://git.io/fNLXM
<tilpner> Or do, but not with access to your credentials
<joepie91> even then
<maurer> tilpner: Uh, still don't, because we don't accidentally want to package something that contains a credential fetcher
<joepie91> no guarantee that it won't do other malicious shit
<maurer> The node packages in nixpkgs are _probably_ clean at the moment, as long as they don't get updated
<tilpner> maurer - Oh, of course. Not for merging into nixpkgs, just for development
andymandias has joined #nixos
JesseChaos has joined #nixos
<JesseChaos> what is everyone's favorite fs? i'm currently using ext4 but i'm interested in moving to something else.
<Enzime> wait
<gchristensen> my favorite FS for "I just need a FS" is ext4, JesseChaos!
<Enzime> Nixpkgs on blockchain?
<Enzime> new idea?
<Enzime> quick we need an ICO
<__monty__> Is there an easy way to run a minimal hydra for your own environment? Maybe a simple cronjob that updates config.nix then nix-store --realize's it daily?
<gchristensen> JesseChaos: my second favorite FS is ZFS :)
Copenhagen_Bram has joined #nixos
<cizra> I've been bitten by btrfs a couple of times :| Last time it went horribly, unusably slow when mounted r/w. Almost hung.
<Enzime> I'm holding out hope for https://bcachefs.org/
<srhb> __monty__: How about Hydra?
<hodapp> I ditched btrfs after it trashed a 4 TB volume so badly that I'd get a kernel panic when trying to mount it
<etu> Enzime: Me as well
adamt has quit [Ping timeout: 264 seconds]
<__monty__> Have an anecdotal "btrfs hasn't done me wrong yet." from me.
<Enzime> etu: brute
JesseChaos_ has joined #nixos
<etu> Enzime: dumped btrfs for ext4 until bcachefs matures a bit more
nschoe has joined #nixos
<__monty__> srhb: Depends on how easy it is to set up on non-nixos.
<hodapp> that's almost poetic. "et tu" means "and you" and etu just said 'me as well'.
* goibhniu <3 XFS
<etu> hodapp: :D
<hodapp> FOUND THE SGI NERD
<JesseChaos_> @hodapp it's et te
* hodapp throws things at goibhniu
<Enzime> Latin in 2018?
<Enzime> heh
<JesseChaos_> at least, that's what caeser said, 'et te, brutus?'
<etu> I'm really tempted to go to Nixcon
<iqubic> What is the correct format for a shell.nix file?
<hodapp> JesseChaos_: no, no it's not.
JesseChaos has quit [Ping timeout: 252 seconds]
<Enzime> > "Et tu, Brute? (pronounced [ɛt ˈtuː ˈbruːtɛ]) is a Latin phrase meaning "even you, Brutus?""
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):154:88
<JesseChaos_> my connection is so painfully bad
<goibhniu> hodapp: :D
<goibhniu> etu: go to nixcon!!
<__monty__> JesseChaos_: I'm pretty sure that's false. Patricians usually spoke Greek.
<srhb> Maybe Shakespeare was bad at latin.
<__monty__> JesseChaos_: And I hear it more often as "Tu quoque filii mi."
<gchristensen> #nixos-chat-lat maybe :P
Guanin has quit [Ping timeout: 240 seconds]
<Enzime> gchristensen: the main issue is getting text to speech working on that
<srhb> :|
<__monty__> Shakespeare may have been bad but "et te" isn't latin afaik.
betaboon has quit [Quit: WeeChat 2.0]
<JesseChaos_> te is accusative case
<JesseChaos_> but you're right
<JesseChaos_> i just remembered it from latin class like 10+ years ago as te :-p
<JesseChaos_> err back to a nixos topic, sounds like btrfs could be better, but zfs and ext4 are the winners?
revtintin has quit [Quit: WeeChat 2.0]
<Enzime> btrfs sounds like a should not touch
<sir_guy_carleton> iqubic: here's probably the simplest example of a nix-shell shell.nix: http://termbin.com/kp8i
fendor has quit [Read error: Connection reset by peer]
<gchristensen> JesseChaos_: I'd put ext4 before zfs, personally
* Enzime reads hardware-configuration.nix
<Enzime> "fileSystems."/".fsType = "btrfs"
<wucke13> im running bcache on my laptop and its good so far. Notable slower than xfs though
<gchristensen> JesseChaos_: you can know pretty much nothing about ext4 and have a good time. not really the same with zfs
<LnL> true
<{^_^}> [nixpkgs] @rembo10 opened pull request #43419 → paper-icon-theme: 2017-11-20 -> 2018-06-24 → https://git.io/fNLDF
<wucke13> The thing is that ext4 has a really good fsck
<etu> wucke13: bcachefs? Nice? Any issues so far?
<Enzime> bcache or bcachefs?
<wucke13> etu: two times got a corruption causing kernel panic on boot. Both times forcefully switching of during mount. Easy fixable in seconds using bcachefs fsck from a live image.
<wucke13> So I guess it doesn't like beeing killed while rw mount. Though its fsck worked perfectly fine - it's just a bit `shy`
<wucke13> Enzime: bcachefs
<etu> That's not entirely unexpected from a fs that says it's unstable and not even experimental in the kennel yet
* infinisil will be going to NixCon
<etu> Kernel lol
<Enzime> etu: I wonder if it could've been in the kernel if there was no btrfs in the first place to make everyone so much more risk averse
<etu> infinisil: I might go:)
<Enzime> toward filesystems
<hodapp> wake up, sheeple! Linus didn't create the Linux kernel, he created the Linux kennel!
dbmikus has quit [Ping timeout: 244 seconds]
<wucke13> Yeah. Ive used it for over two months without any further issues. Just telling from my feeling it works fine
fendor has joined #nixos
<hodapp> __monty__: 'te' is still Latin, but accusative/ablative case of 'tu'
<hodapp> but this is off into the weeds a bit
dbmikus has joined #nixos
JesseChaos_ has quit [Ping timeout: 252 seconds]
betaboon has joined #nixos
<__monty__> hodapp: Yes but, "Et te, Brutus!"
<hodapp> __monty__: yes, the quote is wrong, all I'm saying is that the word itself is still Latin :P
<Enzime> "∞ contributors"
<Dezgeg> there are plans for getting bcachefs into mainline
<Dezgeg> when it's ready, of course
<Enzime> Dezgeg: on bcachefs' side or the mainline's side
<wucke13> Both
<wucke13> Kent sent some of its header files to the lkml getting them reviewed
<Enzime> I just realized what lkml means
<wucke13> So far people where complaining about unclear handling of little/big endian architectures, iirc
<wucke13> Enzime++
<{^_^}> Enzime's karma got increased to 1
<infinisil> Enzime: Linux kernel mainline?
<Enzime> I assumed mailing list
<gchristensen> mailing list
<infinisil> Oh that sounds better
cherrybl0ss0m_ has joined #nixos
Sonarpulse has joined #nixos
<wucke13> infinisil: i think that is mostly referenced as `mainline` only
xy2_ has quit [Ping timeout: 268 seconds]
<sir_guy_carleton> question about borg update - to create another backup, you just a create a new archive, and (possibly) deleting some old archives?
<__monty__> How do I nix-store --realise a buildEnv in my config.nix?
JesseChaos has joined #nixos
<JesseChaos> ok so I asked about filesystems because I was wondering if there was an easier way of getting raid0 performance out of drives than sw raid
<JesseChaos> i have two sata3 ssds on my main rig but it's unfortunately still sata2 in terms of ports, so i'm really missing out on the whole ssd thing
alex``` has joined #nixos
<JesseChaos> does zfs have some kind of fancy raid0 thing that's easier than dealing with madm?
<srhb> JesseChaos: Eh, it's all about which tools you know. I have two SSDs with zfs in my laptop, mirrored.
<infinisil> JesseChaos: Totally, ZFS can do raid for you
<JesseChaos> i used to run fedora with a raid1 boot and raid0 /
<wucke13> JesseChaos: what is your struggle with mdadm? I think mdadm is really straighforward
<srhb> I don't think there's an appreciable difference in difficulty between the two.
<JesseChaos> i also need the storage space lol
<JesseChaos> esp when i finally migrate from vm to baremetal nixos
astsmtl has quit [Ping timeout: 265 seconds]
<JesseChaos> although i just broke x so that'll be a bit yet
<wucke13> JesseChaos: Regarding performance, a sw raid0 is definitly a good (and almost easy), mainstream way to go
<JesseChaos> yeah, my issue with mdadm and raid was actually for the /boot raid1
<JesseChaos> i got it set up such that i could boot from either drive (option in grub) if that partition failed, and each would mount the raid0 /
<JesseChaos> and a script would verify the 'mirroring'
<infinisil> I once set up 3 usb sticks which each had a decryption key on them and I could boot from any of them
<JesseChaos> but i moved to manjaro (wannabe arch) before finding nixos after nuking my old config due to the whole centos6-7 upgrade (put it off for a while then forgot and accidentally upgraded)
<JesseChaos> infinisil that's cool! i'd be scared of dependancy on any single usb device but 3 is a solid number
<JesseChaos> it looks like zfs allows for mirroring but would a 2disk raidz be more like raid0 or a broken raid5 (need 3+ disks)
__monty__ has quit [Quit: leaving]
<infinisil> It was kinda annoying though, not doing that anymore
<gchristensen> JesseChaos: there is a raidz2 and raidz3
<JesseChaos> oh ok. what was the biggest annoyance factor infinisil?
<infinisil> JesseChaos: I'm not sure about these weird raid<n> levels, raidz ones are pretty easy: The number indicated how many disks can fail for it to still have all the data
<gchristensen> infinisil: probably shouldn't find anything for raid<n> :P
<{^_^}> [nixpkgs] @rembo10 opened pull request #43421 → nixos/lightdm-gtk-greeter: svg icon support → https://git.io/fNLHY
<infinisil> gchristensen: Lol yeah
<infinisil> s/indicated/indicates
<JesseChaos> thanks for that link, checking it out now (plus the zfs wiki)
<infinisil> JesseChaos: Check out man zpool
<infinisil> It explains the raid levels
ckauhaus has quit [Quit: Leaving.]
fragamus has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
phdoerfler has quit [Quit: Leaving.]
coot has quit [Quit: coot]
<JesseChaos> ah here we go. there's striped and mirrored vdev pools, which basically match raid0 and 1 respectively
<gchristensen> you can also put raidzNs inside striped / mirrored vdev pools
<JesseChaos> ooooh that's neat. what benefit would that get me? the machine in question is a laptop with only 2 sata ports so i have a hard limit of 2 drives
<gchristensen> well if you had a shelf of 48 disks it would be relevant to you :P
owickstrom has quit [Ping timeout: 240 seconds]
<gchristensen> like you might have raidz3's each with 9 drives in it, and then put those in a stripe
<JesseChaos> ha yeah. i used to work in datacenters and the companies with zfs were super annoying to support
<gchristensen> haha
<JesseChaos> i actually figured out how to convert a raid1 (hw raid) into a jbod, and then into hba, purely for zfs support when they decided to migrate to zfs
<JesseChaos> at the time, hba was just beginning to be supported on the latest adaptecs
<JesseChaos> fun times
<JesseChaos> well, thanks for all the help on the raid/zfs front friends! definitely going to get that working on my vm and use that full time
<JesseChaos> anyone have a sec to look at a config.nix and help me figure out why x broke? trying to get gnome3 + xmonad, had gnome3 but no xmonad, now i have no x lol
<gchristensen> better to just ask
<{^_^}> [nixops] @cleverca22 opened pull request #975 → fix deployment errors when deployment.route53.hostName contains uppercase letters → https://git.io/fNL7s
<JesseChaos> i'm sure it's something easy but i don't have a lot of experience tweaking x; either i'm headless, or it just works. sorry if this is dumb :/
vasiliy_san has quit [Quit: Connection closed for inactivity]
johanot has joined #nixos
<{^_^}> [nixops] @domenkozar merged pull request #975 → fix deployment errors when deployment.route53.hostName contains uppercase letters → https://git.io/fNL7s
<JesseChaos> working on getting my error logs, sshd isn't up on the vm
<{^_^}> [nixops] @domenkozar pushed 2 commits to master: https://git.io/fNL7w
doyougnu1 has joined #nixos
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #43400 → ghc: don't use LLVM w/musl on non-cross → https://git.io/fNIdl
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNL7X
graphene has joined #nixos
wpcarro has joined #nixos
<pie___> im getting an error i dont know how to deal with: im building https://bpaste.net/show/ba55af088ff1 with "nix-shell -v -p 'with import <nixpkgs> {}; callPackage ./profpatsch-warpspeed.nix { ghcWithPackages = pkgs.haskellPackages.ghcWithPackages;}'" and i get https://bpaste.net/show/1f3cfa1d0424
steell has joined #nixos
<{^_^}> [nixpkgs] @IvanMalison closed pull request #43273 → liblxqt: 0.12.0 -> 0.13.0 → https://git.io/fNUZt
bennofs has joined #nixos
wpcarro has quit [Remote host closed the connection]
owickstrom has joined #nixos
<wucke13> JesseChaos: What does X state why it crashes?
wpcarro has joined #nixos
<steell> i run nix without nixos, and i want to install transmission-daemon and run it as a daemon on startup, do i need to install it (via nix-env) as root?
joepie91_to_go has quit [Ping timeout: 240 seconds]
fendor has quit [Remote host closed the connection]
<pie___> hm...alacritty still broken? :/
fendor has joined #nixos
<iqubic> So I want to make shell.nix file and set-up a programming environment with python, tesorflow, and numpy.
<goibhniu> steell: you can install it as root, or as a user
<iqubic> How do I do that?
jasom has quit [Ping timeout: 245 seconds]
<goibhniu> steell: I'm assuming it's just a package, and not a service
<JesseChaos> wucke13: oh it says it's already running
<iqubic> He wants to run the daemon at start up.
<LnL> steell: that's up to you, just configure your service manager to point at whatever profile you installed it in
<goibhniu> that part has to be handled by the host os
<Taneb> lsblk
<Taneb> Whoops, wrong terminal
<wucke13> JesseChaos: how did you start X?
<JesseChaos> i didn't do it manually
<iqubic> How does one create a shell.nix? What should go into it?
<wucke13> JesseChaos: does your displaymanager come up?
<JesseChaos> wucke13: i don't think so? i'm currently in terminal, no gui whatsoever
jasom has joined #nixos
wpcarro has quit [Ping timeout: 268 seconds]
<steell> goibhniu, LnL: k im a bit of a noob at this, thanks!
<JesseChaos> wucke13: behavior is the same whether i try to startx or xinit as root or user
<wucke13> JesseChaos: please set `services.xserver.exportConfiguration` to true, rebuild, install xorg.xinit, write an .xinitrc in your home directory (`exec xmonad` is probably sufficient) and run `startx` from a tty.
<JesseChaos> would i put exec xmonad in the config.nix or run it after the rebuild?
owickstrom has quit [Ping timeout: 264 seconds]
<wucke13> you put `exec xmonad` in a file called `.xinitrc` located in user home directory ( like so? `echo "exec xmonad">$HOME/.xinitrc` !untested)
fendor has quit [Ping timeout: 240 seconds]
<JesseChaos> wucke13: huh it looks like it's not installing xorg.xinit though it's in the 'package' section
wpcarro has joined #nixos
Turion has joined #nixos
<wucke13> JesseChaos: `nix-env -iA nixos.xorg.xinit` does not work?
<iqubic> Can anyone help me with getting a shell.nix file create and working?
<JesseChaos> wucke13: it didn't work after the rebuild, had to do it manually. although now after a reboot x is working!
<{^_^}> [nixpkgs] @dtzWill opened pull request #43422 → haskell-{unix-time,prettyprinter}: dontCheck on musl → https://git.io/fNLFR
<wucke13> JesseChaos: Interesting, that was not what I excpected :D
wpcarro has quit [Remote host closed the connection]
igo95862 has joined #nixos
wpcarro has joined #nixos
libertyprime has quit [Ping timeout: 240 seconds]
<JesseChaos> wucke13: C: however xmonad is still not working (i think, it looks exactly like gnome3, no tiling)
Ariakenom has quit [Remote host closed the connection]
<wucke13> JesseChaos: What session did you start? Even though nixos lets you combine a windowManager and desktopManager in one session, that never worked for me.
Ariakenom has joined #nixos
<JesseChaos> wucke13: i'm not sure what you mean with regards to session; the gui login screen appeared, and i logged in
knupfer has joined #nixos
jb55 has joined #nixos
<wucke13> You can select multiple sessions. For example, if I had plasma as desktopManager and awesome as windowmanager, the displayManager would offer me to launch either awesome, awesome + plasma ord plasma alone.
<JesseChaos> wucke13: oh. where do i go to select between desktop/window managers? i didn't get a choice prior to logging in. maybe my displayManager is just dumb :)
dbmikus_ has joined #nixos
<wucke13> JesseChaos: I'm not famialar with gdm3. I would look for it in the status bar, and maybe the session selection is only shown if useraccount is already selected, but thats just guesses
Guanin has joined #nixos
dbmikus has quit [Ping timeout: 244 seconds]
<JesseChaos> wucke13: sherlock holmesing it now
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
Guanin has quit [Remote host closed the connection]
Guanin has joined #nixos
booglewoogle has joined #nixos
<JesseChaos> wucke13: thanks a ton for the help. i will figure out xmonad later today, and hopefully zfs vdevs and such as well!
<wucke13> JesseChaos: Good luck!
<JesseChaos> thanks all, great community, can't wait until i'm finally running nixos bare metal
owickstrom has joined #nixos
<JesseChaos> wucke13: thanks! now off to a job interview lol
Ariakenom has quit [Ping timeout: 260 seconds]
JesseChaos has quit [Quit: getting a jobbo thanks everyone for the nixos help!]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
tenten8401 has joined #nixos
coot has joined #nixos
bennofs has quit [Quit: WeeChat 2.0]
bennofs has joined #nixos
vmandela has quit [Quit: Leaving]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
manny has quit [Remote host closed the connection]
kristoferus75 has joined #nixos
Guanin has quit [Ping timeout: 264 seconds]
<kristoferus75> Hi im new in nixos and i have instaled nixos with xfce and lightdm -> it works
<gchristensen> yay!
<kristoferus75> but if i want to login as normal user in lightdm i cannot login and the xfe wouldnt start with root user no problem
<kristoferus75> user is added in the nix confg file and is in the users wheel audio video
<kristoferus75> group
<kristoferus75> i test it in a virtualbox
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<kristoferus75> th user is also in the vboxsf group
raynold has joined #nixos
<iqubic> Why is shell.nix hard to understand?
<manveru> iqubic: how so?
chreekat[m] has joined #nixos
<iqubic> I don't know how to create a python dev environment with tesorflow and numpy.
<kristoferus75> sorry not xfe is xfce4
init_6 has quit [Ping timeout: 240 seconds]
owickstrom has quit [Ping timeout: 260 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> iqubic: hmm, gimme a minute :)
__monty__ has joined #nixos
<iqubic> manveru: I'll also want to have access to the tensorboard package too.
<nschoe> Hi everyone, quick question: I'm trying to write a default.nix file, this requires some python packages for the build. What's the equivalent of `buildInputs` for python packages (installed wiht pip)?
dbmikus_ has quit [Quit: WeeChat 2.1]
crmlt has joined #nixos
erickomoto has joined #nixos
chrisaw has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « nix-prefetch-url: Download file in constant memory »: https://git.io/fNLpB
booglewoogle has quit [Quit: Leaving]
pie___ has quit [Ping timeout: 244 seconds]
<__monty__> : O Oh goody!
jperras_ has quit [Ping timeout: 244 seconds]
<manveru> iqubic: seems like that's only possible with python2
<manveru> iqubic: `with import <nixpkgs> {}; mkShell {buildInputs = [(python2.withPackages (ps: with ps; [ numpy tensorflow tensorflow-tensorboard ]))];}`
<bennofs> is there some easy way to use the aarch64 sd images to install an rpi headless?
<manveru> nschoe: that's for you too :) just hopefully with python3
<manveru> iqubic: sorry, remove the first tensorflow from that list, seems like it's included in tensorflow-tensorboard
<nschoe> manveru, I'm not very good at nix yet, so I'd like to confirm, but what you showered here is to depend on python packages, i.e. packages for which there are nix derivations, right? In my case I need to depend on packages that should be installed via pip
<nschoe> The way I'm trying it is to use a `virtualenv` in the preConfigure but...
dbmikus has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #43423 → openblas: "backport" another patch, fix crash w/Go and Octave → https://git.io/fNLjZ
<{^_^}> [nixpkgs] @dtzWill merged pull request #43422 → haskell-{unix-time,prettyprinter}: dontCheck on musl → https://git.io/fNLFR
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNLjW
obadz has quit [Ping timeout: 240 seconds]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
<hodapp> tensorboard had some problems I ran into (depended on some older stuff) but those may have been resolved
<hodapp> a lot of it just came up when trying to build with CUDA support
<iqubic> I don't want CUDA support.
<iqubic> I just want a simple shell.nix
Ariakenom has joined #nixos
wpcarro has quit [Remote host closed the connection]
hxrts_ has joined #nixos
wpcarro has joined #nixos
sigmundv has quit [Ping timeout: 244 seconds]
<kalbasit> johanot: Were you able to take a look at https://github.com/NixOS/nixpkgs/issues/43395 ? It's blocking me and I'm not sure of the right path forward
<{^_^}> #43395 (by kalbasit, open): Kubernetes 1.10.5 is unusable, auth is not working
wpcarro has quit [Remote host closed the connection]
d1rewolf has joined #nixos
wpcarro has joined #nixos
graphene has quit [Read error: Connection reset by peer]
<d1rewolf> guys, I'm trying to learn nix (lang) and ran across a tour of nix. However, this example (https://nixcloud.io/tour/?id=8) is throwing me a bit...as I understand it, there are no multiparameter functions, but this appears to be calling mix and max with two params
graphene has joined #nixos
wpcarro has quit [Remote host closed the connection]
<d1rewolf> I'd think min and max would need to be defined with, and then called with, a set
<d1rewolf> can someone point out what I'm misunderstanding?
<johanot> kalbasit: working on it
<kalbasit> oh awesome
wpcarro has joined #nixos
Xiro` has joined #nixos
<adisbladis[m]> d1rewolf: Functions can take one or more arguments
<kalbasit> johanot: thank you, please let me know if you have any questions or if you want me to try something on my side
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<cocreature> d1rewolf: you can make a function that given one argument returns a function that expects another argument
<cocreature> (that’s called currying)
<cocreature> i.e. replace a×b→c with a→b→c
hxrts_ has quit [Remote host closed the connection]
<__monty__> But nix functions are not curried by default, right?
<d1rewolf> cocreature, right, but shouldn't that require parens? can you complete that code so it works without doing so?
<infinisil> __monty__: They totally are
<adisbladis[m]> d1rewolf: Short example: `add = a: b: a + b;`
<infinisil> > add = a: b: a + b
<{^_^}> add defined
<d1rewolf> they explicitly say to only modify lines 2 and 3
<johanot> kalbasit: Might have to continue tomorrow.. Currently trying to reproduce and soon have to switch contexts.. But.. Will hit you back if I need anything.
<__monty__> infinisil: Hmm, TIL.
<kalbasit> johanot: sounds good, thank you!
<infinisil> > add 10
<{^_^}> <LAMBDA>
<infinisil> > (add 10) 20
<{^_^}> 30
<clever> > add 1 2
<{^_^}> 3
<samueldr> > add add 1 2 3
<{^_^}> cannot coerce a function to a string, at (string):21:14
<samueldr> oops
<d1rewolf> ah.....i got it. thanks guys
<nschoe> Hum, how come the shell inside a nix-shell doesn't seem to have terminfo?
<infinisil> In fact, <space> can be thought of as a left-associative binary operator, applying a single argument to a function
<d1rewolf> max = a: b: if a > b then a else b;
libertyprime has joined #nixos
<gchristensen> nschoe: you need to add bashInteractive to your buildInputs
<infinisil> Lol {^_^}
<clever> nschoe: nix-shell has a non-interactive build of bash in the inputs by default
<nschoe> gchristensen, clever ah! okay thanks for that
<nschoe> It was pretty horrible to test
<infinisil> d1rewolf: Need to prefix it with > for {^_^} to pick it up
<gchristensen> infinisil: I'm not sure I like this < ... > syntax for finding arbitrary files, it triggers too much
<d1rewolf> infinisil, ah, didn't realize {^_^} was a bot ;)
<gchristensen> maybe there is a different syntax?
<clever> gchristensen: maybe it could be a bit more strict, so <space> only finds a directory with the exact name space
<nschoe> clever, gchristensen this doesn't change anything :/
<infinisil> gchristensen: Currently the problem is because it doesn't require a full match, space matches workspace, etc. I'll change it to only match full files next time
<nschoe> I enter the shell with `nix-shell --pure ./default.nix`, am I doing somethign wrong?
<__monty__> infinisil: Applying a function to an argument you mean? : >
<__monty__> I don't get this whole inverted view on application.
<infinisil> f a b c d = (((f a) b) c) d
<infinisil> And converting that to non-functional syntax
<infinisil> f a b c d = (((f a) b) c) d = ((f(a))(b))(c)
<infinisil> Oh an argument got lost,
graphene has quit [Remote host closed the connection]
libertyprime has quit [Ping timeout: 244 seconds]
graphene has joined #nixos
<infinisil> #nix-lang :)
alex``` has quit [Quit: WeeChat 2.1]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
alex``` has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
wpcarro has quit [Remote host closed the connection]
humanoyd has joined #nixos
wpcarro has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @volth closed pull request #43417 → libxklavier: 5.3 -> 5.4 → https://git.io/fNLKR
<d1rewolf> anyone know if there's an answer key for https://nixcloud.io/tour/?
<tilpner> d1rewolf - The solution button?
<d1rewolf> tilpner, eh....ha...um....oh yeah...that thing
* d1rewolf wipes eyes
<__monty__> This calls for doJailbreak on ListLike, right? It's not helping : / http://ix.io/1gZJ
phreedom has quit [Ping timeout: 250 seconds]
rardiol1 has quit [Ping timeout: 256 seconds]
wpcarro has quit [Ping timeout: 260 seconds]
manny has joined #nixos
<sphalerit> monty: functions with a fixed number of unnamed args are always curried in nix
<sphalerit> Because nix doesn't have tuples
<__monty__> sphalerit: Wow, you guys are really riding my ass on that one, huh? ; p
andymandias has joined #nixos
<logzet> clever: Woohoo, Nixos is running on my Laptop, thanks again for the help
<sphalerit> Oh blargh
<sphalerit> __monty__: It's just matrix being stupid so I didn't see the more recent messages before writing mine
rardiol1 has joined #nixos
nschoe has quit [Read error: Connection reset by peer]
wpcarro has joined #nixos
<__monty__> sphalerit: You're forgiven. Maybe look into my jailbreak question to make up for it ; )
cherrybl0ss0m_ has quit [Ping timeout: 276 seconds]
owickstrom has joined #nixos
owickstrom has quit [Remote host closed the connection]
<cocreature> __monty__: I don’t think the bounds are the problem here. the problem is that this is a conditional dependency and cabal2nix is too stupid to handle these properly
graphene has quit [Read error: Connection reset by peer]
<johanot> kalbasit: Reproduced the problem now.. :) looking into whats wrong.
<__monty__> cocreature: Oh. Anything I can do about it?
<kalbasit> johanot: awesome!
<cocreature> __monty__: try addBuildDepend
graphene has joined #nixos
igo95862 has quit [Quit: igo95862]
coot has quit [Quit: coot]
i0-dfn has joined #nixos
coot has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #43424 → libqmatrixclient: 0.2.1 -> 0.3.0.2; quaternion: 0.0.9 -> 0.0.9.2 → https://git.io/fNtUt
Xiro` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
coot has quit [Client Quit]
jperras_ has joined #nixos
tzemanovic has joined #nixos
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #43425 → radare2-cutter: don't wrap, shouldn't be needed (and might be wrong) → https://git.io/fNtTc
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #43423 → openblas: "backport" another patch, fix crash w/Go and Octave → https://git.io/fNLjZ
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fNtT4
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<__monty__> Is this about another license-files field that doesn't parse? Looks like it. http://ix.io/1gZR
tzemanovic has quit [Ping timeout: 244 seconds]
lnikkila_ has quit [Ping timeout: 268 seconds]
doyougnu1 has quit [Ping timeout: 264 seconds]
<__monty__> Hmm, I've had trouble with license-files field before, no activity on that issue though: https://github.com/NixOS/nixpkgs/issues/41857
humanoyd has quit [Quit: WeeChat 2.1]
<{^_^}> #41857 (by toonn, open): haskell-modules/lib: doJailbreak mangles `license-files` field
endforma1 has joined #nixos
pie___ has joined #nixos
endformationage has quit [Ping timeout: 260 seconds]
d1rewolf has quit [Ping timeout: 244 seconds]
trcc has joined #nixos
Khetzal has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #43425 → radare2-cutter: don't wrap, shouldn't be needed (and might be wrong) → https://git.io/fNtTc
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNtkx
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Edes has joined #nixos
<Edes> could I get help setting up a package
<Edes> I have never made a package and don't know where to start
<Edes> I want to make a package for lightdm-webkit-greeter
winem_ has quit [Ping timeout: 240 seconds]
<Edes> but i need some dependencies
<Edes> can anyone point me to where I can learn how to make packages? I'm seeing all sort of guides and tutorials on the internet but they don't make sense
troydm has joined #nixos
Khetzal has joined #nixos
<tobiasBora> Hello,
phaebz has quit [Ping timeout: 240 seconds]
trcc_ has joined #nixos
trcc has quit [Read error: Connection reset by peer]
patrl has quit [Ping timeout: 276 seconds]
trcc_ has quit [Read error: Connection reset by peer]
pie___ has quit [Ping timeout: 240 seconds]
trcc has joined #nixos
crmlt has quit [Ping timeout: 256 seconds]
<tobiasBora> I'm planing to configure a new server using nixops. What I'd like to do is to make sure that a given ssh public key is added in the ssh_authorized file of a given user... But as far as I know it's not possible to specify user-related stuff in the nix configuration file, and the only option I found is to give a skeletton for the creation of a new user, but it means that first the user I'm targetting does not
<tobiasBora> already exists, and also it has the problem that all the users will accept this public key... Any other option?
<clever> tobiasBora: users.extraUsers.clever.openssh.authorizedKeys.keys = with keys; [ clever.amd keys.ramboot clever.laptop ];
<clever> tobiasBora: that is a list of strings containing ssh pubkeys, and it will add them when you re-deploy
<__monty__> So no one's had any problems with haskell packages that have a `license-files:` field?
wpcarro has quit [Remote host closed the connection]
<tobiasBora> clever: amazing, thanks! So this configuration is specifix to nixOs and has nothing to do with nix package manager right? (I'm new to nixOs, that's why I'm still confused)
<joepie91> Edes: have a look at the nix pills: https://nixos.org/nixos/nix-pills/ -- iirc those cover that
<clever> tobiasBora: yeah, thats a nixos option, seperate from nixpkgs and nix
<tobiasBora> ok thank you clever !
goibhniu has quit [Ping timeout: 264 seconds]
doyougnu has joined #nixos
<Edes> thanks
wpcarro has joined #nixos
kristoferus75 has quit [Quit: WeeChat 2.1]
<infinisil> nixops is built on nixos which is built on nixpkgs which is built on nix :P
<infinisil> More or less
_cyril_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @tadfisher opened pull request #43426 → zoom-us: fix runtime qt environment → https://git.io/fNtm0
_cyril_ has joined #nixos
Edes has quit [Ping timeout: 268 seconds]
wpcarro has quit [Ping timeout: 265 seconds]
phdoerfler has joined #nixos
<samueldr> hmmm, can't really reply to edes, with lightdm-web-greeter 2.2.5, a year ago, there were issues making it unusable as-is on nixos (still present, just ported to nixpkgs-unstable)
<samueldr> the issue though is with webkitgtk, which *somehow* doesn't load local html files properly
lnikkila_ has joined #nixos
<samueldr> (it could be seen with midori too at the time, its inspector would show the same symptoms)
<samueldr> (though now that I updated the files, I'm looking into it, see if either the 3.0.0rc2 or updates to webkitgtk may fix it)
Sonarpulse has quit [Ping timeout: 276 seconds]
wpcarro has joined #nixos
trcc has quit [Remote host closed the connection]
drakonis has joined #nixos
<tazjin> I'm looking at updating the current erlang toolchain (specifically rebar3) in nixpkgs
<tazjin> it currently uses a mirror of the erlang/elixir package repository index which is stored here: https://github.com/erlang-nix/hex-pm-registry-snapshots
<tazjin> the reason for that is that there's no stable upstream URL, the file changes constantly
orivej has quit [Ping timeout: 260 seconds]
<tazjin> is there a better location for storing files like that for use in nixpkgs that is controlled by the Nix project?
<clever> tazjin: pkgs.fetchFromGithub ?
<{^_^}> [nixpkgs] @volth opened pull request #43427 → xfce4-13: update components → https://git.io/fNtOf
<tazjin> clever: the original file isn't on github, the github repo I linked is just a mirror that gleber_ set up previously
<clever> ah
phdoerfler has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @kalbasit opened pull request #43428 → [DRAFT] aerospike: init at 4.2.0.4 → https://git.io/fNtOE
<{^_^}> [nixpkgs] @timokau opened pull request #43429 → jmol: 14.29.12 -> 14.29.17 → https://git.io/fNtOV
phaebz has joined #nixos
orivej has joined #nixos
blankhart has joined #nixos
lostman has quit [Quit: Connection closed for inactivity]
phaebz has quit [Ping timeout: 240 seconds]
das_j has joined #nixos
<das_j> Hey everyone, does anyone have experience installing nixos on a TP-Link AP instead of OpenWRT?
<sphalerite> das_j: generally speaking, nixos won't fit on devices with such small storage and RAM
<{^_^}> [nixpkgs] @pSub pushed to staging « accountsservice: 0.6.49 -> 0.6.50 »: https://git.io/fNt3h
<sphalerite> however, telent[m] has been working on getting a nixos-based system for routers
<sphalerite> https://ww.telent.net/ here's his blog about it
<infinisil> sphalerite: Lol, he actually uses ww as the subdomain
<infinisil> I thought that was a typo
<sphalerite> yep :p
<das_j> hmm, maybe I'll just stay with openwrt for now
<sphalerite> possibly because most people actually say "double-u double-u dot"
<joepie91> I feel like there's a valve joke in here somewhere
<joepie91> something something 3
trcc has joined #nixos
Sonarpulse has joined #nixos
endforma1 has quit [Quit: WeeChat 1.9.1]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @tazjin opened pull request #43430 → rebar3: 3.4.3 -> 3.6.1 → https://git.io/fNtsS
civodul has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « wikicurses: 1.3 -> 1.4 »: https://git.io/fNtsp
trcc has quit [Remote host closed the connection]
Edes has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #43431 → gnupg: 2.2.8 -> 2.2.9 → https://git.io/fNtGs
aarvar has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<sphalerite> telent[m]: I've mentioned it before but I have to mention it again: I really enjoy your writing. Great entertainment, beyond being nice things to know.
<kalbasit> how to ask `nix-build` to leave the src files? the man page isn't clear on that
<{^_^}> [nixpkgs] @pSub pushed to master « peco: 0.5.2 -> 0.5.3 »: https://git.io/fNtGi
<kalbasit> nvm, it's `-kK`
<infinisil> kalbasit: There is --keep-failed I guess, but that probably won't apply if it succeeds
<srhb> kalbasit: -k has nothing to do with it. And the source files should all still be in the store regardless of what flags you pass.
<infinisil> (-k is something different though)
aminechikhaoui has quit [Ping timeout: 240 seconds]
<kalbasit> well I meant the building files, I'm doing `--keep-failed` or `-K`
<srhb> Right. :)
<kalbasit> yea I see `-k` is not really meant for that
<kalbasit> thx
tzemanovic has joined #nixos
aminechikhaoui has joined #nixos
<das_j> Is there any way to keep prefetched files?
<das_j> I need to install DisplayLink which needs the installer prefetched, but the GC automatically removes the file periodically
<{^_^}> [nixpkgs] @volth reopened pull request #43417 → libxklavier: 5.3 -> 5.4 → https://git.io/fNLKR
doyougnu has quit [Ping timeout: 256 seconds]
tzemanovic has quit [Ping timeout: 244 seconds]
szicari has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @volth closed pull request #43417 → libxklavier: 5.3 -> 5.4 → https://git.io/fNLKR
freeman42x]NixOS has joined #nixos
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « xeyes: 1.1.1 -> 1.1.2 »: https://git.io/fNtZd
halfbit has joined #nixos
hph^ has quit [Remote host closed the connection]
szicari has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
das_j has quit [Quit: WeeChat 2.0]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #43432 → circleci-cli: init at 2018-05-12 → https://git.io/fNtnY
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<kalbasit> https://github.com/NixOS/nixpkgs/pull/43428 is ready for review, I've tested it against our application at work, all test passes!
<{^_^}> #43428 (by kalbasit, open): aerospike: init at 4.2.0.4
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
robstr has quit [Quit: WeeChat 1.9.1]
wpcarro has quit [Remote host closed the connection]
igo95862 has joined #nixos
wpcarro has joined #nixos
<gleber_> tazjin: thank you for doing the rebar3 upgrade!
<{^_^}> [nixpkgs] @joachifm merged pull request #43319 → tor: 0.3.3.7 -> 0.3.3.8 → https://git.io/fNkek
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fNtni
igo95862 has quit [Client Quit]
wpcarro has quit [Ping timeout: 265 seconds]
wpcarro has joined #nixos
Thra11 has joined #nixos
johanot has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43429 → jmol: 14.29.12 -> 14.29.17 → https://git.io/fNtOV
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « jmol: 14.29.12 -> 14.29.17 (#43429) »: https://git.io/fNtcc
johanot has joined #nixos
ixxie has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
<dmj`> clever: ping
wpcarro has joined #nixos
owickstrom has joined #nixos
<tenten8401> Probably a dumb question, but is there anything I have to do to allow an application to authenticate with PAM? Testing out the ocserv pull request with PAM and I get a global system broadcast letting me know that ocserv failed to authenticate with PAM, despite not even reaching the part where I have to enter my password yet.
<tobiasBora> Hello,
<tenten8401> Broadcast message from systemd-journald@my-server
<tenten8401> ocserv[pid]: PAM-auth pam_auth_msg: Authentication failure
<gchristensen> anyone running NixOS in OpenStack?
ixxie has quit [Ping timeout: 240 seconds]
<lewo``> gchristensen: yep
<gchristensen> lewo``: do you make custom images for it?
<lewo``> there is a script to create images for Nova (the Openstack service in charge of spawning VM)
<tobiasBora> I just burnt the sd-image-aarch64-linux.img on an SD card, but when I plug it in my raspberry pi 3 model B+, and connect the uart to it, I can't see anything on the uart output. Moreover, when I look at the content of the nixos_sd partition, I just see a folder nix, a folder lost+found, and a folder nix-path-registration, but no /etc/, so I doubt that the raspberry pi really booted on it... Finally, the green
<tobiasBora> led is blinking strangely since the very beginning: 4 slow blinks, 4 quick blinks, pause. And it starts again and again.
<gchristensen> lewo``: can you tell me more? I'd like to As Quickly As Possible try it out
<gchristensen> (I have access to a openstack cluster)
<samueldr> unless the situation has changed during the 19 days since this was posted, the 3B+ needed a more up-to-date kernel
<gchristensen> lewo``: amazing! great, thank you!
<samueldr> and tobiasBora, the nixos_sd partition is right if you see only that
<samueldr> at first boot it "rehydrates" the nixos system as expected
<lewo``> gchristensen: nix-build '<nixpkgs/nixos>' -A config.system.build.novaImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/openstack/nova-image.nix ]; }" should do the job
<tobiasBora> samueldr: hum ok thanks. Hum at first boot it's not supposed to create the /etc/ folder, including the configuration and everything?
<samueldr> exactly, it will once it boots
<lewo``> gchristensen: this generates an image that you can upload with glance. This image is resized at boot and run cloudinit to get the root ssh key through nova commandline metadatas
<tobiasBora> and what does "Note that this means using linuxPackages_testing is required " means?
<samueldr> in configuration.nix, you will need to set boot.kernelPackages to linuxPackages_testing
<samueldr> that is, until 3.18 is released proper
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<tobiasBora> samueldr: how different is it from unstable ?
betaboon has quit [Quit: WeeChat 2.0]
<gchristensen> lewo``: this is WAY less work than I was expecting :D
<tobiasBora> and does that mean that I'll need to compile everything manually?
<tobiasBora> hum
<tobiasBora> linuxPackages_testing is the name of the kernel right?
<samueldr> tobiasBora: yes, that's the kernel package name, it's the "next" release
<samueldr> it's not related to nixpkgs-unstable nor nixos-unstable
<tobiasBora> samueldr: ok thanks... so it means that I won't have to compile anything I guess
<infinisil> Um, isn't `--option extra-substituters 'ssh://user@ip'` supposed to work? I just get `error: writing to file: Broken pipe` :/
<samueldr> tobiasBora: not more than the usual nixos aarch64 setup
<tobiasBora> samueldr: ok thank you very much. I'll try this, I hope it will work. To make sure I understood everything correctly, I need to change the configuration after the first boot right?
<samueldr> tobiasBora: well, you won't be able to do it before the first boot ;)
<samueldr> the image is an "installer image"
<samueldr> you "install over the installer image"
<samueldr> (not really, but almost)
<sphalerite> infinisil: try it 10 times
<infinisil> I was never ever able to get this ssh store thing to work in Nix 2.0, I wonder if it even still works at all
<sphalerite> infinisil: not sure what causes it but that error seems to be nondeterministic
<infinisil> ... :(
<samueldr> so, tobiasBora, it's at that step that you will need to use linuxPackages_testing → https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration
<infinisil> sphalerite: About every second time I get an additional error message with almost the same message
<sphalerite> infinisil: also try ssh-ng instead of ssh. They both have issues, but maybe ssh-ng issues won't bite you. Or something. idk.
<infinisil> Thanks..
telent has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « z3: move to multiple output packages »: https://git.io/fNtW4
<infinisil> I'm having a hard time liking Nix 2.0
<sphalerite> Nix 2.0: bugs for daaaaaays
<sphalerite> I do like the functionality, but yeah the bugs suck
<gchristensen> it should have been released like a year earlier with fewer big changes
<gchristensen> sort of had to rip the band-aid off. this is why nixpkgs should still support nix1
<infinisil> Which people are working on Nix itself though? Is it only Eelco?
<gchristensen> you should check the issue tracker for merged PRs :)
<gchristensen> and also, you should consider sending some patches of your own! C++ isn't so hard
<infinisil> There's just nothing that interests me in C++, which makes it quiet hard to get excited, even if I could potentially help with Nix dev :/
<gchristensen> I see, yeah, that is tough
<iqubic> Does this look right? http://termbin.com/ift7
<{^_^}> [nixpkgs] @timokau opened pull request #43436 → sage: replace flask-babel version pin by patch → https://git.io/fNtlT
<tobiasBora> samueldr: ok thank you. So what does the first boot actually do? Just a stupid copy, and expand of the sd card, or it's a bit more technical?
<gchristensen> I don't get excited about writing code. what excites me is making things better for users
<Dezgeg> template metaprogramming is almost like functional programming
<iqubic> It's a shell.nix I'm trying to write.
<infinisil> It's a bit of a gap between Nix being written in an imperative language, but a lot of the community being functional people
<infinisil> (s/, but/ and)
nuncanada has joined #nixos
<sphalerite> Nix has pretty wonderful code as far as C++ projects I've looked into go
<gchristensen> yeah, its pretty goo
<iqubic> So I thought tensorflow-tensorboard was a standalone package. Am I wrong in that assumtion? http://termbin.com/ift7
worldofpeace has quit [Remote host closed the connection]
<infinisil> I'm just kinda afraid of messing things up in an imperative language. It's much harder in Haskell or so
<infinisil> I don't want the power of being able to mutate stuff everywhere!
<gchristensen> that is okay! the C++ isn't so complicated, and when submitting a PR it doesn't have to be perfect. Experienced C++ authors are available to review and provide meaningful suggestions on how to improve it. You're smart and capable, and yes, even capable of learning enough C++ to help:)
<gchristensen> now, maybe you're not submitting PRs doing drastic adjustments to how memory is used during copies, but most improvements aren't that
<gchristensen> the Nix C++ is pretty good, uses good idioms to not be a sharp stick in your eye at every turn
<infinisil> I shall consider it
<tobiasBora> samueldr: amazing, thank you!
* infinisil is already thinking of writing an LSP module to get nice modular support for languages including C++
<thoughtpolice> clangd already does that for C++, fwiw
<thoughtpolice> The Nix code is pretty good but the main issue is discoverability since the internals aren't really documented AFAICS. So yes, some kind of exploration assistance is certainly going to help a lot.
Turion has quit [Quit: Leaving.]
<tobiasBora> samueldr: amazing, it seems to boot :D But now I think I badly configured the uart because after "Starting kernel ...
<tobiasBora> " I can't see anything :'(
<clever> thoughtpolice: i tried making some "simple" changes with ExprVar and ExprApp, and it just segfaulted endlessly
<samueldr> oh, uh, tobiasBora, there's hope, it may be the log level being too low
<clever> thoughtpolice: it was simpler to reuse the code for parsing a string (used by -E) and take the Expr* it made
<samueldr> tobiasBora: wait more and (it isn't console= being wrong) you will eventually get the console
<samueldr> (if it isn't*)
<infinisil> thoughtpolice: Yeah, I'm thinking of a nixos (or not necessarily nixos) module usable like: { clients = [ "emacs" "atom" ]; servers = [ "clangd" "hie" ]; } and you'll get those editors configured with LSP support for those servers
myshoe has quit [Quit: Lost terminal]
<infinisil> Or maybe s/clangd/c++ s/hie/haskell
doyougnu has quit [Ping timeout: 240 seconds]
<infinisil> And have a default server
<thoughtpolice> [insert a joke about how simple changes break things is the default state for every c/c++ project of reasonable size on earth]
andymandias has quit [Ping timeout: 240 seconds]
<clever> thoughtpolice: the change turned out to not work right anyways, i was trying to modify the import function to always call memoise on everything
<clever> thoughtpolice: but it has to perform a deep equality comparison between lambdas, and that results in infinite recursion in the stdenv
<{^_^}> [nixpkgs] @MostAwesomeDude opened pull request #43437 → Cozy prereqs → https://git.io/fNt8U
<gchristensen> infinisil: if you want to hack on a Nix thing, I could hook you up with someone to do a 1:1 pair programming session. we were all new once, and are new every day with new tools we're learning
wpcarro has quit [Remote host closed the connection]
<thoughtpolice> Eeeeh.... Isn't like a huge problem with the memory usage we have is that nothing goes out of scope so GC doesn't do as much as we expect? Isn't memoisation just going to bloat that even further? I guess it could be a speed increase...
wpcarro has joined #nixos
<clever> thoughtpolice: the memoise branch was able to shave 3.5gig off one of the evals ive been fighting
<gchristensen> thoughtpolice: last I heard there was an encouraging experiment to turn evaluated thunks back in to the pre-evaluated thunk in order to save RAM, plus some other ideas for fixing the scope problem
<clever> thoughtpolice: rather then re-computing a giant attrset and duplicating its values (50 times), it can just reuse it
<thoughtpolice> But yeah I can understand things being surprisingly brittle. To be fair this is part of the discovery thing I mentioned since you have to understand (possibly weird) ownership models, etc. And it's not like the Nix API has ever seen enough use by enough people to be polished as a real API
<infinisil> gchristensen: Probably not in the near future, but I'll remember that, thanks :)
<{^_^}> [nixpkgs] @xeji merged pull request #43411 → parity: 1.10.8 -> 1.10.9 → https://git.io/fNL26
<{^_^}> [nixpkgs] @xeji pushed commit from @akru to master « parity: 1.10.8 -> 1.10.9 (#43411) »: https://git.io/fNt8l
<clever> thoughtpolice: a secondary idea i had, but it would be a decent amount of work, is to store every single Value in a giant hash table, and after a thunk has been forced, check the hash table to see if you just duplicated the result, and optionally merge
<clever> thoughtpolice: the tricky part is ensuring every creation of a value does that, and updating the references
<tobiasBora> samueldr: hum... Still nothing... Here is the used configuration: append: systemConfig=/nix/store/vwdg0z22lvnb1hmfv91786iv5srwj45b-nixos-system-nixos-18.09.git.fc4ab42 init=/nix/store/vwdg0z22lvnb1hmfv91786iv5srwj45b-nixos-system-nixos-18.09.git.fc4ab42/init loglevel=7 cma=32M console=ttyS0,115200n8 console=ttyAMA0,115200n8 console=tty0
<tobiasBora> but I have some proofs that the system booted, now the sd partition is populated :D
<samueldr> tobiasBora: sorry, I can't say for sure, I don't have a 3B+ around to verify
<tobiasBora> ok thank you
<samueldr> though, yes, that's a good sign
wpcarro has quit [Ping timeout: 248 seconds]
<tobiasBora> do you know a way to enable ssh "blindly" so that I don't need to enable uart?
<clever> thoughtpolice: for example, if i import 2 different files, and both happen to contain { a = 5; }, how hard would it be to ensure both parse to the same Value* ?
owickstrom has quit [Quit: Leaving]
trcc has joined #nixos
trcc has quit [Remote host closed the connection]
<samueldr> tobiasBora: can you try HDMI+usb?
<tobiasBora> samueldr: unfortunately I have no keyboard, and no screen with me...
<samueldr> ah, if only a keyboard you could have `systemctl start sshd` after copying your key into /root/.ssh/authorized_keys
<samueldr> I don't think the installer has been updated to start ssh by default (without password access obv.)
<tobiasBora> samueldr: and do you know if I can manually edit the installed to enable it by default by modifying the sd card?
<makefu> samueldr: yes, you will need to build your own iso unfortunately. the line you need for an iso is https://git.shackspace.de/krebs/stockholm/blob/master/makefu/1systems/iso/config.nix#L31
<samueldr> possibly, but I don't know how off the top of my head
<samueldr> makefu: yeah, that's the issue, I'm assuming tobiasBora doesn't have aarch64 hardware to rebuild :/
<samueldr> tobiasBora: you don't, right?
<{^_^}> [cabal2nix] @peti merged pull request #358 → Add hack for common erroneous missing build-tool-depends, and keep duplicate deps for cross → https://git.io/fNkF5
<{^_^}> [cabal2nix] @peti pushed 4 commits to master: https://git.io/fNt4Z
wpcarro has joined #nixos
<tobiasBora> samueldr: makefu indeed I don't, and I guess that it will be tricky anyway, especially because the installed needs a special kernel... Dezgeg made a script/doc for generating this kind of image?
<benley> anyone know what the right way is to prepend some commands prior to starting a window manager, if I want it to go into my nixos config and not ~/.xprofile?
<tobiasBora> makefu: hum you mean that I just need to run "nix-build config.nix" to compile a new .img?
<benley> I see services.xserver.windowManager.session, which the various windowManager modules use to describe how to start themselves, but I'm not sure if I can prepend my own stuff before it
<makefu> tobiasBora: if it worked like this before, then yes :)
<tobiasBora> well I've no idea how it works before, as Dezgeg is the one that build the images ^^'
<benley> oh hey maybe services.xserver.displayManager.sessionCommands?
<clever> makefu: that is the script responsible for launching the login prompt and starting the session
<samueldr> tobiasBora: in the boot partition, edit the extlinux file so that console=ttyS0,115200n8 is the last one
<clever> benley: oops, wrong name tab-completed
<benley> aye, I
<benley> aye, I'm looking at that file
<clever> benley: yeah, sessionCommands is ran shortly before it sources .xprofile, check lines 122-127
<benley> I figure I probably don't want to overwrite the entire xsession, but sessionCommands looks promising
<benley> actually that looks perfect.
<sphalerite> tobiasBora: a hacky way to enable SSH temporarily would be to just put `systemctl start sshd` in /root/.bashrc, if the image has autologin… :D
<Dezgeg> here's an image some have reported as working on 3b+: https://github.com/NixOS/nixpkgs/issues/22014#issuecomment-399715748
<clever> tobiasBora: if you enable qemu-user, you can also just chroot into the image and change whatever you want and nixos-rebuild boot
worldofpeace has joined #nixos
<clever> tobiasBora: https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix and then just set qemu-user.arm = true; in configuration.nix and you can magically run any arm binary, then just nixos-enter like you normally would
<samueldr> Dezgeg: the image works, they don't have serial
<tobiasBora> Dezgeg: yes I'm using this one, but I'm having trouble to set uart, that do not send anything after "Starting kernel..." so I can't do anything
<tobiasBora> sphalerite: hum good idea... no idea if it's auto login!
<samueldr> oh sphalerite, good trick
<{^_^}> [nixpkgs] @dtzWill opened pull request #43438 → xscope: init at 1.4.1 → https://git.io/fNtBe
<samueldr> tobiasBora: it should be auto-login
<tenten8401> So I figured out my issue with PAM and ocserv, turns out I needed to define a PAM service named ocserv. Going to see if I can get that into the PR.
jperras_ is now known as jperras
simukis has quit [Quit: simukis]
<tobiasBora> clever: I'll give it a look, thanks!
<Dezgeg> ah
<Dezgeg> try replacing console=ttyS0 with console=ttyS1
<sphalerite> right it's time I went to bed
coot has joined #nixos
<sphalerite> gnight folks
<Dezgeg> I don't know why but I think it changed in some kernel version
<clever> Dezgeg: one of the uart's got repurposed for the bluetooth
<Dezgeg> yes but it was ttyS0 previously
<clever> i think devicetree stuff in config.txt can change the mappings some
<Dezgeg> ttyAMA0 is the uart one
johanot has quit [Quit: Leaving.]
<Dezgeg> er, blueooth one
<clever> the wifi chip in the rpi can transmit arbitrary IQ signals on 2.4 or 5ghz
<tobiasBora> Dezgeg: ok thanks, I'm trying... here is my new config: APPEND systemConfig=/nix/store/vwdg0z22lvnb1hmfv91786iv5srwj45b-nixos-system-nixos-18.09.git.fc4ab42 init=/nix/store/vwdg0z22lvnb1hmfv91786iv5srwj45b-nixos-system-nixos-18.09.git.fc4ab42/init loglevel=7 cma=32M console=ttyS1,115200n8 console=ttyAMA0,115200n8 console=tty0
lnikkila_ has quit [Quit: lnikkila_]
<clever> tobiasBora: for each console= on the cmdline, the kernel will print dmesg to it, and the last one that appears will be /dev/console, which is used for a login prompt if systemd enables that
<clever> i would expect the above to at least print something, due to the loglevel=7
<{^_^}> [nixpkgs] @LnL7 opened pull request #43439 → stdenv: introduce isBootstrap for conditionals → https://git.io/fNtB4
<{^_^}> [nixpkgs] @vbgl opened pull request #43440 → ocamlPackages.lwt_log: init at 1.0.0 → https://git.io/fNtBR
coot_ has joined #nixos
<tobiasBora> Dezgeg: great, it works, thank you very much!! I don't understand how it's possible though, because I thought that uart was using random baud rate no?
<clever> console=ttyS0,115200 without any other console='s, is enough to get a shell when under qemu
<tobiasBora> I have some errors that spaws "[ 23.774993] Bluetooth: hci0: BCM: failed to write update baudrate (-110)
phaebz has joined #nixos
<clever> tobiasBora: you are using all the serial ports as serial consoles, so the bluetooth one is being messed with
<tobiasBora> clever: hum I see...
__monty__ has quit [Quit: leaving]
<clever> try removing the ttyAMA0 entry
<tobiasBora> and if I wanted, say, to give ttyAMA0 to bluetooth?
<clever> its already tied to the bluetooth, the error is because its used by both bluetooth and console=ttyAMA0,115200n8
coot has quit [Ping timeout: 240 seconds]
<tobiasBora> ok. And I saw that on raspbian it's possible to "exchange" them, by giving AMA0 (the good uart) to the console, and the "bad" uart (S1 if I follow?) to the bluetooth. Is it possible to do the same with nixos?
<{^_^}> [nixpkgs] @rembo10 closed pull request #43419 → paper-icon-theme: 2017-11-20 -> 2018-06-24 → https://git.io/fNLDF
<clever> tobiasBora: thats still managed by config.txt in the same way
<{^_^}> [nixpkgs] @rembo10 reopened pull request #43419 → paper-icon-theme: 2017-11-20 -> 2018-06-24 → https://git.io/fNLDF
phaebz has quit [Ping timeout: 240 seconds]
<samueldr> tobiasBora: was it ttyS1 which made it work? (verifying as I'm updating the raspberry pi page on the wiki)
<tobiasBora> samueldr: yes. But I don't know why I don't need to use some crazy baud rate...
<samueldr> ?
<clever> 115200 is fairly normal
doyougnu has joined #nixos
remmbster has joined #nixos
<samueldr> do you mean that you didn't add ,115200n8 after ttyS1?
<Dezgeg> enable_uart=1 in config.txt (which is already there) sets the clock divider accordingly, I think
<clever> Dezgeg: there are some overclock flags in config.txt that mess with the uart clocks, but linux isnt aware of that, so the uart can run slow or fast
<Dezgeg> yes, but enable_uart=1 overrides it I think
<remmbster> Hi - I'm trying to do a pull request. The check failed for darwin (because of duplicate files differing only in case), so I want to change the platforms to just platforms.linux. How do I go about submitting the change?
regulus_ has quit [Ping timeout: 255 seconds]
<samueldr> remmbster: update your branch, push it, you can also commit --amend or rebase to keep it only one commit
<samueldr> the github PR should update accordingly
<remmbster> Should I jst make a new commit and push that to my branch? Should the commit message be the same as the first (e.g. paper-icon-theme: 2017-11-20 -> 2018-06-24
<remmbster> Ah ok
<samueldr> so, yes!
<remmbster> Is it ok if it's multiple commits?
<samueldr> well, it is preferred to be one commit
<remmbster> Ok
<remmbster> I'll ammend it then
<samueldr> great!
regulus_ has joined #nixos
<tobiasBora> Dezgeg: oh I didn't see that enable_uart=1 was enabled. So it means that the raspberry is underclocked now?
<tobiasBora> so can I remove this once I don't need uart anymore?
<clever> tobiasBora: i dont think it causes any underclocking
<Dezgeg> possibly, I have not measured it
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<clever> tobiasBora: the vcgencmd binary should allow reading the current clocks
seafood has joined #nixos
<tobiasBora> samueldr: no no, I still have the 115200n8 ;)
<Dezgeg> also at some point U-Boot couldn't work without enable_uart=1, but I think that has been fixed
<tobiasBora> I'm just asking because if I understand correctly the S1 console uses the cpu clock, that may vary. So if enable_uart changes it, it means that the cpu clock is now locked (either underclocked or overclocked), which would make the rasp either slow, or power consuming.
<tobiasBora> and actually the rasp is very hot ^^'
<Dezgeg> yes, if U-Boot works nowadays without enable_uart=1 it could be removed by default
Lisanna has joined #nixos
trcc has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to tmp « README.md: add some badges »: https://git.io/fNt0B
Thra11 has quit [Ping timeout: 264 seconds]
<Lisanna> clever + anyone else who uses Hydra: I figured out a nice way to gate an arbitrary hydra job (with any output format) on the success of other jobs, even if they don't have a direct dependency on eachother. Make a wrapper job that does depend on them (checks for the existence of ${drv}/nix-support/failed). If they all succeed, then return the actual result that you wanted to gate (can be a static file! doesn't need to have a nix-support
<Lisanna> directory!). If it fails, return a directory in its place with $out/nix-support-failed set.
trcc has quit [Ping timeout: 240 seconds]
<Lisanna> for example, if I have a channel, and one of the jobs produces a directory containing the raw nix expressions of the channel, and the product of that job is used by other jobsets with the "Previous Hydra Build" option, I can gate the success of that job without having to modify the derivation's contents or have decision making to touch $out/nix-support/failed inside the build of the actual channel derivation
Thra11 has joined #nixos
<Lisanna> can gate it e.g. on a bunch of test jobs
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/2.10.0: https://git.io/fNt0F
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/2.9.3: https://git.io/fNt0A
<Lisanna> so downstream hydra jobsets will only receive tested versions of those nix expressions
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.9.3: https://git.io/fNt0p
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.10.0: https://git.io/fNt0h
<logzet> Maybe a dumb question: does one Hub entry in lsusb always correspond to one physical port?
<Ralith> hooray, u2f finally works in firefox
worldofpeace has quit [Quit: worldofpeace]
<logzet> Or does one USB port always have an own lsusb entry?
worldofpeace has joined #nixos
<logzet> (The first question was flipped)
Wharncliffe has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to tmp « README.md: add some badges »: https://git.io/fNtEa
<{^_^}> [nixpkgs] @dtzWill opened pull request #43441 → libpoly: 0.1.5 -> 0.1.7 (noop), cleanup a bit to modern style → https://git.io/fNtEo
<{^_^}> [cabal2nix] @peti pushed to tmp « README.md: add some badges »: https://git.io/fNtEi
<{^_^}> [cabal2nix] @peti pushed to tmp « README.md: add some badges »: https://git.io/fNtEF
<{^_^}> [cabal2nix] @peti pushed to tmp « README.md: add some badges »: https://git.io/fNtEj
phaebz has joined #nixos
coot_ has quit [Quit: coot_]
<{^_^}> [cabal2nix] @peti pushed to master « README.md: add some badges »: https://git.io/fNtu3
<{^_^}> [cabal2nix] @peti pushed 0 commits to tmp: https://git.io/fNtus
<clever> logzet: my laptop has 3 proper usb ports, and the webcam in the display is also usb based, lsusb only claims 2 root hubs
<tobiasBora> clever: how can I install vcgencmd ? I tried "nix-env -iA nixpkgs.raspberrypi-tools", and also nixpkgs.raspberrypifw, but none of them exist
worldofpeace has quit [Quit: worldofpeace]
<clever> tobiasBora: if your channel is called nixos, then you need nix-env -iA nixos.raspberrypi-tools instead
telent has quit [Ping timeout: 260 seconds]
<tobiasBora> clever: stupid me
<tobiasBora> but still an error: warning: unable to download 'https://cache.nixos.org/gvwwk27ns05fmf6kb9q8wizdcwni0rg4.narinfo': Couldn't connect to server
<tobiasBora> hum I can ping google
muzzy has joined #nixos
<tobiasBora> but not cache.nixos
adamt has joined #nixos
adamt is now known as Guest58830
<tobiasBora> now it's working
<tobiasBora> don't know what happened
<tobiasBora> now even my usb are very hot ^^'
mkaito has quit [Ping timeout: 265 seconds]
<tobiasBora> and the temp is temp=55.3'C
<{^_^}> [nixpkgs] @LnL7 opened pull request #43442 → python: enable optimizations → https://git.io/fNtuS
tzemanovic has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
freusque has joined #nixos
<freusque> hey. say I have a version of nixpkgs in my store
<freusque> and I would like to quickly test building something (maybe my system itself) using an alteration of this version
<freusque> and if I liked that alteration, I'd like to generate a patch that I could just plug in my configuration.nix
<freusque> what would be your workflow for that?
<freusque> Currently, I clone nixpkgs, make modifications, and point to that using -I
<freusque> any pointers appreciated =)
muzzy has quit [Ping timeout: 244 seconds]
<logzet> clever: Thanks again :)
<freusque> (current motivation: nixos-rebuild build-vm-with-bootloader fails and I just want to alter qemu-vm.nix)
<iqubic> What does mkShell do?
ntqz has joined #nixos
<freusque> define a derivation that you can not build
<freusque> only nix-shell into
erickomoto has quit [Ping timeout: 252 seconds]
i0-dfn has quit [Ping timeout: 240 seconds]
i0-dfn has joined #nixos
remmbster has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #43443 → gtkperf: init at 0.40.0 → https://git.io/fNtgl
joehh has joined #nixos
phreedom has joined #nixos
<iqubic> I see. Is that wanted?
<iqubic> Does this work? http://termbin.com/ift7
seafood has quit [Quit: seafood]
dbmikus has quit [Ping timeout: 260 seconds]
Edes has quit [Ping timeout: 240 seconds]
wpcarro has quit [Remote host closed the connection]
<iqubic> that's a shell.nix I'm trying to using.
seafood has joined #nixos
seafood has quit [Client Quit]
<LnL> yeah, the name also gets a default so you need to add less boilerplate compared to mkDerivation
wpcarro has joined #nixos
<iqubic> but will my shell.nix work?
seafood has joined #nixos
<LnL> yes, that looks good
phaebz has quit [Ping timeout: 240 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
manny has quit [Ping timeout: 248 seconds]
<infinisil> Nix performance question: When I do `let a = import <nixpkgs> {}; b = import <nixpkgs> {}; in <something using both a and b>`
seafood has quit [Client Quit]
<infinisil> Is this slower than doing `let shared = import <nixpkgs> {}; a = shared; b = shared; in <something using both a and b>`?
seafood has joined #nixos
<clever> infinisil: it will use roughly twice the ram and take roughly twice as long, assuming its using identical parts of a and b
<iqubic> cool. How exactly will the correct python environment be created? With pip, or what?
Lisanna has quit [Quit: Lisanna]
<infinisil> clever: Ah so that's the import caches thing
seafood has quit [Client Quit]
<LnL> infinisil: the import will get cached, but the nixpkgsFun {} call might not
worldofpeace has joined #nixos
<tobiasBora> clever: Dezgeg: samueldr sphalerite : Thank you very much for your help, it works great now! I just don't know why, but after the nixos-rebuild switch, the configuration was back to ttyS0, and still the uart is working even if it's not ttyS1...
<clever> infinisil: it will cache the result of `import <nixpkgs>` but not the result of calling that with {}
seafood has joined #nixos
<infinisil> Okay, so in short, I should do the shared variant
seafood has quit [Client Quit]
freusque has quit [Ping timeout: 240 seconds]
<clever> infinisil: yep
<infinisil> Nice, thanks :)
seafood has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> hum no, in fact it's not working, but it's working when you don't put any console=... I guess that's because of enable_uart?
seafood has joined #nixos
wpcarro has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #43438 → xscope: init at 1.4.1 → https://git.io/fNtBe
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNtgb
seafood has quit [Client Quit]
<LnL> iqubic: it doesn't really use pip AFAIK
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #43443 → gtkperf: init at 0.40.0 → https://git.io/fNtgl
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fNt2v
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<logzet> clever: I GOT MY USB WORKING!!!!
<gchristensen> !!
<clever> logzet: what changed?
<logzet> I made a BIOS downgrade
seafood has joined #nixos
<gchristensen> is the kernel's `install` phase single-threaded? :P
seafood has quit [Client Quit]
phreedom has quit [Ping timeout: 250 seconds]
<logzet> Lenovo fucked up the firmware and I fortunately was able to downgrade to a working version
seafood has joined #nixos
<logzet> Excuse the capslock, but I tried like 15h to make this work
seafood has quit [Client Quit]
<logzet> Something between 10h and 15h
seafood has joined #nixos
Guest58830 has quit [Ping timeout: 240 seconds]
seafood has quit [Client Quit]
<logzet> Time to go to bed ^^
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> glad you're through to the other side, logzet :D
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> oh, please tell which laptop model and which version logzet!
<logzet> samueldr: Lenovo Thinkpad s230u twist
<samueldr> (and sources, citations about the process for the poor souls finding this in a search engine)
seafood has joined #nixos
seafood has quit [Client Quit]
Guest58830 has joined #nixos
seafood has joined #nixos
<gchristensen> what version was bad and what did you downgrade to?
seafood has quit [Client Quit]
<logzet> And I was on BIOS v 1.65 and I downgraded to 1.52
seafood has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> Dezgeg: also, I tried to remove enable_uart=1 and it's working!
seafood has joined #nixos
<Dezgeg> ok, good to know
seafood has quit [Client Quit]
<logzet> And if someone finds this: Lenovo states that you cannot downgrade from >1.68 to below 1.68
<Dezgeg> <nixos/modules/installer/cd-dvd/sd-image-aarch64.nix>
seafood has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #43441 → libpoly: 0.1.5 -> 0.1.7 (noop), cleanup a bit to modern style → https://git.io/fNtEo
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNt2P
<Dezgeg> ^ console=ttyS0 is probably specified there, if you're still including it
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<Dezgeg> but probably it's best to drop the import and base configuration.nix on the sample in the wiki
seafood has joined #nixos
seafood has quit [Client Quit]
joehh has quit [Ping timeout: 264 seconds]
seafood has joined #nixos
<samueldr> thanks logzet
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
sigmundv has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<logzet> samueldr: Is there an archive for this IRC?
seafood has quit [Client Quit]
<clever> logzet: its in /topic
<samueldr> right in the topic, https://logs.nix.samueldr.com/nixos
troydm has quit [Ping timeout: 260 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
<logzet> And no problem :)
Lisanna has joined #nixos
<logzet> I didnt read the topic this far, lol
troydm has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> Dezgeg: have you by chance tried to get NixOS running on a TX2 lately?
graphene has quit [Read error: Connection reset by peer]
seafood has joined #nixos
init_6 has joined #nixos
seafood has quit [Client Quit]
tenten8401 has quit [Ping timeout: 260 seconds]
graphene has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
<Dezgeg> I don't have a TX2, but I'd imagine it would work just like TX1
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> it didn't last time I tried, though that was a few months ago
seafood has joined #nixos
seafood has quit [Client Quit]
telent has joined #nixos
seafood has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
phreedom has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
trcc has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @Infinisil opened pull request #43444 → idris: Recurse into attrs, fix build and remove unneeded overrides → https://git.io/fNtaN
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
tmaekawa has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> Hum... Does anyone knows why I'm getting lot's of "unable to download 'https://cache.nixos.org/ar3ba4h34bj697wjb5n1ppb1db7m6laa.narinfo': Couldn't connect to server"
<tobiasBora> while I can ping google from this same machine
seafood has joined #nixos
seafood has quit [Client Quit]
trcc has quit [Ping timeout: 268 seconds]
<tobiasBora> it works something like once every 10 tries ^^
seafood has joined #nixos
<tobiasBora> and I'm wondering if the problem is on my side, or if cache.nixos has some troubles
tmaekawa has quit [Client Quit]
seafood has quit [Client Quit]
seafood has joined #nixos
alex``` has quit [Ping timeout: 248 seconds]
<gchristensen> ,cloudfront
<gchristensen> please try that, tobiasBora
seafood has quit [Client Quit]
seafood has joined #nixos
<infinisil> Whoa, something definitely improved in regards to memory with my latest update
seafood has quit [Client Quit]
<infinisil> Instead of floating around 80-90% used the whole time, it's just about 50%-60% now
seafood has joined #nixos
seafood has quit [Client Quit]
logzet has quit [Remote host closed the connection]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> gchristensen: here is it: http://paste.debian.net/1033479
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
doyougnu has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> hmm looks pretty good, that sample
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
Edes has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
jtojnar has quit [Read error: Connection reset by peer]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
sbdchd has joined #nixos
init_6 has quit []
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
spear2 has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
Guest58830 has quit [Ping timeout: 240 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
knupfer has quit [Ping timeout: 265 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> gchristensen: when I've another problem I let you know
<gchristensen> sounds good
seafood has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> also, why is my cpu freq constant?
seafood has joined #nixos
<tobiasBora> the folder cat /sys/devices/system/cpu/cpu0/cpufreq does not even exist
<tobiasBora> so I can't check the governor
seafood has quit [Client Quit]
<tobiasBora> and I tried to put in the config "force_turbo=0 arm_freq_min=100"
seafood has joined #nixos
<tobiasBora> but the cpu is always at the lowest freq (here 100Hz)
seafood has quit [Client Quit]
<tobiasBora> even when I stress the 4 cpus
<tobiasBora> "vcgencmd measure_clock arm" always gives me the same result
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
Edes has quit [Ping timeout: 260 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
redj_ has joined #nixos
seafood has quit [Client Quit]
telent has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
romildo has joined #nixos
seafood has quit [Client Quit]
sippandsap has joined #nixos
romildo has quit [Read error: Connection reset by peer]
seafood has joined #nixos
romildo has joined #nixos
seafood has quit [Client Quit]
romildo has quit [Read error: Connection reset by peer]
romildo has joined #nixos
seafood has joined #nixos
romildo has quit [Read error: Connection reset by peer]
seafood has quit [Client Quit]
seafood has joined #nixos
redj has quit [Ping timeout: 244 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
tenten8401 has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tobiasBora> gchristensen: is this one better: http://ix.io/1d41
<tobiasBora> ?
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> looks good too :? can you paste `ip addr`?
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<tobiasBora> gchristensen: here is it: http://paste.debian.net/1033482
vasiliy_san has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #43445 → yices: fix symlink created to match version → https://git.io/fNtrB
<tobiasBora> is it possible that nixos tries to use the ipv6 address at some points?
seafood has quit [Client Quit]
seafood has joined #nixos
<gchristensen> I don't _think_ so
<Ankhers> gleber_: ping
<gchristensen> but I don't know :$
seafood has quit [Client Quit]
seafood has joined #nixos
<tobiasBora> because here if you look at it, you can see that all the things that try to connect though ipv6 display "Network is unreachable", which is exactly the error I have when I try to ping it
<Kim> So I'm going through the examples on the NixOps manual for trivial-vbox, and it's grabbing NixOS 16.09 for some reason
mkaito has quit [Ping timeout: 265 seconds]
seafood has quit [Client Quit]
jackdk has joined #nixos
seafood has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
seafood has quit [Client Quit]
<Kim> It's really weird, since I would expect it to use 18.03
seafood has joined #nixos
betaboon has joined #nixos
seafood has quit [Client Quit]
ericsagnes has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
<Kim> It's also erroring when it tries to run `get-vbox-nixops-client-key.service`
<iqubic> How does Nix create a python environment with the given libraries?
seafood has quit [Client Quit]
<tenten8401> anyone know if there are any special rules I have to set up for a VPN server? I've got NAT enabled, VPN ports allowed through the firewall, and net.ipv4.ip_forward = true, yet I can't seem to access the internet at all when connecting to the ocserv instance running on my server.
<betaboon> so. how unstable is nixos-unstable ? XD
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> I'm like 99% sure it's not an ocserv issue because it works fine on another distros
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos