<clever>
adding files just magically adds them to the menu
<clever>
Acou_Bass: i dont know much about kde, but xfce seems to automatically detect changes to at least ~/.local/share/applications
<clever>
Acou_Bass: ah
<clever>
Acou_Bass: read the path inside the extra firefox.desktop and maybe delete it
2018-02-27
<clever>
and its now 4am, i should get to bed
<clever>
ah :S
<clever>
but, its not managed by nix, so vim breaks it every time vim downloads the plugin
<clever>
mfiano: so just deleting the 'python' element from the command fixes it
<clever>
mfiano: and nixos already wrapped wakatime.py in a bash script that does everything for you
<clever>
mfiano: python, and site-packages arent global, so it fails miserably
<clever>
mfiano: for example, the wakatime plugin tries to be too smart, and tries to find wakatime.py, then run python on it
<clever>
mfiano: ive run into problems when i let vim install its own plugins
<clever>
mfiano: nix will then put a copy of the vim_configs directory into /nix/store/, and insert its path into the resulting string
<clever>
mfiano: then, to pull in the .vim directory, you would do something like source ${./vim_configs}/something, or set plugin_search_path=${./vim_configs}/plugins, inside that string from 7-24 in my vim.nix
<clever>
mfiano: using these 2, i believe you can generate a custom neovim, where the contents of init.vim are inside the string from lines 7-24
<clever>
2018-02-27 03:36:20 < sphalerite_> just that to use it with neovim you do neovim.override { configure = …; } rather than vim_configurable.customize { … }
<clever>
mfiano: then you use that variable in all the source statements
<clever>
mfiano: what if .vimrc set a vim variable, pointing to the directory with the rest of the config?
<clever>
mfiano: oh, i have an idea
<clever>
ive never had to lookup the #include syntax for vim
<clever>
mfiano: it cant do things like ./foo to be relative to itself?, or $BASH_SOURCE[0] or $(pwd)ish?
<clever>
mfiano: that can still work, just replace ~/.vimrc with init.vim in my directions
<clever>
yeah
<clever>
Izorkin: yeah, i think you should go ahead and create one
<clever>
and root.config loads the rest
<clever>
mfiano: to start with, make it something simple like all the config in ~/.vim/ and ~/.vimrc is just 1 line to load something like ~/.vim/root.config
<clever>
mfiano: if its setup to just load relative to itself, then it can still work without nix
<clever>
mfiano: i can help with that step once its all in a single directory that isnt hard-coded
<clever>
mfiano: if you can make them all load relative to a single directory, then the rest should be easy
<clever>
Lisanna: and if the slave stops self-reporting, auto-remove!
<clever>
Lisanna: i have considered setting up netboot images, that self-report their arch to hydra, then hydra auto-adds those slaves as slaves
<clever>
it also allows hydra to obey a file that nix doesnt even manage, so you could have a daemon dynamically adding/removing slaves, as you auto-scale the pool on AWS
<clever>
that allows hydra to have extra slaves, that nix isnt aware of, localhost might work there
<clever>
Lisanna: but for hydra, it can be a : seperated list
<clever>
Lisanna: for nix itself, NIX_REMOTE_SYSTEMS must point to a single file with the slaves
<clever>
Lisanna: but i suspect thats only nix, and not hydra, one min
<clever>
Lisanna: it will sometimes grab a lock locally, then ssh into itself, and then wait for the lock
<clever>
Lisanna: ive seen nix deadlock when localhost is a build slave
<clever>
yeah
<clever>
as long as hydra is building it
<clever>
jgt: when used correctly, ghcWithPackages can give you pre-built copies of anything on hackage
<clever>
gchristensen: lol
<clever>
mckeankylej: yeah, id find a usb keyboard
<clever>
mckeankylej: oh wait, nvm, mixing things up
<clever>
mckeankylej: is secure-boot turned off?
2018-02-26
<clever>
bbl
<clever>
jtojnar: thats strange
<clever>
Izorkin: strange
<clever>
jtojnar: and `git diff` and `git diff --staged` both return no changes?
<clever>
Izorkin: that makes little sense, weird
<clever>
sphalerite_: what about with --option repeat 5?
<clever>
sphalerite_: then nix just rebuilds every derivation several times
<clever>
sphalerite_: which can also go into nix.conf
<clever>
sanscoeur: there is a --option build-repeat i think
<clever>
sanscoeur: and its baked into the binaries, so you have to recompile everything
<clever>
sanscoeur: a large chunk of the scripts have /nix/store hard-coded into them
<clever>
sanscoeu_: even with a single-user install, it has to be at /nix
<clever>
Izorkin: rm logfiles.* to clean up the old logs, `strace -ff -o logfiles -s 3000 nix-daemon` to launch it with debug, then `nixos-rebuild build` to fail it again, and ctrl+c the strace&upload
<clever>
Izorkin: then the problem is somewhere inside nix-daemon
<clever>
mfiano: but if nothing demands you use it, you can just not set the option
<clever>
mfiano: some services expect a per-host unique id, zfs is one of them
<clever>
elvishjerricco: it configures hydra to use the s3:// driver for the nix store, nix-cache is the bucket name, and the rest is config for the s3 driver
<clever>
Izorkin: ps aux | grep nix-daemon
<clever>
elvishjerricco: i think so
<clever>
elvishjerricco: 39 makes it download things from https://cache.nixos.org when it needs them
<clever>
elvishjerricco: 38, not sure exactly
<clever>
elvishjerricco: line 37 configures uploading everything to S3, rather then keeping it in /nix/store
<clever>
Izorkin: ok, strange, all 3 hits are reading it from elsewhere, there is no "cause", digging more...
<clever>
Izorkin: pid 10250 looks like the key
<clever>
Izorkin: with this, i can see that 3 processes are involved in the error: grep -r --color 'unable to start build process'
<clever>
mfiano: as an example, take router_deployment.nix, if i just copy&paste lines 7-14, give each a unique name (line 7) and unique ip (line 12), and run `nixops deploy`, it will upgrade all 10 machines to have the exact same config
<clever>
mfiano: nixops helps with that kind of thing
<clever>
Izorkin: reading the logs...
<clever>
but you could also just symlink it into /etc/nixos/configuration.nix to get the same effect
<clever>
prooftechnique: i think Sonarpulse or bgamari- has done x86->arm cross compiles with ghc
<clever>
mfiano: ah, you could use an if statement to conditionalize setting the nvidia options
<clever>
mfiano: you have several GPU's in the machine?
<clever>
ottidmes: but the driver has been good enough to detect things and reset itself, so ive never noticed the issue
<clever>
ottidmes: i recently hooked a monitor up to my router and dsicovered the console filled with various ethernet relayed soft-locks
<clever>
ottidmes: there is a memory leak somewhere in the http daemon, and polling it once a minute breaks it after an exact amount of time passes
<clever>
ottidmes: i also wrote a script to poll that ui and graph the results for the 50% of the time it was working, then discovered the router locking up every 29.5 days, like clockwork
<clever>
ottidmes: and once you go over 4gig, it wraps to 0, and resumes counting
<clever>
ottidmes: so when the traffic goes over 2gig, the counter just stops counting
<clever>
ottidmes: the http ui renders the linux bandwidth counters (which are unsigned 32bit ints), as signed 32bit ints
<clever>
ottidmes: oh, and the bugs, lol
<clever>
ottidmes: and it lacks an off switch for that
<clever>
ottidmes: my router blocks wifi users from ever talking to wired users
<clever>
hask_bee_3: ahh, you mean outside of nixos, i'm not sure how well the nixos .service files would work outside of nixos, but you can always make your own with writeTextFile
<clever>
mbrock: that happens if you use a 2.0 client with a 1.11 daemon
<clever>
joko: create a custom configuration.nix, and add one of the iso files to imports (probably graphical-kde?), then set this, and nix-build the right target
<clever>
sophiag: i think you need to use overrideCabal to add librarySystemDepends = [ libpcap ];
<clever>
Guanin: its inheriting the argument to the function, not the function itself
<clever>
Guanin: thats identical to just locations = locations; still
<clever>
sphalerite_: i dont think he was back, he has been reconnecting and pinging out for the last 8-ish hours
<clever>
sphalerite_: yeah, thats a tricky one because there are several layers of binutils
<clever>
ahh
<clever>
sphalerite_: what is just the drv name?, maybe ive memorized it already? lol
<clever>
thats a much simpler way
<clever>
then it could print meta.position and every .drv
<clever>
or another one of the trace family
<clever>
sphalerite_: you could maybe modify stdenv.mkDerivation such that it calls lib.traceShowVal
<clever>
sphalerite_: then just chase it down on the nix side
<clever>
sphalerite_: look at where it is within nix-store --query --tree, and then check the .drv at each step to get hints on which parameter to mkDerivation it was in
<clever>
which essentialy made the entire extension unusable
<clever>
but in the case above, it got to the point that the process for one-tab crashed every time i tried to use one-tab
<clever>
sophiag: the multi-process nature of chrome helps to contain those crashes
<clever>
sophiag: and it ran out of file-descriptors
<clever>
sophiag: and the gui had such an insane number of links, that it went nuts trying to load the same font in parallel
<clever>
sophiag: turns out, chrome calls socketpair() when loading fonts
<clever>
sophiag: i got to the point, that opening the gui for one-tab, killed the rendering process for it in chrome
<clever>
sophiag: oh, i also found an un-expected bug in chrome, due to one-tab
<clever>
sophiag: and the second chrome profile (in the same instance) has another 142
<clever>
sophiag: my primary chrome profile has 885 tabs open right now
<clever>
sophiag: ah, thats mostly due to my tabs, one sec
<clever>
sophiag: ?
<clever>
mfiano: for example, youtube already uses f for fullscreen, and things get wonky if f does 2 things
<clever>
mfiano: there is also a config thing in vimum to blacklist certain domains from having the hotkeys
<clever>
mfiano: f for example, puts a unique letter(combination) on every link, hit that letter to "click" it
<clever>
mfiano: vimium also has a number of other hotkeys i rarely use, that basically apply tiling window-manager features to the whole browser
<clever>
sophiag: my chrome eats about 32gig of ram and another 32gig of swap
<clever>
lejonet: the cpu draws enough watts that 100% usage can trip the overload alarm on the UPS
<clever>
lejonet: thats what the desktop has
<clever>
model name : AMD FX(tm)-8350 Eight-Core Processor
<clever>
yeah
<clever>
lejonet: the cpu can also nearly match my desktop, yet has half the cores
<clever>
lejonet: the bigger the screen, the more text you can fit
<clever>
lejonet: its mainly a coding laptop
<clever>
sophiag: double-checking the site, i dont even see a gpu variant offered for the kudu
<clever>
sophiag: but i have cracked it open, and there is a very clear void on the motherboard where the gpu&gpu ram goes, along with a massive void where the cooler would have gone
<clever>
sophiag: 32gigs of ram, i went with the variant that has no dedicated gpu, since i'm not gaming on it