gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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 ... nixcon videos: https://tinyurl.com/nixcon2018
<ottidmes> Ralith: sorry, but that is all I got, just remembered that piece of software and thought it could be useful to your situation, and have seen it mentioned with emacs, but I use neither emacs nor direnv
<tilpner> ottidmes - Hmm, rg "lib(\.\w+)+\s*=" only turns up a single definition for misc/lib.nix
<ottidmes> tilpner: its only being used for some kernel thing
<Ralith> worse yet, it seems to clobber emacs' environment globally, which is an ugly hack :/
<Ralith> (or rather, the emacs-direnv integration does)
<ottidmes> tilpner: config.lib.kernelConfig
drakonis_ has joined #nixos
<init_6> peace all
<tilpner> ottidmes - I wonder if args.lib was supposed to be set from config.lib
<ottidmes> tilpner: to me config.lib seems more like a hack/trick, like options.dummy I used in the past to debug some stuff
<ottidmes> tilpner: currently pkgs.lib should be able to replace it already
<tilpner> Maybe the distiction was introduced while nixos and nixpkgs were separate repos?
<ottidmes> that would make sense, just like that old utils thing I mentioned seems to stem from that time
<ottidmes> tilpner: that seems to indicate it should not be a problem, I am trying it now
<ottidmes> nevermind that, simpler times
jperras has quit [Ping timeout: 244 seconds]
jperras has joined #nixos
halfbit has quit [Ping timeout: 268 seconds]
zolk3ri has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
georges_ has joined #nixos
jperras has quit [Client Quit]
W1lkins_ has joined #nixos
amir_ has joined #nixos
tilpner_ has joined #nixos
polyzen has joined #nixos
ashkitte1 has joined #nixos
dmc has quit [Disconnected by services]
slyfox_ has joined #nixos
ma27_ has joined #nixos
commande1 has joined #nixos
Willi_Butz has joined #nixos
tilpner has quit [Disconnected by services]
tilpner_ is now known as tilpner
TweyII has joined #nixos
georges has quit [Ping timeout: 240 seconds]
andrewrk has quit [Ping timeout: 240 seconds]
jcrben has quit [Quit: Ping timeout (120 seconds)]
ashkitten has quit [Ping timeout: 240 seconds]
bbarker has quit [Ping timeout: 240 seconds]
mulderr has quit [Ping timeout: 240 seconds]
amir has quit [Ping timeout: 240 seconds]
Twey has quit [Ping timeout: 240 seconds]
WilliButz has quit [Ping timeout: 240 seconds]
Anton-Latukha has quit [Ping timeout: 240 seconds]
W1lkins has quit [Ping timeout: 240 seconds]
slyfox has quit [Ping timeout: 240 seconds]
commander has quit [Ping timeout: 240 seconds]
ma27 has quit [Quit: WeeChat 2.2]
cross has quit [Ping timeout: 240 seconds]
TweyII is now known as Twey
pkx3__ has joined #nixos
jcrben has joined #nixos
Willi_Butz is now known as WilliButz
pkx3 has quit [Read error: Connection reset by peer]
polyzen is now known as dmc
pita has quit [Ping timeout: 246 seconds]
catern has quit [Ping timeout: 246 seconds]
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
Rusty1 has joined #nixos
hakujin has quit [Ping timeout: 246 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
timon37 has quit []
<ottidmes> kudos/karma to whoever made the syntax highlighter for nix in vscode, I don't think I have made a syntax error since using it
hakujin has joined #nixos
Ariakenom has quit [Quit: Leaving]
<avn> ottidmes: I still miss/add unnessesary semicolons despite any highlighters ;)
<ottidmes> avn: I get an error highlighting here in vscode for those as well
hamishmack has joined #nixos
fiatjaf has quit [Quit: ~]
<ottidmes> funny how you can set lib at eval-config.nix, but it then does not get passed along so you wont get that lib in your nixos modules, I guess its just there as an optimization
zolk3ri has quit [Quit: Lost terminal]
Growpotkin has joined #nixos
<Growpotkin> hey has anybody had issues finding their Haskell Modules with the 8.6.2/4 compilers?
<Ralith> ottidmes: managed to bodge emacs-direnv into functionality, and direnv seems quite pleasant for general shell use besides; thanks for the suggestion
<Growpotkin> Maybe my nix-shell is to blame, but it's always been find for 8.4.3 and 8.2.2
<Growpotkin> excuse me I meant 8.6.2/1
<aszlig> anyone here who has a machine running linux 4.19 on non-nixos?
<aszlig> we're having an overlayfs regression (https://github.com/NixOS/nixpkgs/issues/48828#issuecomment-445208626) and i'd like to test that before submitting something to the kernel maintainers which only reproduces the problem on nixos
<aszlig> it should fail with EPERM
<gchristensen> I'm asking around other places
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ca3f089a836 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<aszlig> gchristensen: thanks
<ottidmes> Ralith: congratz! yeah, I really should start using it too
<ottidmes> Ralith: yeah, in that context I saw direnv mentioned before, seems nice
justanotheruser has quit [Ping timeout: 246 seconds]
<aleph-> Okay anybody do work with selenium/pyppeteer/puppeteer?
justanotheruser has joined #nixos
<aleph-> Been having issues getting pyppeteer to acknowldge the stripped down chrome binary it downloads to ~/.local/share/
iqubic has joined #nixos
<iqubic> So I know I'm a little bit behind on this, but I recently updated to 18.09 stable
<{^_^}> [nixpkgs] @qolii closed pull request #51291 → linux-hardkernel: 4.14.78-150 -> 4.14.81-151 → https://git.io/fprSw
<iqubic> And once I ran the update I decided I should reboot my laptop. Everything seemed fine, except now emacs is complaining about not being able to find a font.
<iqubic> I know that "Knack Nerd Font" should be installed on my system, but it isn't installed on my system. This font was present in 18.03 when I was running that earlier today.
<iqubic> Did the font packages really change *that* much?
alex`` has quit [Ping timeout: 245 seconds]
<ottidmes> iqubic: all I can suggest is: fonts = { enableFontDir = true; fonts = with pkgs; [ nerdfonts ]; };
<aleph-> Patching this binary sucks
<iqubic> ottidmes: I have done that
init_6 has quit [Ping timeout: 272 seconds]
Lisanna has joined #nixos
<iqubic> ottidmes: Here's an excerpt from my configuration.nix: http://dpaste.com/2N8HFA6
<iqubic> IDK why emacs can't find "Knack Nerd Font"
haslersn has joined #nixos
erratic has quit [Quit: this computer has gone to sleep...]
<iqubic> The only difference between when emcas could find the font and when it can't is the version of Nixos I was using.
<ottidmes> than you have not done what I suggested, enableFontDir = true; is missing
<iqubic> I was using 18.03 when emacs could find that font. Now that I have switched to 18.09 emacs can't find that font.
<haslersn> hi, I'm trying to enable widewine in chromium in order to use netflix. It does not work even though I installed `(chromium.override { enableWideVine = true; enablePepperFlash = true; })`. Can somebody help, please?
<iqubic> ottidmes: What does "enableFontDir = true;" do?
<ottidmes> iqubic: you made that point, but could you try the option just in case, never assume when debugging. About what it does, check the options page: https://nixos.org/nixos/options.html#enablefontdir
<ottidmes> iqubic: just how big is that font? it just downloaded 2GB of font data :S
<iqubic> I'm not sure.
<iqubic> I use it because I like.
<iqubic> I feel like it includes a ton of different unicode symbols and other things too.
<ottidmes> fair enough, I am just seeing my disk space disappearing :P
<iqubic> How do I check if enabling the font dir worked?
<iqubic> Is there a way to see if a certain font is installed or not?
<ottidmes> iqubic: sure, but that is not something I know on the top of my head, would need to google it myself too
<ottidmes> iqubic: after its installed I planned to just change my polybar font and see what happens
<iqubic> fc-list | grep -i "font-name"
<ottidmes> iqubic: do you know if emacs is using XFT?
<iqubic> I don't
<iqubic> After doing a quick search I can say with 100% certainty that emacs uses XFT.
<iqubic> Weird: fc-list | grep -i "knack" is returning nothing at all.
<iqubic> It seems like updating to 18.09 seemingly uninstalled this font.
<iqubic> The hell?
<ottidmes> maybe weird, but it should not impact whether it works, I get bogus stuff there too and my fonts work fine
<iqubic> Really?
<iqubic> Alright, so I just did the sensible thing, and asked Firefox to tell me what fonts it could find.
<ottidmes> I distinctly remember doing some similar command and getting only dejavufont, but now I do get the right stuff
<iqubic> Turns out that the name of the font changed at some point. Instead of listing "knack nerd font" Firefox shows "hack nerd font"
<iqubic> Let's see if emacs likes that font name.
<iqubic> Yes indeed. Emacs does like that name.
<iqubic> Problem solved.
<ottidmes> yep, was just about to say that my fc-list indeed list it as "Hack Nerd Font"
<ottidmes> mystery solved :)
<iqubic> Now on to my next question: Everytime I run "nixos-update switch" I get a new entry in my systemd-boot list. Is there a way to delete all versions except the current one, and clear out the list I see on the boot loader menu?
<gchristensen> sudo nix-collect-garbage -d; sudo nixos-rebuild switch
<ottidmes> iqubic: if you dont mind losing all those previous generations, then ^
<gchristensen> sudo nix-collect-garbage -d; sudo nixos-rebuild boot, even
<iqubic> ottidmes: Is it possible to just keep the current + the last three generations?
<ottidmes> I would say: sudo nixos-rebuild boot, reboot, after reboot nix-collect-garbage -d, or it might hang on too stuff, no?
<ottidmes> iqubic: it is, check the manpage of nix-collect-garbage or google it (sure should be in a FAQ / wiki somewhere)
<iqubic> What does the boot parameter do, and how does it differ from switch?
<ottidmes> iqubic: man nixos-rebuild ;)
<ottidmes> iqubic: but in short, switch tries to apply the configuration right away, boot will just change the default generation of the bootloader to the newly build
<iqubic> Ah. I see.
<ottidmes> iqubic: dry-build (try to build the plan of building the system, i.e. the deriviation), test (apply the changes of the new configuration, but do not link it in the bootloader yet), switch and boot I just explained
<iqubic> So if I did test, then boot, that would be similar to just doing switch?
<ottidmes> so if I am just refactoring stuff in my configuration, I go with dry-build, if I am experimenting I go with test, and I go with boot when to see the changes I have to reboot anyway (bootloader/hardware stuff), otherwise switch it is for me
<ottidmes> iqubic: yes
logzet_ has joined #nixos
logzet has quit [Ping timeout: 268 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0e8e02e6863 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Supersonic has joined #nixos
<ivan> I have a non-root single user nix on debian and see `warning: substituter 'http://icvm.wg:8080' does not have a valid signature for path '...'` for everything when installing from my nix-serve cache (on a nixos), what am I doing wrong?
<ivan> server nix-serve is pointed at the secret key and the .narinfo files have Sigs
ng0 has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
<ottidmes> ivan: I think this part of the log is relevant to you: https://logs.nix.samueldr.com/nixos/2018-03-05#981426;
<{^_^}> [nixpkgs] @dtzWill opened pull request #51687 → libgpgerror: 1.32 -> 1.33 → https://git.io/fpS8j
<{^_^}> [nixpkgs] @dtzWill opened pull request #51688 → nettle: 3.4 -> 3.4.1 (security) → https://git.io/fpS4f
<{^_^}> [nixpkgs] @dtzWill opened pull request #51689 → elementary-icon-theme: 5.0 -> 5.0.1 → https://git.io/fpS4J
<ottidmes> infinisil: feature request for the bot (well... related to it), would be nice if I could query the definitions in it outside of IRC as well, maybe something like options.html/packages.html on nixos.org, it could reach more people that way (although I guess not all definitions are like mini-FAQs)
<ivan> ottidmes: thanks. I ran that on the server but still see the same
<{^_^}> [nixpkgs] @dtzWill opened pull request #51690 → certbot, acme: 0.24.0 -> 0.29.1 → https://git.io/fpS4t
<{^_^}> [nixpkgs] @dtzWill opened pull request #51691 → vnstat: 1.18 -> 2.1 → https://git.io/fpS4Y
<{^_^}> [nixpkgs] @dtzWill opened pull request #51692 → mpop: 1.2.6 -> 1.4.0 → https://git.io/fpS43
<ottidmes> ivan: also make sure you have the right nix settings and keys, but I am not the best person to ask about it, did manage to get it working once, but ran into different issues and havent used it since
<{^_^}> [nixpkgs] @dtzWill opened pull request #51693 → msmtp: 1.6.8 -> 1.8.0 → https://git.io/fpS4n
<ivan> ah, --substituters ssh://at@icvm.wg is working now, but I'd rather have nix-serve
<{^_^}> [nixpkgs] @dtzWill opened pull request #51694 → hedgewars: 0.9.24.1 -> 0.9.25 → https://git.io/fpS4l
endformationage has joined #nixos
<infinisil> ottidmes: Yeah I've been looking into this a bit recently
<{^_^}> [nixpkgs] @dtzWill opened pull request #51695 → aminal: 0.7.8 -> 0.7.12 → https://git.io/fpS46
<{^_^}> [nixpkgs] @veprbl merged pull request #49918 → agda: use writeShellScriptbin instead of writeScriptBin → https://git.io/fpkkY
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fpS4i
<{^_^}> [nixpkgs] @dtzWill opened pull request #51696 → elfinfo: 0.7.4 -> 0.7.5 → https://git.io/fpS4X
<{^_^}> [nixpkgs] @dtzWill opened pull request #51697 → dbus: 1.12.10 -> 1.12.12 → https://git.io/fpS4y
<{^_^}> [nixpkgs] @dtzWill opened pull request #51698 → mercurial: 4.8 -> 4.8.1 → https://git.io/fpS49
<{^_^}> [nixpkgs] @dtzWill opened pull request #51699 → ###### Motivation for this change → https://git.io/fpS4H
<{^_^}> [nixpkgs] @dtzWill opened pull request #51700 → i2c-tools: 4.0 -> 4.1 → https://git.io/fpS45
<{^_^}> [nixpkgs] @dtzWill opened pull request #51701 → efivar: 36 -> 37 → https://git.io/fpS4b
<{^_^}> [nixpkgs] @dtzWill opened pull request #51702 → wayland-protocols: 1.16 -> 1.17 → https://git.io/fpS4N
logzet_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #51703 → terminology: 1.2.1 -> 1.3.0 → https://git.io/fpSBf
<{^_^}> [nixpkgs] @dtzWill opened pull request #51704 → purple-hangouts: 2018-03-28 -> 2018-12-02 → https://git.io/fpSBI
<{^_^}> [nixpkgs] @dtzWill opened pull request #51705 → xf86videointel: 2017-10-19 -> 2018-12-03 → https://git.io/fpSBt
<{^_^}> [nixpkgs] @dtzWill opened pull request #51706 → sysvinit: 2.89 -> 2.93 → https://git.io/fpSBY
<{^_^}> [nixpkgs] @dtzWill opened pull request #51707 → sssd: 1.16.2 -> 1.16.3 (security!) → https://git.io/fpSBO
<{^_^}> [nixpkgs] @dtzWill opened pull request #51708 → cryptsetup: 2.0.5 -> 2.0.6 → https://git.io/fpSBs
<{^_^}> [nixpkgs] @dtzWill opened pull request #51709 → vivid: init at 0.4.0 → https://git.io/fpSBc
<{^_^}> [nixpkgs] @dtzWill opened pull request #51710 → packagekit: 1.1.11 -> 1.1.12 → https://git.io/fpSBC
<{^_^}> [nixpkgs] @worldofpeace opened pull request #51711 → backport vivaldi updates from unstable → https://git.io/fpSBW
<{^_^}> [nixpkgs] @dtzWill opened pull request #51712 → mercurial: install zsh completions → https://git.io/fpSB4
<gchristensen> holy guacamole dtz
iqubic has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dtzWill opened pull request #51713 → xpad: 5.1.0 -> 5.2.0 → https://git.io/fpSBu
<{^_^}> [nixpkgs] @dtzWill opened pull request #51714 → tootle: hicolor-icon-theme dep, clear cache → https://git.io/fpSB2
<{^_^}> [nixpkgs] @dtzWill opened pull request #51715 → libmicrohttpd: 0.9.60 -> 0.9.61 → https://git.io/fpSB6
<{^_^}> [nixpkgs] @dtzWill opened pull request #51716 → lighttpd: 1.4.51 -> 1.4.52 → https://git.io/fpSBP
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fpSBy
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51689 → elementary-icon-theme: 5.0 -> 5.0.1 → https://git.io/fpS4J
<{^_^}> [nixpkgs] @dtzWill opened pull request #51717 → remind: 3.1.15 -> 3.1.16, new home, cleanup → https://git.io/fpSBH
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
worldofpeace has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
worldofpeace has quit [Ping timeout: 250 seconds]
<dtz> BACK IN MY PULL REQUESTS! lol deadline got moved so I was able to go through backlog xD
<jophish> Ericson2314: sphalerite, I think that lots of problems would go away is Template Haskell were executed in some kind of VM
<jophish> There are lots of smart cookies behind Haskell, and I'm sure TH ended up the way it did because of good reasons
<ldlework> if you're making a list of things how do you conditionally include an item?
Synthetica has quit [Quit: Connection closed for inactivity]
<Ericson2314> Jophish hahaha you are too nice I say sheer ignorance
<Ericson2314> Or lack of for site
<ldlework> i also forgot how you can load text from a file and still get the ${ } substitution power
<ldlework> gotta start writing some of this down
<gchristensen> > [ "my" "list" ] ++ (lib.optional true "hi")
<{^_^}> [ "my" "list" "hi" ]
<CodeKiwi> For site...
<ldlework> thanks
<gchristensen> and ${ .. } with another file? don't know about that, but check out substituteAllInPlace in nixos.org/nixpkgs/manual
<ldlework> gchristensen: nah that doesn't give you the power of strings in nixlang
<ldlework> like if you use ${pkgs.pgrep} in a string, then you depend on that package
johann__ has quit [Ping timeout: 252 seconds]
<ldlework> and the store location is replaced
<ldlework> there's a way...
<gchristensen> yeah, I just can't think of what you're thinking about
<ldlework> but you do know what I mean?
<gchristensen> I understand what you're looking for, yeah, but I'm not sure I know of a way to do it
* ldlework nods
<ldlework> it would be really useful
<ldlework> because you want to keep shell code in .sh files so your editor has full support
<ldlework> and it keeps the parent file much more clean
<gchristensen> yah, I use a lot of substituteAllInPlace :P
<ldlework> ah so just inject pkgs.pgrep into the script via like @pgrep@ ?
<develCuy> ottidmes: basilisk is another fork of firefox, maintained by the same team of palemoon, so they both live in the same source code
johann__ has joined #nixos
<ldlework> gchristensen: i don't understand the second one
<ottidmes> develCuy: in that case the only thing left to try is removing export MOZILLA_OFFICIAL=1 or patching the manifest to just remove the line for that file (hacky)
<ldlework> oh now i do
<ldlework> gchristensen: thanks
<gchristensen> it calls the mutate function on https://github.com/grahamc/nixos-config/blob/master/packages/gitconfig/gitconfig substituting @gitattributes@ and @gitignore@ nd @gnupg@
<ldlework> the github syntax highlighting threw me off for a second
<ldlework> yeah!
<develCuy> ottidmes: ok, let's try it
<ldlework> i was like "what's the mutate keyword do..?"
<gchristensen> :D
<gchristensen> I wish I could have it automatically shellcheck shell scripts, but ... eh.
fusion809 has joined #nixos
<ldlework> shellcheck?
<gchristensen> its a static code analysis tool to yell at you for not quoting bash variables
<ottidmes> ldlework: basically a linter for shell, its awesome, like hlint for Haskell
Radivarig has quit [Ping timeout: 250 seconds]
<ldlework> gchristensen: ok so this mutate thing is actually just a general nix helper you have
<gchristensen> yeah
<ldlework> neato
* ldlework steals
<ldlework> i kinda wish there were lib projects
<gchristensen> me too
<ldlework> i feel like infinisil is the guy for the job
<ldlework> :)
<ottidmes> define lib projects? like people would have repos of lib functions for nix?
<gchristensen> shlevy and niksnut have been hacking on require.nix for something like that
<ldlework> gchristensen: last question, when you "inherit gnupg" that is basically going to set gnupg = what'd you'd get from "${pkgs.gnupg}" yes?
<gchristensen> yep!
<ldlework> ottidmes: a really nice cultivated community stdlib yeah
<gchristensen> > let foo = "Hi"; in ({ inherit foo; } == { foo = foo; })
<{^_^}> true
<ottidmes> ldlework: I am working on a pull request to make lib overlayable
<ldlework> gchristensen: sure i just wasn't sure what the value of "gnupg" being passed in was
<ldlework> thanks
<gchristensen> ah, right, yeah
<ldlework> ottidmes: hmm, i've had problems writing certain kinds of nixlang functions to abstract things I want to do but are dealing with concerns so early in the resolve cycle that infinite recursion errors are techinically impossible
<ldlework> so (import ./thefile.nix); is nessecary
<ldlework> to me the issue is really subtle so can't quite remember the exact details of what i was doing when coming across this but i was basically assured there's a small subset of abstractions/helpers that deal with things that can't be put into an overlay
<ldlework> i wonder if what you're doing helps with that at all
<ldlework> i would like to eventually one day not have any random import statements of utility code in my modules
<ldlework> but i vaugely understand it is a intrinsic chicken-egg thing
<ottidmes> ldlework: I mean a dedicated overlay for lib, so you would not have issues with inf-rec, also I solved an issue with regards to module arguments and inf-rec, so I can finally pass stuff as arguments to my modules without constant fear of inf-rec
<ldlework> that sounds lovely
<ottidmes> I can now have config.networking.hostName being used to determine my nixpkgs overlays and all kinds of things, while before that would give infinite recursion
<ottidmes> ldlework: I wanted to make my own lib, but whenever I tried, I ran into inf-rec, custom module argument, inf-rec, pkgs.lib, inf-rec, so I settled with direct imports, which always work, but now I can just remove them
<ldlework> ottidmes: yeah i would love to see that land
jtojnar has quit [Quit: jtojnar]
<gchristensen> nice
<ottidmes> the trick is, nixpkgs is part of the same attrset that defines custom module arguments, but this means that in order to evaluate that module arguments attrset, it will also evaluate the pkgs attribute far enough (even though being lazy), to cause problems, meaning you cannot have any module attribute that determines what pkgs will be
aleph- has quit [Ping timeout: 245 seconds]
<ldlework> what happens when you want some lib code to refer to pkgs though?!
<ottidmes> while with a lib, you tend to do: with lib; and thus if you than define something like nixpkgs.overlays in that config with that with lib; at the top, nixpkgs.overlays will have it as a dependency
<ottidmes> ldlework: than you will have to pass it pkgs as an argument (happens all the time)
<ldlework> right
<ldlework> ottidmes: how far along is your pr
<ottidmes> ldlework: I should probably split it in two PRs, one for the lib overlays and one for the inf-rec args issue, the latter is quite simple, but there is a bit I am not quite certain for (but thats OK for a initial PR I guess)
<ottidmes> * quite certain about
lassulus_ has joined #nixos
<ottidmes> either I hard code a check for "pkgs" and "pkgs_i686", or I create a separate args attrset for them
<ottidmes> the former is not flexible, you might have other args that you would want seperate, and the latter does cause an extra _module option in every module that exists
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-4 « monero: change desktop shortcut name to Monero »: https://git.io/fpS0p
Mr_Keyser_Soze has joined #nixos
<ottidmes> ldlework: I have to think things through more properly, I have some ideas on how to improve upon it further, but if you really like it, I could push my local stable branch
<ldlework> ottidmes: i don't want to move my config to a new system until it's in but i am very interested in this feature
<ldlework> i bet infinisil would be interested too
<ldlework> he thought a lot about the problem before
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #51718 → monero: change desktop shortcut name to Monero → https://git.io/fpSET
<ldlework> i looked for an attrset -> list but didn't find one in the attrset or list module
<ldlework> there's a listToAttrs
<ottidmes> mapAttrsToList nameValuePair, I guess
<ottidmes> > mapAttrsToList nameValuePair { foo = 5; }
<{^_^}> [ <CODE> ]
<ottidmes> > :p mapAttrsToList nameValuePair { foo = 5; }
<{^_^}> Unknown command: p
<ottidmes> ok ok: [ { name = "foo"; value = 5; } ]
<fusion809> Hello good folks, I'm doing something I wouldn't have had the guts to a mere week ago, creating my own package. It is for a Java-based chemistry package I am quite acquainted with, the Marvin Suite. This is what I have so far: https://gist.github.com/d214aaaeb64bb441c99bf11e1c3fda7f. The problem facing me atm is that ~/.nix-profile/opt/chemaxon/marvinsuite/MarvinSketch is returning a Java error I have no idea how to solve:
<ldlework> > let a = { a = 1; b = 2; c = 3; }; in pkgs.lib.foldl (x: xs: [x] ++ xs) [] (builtins.attrNames a)
<{^_^}> value is a string while a list was expected, at (string):210:61
<ldlework> but why
<ottidmes> got a better idea than a seperate attrset and or hardcoded names, an ordering mechanism similar like activation scripts has, because the main problem is the order of trying to evaluate the attrsets
<ldlework> ottidmes: any idea where i've gone wrong here
<ottidmes> what do you want to achieve?
<ldlework> oh foldr works
<ldlework> lol
<ldlework> wtf
<ottidmes> argument order
<ldlework> it should just traverse the list of attrNames in reverse order
<ldlework> why does it break on foldl
<ottidmes> foldr has the accumulator argument at the right
<ldlework> eah my accumulator is xs
<ldlework> it's adding [x] to xs
<ottidmes> (xs: x: [x] ++ xs)
<ottidmes> for foldl
<ldlework> oh ok I got you
<ldlework> thanks
<ldlework> :p let a = { a = 1; b = 2; c = 3; }; in pkgs.lib.foldr (x: xs: [[x (builtins.getAttr x a)]] ++ xs) [] (builtins.attrNames a)
<ldlework> [ [ "a" 1 ] [ "b" 2 ] [ "c" 3 ] ]
<ldlework> lol
<ldlework> now i can use this in replaceStrings
<ottidmes> your builtins.getAttr can also be: a.${x}
<ldlework> nice
<ldlework> now i need to unzip this list into two lists
<ldlework> i guess i could just get the attrNames and attrValues
<ldlework> duh
<ldlework> lol
<ottidmes> ldlework: also: mapAttrsToList (name: value: [ name value ]) { a = 1; b = 2; c = 3; }
<ottidmes> right, if that was your goal, you should have gone with that
endformationage has quit [Ping timeout: 240 seconds]
<ottidmes> fusion809: seems you need to forward it certain X11 info: https://serverfault.com/questions/894629/x11-display-error-when-start-gigaspace-ui-rhel-6-9
<fusion809> X.Org is working fine, I'm able to start other apps (e.g. I just started Atom from this same terminal window).
<fusion809> What sort of info would I pass to it?
init_6 has joined #nixos
<ottidmes> fusion809: maybe its not getting DISPLAY or some reason?
hakujin has quit [Ping timeout: 245 seconds]
<fusion809> OK, for some reason now my package isn't even being installed, when I run nix-env -f /path/to/nixpkgs -iA marvin it says it's installing it but ~/.nix-profile/opt/chemaxon doesn't exist afterwards. My default.nix file is https://gist.github.com/dc84af90413703a6cd04506b226bd1a0. So I just don't get it...
siraben has joined #nixos
<siraben> Does running "nix-env -i riot-web" not work for anyone?
<ldlework> I've got a traceback at this line, saying that the option "loadScript" doesn't exist, but it totally does? https://gist.github.com/dustinlacewell/820326e7f81ffc672fe5cc387d807427#file-pywal-nix-L21
<siraben> It says it symlinked eveything but it's not showing up in gnome
<ldlework> siraben: does the command not work
<ldlework> or the resulting software
<siraben> ldlework: The software
<siraben> "installing 'riot-web-0.17.6'"
<siraben> It suceeds, no problem.
<ldlework> and?
<{^_^}> [nixpkgs] @marsam opened pull request #51719 → postgresql: Build with icu support → https://git.io/fpSEi
<siraben> Well I can't find a way to run riot
<ldlework> how is it normally run?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1f739a8810b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tejing has quit [Ping timeout: 256 seconds]
<ottidmes> fusion809: its probably because not all directories are linked to your profile, I believe only /bin /lib and /share
<fusion809> It was linked before.
<fusion809> After I ran that command the first few times it was there
<fusion809> It's only now, after running it several times, while adjusting the file to make it work, that it doesn't exist
Mr_Keyser_Soze has quit [Remote host closed the connection]
<ottidmes> I dont use nix-env myself, so I have no experience with potential gotchas there, I would just use nix-shell -p marvin instead
Mr_Keyser_Soze has joined #nixos
<fusion809> OK, well I tried your command and I get the error: error: undefined variable 'marvin' at (string):1:94
<fusion809> That was from /path/to/nixpkgs
<fusion809> and from /path/to/marvin
<ottidmes> I assumed you would have an overlay defining marvin or directly in your nixpkgs
<Ralith> ldlework: if you've got a build for riot-web 0.17.6 that works reliably, please share
Rusty1 has quit [Quit: Konversation terminated!]
<fusion809> pkgs/top-level/all-packages.nix does include a line mentioning marvin
<ldlework> Ralith: i.. don't
<fusion809> if that's what you're referring to
<ldlework> i'm actually in the process of building riot-electron-nix though lol
<Ralith> ldlework: in that case, know that others know your pain
<ldlework> does riot-electron-nix work?
<Ralith> sometimes!
<ldlework> i don't know anything about this software
<ottidmes> fusion809: I am not sure about your setup, you probably need to fix your NIX_PATH to reflect that you have a nixpkgs checkout now, so try: NIX_PATH=nixpkgs=/path/to/nixpkgs nix-shell -p marvin
<Ralith> I'm currently talking to you through a 0.17.7 build that I have entirely failed to reproduce
<ldlework> lol
<Ralith> npm is a disaster
<ldlework> jeeze this takes forever to build
<fusion809> How do you build the package in the shell?
<Ralith> I'm probably going to ditch riot for fractal wholesale once they unfuck their cache
<fusion809> nix-build?
<ldlework> just use weechat like everyone else
<Ralith> it is pretty remarkable how an interpreted language has the slowest build process of anything
<ldlework> lollll
<Ralith> javascript: for the worst of all worlds
<ottidmes> NIX_PATH=nixpkgs=/path/to/nixpkgs nix-build '<nixpkgs>' --attr marvin
<ldlework> i've kinda already lost interest in helping siraben to see if this finishes building
<ldlework> :P
<ldlework> this thing looks like it's gonna fail because of some olm library
<ldlework> npm ERR! fetch failed https://matrix.org/packages/npm/olm/olm-2.2.1.tgz
<ldlework> npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND matrix.org matrix.org:443
<ldlework> can someone help me with my issue?
<siraben> ldlework: "error: selector 'riot-electron-nix' matches no derivations"
<ldlework> I've got a traceback at this line, saying that the option "loadScript" doesn't exist, but it totally does? https://gist.github.com/dustinlacewell/820326e7f81ffc672fe5cc387d807427#file-pywal-nix-L21
<ottidmes> most the times I tried to package it properly through Nix I gave up and just installed it through npm or yarn...
<ldlework> siraben: Ralith it failed,
<ldlework> > riot-web@0.17.2 build:bundle /nix/store/4mwmv4nyz8bp9mljrhd9xwdhivp84piy-node-riot-web-0.17.2/lib/node_modules/riot-web
<{^_^}> error: syntax error, unexpected FLOAT, expecting '{', at (string):210:10
<ldlework> > cross-env NODE_ENV=production webpack-cli -p --progress --bail --mode production
<{^_^}> error: syntax error, unexpected '=', expecting ')', at (string):210:19
<ldlework> sh: /nix/store/4mwmv4nyz8bp9mljrhd9xwdhivp84piy-node-riot-web-0.17.2/lib/node_modules/riot-web/node_modules/.bin/cross-env: /usr/bin/env: bad interpreter: No such file or directory
<ldlework> ottidmes: can you take a look at my gist?
<ldlework> i'm stumped
<ottidmes> ldlework: you want types.str anyway and if that does not fix it, you probably need an explicit default
<ldlework> hmm thanks
<ottidmes> yep, you need a default
<ottidmes> I can see you have been looking at infinisil's nixos config repo :P
Mr_Keyser_Soze has quit [Remote host closed the connection]
<ldlework> ottidmes: nope
<ldlework> why do you say that
<ottidmes> ldlework: str = normal string, only one value, string = auto concat string, setting it with first "foo" and then "bar" would result in "foobar", which you rarely want, instead you then probably want either lines (newline seperated), commas, or envVar (: seperated) as type
<ldlework> i need a auto concat string
<ldlework> so i'll go back to types.string
<ldlework> oh or lines
<ottidmes> config.mine.workstation, I've only seen that mine convention in his repo so far
<ottidmes> definitely lines
<ldlework> ottidmes: oh i picked that up from them indeed
<ottidmes> if you want concat, the default and generally most useful choice is lines
<ldlework> ottidmes: i've never gone through their config though, we've simply talked for many many hours
<ldlework> yeah i'll go with lines thanks
dave_uy has quit [Quit: The Lounge - https://thelounge.github.io]
<{^_^}> [nixpkgs] @jb55 closed pull request #50531 → nixos/clightning: init module → https://git.io/fpctj
dave_uy has joined #nixos
<ldlework> no idea what's wrong
<ldlework> i wish it would tell me which value is a set where a string is expected...
palo1 has joined #nixos
<ottidmes> I agree, its not obvious
rsully has quit [Quit: rsully]
<ottidmes> you sure about editing the right file
<ottidmes> got to be that
<ldlework> ah attrVals vs attrValues
<ottidmes> cause it works for me
<ldlework> damn that's subtle
<ottidmes> lol, but the gisted version worked XD
<ldlework> it shouldn't
<ottidmes> why not?
<ldlework> it returns an attrset
<ldlework> instead of a list
<ottidmes> got me: "foo/bin/pgrep -lf qutebrowser\nif [ $? -eq 0 ]; then\n@qutebrowser@/bin/qutebrowser :config-source\nfi\n"
palo has quit [Ping timeout: 250 seconds]
<fusion809> I've tried unset DISPLAY and running that Java executable in my package, but I get that error. Not sure what that link (http://protege-project.136.n4.nabble.com/Protege-ExceptionInInitializerError-td4484464.html) was meant to be telling me (I'm not all that Java knowledgeable so some of the jargon escaped me). Tried setting DISPLAY to ":0" too and that didn't help (or change the error).
hakujin has joined #nixos
<ottidmes> when testing with { procps = "foo"; }, but ah well if its fixed for you, I aint complaining!
<siraben> Huh how do I install texlive-full from my configuration.nix?
<ldlework> now i get "value is a functions instead of a list"
<ldlework> wtff
<ldlework> siraben: environment.systemPackages
<ottidmes> ldlework: probably not enough arguments given somewhere
<ldlework> oh attrVals wants a list of the attrs
<ottidmes> ldlework: just try going step by step: nix repl '<nixpkgs/lib>'
<ldlework> that you want the values from
<ldlework> jeeze
<ldlework> i'll just map
<ldlework> lol
<ottidmes> ldlework: attrValues does exist, why you keep saying attrVals? maybe because I have with builtins defined in my repl/lib and attrValues is a builtin
<ldlework> hmm
<ottidmes> siraben: I have: environment.systemPackages = with pkgs; [ texlive.combined.scheme-full ];
<ottidmes> fusion809: I would suggest searching for other Java graphical apps in nixpkgs and see if you can see something that might help, I have never packaged a Java app for Nix, so not sure about the gotchas
hakujin has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @lionello opened pull request #51720 → ldc: 1.11.0 -> 1.12.0 → https://git.io/fpSua
<ottidmes> ldlework: ah thats your bug, you need attrValues
freeman42y has quit [Ping timeout: 252 seconds]
<ottidmes> ldlework: I just checked the definitions, attrVals [ "list" "of" "attrset" "names" ] { list = 1; ...etc... }, so in your case you got a partially applied function (not all arguments given)
<fusion809> ottidmes: Thanks for trying. I've looked at other Java packages (hence why I knew to import jre), but I think for now I ought to leave Java packaging to the pros. FTW I've package all the other OpenRA mods I managed to successfully package in the OBS in my nixpkgs fork thanks to your efforts in making openra-ura.
<ottidmes> ldlework: which is a feature, but can cause these bugs if you are not aware, you probably would have preferred it yelling that you used the wrong amount of arguments, but its useful for mapping functions over lists and such
<fusion809> ottidmes: so thanks again.
<ottidmes> fusion809: did you see my questions, instead of copy pasting my package for each mod, we could probably abstract over them
<fusion809> ottidmes: I recall you mentioning that possibility, but I didn't see any specific questions (at least not that I recall).
<ottidmes> fusion809: "the current setup assumes a custom engine with a custom mod, but are there instances of multiple custom mods for the same engine fork?"
<fusion809> Same engine fork, no, but the original engine, yes.
<ottidmes> fusion809: but I only saw one that was based on the original engine, if thats really the case, than I could use the same abstraction for all of them, but just have a flag for whether to keep the existing mods or whether to remove them
vidbina has joined #nixos
<ottidmes> fusion809: then the one mod based on the original engine could act as a full replacement of the openra package now
<CodeKiwi> Is nix always unbearably slow to do anything or is there something wrong with my computer
<ldlework> ottidmes: apparently it is because "pkgs.procps" is a set not a string
<ldlework> so i need to do "${pkgs.procps}" instead
<ldlework> i guess
<ottidmes> CodeKiwi: depends on what you are doing, evaluating large portions of Nix is slow, most slowdowns are IO related in practice though (outside of evaluating the whole of nixpkgs or multiple configuration, those take long)
<fusion809> ottidmes: I know 6 mods that use the original engine.
<fusion809> unofficial mods that is, discounting the four provided by the engine repo (if you're thinking there's three, it's because the fourth one, Tiberian Sun, is experimental and not provided by the openra package)
<fusion809> Must admit I didn't fully follow ya ottidmes. But yes, there is a great deal of consistency across the mod default.nix files, generally speaking just the repo name and mod name (e.g. ura for uRA, raclassic for RA Classic, ra2 for Red Alert 2, etc.)
<fusion809> differ
<ottidmes> fusion809: ok, I guess I will have to take acount more than one mod than, it just that the current package builds the engine together with the mod, I am not sure to just build the mod, or if thats even possible
<CodeKiwi> For example when it extracts a ghc it probably takes 20 minutes but me extracting one takes 15 seconds.
<fusion809> I don't think it is. Then again, I've never tried, as I've always wanted a simple package.
<fusion809> CodeKiwi: Nix is naturally a bit slow, but for me it is acceptably slow. If you want to speed it up you could disable checks, although to my understanding this is not recommended.
<CodeKiwi> A nix collect garbage i did earlier was 35 mins
<ottidmes> CodeKiwi: not sure what you mean with "a ghc" but if you mean an archive, that should not be normal, no, if you can get something reproducable, maybe create an issue?
<ottidmes> CodeKiwi: thats not normal, maybe a bad partition for /nix/store or some such?
<ldlework> home.packages = [
<ldlework> loadScript
<ldlework> ]; # ++ (lib.optional (cfg.loadScript != "") [loadScript]);
<ldlework> When I swap these lines I get some crazy error
<ldlework> it works this way
<ldlework> but not if i try to use the optional
<ottidmes> ldlework: gist the error and snippets
vidbina has quit [Ping timeout: 240 seconds]
<ottidmes> fusion809: hmm, in that case its simple, but inefficient, then again, building the engine is done in notime, so its no real problem, I will make that abstraction then
irdr has joined #nixos
Mateon3 has joined #nixos
<ldlework> ahh
<ottidmes> ahh
<ldlework> the value doesn't need to be wrapped in a list
<ottidmes> optionals
<ottidmes> optional
EarlDeLaWarr has joined #nixos
<ottidmes> ldlework: right
Mateon1 has quit [Ping timeout: 246 seconds]
<ottidmes> ldlework: or rather, musnt!
Mateon3 is now known as Mateon1
<CodeKiwi> ottidmes: maybe
<ldlework> ottidmes: it seems with lines, the default gets overritten
<ottidmes> ldlework: has nothing to do with lines, but with priorities
rawreraw has joined #nixos
<ottidmes> ldlework: it merges on the same priority
<ottidmes> ldlework: but highest priority wins
<ldlework> how do i provide a default
<ldlework> that sticks around
<ottidmes> normal assignment
<ottidmes> via config
<ottidmes> inside the module that defines the options for it
<ldlework> hmm ok
vidbina has joined #nixos
<ottidmes> ldlework: for examples, check any module that defines and extraConfig
<ldlework> ottidmes: hmm this puts my lines at the end
<ldlework> lol
<ldlework> i need the defaults at the top
<ldlework> it's a script
<ottidmes> mkBefore
<ldlework> I see
<ldlework> nice
<{^_^}> [nixpkgs] @jb55 reopened pull request #50531 → nixos/clightning: init module → https://git.io/fpctj
rawreraw has quit [Quit: WeeChat 2.3]
pie__ has joined #nixos
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
hedning has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simukis has joined #nixos
hamishmack has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
rawreraw has joined #nixos
<typetetris> It looks like my understanding is still lacking: I have the following nix expression: https://gist.github.com/typetetris/90f040f4090d1d93d35c73b41292c28f and here I added libssh2, krb5 and openssl_1_0_2 because the linker in a build with clang complained, that there are unresolved symbols in libcurl and libpam. Shouldn't nix pull in the dependencies transitively / recursively?
crmlt has joined #nixos
<typetetris> Btw: I open a nix-shell with that file and use NIX_CLFAGS_COMPILE for compiling and NIX_LDFLAGS for the linker, while adding some `-lssh2` flags and stuff manually.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51695 → aminal: 0.7.8 -> 0.7.12 → https://git.io/fpS46
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSgD
dhess has joined #nixos
Myrl-saki is now known as Nyaa-saki
Nyaa-saki is now known as Myrl-saki
<CodeKiwi> Could auto zfs snapshots be part of my problem
elgoosy has joined #nixos
<CodeKiwi> Or misconfigured zfs or maybe I need to ata secure erase it...
<CodeKiwi> I’ve been fighting this thing for days only just a few hours ago got it to stop throwing fits about the network curl xz crap :|
<CodeKiwi> And dmesg is showing cpu throttling frequently...
<CodeKiwi> I’m like really starting to regret this endeavor heh :(
Growpotkin has quit [Quit: WeeChat 2.3]
<yegortimoshenko> CodeKiwi: ZFS performance starts to decline rapidly at about 15% free space and below
<CodeKiwi> I have 50% free space but it’s been like this even before that. But the ssd has been a lot more full before so I’m wondering if that’s affecting it
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51691 → vnstat: 1.18 -> 2.1 → https://git.io/fpS4Y
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSa4
<ottidmes> on my btrfs I am having constant low space (< 12G most of the time), but works decently enough, I am planning to use ZFS on next machines, this makes me doubt that a bit again
<CodeKiwi> I don’t have typical problems
<CodeKiwi> The thing that’s weird is that other things seem to work fine so I don’t know that it’s zfs or nix and nix has always been slow for me even in vms
<CodeKiwi> I void warranties (tm)
<CodeKiwi> Previously the ssd was in a core storage fusion drive with an sd card. And boot camp...totally not supported
<CodeKiwi> Apple store employees hate me
erratic has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
<CodeKiwi> (Probably not really but we are on a first name basis)
<{^_^}> [nixpkgs] @tomberek opened pull request #51721 → gawkextlib: init at unstable → https://git.io/fpSai
<CodeKiwi> ottidmes: I have zfs on almost all of my other computers and some external hard drives (working on converting most of the rest to zfs) mostly no complaints I like it
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51696 → elfinfo: 0.7.4 -> 0.7.5 → https://git.io/fpS4X
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSa9
<CodeKiwi> That I want to use it zfs is one of the primary reasons I’m not just using a vm on macOS...anymore/yet
<ottidmes> ok, then you must really like it, that is how I feel about NixOS ;) all my computers/servers are running it
<CodeKiwi> I’m trying to like nixos >.>
drakonis_ has quit [Ping timeout: 272 seconds]
<CodeKiwi> It’s on a few machines and it’s the only one I’ve ever put on my mbp over macOS ...
hakujin has joined #nixos
tobiasBora has quit [Ping timeout: 245 seconds]
hakujin has quit [Ping timeout: 240 seconds]
<yegortimoshenko> CodeKiwi: i'd recommend against zfs on linux, btw. i've had four data loss occurences (all on single drive laptops) and one kernel oops coming from zfs module on server with 2 ssds in raid1 that caused some downtime
Ariakenom has joined #nixos
<CodeKiwi> Ouch
crmlt has quit [Ping timeout: 246 seconds]
<CodeKiwi> Do you know why they happened?
crmlt has joined #nixos
<yegortimoshenko> wrt data loss, i'm still not sure. i think, the most likely reason is power management getting in the way somehow.
<yegortimoshenko> but that is unlikely to be hardware failure: it happened to three different macbook models over course of two months. with one of the laptops, it happened twice. about year and a half ago
<yegortimoshenko> nixos on packet.net used to default to zfs, now they opt for mdadm+ext4 instead
<yegortimoshenko> i am looking forward to https://bcachefs.org
<CodeKiwi> I luckily haven’t had problems yet but I admit to nit trusting anything and expect everything to fail that’s why I have backups of backups of backups >.>
<CodeKiwi> And not everything is on the same setup
<CodeKiwi> Though tbh sometimes I want to just delete everything and start over heh
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #51718 → monero: change desktop item name to Monero → https://git.io/fpSET
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/fpSVu
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-4: https://git.io/fpSVg
init_6 has joined #nixos
<CodeKiwi> yegortimoshenko: have you had better luck with it on not Linux
Radivarig has joined #nixos
fusion809 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/819aded337a (from 56 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @uri-canva opened pull request #51723 → bazel-watcher: 0.5.0 -> 0.9.0 → https://git.io/fpSV6
<yegortimoshenko> CodeKiwi: i used to have a freebsd nas with root on zfs, it worked just fine. they maintain it in tree, so that makes sense
fusion809 has joined #nixos
<CodeKiwi> Does nix work on freebsd
<yegortimoshenko> nah, that was abandoned long time ago
<CodeKiwi> :(
<yegortimoshenko> have you tried btrfs?
<CodeKiwi> Not really
<yegortimoshenko> if you just want CoW snapshots on a laptop, that works (see `services.snapper`)
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<CodeKiwi> Unfortunately what I want only exists in zfs afaik and even then is risky... primarily; native encryption, compression, volumes and raid that works on Linux and MacOS without too much hassle...
<CodeKiwi> And yes I realize these are new features and I should expect failures :(
alex`` has joined #nixos
oida has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to master « ghc: add new compiler version 8.6.3 »: https://git.io/fpSwo
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fpSwK
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-brick: update overrides for the latest version »: https://git.io/fpSwM
crmlt has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 268 seconds]
thc202 has joined #nixos
iyzsong-x has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51531 → bitlbee-discord: 0.4.1 -> 0.4.2 → https://git.io/fpXTh
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSrY
<siraben> Anyone here use i3-gaps in Nix? I'd like to see how they configured it.
<siraben> Also, how do I delete all the packages currently installed that are not in my configuration.nix? (like packages installed through nix-env -i...)
<tilpner> I use i3. Is your question about the gaps feature, or can I help too?
<tilpner> Try nix-env -e \*
<siraben> Yeah, how did you set yours up?
<siraben> Is i3-gaps's appearance the same as i3's default ones?
jD91mZM2 has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<tilpner> How would I know, I just said I don't use i3-gaps :D
<siraben> Ah, so how did you configure i3?
<tilpner> I define my i3 config with a NixOS module, so that I can use the module system to have largely the same config on different machines, but alter small details
<tilpner> Then I set services.xserver.windowManager.i3.config to that generated config
<tilpner> It does require rebuilding and logging out every time I make a config change, but that's a tradeoff I'm willing to make
feep has quit [Disconnected by services]
<tilpner> E.g. in one of my device configs I have windowManager.i3.config.set."$mod" = "Mod4";
<tilpner> And another might set $mod to Mod1. But the rest of the config stays the same
<tilpner> Oh, sorry, I mixed things up
<tilpner> * Then I set services.xserver.windowManager.i3.config**File** to that generated config
simukis has joined #nixos
<siraben> tilpner: what about wireless?
orivej has joined #nixos
<tilpner> I use NetworkManager with nm-applet for that
<tilpner> There's AFAIK no good declarative way to configure wireless networks (either putting your passwords into the store, or requiring manual copies of config files)
<siraben> What'd you use as your display manager?
<tilpner> sddm
<siraben> I'm confused on the difference between window manager, display manager and desktop manager
<siraben> esp. wrt. NixOS
<symphorien> the display manager is your login screen
<tilpner> windowManagers manage just that, windows, desktopManagers can do a lot more, they often bring their own applications, settings menus, etc.
<tilpner> desktopManagers usually bring their own windowManager too
<symphorien> typically, the desktop manager can provide a prompt when you connect an external monitor, a screen saver etc.
<tilpner> Gnome, KDE and Xfce are examples for desktopManagers, which are a complete package you don't have to assemble to use
<symphorien> you can use xfce + i3, though
<siraben> Sounds right for me, I don't want to do a lot of configuring yet
<siraben> Oh really?
<siraben> Can I do gnome + i3?
<symphorien> I don't think so
<siraben> Will xfce handle wireless and so on for me?
<symphorien> not wireless, but monitors, power management etc.
amir_ is now known as amir
<siraben> So how can I get the ease of i3 with the convenience of not setting stuff like wireless up?
<symphorien> use network manager
<{^_^}> [nixpkgs] @FRidh pushed 39 commits to staging-next: https://git.io/fpSoZ
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e85c1f58680 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<symphorien> install nm-applet and launch it at the start of your session
<siraben> how so?
<symphorien> one possibility among many: http://xelpaste.net/HE8pZv
<tilpner> symphorien++
<{^_^}> symphorien's karma got increased to 11
Synthetica has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51703 → terminology: 1.2.1 -> 1.3.0 → https://git.io/fpSBf
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSo8
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51432 → mtools: 4.0.21 -> 4.0.22 → https://git.io/fpK7d
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSoB
<siraben> Thanks symphorien , will try switching right now
Mateon1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed 40 commits to staging: https://git.io/fpSoi
Mateon1 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to master « julia: default to 1.0 »: https://git.io/fpSoM
<{^_^}> [nixpkgs] @Ekleog pushed commit from @periklis to master « openjpeg: fix for CVE-2018-18088 »: https://git.io/fpSoF
<{^_^}> [nixpkgs] @Ekleog pushed commit from @periklis to release-18.09 « openjpeg: fix for CVE-2018-18088 »: https://git.io/fpSop
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
<{^_^}> [nixpkgs] @Ekleog closed pull request #51104 → openjpeg: fix for CVE-2018-18088 → https://git.io/fpzEx
oldandwise has joined #nixos
<siraben> symphorien: It works now. How do I bind various keys?
<siraben> Say XF86MonBrightnessDown
<symphorien> for brightness, it should work out of the box thanks to xfce.
m0rphism has quit [Quit: WeeChat 2.2]
<siraben> Oh I need to add xfce
<siraben> Where do I add this?
<symphorien> see my link to the wiki above
<siraben> I love how I can just play around with config so easily and know that I can't break anything
<symphorien> you can do without, but then there is nothing nixos specific
ThatDocsLady has joined #nixos
<siraben> Can I still use sddm as well?
<sphalerite> siraben: well you *can* break stuff, but usually you have to be trying to break stuff to do so :p
<siraben> For the login screen
<sphalerite> yes
<siraben> it seems changing window settings needs reboots for them to have effect
<symphorien> the login screen should be largely orthogonal to you desktop
<symphorien> *your
<symphorien> for i3 config, there is a keybinding
<symphorien> for nixos config: login logout usually
<siraben> What's xterm.enable = false do?
<{^_^}> [nixpkgs] @FRidh pushed to python37 « python37: remove references to openssl-dev »: https://git.io/fpSKW
<symphorien> the default window manager is xterm, which is not a window manager and just drops you in an xterm window
<{^_^}> [nixpkgs] @FRidh opened pull request #51724 → python37: remove references to openssl-dev → https://git.io/fpSK8
<symphorien> you usually don't need this
<siraben> Ah I see.
jgt has joined #nixos
<jgt> is there a way to deploy arbitrary docker containers with NixOps?
<siraben> Ok so XFCE + i3 is working
pie__ has quit [Remote host closed the connection]
<siraben> Although the background image seems to be of my login screen
pie__ has joined #nixos
oldandwise has quit [Quit: leaving]
<siraben> Is there a way to show the current volume level on the status bar?
<{^_^}> [nixpkgs] @das-g opened pull request #51725 → geckodriver: unstable-2018-02-24 -> 0.22.0 → https://git.io/fpSKz
jtojnar has quit [Ping timeout: 268 seconds]
<symphorien> siraben: man i3status
<siraben> how to customize the background image?
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #51711 → backport vivaldi updates from unstable → https://git.io/fpSBW
<{^_^}> [nixpkgs] @flokli pushed 9 commits to release-18.09: https://git.io/fpSKw
<siraben> Hmm also, what terminal do people tend to use? I have been using gnome-terminal all along before this
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
<siraben> or emacs
jgt has quit [Ping timeout: 252 seconds]
<siraben> symphorien: so i3's config has to be stored in the user directory?
<symphorien> You can manage it with nix if you prefer. It's up to you.
<siraben> how so?
<siraben> symphorien: What terminal do you use?
<symphorien> urxvtd.
<siraben> Ah looks like I have to configure XFCE to setup the wallpaper
<symphorien> I don't manage my i3 config with nix so I can't help you much in this regard.
fusion809 has quit [Remote host closed the connection]
b has joined #nixos
fusion809 has joined #nixos
<siraben> huh I can't seem to find a way to change the desktop wallpaper, any pointers?
<{^_^}> [nixpkgs] @Ma27 merged pull request #51642 → gitAndTools.git-test: init at 1.0.4 → https://git.io/fpDM1
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpSK7
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51716 → lighttpd: 1.4.51 -> 1.4.52 → https://git.io/fpSBP
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSKb
Anton-Latukha has joined #nixos
shabius_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51713 → xpad: 5.1.0 -> 5.2.0 → https://git.io/fpSBu
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSKh
shabius has quit [Ping timeout: 252 seconds]
<siraben> symphorien: Ok I used nitrogen to get my desktop image, however my cursor shows a "waiting" symbol when I hover over it
<symphorien> I use feh. I don't know about nitrogen.
<siraben> How do I check what installed packages are untracked in my configuration.nix?
civodul has joined #nixos
vidbina has joined #nixos
haslersn has quit [Ping timeout: 256 seconds]
<symphorien> nix-env -q
fusion809 has joined #nixos
<siraben> Thanks
<siraben> symphorien: how do you get screenshots to work?
<symphorien> bind a key to your favorit screenshot tool, like xfce4-screenshooter
<siraben> symphorien: what do you use?
<siraben> How did you find out about all these things?
<symphorien> I don't have such a key bound
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
<gchristensen> siraben: probably very similar way to how you're finding out now
<siraben> gchristensen: haha, that's true.
agander_ has joined #nixos
<siraben> I am interested to know how to customize i3 with only configuration.nix, though.
agander_ is now known as agander
<symphorien> probably environment.etc."i3/config".text = ''insert your i3 config here'';
<symphorien> and then remove your use specific config
<symphorien> also home-manager may have a module for it (maybe)
<symphorien> ,home-manager siraben
<{^_^}> siraben: home-manager allows you to manage your per-user configuration similarly to NixOS' configuration.nix: https://nixos.wiki/wiki/Home_Manager
acarrico has quit [Ping timeout: 250 seconds]
<gchristensen> I use etc."i3/config".text too. you also have to set services.xserver.windowManager.i3.configFile = "/etc/i3/config";
<Synthetica> I have Fira Code Light as my terminal font in Konsole, but it has these ugly circles around braille dots that aren't there (https://imgur.com/a/Z67J9xV). Is there a way to override a font to use specific characters from another font?
logzet has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
alex`` has joined #nixos
feep has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed to master « nixos/systemd-nspawn: accept all Exec and Files options »: https://git.io/fpSim
<siraben> Is it normal to have to sudo edit configuration.nix or is it better to have it per user?
<siraben> symphorien: i3 seems to have trouble when I press $mod+shift+e
<{^_^}> [nixpkgs] @ck3d opened pull request #51728 → nixos lirc: fix owner-ship of runtime directory → https://git.io/fpSiY
<Synthetica> I think it's normal to sudo-edit configuration.nix, but I prefer to have it as minimal as possible, and pull the actual config from git: https://github.com/Synthetica9/configuration.nix/blob/master/configuration.nix
<symphorien> ah you must use xfce4-session-logout instead
<symphorien> because i3 does not manage the x session anymore.
rawreraw has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b pushed to release-18.09 « nixos/systemd-nspawn: accept all Exec and Files options »: https://git.io/fpSi3
<{^_^}> [nixpkgs] @c0bw3b closed pull request #49712 → expand nspawn unit file validation logic to allow all currently supported fields → https://git.io/fxhuD
<siraben> Synthetica: if I use your configuration.nix, I will have the exact same setup as you?
<Synthetica> siraben: Mostly, you'll probably want to set your hostname to something else tho
<siraben> How do you do your version control then? At /etc/ or elsewhere?
<siraben> Wow that fact is still amazing
<Synthetica> On GitHub, it just pulls from master (in the process of setting up CI to have a "deploy" branch"
<Synthetica> )
<siraben> How do I save my git username in my config?
<hyper_ch> siraben: /etc and its configs are generated during the build process
<siraben> For instance I run "git config --global user.name ..."
<Synthetica> (I have a seperate repo for my home directory configs)
<{^_^}> [nixpkgs] @Ma27 merged pull request #51657 → python2Packages.rednose: fix build on darwin → https://git.io/fpyBq
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpSi0
<siraben> And that repo is private I'm assuming
<Synthetica> siraben: Nah, it's only the configs, not my entire home dir: https://github.com/Synthetica9/dootfiles
ma27_ has quit [Quit: WeeChat 2.2]
lsyoyom has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #51729 → weechatScripts.weechat-autosort: init at unstable-2018-01-11 → https://git.io/fpSi1
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #51730 → texlive: fix link to poppler patch → https://git.io/fpSi5
ma27 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #51710 → packagekit: 1.1.11 -> 1.1.12 → https://git.io/fpSBC
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « packagekit: 1.1.11 -> 1.1.12 »: https://git.io/fpSix
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for new version 7.20181205 »: https://git.io/fpSPq
lsyoyom has joined #nixos
ma27 has quit [Quit: WeeChat 2.2]
ma27 has joined #nixos
<siraben> Synthetica: How would I use your configuration.nix?
<siraben> I changed the hostname but it's not building
crmlt has joined #nixos
leotaku has quit [Ping timeout: 245 seconds]
iyzsong has quit [Read error: Connection reset by peer]
alex`` has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #51715 → libmicrohttpd: 0.9.60 -> 0.9.61 → https://git.io/fpSB6
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/fpSPM
ma27 has quit [Quit: WeeChat 2.2]
<Synthetica> siraben: You define a machine in machines.nix
<{^_^}> [nixpkgs] @flokli merged pull request #51705 → xf86videointel: 2017-10-19 -> 2018-12-03 → https://git.io/fpSBt
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpSPS
alex`` has joined #nixos
jonaswouters has quit [Quit: Connection closed for inactivity]
ma27 has joined #nixos
<siraben> Synthetica: Where is this machines.nix?
<Synthetica> The contents of that would be `{yourhostname: ./yourhostname.nix}`, you probably just want to rename `AquaRing.nix` to `yourhostname.nix`
<Synthetica> siraben: It's in the git repo
rfold has joined #nixos
rawreraw has joined #nixos
<siraben> I see.
<siraben> Ah, one question: how do I make editing my configuration faster than navigating to the /etc/nixos directory each time?
agander has quit [Ping timeout: 246 seconds]
<Synthetica> I have the repo cloned in ~/devel, but that's personal preference
<makefu> siraben: when performing a rebuild you can set -I nixos-config=/path/to/myconf.nix
<siraben> makefu: What do you mean?
<makefu> there is no need to have your configuration in /etc/nixos
<makefu> it is just a default which can be overwritten
<siraben> Where?
<makefu> `nixos-rebuild switch -I nixos-config=/home/myuser/devel/configuration.nix` would switch to the configuration stored in that directory
<siraben> And is this permanent?
<siraben> How do I see a package's options in the command line, by the way?
<tilpner> nix edit -f '<nixpkgs>' packagename
<avn> siraben: you can make NIX_PATH setting permanent
<siraben> avn: How so?
<avn> nix.nixPath if my memory not lie
<siraben> Anyone here have oh-my-zsh and nixos working in their configuration.nix?
<avn> And personal suggestion -- use hosts/${hostname}/default.nix as nixos-config=... ;)
<siraben> avn: Ok, thanks.
<makefu> siraben: not permanent, if you want to make it permanent you can set nix.nixPath = [ "nixos-config=/home/..." ]; to make it permanent. or you can set the NIX_PATH env var accordingly
<avn> (look code for proper hostname, I not sure in case ;)
<siraben> So according to the oh-my-zsh package, I have to run
<siraben> cp -v $(nix-env -q --out-path oh-my-zsh | cut -d' ' -f3)/share/oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
<siraben> To get it installed in my home directory, how do I make this be done automatically in configuration.nix?
<{^_^}> [nixpkgs] @marsam opened pull request #51731 → pythonPackages.robotframework-selenium2library: 1.6.0 -> 3.0.0 → https://git.io/fpSXr
<siraben> symphorien: do you use anything special for your shell, or just the default bash?
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @jokogr opened pull request #51732 → shiboken: add support for Python 3.7 → https://git.io/fpSX6
<siraben> I'm interested in alternatives people may have
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51480 → fetchurl: fix and add extra KDE mirrors → https://git.io/fpiYE
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @bhipple to master « fetchurl: refresh and add extra KDE mirrors »: https://git.io/fpSXP
<Synthetica> I use Fish
<siraben> Synthetica: Was reading about that. What makes you keep using it?
drakonis has joined #nixos
<Synthetica> The syntax is really nice, because it's not too worried about backwards compatibility
<Synthetica> And the auto correction is really great
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51707 → sssd: 1.16.2 -> 1.16.3 (security!) → https://git.io/fpSBO
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSX1
crmlt has quit [Ping timeout: 268 seconds]
<Synthetica> *completion
<{^_^}> [nixpkgs] @markuskowa merged pull request #51583 → grafana: 5.3.4 -> 5.4.0 → https://git.io/fp1up
<siraben> How do I get info about a package?
<Synthetica> (but thefuck provides great outcorrection if you want)
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fpSXD
<siraben> cf. sudo apt show ...
<siraben> Ah I see
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @averelld opened pull request #51733 → nvidia-docker module/package → https://git.io/fpSXy
<{^_^}> [nixpkgs] @markuskowa merged pull request #51410 → intel-media-driver: init at 18.3.0 → https://git.io/fpKos
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fpSX9
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51734 → sssd: 1.16.2 -> 1.16.3 (security!) → https://git.io/fpSXp
<{^_^}> [nixpkgs] @flokli merged pull request #51697 → dbus: 1.12.10 -> 1.12.12 → https://git.io/fpS4y
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/fpS1c
kp__ has quit [Quit: WeeChat 2.3]
kp__ has joined #nixos
<siraben> Looks like polybar has a typo in its description
<siraben> > nix search polybar
<{^_^}> attempt to call something which is not a function but a set, at (string):210:1
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51734 → [18.09] sssd: 1.16.2 -> 1.16.3 → https://git.io/fpSXp
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-18.09: https://git.io/fpS1y
pie___ has joined #nixos
<siraben> I'll open a pull request
agander has joined #nixos
jD91mZM2 has quit [Ping timeout: 250 seconds]
pie__ has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e9a2c5328f0 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
acarrico has joined #nixos
<{^_^}> [nixpkgs] @siraben opened pull request #51735 → Fix typo → https://git.io/fpS1N
jD91mZM2 has joined #nixos
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to staging: https://git.io/fpSMc
<{^_^}> [nixpkgs] @dywedir merged pull request #51702 → wayland-protocols: 1.16 -> 1.17 → https://git.io/fpS4N
<siraben> Synthetica: reading your configuration has helped a lot.
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @markuskowa opened pull request #51736 → hackrf: 2017.02.1 -> 2018.01.1 → https://git.io/fpSMu
<{^_^}> [nixpkgs] @alyssais merged pull request #51669 → virtualbox: 5.2.14 -> 5.2.22 → https://git.io/fpy19
<{^_^}> [nixpkgs] @alyssais pushed 3 commits to master: https://git.io/fpSM2
<{^_^}> [nixpkgs] @FRidh merged pull request #51732 → shiboken: add support for Python 3.7 → https://git.io/fpSX6
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fpSMa
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @siraben to master « polybar: correct description »: https://git.io/fpSMo
<{^_^}> [nixpkgs] @FRidh pushed 585 commits to staging-next: https://git.io/fpSM6
<{^_^}> [nixpkgs] @worldofpeace closed pull request #51735 → Fix typo → https://git.io/fpS1N
<ottidmes> siraben: here is a list of configurations, it helped me a lot too at the time, to look at others configurations: https://gist.github.com/ottidmes/182ef2150264214bbde94139f06c8b13
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/53218d4a39c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51730 → texlive: fix link to poppler patch → https://git.io/fpSi5
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSMP
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fpSMX
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.03: https://git.io/fpSM1
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fpSMM
Ariakenom has quit [Quit: Leaving]
revtintin has joined #nixos
init_6 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « pitivi: gst-transcoder: add python3 to nativeBuildInputs, fails otherwise »: https://git.io/fpSMH
<siraben> Thanks ottidmes
<siraben> Anyone here using polybar in their configuration?
<{^_^}> [nixpkgs] @FRidh pushed 305 commits to master: https://git.io/fpSMb
<ottidmes> I had it at some point, but removed it in favor of a custom lemonbar, NixOS wise it was pretty simple to install I remember
commande1 is now known as commander
<{^_^}> [nixpkgs] @FRidh closed pull request #50752 → buildGoPackage: remove build-time dependency on parallel (and perl) → https://git.io/fpC5h
<averell> I'm using it
<{^_^}> [nixpkgs] @Izorkin opened pull request #51738 → php: init at 7.3.0 → https://git.io/fpSDf
<{^_^}> [nix-pills] @Ma27 merged pull request #90 → Update documentation after Nix 2.0 switch → https://git.io/fp1hA
<{^_^}> [nix-pills] @Ma27 pushed 2 commits to master: https://git.io/fpSDk
<{^_^}> [nixpkgs] @florianjacob opened pull request #51741 → libsass: 3.5.4 -> 3.5.5 → https://git.io/fpSDc
<{^_^}> [nixpkgs] @markuskowa opened pull request #51742 → libosmocore: 0.9.6 -> 0.12.1 → https://git.io/fpSDW
<{^_^}> [nixpkgs] @dywedir merged pull request #51736 → hackrf: 2017.02.1 -> 2018.01.1 → https://git.io/fpSMu
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fpSDw
endformationage has joined #nixos
olejorgenb[m] has joined #nixos
Lears has joined #nixos
<develCuy> ottidmes: do you ever sleep?
<ottidmes> I do
[Leary] has quit [Read error: No route to host]
<ottidmes> develCuy: one last thing I am going to try with palemoon is to just copy what Arch Linux uses, tweaking paths for NixOS of course
<develCuy> ottidmes: I was thinking, should we compile it? because palemoon has a working tarball, can we use to build the nix package?
<ottidmes> develCuy: you mean prebuilt, then we would have to patch that. Maybe, but I am going to try basing it on the Arch package yet, that strategy has yet to fail me
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51371 → live555: 2018.10.17 -> 2018.11.26 → https://git.io/fpKku
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSyk
oida has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51629 → Update: quicktemplate, nodePackages: meguca, meguca, hydron → https://git.io/fpDYA
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fpSyu
<{^_^}> [nixpkgs] @Mic92 merged pull request #51670 → quassel-webserver: remove → https://git.io/fpySh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpSya
fragamus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « nixos/release-notes: mention removal of quassel-webserver »: https://git.io/fpSyX
<Izorkin> How to need to merge PR 51612 ?
<{^_^}> [nixpkgs] @florianjacob opened pull request #51743 → pelican: 3.7.1 -> 4.0.1 → https://git.io/fpSy9
fragamus has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51644 → erlang: disable parallel building → https://git.io/fpDHS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fpSyb
<{^_^}> [nixpkgs] @Mic92 merged pull request #51729 → weechatScripts.weechat-autosort: init at unstable-2018-01-11 → https://git.io/fpSi1
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Ma27 to master « weechatScripts.weechat-autosort: init at unstable-2018-01-11 (#51729) »: https://git.io/fpSSk
<{^_^}> [nixpkgs] @Mic92 closed pull request #50669 → python36Packages.pelican: 3.7.1 -> 4.0.0 → https://git.io/fpcjU
<{^_^}> [nixpkgs] @grahamc merged pull request #51612 → unit: init at v1.6 → https://git.io/fpMBQ
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to master: https://git.io/fpSSc
<{^_^}> [nixpkgs] @Mic92 merged pull request #51743 → pelican: 3.7.1 -> 4.0.1 → https://git.io/fpSy9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpSS4
<{^_^}> [nixpkgs] @markuskowa merged pull request #51728 → nixos lirc: fix owner-ship of runtime directory → https://git.io/fpSiY
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpS9G
pie__ has joined #nixos
simukis has quit [Quit: simukis]
pie___ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51651 → cyrus-sasl: Remove private libs from .la files (fixes spice build) → https://git.io/fpDpb
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to staging-next: https://git.io/fpS9u
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to release-18.09: https://git.io/fpS9V
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51243 → Update developPackage → https://git.io/fpwOg
aleph- has joined #nixos
slyfox_ is now known as slyfox
ntd has joined #nixos
<infinisil> ,pr Izorkin
<{^_^}> Izorkin: 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
<simpson> #51612
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51612 (by Izorkin, 2 days ago, merged): unit: init at v1.6
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b4360cadfd1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<Izorkin> infinisil: ok, thanks
<Izorkin> maybe something to do with PR https://github.com/NixOS/nixpkgs/pull/44343
<{^_^}> #44343 (by Izorkin, 18 weeks ago, open): mariadb: 10.2.17 -> 10.3.10
simukis has joined #nixos
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fpSHR
<{^_^}> [nixpkgs] @Ekleog merged pull request #49229 → mdadm: use shared system-sendmail → https://git.io/fx9A1
hlolli has joined #nixos
<hlolli> Im on rpi3 arm7, how should I resolve autoconf-2.69 hash mismatch?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b551f89e256 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
hakujin has joined #nixos
<hlolli> I rolled back my channel update, so it seems to run now
<{^_^}> [nixpkgs] @Mic92 merged pull request #51328 → dropbox: add mesa and libxshmfence → https://git.io/fpoyv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpSQu
<makefu> hlolli: why not aarch64? hydra builds (almost) all packages for aarch64
<hlolli> yes, Im actually going to format the SD and switch, I had this discussion not so long ago. I think I've been convinced now
<hlolli> because, as I'm reading, arm7l is 32 bit architecture?
<gchristensen> right
<{^_^}> [nixpkgs] @hedning opened pull request #51746 → ghostscript: 9.25 -> 9.26 → https://git.io/fpSQ1
<gchristensen> I think only rpi3+ is armv8 compat
<hlolli> I had the feeling, reading the packaging of the rpi3+, that arm7l was some sort of state of the art miniprocessor tech. But the 32/64bit difference on rpi is probably redundant.
<hlolli> yes it is, well, armv8 is aarch64 I guess, some naming hell in this area
<hlolli> (very misleading)
<gchristensen> well armv8 even doesn't mean aarch64 I think? I don't know, man, I try to ONLY call it aarch64 because I don't know what other words to use :P
<{^_^}> [nixpkgs] @Mic92 merged pull request #51741 → libsass: 3.5.4 -> 3.5.5 → https://git.io/fpSDc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpSQy
<gchristensen> it is a shame the personality syscall doesn't work for armv7/aarch64, otherwise we could easily use some of our aarch64 hw to build armv7
random_yanek has quit [Ping timeout: 250 seconds]
<hlolli> yeh, that's what I heard, but in my usecase, I wont need it. Isn't that a kernal thing that may get solved sooner or later?
ng0 has joined #nixos
ng0 has quit [Client Quit]
<gchristensen> I don't know anything other than there is syscall which apparently makes this work for i686/x86-64 but not for arm stuff :P
<hlolli> forgot whom I was chatting with on this channels, he was using the pin system, it wouldn't work on aarch64, but worked on arm7l
ntd has quit [Quit: ntd]
<hlolli> (he/she/it) not to assume the gender ;)
<CodeKiwi> They
<hlolli> +1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpSQp
<{^_^}> [nixpkgs] @Mic92 merged pull request #51662 → zoom-us: 2.5.146186.1130 -> 2.6.146750.1204 → https://git.io/fpygq
the-kenny has quit [Ping timeout: 246 seconds]
the-kenny has joined #nixos
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #51678 → nixos/bash: set title in PS1 → https://git.io/fpSvn
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/fpS7O
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-1: https://git.io/fpS7s
<gchristensen> I've set boot.blacklistedKernelModules = [ "wl" "cfg80211" "mac80211" ]; but still I see lsmod emitting: cfg80211 622592 1 wl and I'm seeing dmesg errors about `wl_...` functions. any tips on making these stop?
Synthetica has quit [Quit: Connection closed for inactivity]
<CodeKiwi> What does collision between mean
<infinisil> CodeKiwi: I have no idea what you mean
fusion809 has quit [Remote host closed the connection]
<gchristensen> maybe a buildEnv collision
<infinisil> Oh, "what does "collision between ..." mean?"
<CodeKiwi> Collision between path hash and path hash when nicos rebuild
<CodeKiwi> Usually a lot of them
fusion809 has joined #nixos
<infinisil> CodeKiwi: A buildEnv takes a bunch of packages and puts them together into a single package. A package is really just a directory. So there needs to be some handling as to what should happen when multiple packages have the same file in them
<tilpner> gchristensen - What does lsmod say about wl?
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> CodeKiwi: Such an instance of multiple packages having the same file is what's called a conflict
<gchristensen> tilpner: wl 6389760 0
<CodeKiwi> Is normal?
<tilpner> gchristensen - Just to be sure you're debugging the right thing: /etc/modprobe.d/nixos.conf shows these blacklists, and you rebooted afterwards?
<gchristensen> tilpner: that file doesn't contain it! but I did reboot
<tilpner> A rebuild switch should have added them
<gchristensen> I did a rebuild boot, and rebooted
<gchristensen> tilpner: mind helping further in 30min or so? I need to do the next step on some bread.
<tilpner> Good idea, I should eat something too
aleph- has quit [Ping timeout: 246 seconds]
ng0 has joined #nixos
ng0 has quit [Client Quit]
ng0 has joined #nixos
rsully has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #51608 → plex: 1.13.9.5456 -> 1.14.0.5470 → https://git.io/fpMt2
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpS5e
<siraben> What should I configure to enable i3lock when my laptop sleeps?
<ldlework> you can configure your own systemd units with your nix configuration
<ldlework> i can't guarantee that'll work, but that'd be my first thing to try
<jD91mZM2> siraben: Shameless self promotion, but https://gitlab.com/jD91mZM2/xidlehook might be what you're after
<jD91mZM2> Depends if you meant sleep as in actual sleep, or sleep as in when you've been inactive for a specified amount of time and no video is playing
jD91mZM2 has quit [Quit: WeeChat 2.2]
<ldlework> neat
<ldlework> it has a shell.nix but no default.nix oops
c00w has quit [Ping timeout: 252 seconds]
<yegortimoshenko> jD91mZM2: thank you so much for nix parser in rust!
<sphalerite> ldlework: nix build nixpkgs.xidlehook :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #51226 → llvm: fix cross-compilation → https://git.io/fpVRe
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fpSde
<{^_^}> [nixpkgs] @timstott opened pull request #51747 → tmuxinator: 0.11.3 -> 0.13.0 → https://git.io/fpSdf
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b4360cadfd1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
kp__ has quit [Ping timeout: 272 seconds]
<ldlework> is the rust nix parser working good now?
Anton-Latukha has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpSd4
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #51714 → tootle: hicolor-icon-theme dep, clear cache → https://git.io/fpSB2
Anton-Latukha has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<gchristensen> tilpner: wouldn't you know, I was editing the wrong file
<tilpner> It happens. nixos-option and nix repl can help find these more easily
<ottidmes> gchristensen: the wonders of bread :P
<gchristensen> :)
<gchristensen> no more wl errors. thank you!
marusich has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
[Leary] has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
Lears has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @Ma27 merged pull request #51747 → tmuxinator: 0.11.3 -> 0.13.0 → https://git.io/fpSdf
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpSFw
justanotheruser has joined #nixos
ik3123 has left #nixos [#nixos]
ik3123 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fpSFD
<{^_^}> [nixpkgs] @vcunat merged pull request #51688 → nettle: 3.4 -> 3.4.1 (security) → https://git.io/fpS4f
justanotheruser has quit [Ping timeout: 268 seconds]
sir_guy_carleton has joined #nixos
m0rphism has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f006e8448bb (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
revtintin has quit [Quit: WeeChat 2.1]
work_ has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #51748 → bazel: 0.18.0 -> 0.20.0 → https://git.io/fpSbw
graphene has quit [Remote host closed the connection]
<worldofpeace> Is there a way I can fetch a repo with a bunch of patches and then apply them?
graphene has joined #nixos
justan0theruser has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « premake3: use premake3 -> premake »: https://git.io/fpSb9
justan0theruser is now known as justanotheruser
<{^_^}> [nixpkgs] @Ma27 opened pull request #51749 → nixos/iotop: add module → https://git.io/fpSNT
Ariakenom has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Ariakenom has quit [Client Quit]
rawreraw has quit [Ping timeout: 250 seconds]
Ariakenom has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
worldofpeace has quit [Ping timeout: 240 seconds]
<eyjhb> I cannot seem to find it, but what does the `main` command do in the .nix expression? e.g. `main systemd "$out/lib/udev/rules.d/99-displaylink.rules" "$out/lib/udev/displaylink.sh"` ?
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @MarcFontaine opened pull request #51750 → haskellPackages.binary-parsers : disable tests → https://git.io/fpSA0
hakujin has joined #nixos
ftxqxd has joined #nixos
equivrel has quit [Remote host closed the connection]
<rizary> Test
civodul has quit [Ping timeout: 252 seconds]
<gchristensen> pass
civodul has joined #nixos
<ottidmes> I prefer Bitwarden :P
civodul has quit [Ping timeout: 252 seconds]
<gchristensen> eyjhb: "main" is not a nix instruction, so it has to be something else here
<Taneb> I'm trying to write a package for nixpkgs and I've hit a problem during the configure page
<Taneb> Is there a way to run it exactly as nix build would?
<Taneb> Also is there guide for making derivations that want to run autoreconf?
<symphorien> a good aproximation of a non sandbox build is: nix-shell /path/to/clone -A foo
<symphorien> in the shell, run genericBuild
<symphorien> do this in /tmp because it will clober the cwd
<symphorien> Taneb: to run autoreconf, include autoreconfHook in buildInputs and let the magic happen
steshaw has joined #nixos
<eyjhb> gchristensen: is there a good small, not the full manual, overview of these commands?
<Taneb> symphorien: wow, that worked perfectly and fixed the bug I was having to boot
<eyjhb> gchristensen: Yeah, just wish it was a seperate file.. Easier to search in
<eyjhb> Btw. is there any way to evaluate a expression like `${systemd}`, outside of the build context?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<symphorien> arguments to mkDerivation are available in nix-shell: for example echo $buildInputs
<ldlework> huh
cyounkins has joined #nixos
civodul has joined #nixos
<gchristensen> every field in a derivation becomes an environment variable in the bilder
<gchristensen> it is how, for example, $out works
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51751 → zeromq: 4.2.5 -> 4.3.0 → https://git.io/fpSxs
hedning has quit [Quit: hedning]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51675 → [18.09] polkit: add patch for CVE-2018-19788 → https://git.io/fpyxl
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging-18.09: https://git.io/fpSxR
ym555 has joined #nixos
<qyliss> Is… is /tmp supposed to just be a normal directory on disk?
<gchristensen> depends on boot.tmpOnTmpfs :)
<qyliss> Ohhh
<qyliss> I’m surprised it isn’t by default
<gchristensen> also boot.cleanTmpDir
<gchristensen> I'm surprised boot.cleanTmpDir is false by default .... prooobbbably shouldn't be.
zgrep has quit [Ping timeout: 252 seconds]
<qyliss> Yeah…
<qyliss> Should… should we change it?
<gchristensen> probably should at least PR it and see what people say + release notes
<qyliss> Yeah
zgrep has joined #nixos
<qyliss> This is at least theoretically a destructive change but it reeeally doesn’t seem like it’s the right way
<gchristensen> right
<hyper_ch> what's wrong with boot.cleanTmpDir= false?
<gchristensen> /tmp isn't supposed to survive between reboots
<hyper_ch> it isn't?
<gchristensen> it isn't
<makefu> at least some distros clean it by default (ubuntu is one i found quickly)
<{^_^}> [nixpkgs] @vcunat pushed to staging-18.09 « Merge #51688: nettle: 3.4 -> 3.4.1 (security) »: https://git.io/fpSpU
<makefu> also in "Filesystem Hierarchy Standard" it states "Programs must not assume that any files or directories in /tmp are preserved between invocations of the program. […]"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51752 → zsh-autosuggestions: 0.4.3 -> 0.5.0 → https://git.io/fpSpt
<hyper_ch> thx makefu
<makefu> however this seems to be different from /var/tmp (actually just citing https://superuser.com/questions/946054/preserving-tmp-on-reboot here)
acarrico has joined #nixos
<avn> hyper_ch: I use /var/tmp for stuff which should survive reboots
<hyper_ch> :)
<gchristensen> yeah, /var/tmp survise
<hyper_ch> but nixos doesn't respect fhs :)
<gchristensen> I have many thousand FHSs! :)
<makefu> however i think we can follow some of the recommendations
<hyper_ch> I actually like /tmp being semi-persistant :)
pjones` is now known as pmade
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51753 → xl2tpd: 1.3.12 -> 1.3.13 → https://git.io/fpSpW
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
mkoenig has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 268 seconds]
<gchristensen> I have like 4gb of /tmp stuff from >1yr of not pruning it
ramirez7 has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]
<averell> I've had that. 30+ minutes downtime of a server, turns out it was just cleaning /tmp after ages of no reboots.
<gchristensen> yikes, and that brings us back to the ol' tmpfs thing :P
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51589 → tigervnc: 1.8.0pre2017041 -> 1.9.0 → https://git.io/fp11x
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpSpK
civodul has quit [Ping timeout: 252 seconds]
<ramirez7> I'm having trouble getting acme certs working w/nginx. It looks like the acme sceript itself runs before Kernel CRNG is initialized ('osrandom_init:getrandom() initialization failed with EAGAIN. Most likely Kernel CPRNG is not seeded yet.'). In journalctl, I confirmed that "kernel: random: crng init done" occurs well after the acme script fails. Is there any way to get systemd to wait for crng init or something?
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51754 → libv4l: 1.16.0 -> 1.16.2 → https://git.io/fpSpD
<hyper_ch> gchristensen: why did it take so long to clean it?
cyounkins has joined #nixos
<gchristensen> I guess it was slow to rm, not sure, that was averell :) (maybe there were zillions of files)
<averell> there were, and this was a pre-ssd drive.
<averell> actually it's pretty similar to nix gc
civodul has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51755 → wavebox: 4.4.0 -> 4.5.3 → https://git.io/fpSpx
mr_noobs has joined #nixos
<mr_noobs> Hello everyone! How does one go at trying a pull request from nixpkgs?
<mr_noobs> Steam doesn't work, and I saw someone on github fixed it, so I cloned the repo, created a branch for local testing and now how do I make it so that it uses the PR?
<averell> You can add this to your NixOS remote: fetch = +refs/pull/*/head:refs/remotes/NixOS/pr/*
<symphorien> nix-build /path/to/clone -A steam and use result/bin/steam instead of steam
<symphorien> this is not the cleanest way, though
agander has quit [Ping timeout: 245 seconds]
<mr_noobs> Hmmm how do you mean adding to my remote, averell?
__monty__ has quit [Quit: leaving]
<mr_noobs> And symphorien, that would be for installing once I already got the pull request on their github to my local copy, right?
<averell> I probably misunderstood what you want. THat makes it, so you can check out pull requests like branches.
<symphorien> mr_noobs: yes. isn't that what you want ?
<mr_noobs> So I cloned the repo (as per the NixOS manual)
ramirez7_ has joined #nixos
<mr_noobs> Now I want to test this on my local repo:
<{^_^}> #51508 (by Synthetica9, 4 days ago, open): Steam runtime refactor backport
<{^_^}> [nixpkgs] @markuskowa opened pull request #51756 → lvm2: 2.02.177 -> 2.03.01 → https://git.io/fpShZ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51757 → yquake2: 7.20 -> 7.30 → https://git.io/fpShc
<averell> git fetch origin pull/51508/head:cool-steam-fixes
<averell> and then you can git checkout cool-steam-fixes
ramirez7 has quit [Ping timeout: 256 seconds]
<mr_noobs> Oh, good! Nice, thanks! I'm still learning how to use some things from git!
<mr_noobs> Does that create the a branch on my computer? Yeah right?
<averell> yes
<mr_noobs> Yeah, cool, so the cool-steam-fixes is whatever name I want to give to the branch!
<mr_noobs> Nice
<{^_^}> [nixpkgs] @rasendubi opened pull request #51758 → pythonPackages.neovim-0.3.0 -> pythonPackages.pynvim-0.3.1 → https://git.io/fpSha
<{^_^}> [nixpkgs] @Mic92 merged pull request #51752 → zsh-autosuggestions: 0.4.3 -> 0.5.0 → https://git.io/fpSpt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpShV
<mr_noobs> And to add that modified version of steam declaratively to my configuration.nix, while keeping the rest of the packages from the stable channels, how does one do that?
<mr_noobs> (And also, I have some packages installed via config and some via nix-env, is there a way to read from nix-env and write to config?
<{^_^}> [nixpkgs] @eyJhb opened pull request #51759 → displaylink: 4.1.9 -> 4.4.24 → https://git.io/fpShK
<{^_^}> [nixpkgs] @eyJhb opened pull request #51760 → displaylink: changed systemd start to not block → https://git.io/fpShi
cyounkins has quit [Read error: Connection reset by peer]
<eyjhb> Well well well... Finally something that makes displaylink work somewhat
cyounkins has joined #nixos
ramirez7_ has quit [Ping timeout: 256 seconds]
ramirez7 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51761 → vulkan-tools: 1.1.85.0 -> 1.1.92 → https://git.io/fpShy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51762 → vc: 1.4.0 -> 1.4.1 → https://git.io/fpShb
<{^_^}> [nixpkgs] @pbogdan opened pull request #51763 → ant-theme: init at 1.2.0 → https://git.io/fpShj
<{^_^}> [nixpkgs] @Taneb opened pull request #51764 → Metamath: init at 0.167 → https://git.io/fpSje
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
rfold has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51761 → vulkan-tools: 1.1.85.0 -> 1.1.92 → https://git.io/fpShy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpSjc
alex`` has quit [Ping timeout: 240 seconds]
init_6 has joined #nixos
<ldlework> Is there a way to build emacs with a custom python (need some packages) such that emacs doesn't actually need to be recompiled?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #51765 → wildmidi: 0.4.2 -> 0.4.3 → https://git.io/fpSj4
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]