gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
hakujin1 has quit [Ping timeout: 256 seconds]
phry has quit [Quit: WeeChat 2.1]
<iqubic> Drakonis: What does that mean?
<Drakonis> python37packages?
<iqubic> Can't I get a python dev environment by creating a shell.nix?
<Drakonis> um yes?
<Drakonis> tensorflow and tensorboard are available
<iqubic> Isn't there a thing called pythonWithPackages?
<iqubic> how does that work?
<Drakonis> you should look at the file to find out
<iqubic> What file?
<Drakonis> the file that provides pythonwithpackages?
<iqubic> IDK what file that is.
ris has quit [Ping timeout: 256 seconds]
kyren has joined #nixos
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
pie_ has joined #nixos
hakujin1 has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyren has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
pie__ has joined #nixos
pie_ has quit [Excess Flood]
silver has quit [Read error: Connection reset by peer]
pie___ has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 248 seconds]
galaxite has quit [Ping timeout: 265 seconds]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aarvar has quit [Ping timeout: 240 seconds]
<pie___> so i used git bisect to figure out that this is what broke my builds https://github.com/NixOS/nixpkgs/commit/69cd09f8fb2427233319883dfdc0c702b87e2bf1 , what should I do
aanderse has joined #nixos
kyren has joined #nixos
<nikki93> does anyone use the 'surf' browser?
<nikki93> do you have the ability to play youtube videos in it?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNXOA
kyren has quit [Client Quit]
<pie___> sidenote, can i make haskell builds use multiple jobs?
<pie___> *multiple cores
thc202 has quit [Ping timeout: 240 seconds]
hakujin1 has joined #nixos
kyren has joined #nixos
hakujin1 has quit [Ping timeout: 256 seconds]
kyren has quit [Client Quit]
emacsomancer has joined #nixos
abueide has joined #nixos
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
galaxite has joined #nixos
kyren has joined #nixos
Fare has joined #nixos
acarrico has quit [Quit: Leaving.]
<nikki93> https://bugs.webkit.org/show_bug.cgi?id=118974 <-- running into this issue with gst + webkitgtk :/
hakujin1 has joined #nixos
<nikki93> it's pretty annoying because literally resets my system volume when i open a new youtube video or soundcloud track etc. haha
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hakujin1 has quit [Ping timeout: 240 seconds]
kyren has joined #nixos
trylist has quit [Ping timeout: 240 seconds]
<alphor> is it possible to override service declarations like pkgs?
<Drakonis> yeah?
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benmachine has quit [Ping timeout: 260 seconds]
<alphor> using mkMerge? or mkOverride? All I need is the service to wait on a service I've written.
<Drakonis> override might do the trick
<alphor> I think additive works fine actually, I don't want to replace the existing dependencies, just add more. I'll try that instead of overriding.
<alphor> Thanks!
hakujin1 has joined #nixos
galaxite has quit [Ping timeout: 240 seconds]
jasongrossman has joined #nixos
<jasongrossman> Hi all. Can someone tell me the current status of stumpwm on NixOS? I've just had to reinstall NixOS from scratch (strange that I should have had to, I know, but rebuild-switch was broken), and I'm having trouble installing stumpwm.
hakujin1 has quit [Ping timeout: 265 seconds]
<Drakonis> looks fine to me
<Drakonis> did you not use the service?
hakujin1 has joined #nixos
<jasongrossman> Drakonis: I did. It won't build in 18.03.
<jasongrossman> Drakonis: Nor in unstable at the moment.
<Drakonis> hmm how odd
<jasongrossman> Drakonis: I had it working in unstable previously, but I had to do something non-declarative to get it to work, and now I've lost that. :-(
<Drakonis> it installed here btw
<jasongrossman> Drakonis: huh.
<Drakonis> take a lesson from this, keep your nix files somewhere
<jasongrossman> Drakonis: Just by setting windowManager.default and windowManager.stumpwm.enable?
<Drakonis> it is available as a lisp package
<jasongrossman> I've tried lisp-stumpwm, both declaratively and imperatively and both in stable and unstable (which have different versions).
<Drakonis> i did a dry run
<jasongrossman> Most interesting thing is that lisp-stumpwm won't install from configuration.nix, but nix-env -i lisp-stumpwm works.
<Drakonis> it created it correctly
<Drakonis> install succeeded lol
<jasongrossman> I've remembered the problem with configuration.nix: it has to be called lispPackages.stumpwm.
n0qqe has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
<jasongrossman> So that gets me the package. But if I set it as windowManager.default then nixos-rebuild tries to build it and fails.
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
puffnfresh[m] has quit [Quit: issued !quit command]
<Drakonis> hmm, i don't run WMs
<Drakonis> so i can't answer this part
<Drakonis> i'll do an dry run with stumpwm to check
<{^_^}> [nixpkgs] @worldofpeace opened pull request #44480 → solargraph: 0.23.3 -> 0.23.6 → https://git.io/fNXsU
<jasongrossman> Drakonis: Thanks!
<Drakonis> no error
kyren has joined #nixos
<Drakonis> it didn't fail to build the environment with stumpwm set as the default wm
Supersonic has quit [Ping timeout: 276 seconds]
jasongrossman has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lassulus_ has joined #nixos
hakujin1 has joined #nixos
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #44481 → antibody: 3.5.1 -> 3.6.1 → https://git.io/fNXsc
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
amfl_ has joined #nixos
amfl has quit [Ping timeout: 256 seconds]
hakujin1 has quit [Ping timeout: 265 seconds]
aanderse has quit [Ping timeout: 265 seconds]
hakujin1 has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
witchof0x20 has joined #nixos
hakujin1 has joined #nixos
hamishmack has joined #nixos
<witchof0x20> I'm trying to get firefox to work with WebGL, but I can't seem to get it working. Here's my configuration.nix https://bytes.moe/private/configuration.nix
<witchof0x20> Here's the firefox log when navigating to get.webgl.org https://bytes.moe/private/firefox_log_0.txt here's it after setting webgl.force-enabled=true https://bytes.moe/private/firefox_log_1.txt
<witchof0x20> It works in chromium
<Drakonis> fyi don't put unstable as the state version
<Drakonis> your state version is actually 18.09 on unstable
hakujin1 has quit [Ping timeout: 260 seconds]
<Drakonis> i have the default browser
<Drakonis> it has webgl
<witchof0x20> Thanks! Just fixed that
<Drakonis> also why are you tweaking your huge pages lol
<witchof0x20> I'm thinking it *might* have something to do with GL drivers, but I'm not sure
hamishmack has quit [Read error: Connection reset by peer]
<witchof0x20> I use VFIO for emulating a windows machine for gaming
<witchof0x20> Static hugepages give a pretty big performance gain
<Drakonis> ah right
<Drakonis> you did not enable opengl
<Drakonis> hardware.opengl.driSupport32Bit = true;
init_6 has joined #nixos
<Drakonis> its for mesa
<Drakonis> its an separate option witchof0x20
<witchof0x20> So i set it, shut down my X session, restarted display-manager, logged in again, and it doesn't seem to have worked
<witchof0x20> hardware.opengl.enable = true;
<witchof0x20> hardware.opengl.driSupport32Bit = true;
<Drakonis> have you tried only firefox instead of firefox-bin?
<witchof0x20> I have, but I can try it with hardware.opengl.driSupport32Bit = true
<clever> driSupport32Bit doesnt need a restart
<Drakonis> its a library thing
<Drakonis> clever, what's the proper workflow for doing branches for submission?
<witchof0x20> just switched to firefox, and the issue persists
hakujin1 has joined #nixos
<clever> Drakonis: i try to make a new local branch forked from master, push that to my fork, and then file a PR against master
<Drakonis> also relevant, how do i split commits
<Drakonis> i have two packages to update
<Drakonis> i am terrible at git and i should perhaps google this
<Drakonis> look it up on the internet
<clever> if you pipe `git show <hash> | git apply` you can take a commit from another branch and apply it to the current one
hakujin1 has quit [Ping timeout: 256 seconds]
<witchof0x20> webgl issues solved. I had a firefox version installed to my user environment that wasn't working with GL. running `nix-env --uninstall firefox` and using the system firefox fixed it
<witchof0x20> Thanks for the assistance!
<Drakonis> no problem
hakujin1 has joined #nixos
MP2E has quit [Remote host closed the connection]
<Drakonis> i have to say that flatpak works now
kyren_ has joined #nixos
init_6 has quit [Ping timeout: 240 seconds]
hakujin1 has quit [Ping timeout: 276 seconds]
kyren has quit [Ping timeout: 260 seconds]
<Drakonis> i'm already starting to appreciate nixos again
jmeredith has quit [Quit: Connection closed for inactivity]
<judson> Well, hm. After rebuilding the whole kernel and deploying to servers from nixpkgs:master, simp_le 0.9.0 is still failing to renew my cert.
<mdash> judson: hmm, i thought acme was preferred these days?
<clever> enableACME in nginx just works for me
vmandela has joined #nixos
hakujin1 has joined #nixos
<samueldr> judson: just ralized I had a terminal open to fix my issue and test
<samueldr> and it updated once I freed some inodes
* samueldr needs to dig into why it's an issue
<samueldr> (unrelated to nixos, it's a proxmox container running nixos)
v0|d has quit [Remote host closed the connection]
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos
hakujin1 has quit [Ping timeout: 260 seconds]
<maerwald> installing python36Packages.neovim has no effect, vim still cannot see the package
<maerwald> using pip to install manually is even more broken
<Drakonis> i'm curious aboutuse nix-shell
lpsmith- is now known as lpsmith
<Drakonis> woops
<Drakonis> do use nix shell for that
<maerwald> was that a question?
<Drakonis> no, it was an answer
<Drakonis> you need to use nix-shell with python packages
<samueldr> Drakonis: that's not helpful for their editor
<Drakonis> i am however curious about something else
<Drakonis> oh yeah uh
<maerwald> I want to run vim, not python packages
<Drakonis> i haven't dealt with vim
<samueldr> maerwald: how did you install neovim?
<maerwald> I'm not using neovim
* samueldr is confused
<maerwald> vim can use the neovim python module
<maerwald> and some plugins do
<samueldr> ah, didn't know
<maerwald> running 'python3 import neovim' in vim jus fails with no module named neovim
<dmc> install the Python Neovim client
<maerwald> I did
<maerwald> see above
<samueldr> maerwald: I'm looking into how vim is packaged, it's possible it's done through vim_configurable
<dmc> vim_possible
<clever> i do see neovim in the plugin list
<{^_^}> [nixpkgs] @dhess opened pull request #44482 → haskell: re-enable aarch64, disable parallel builds on that arch. → https://git.io/fNXZs
<maerwald> I'm not using nix to configure my plugins
<clever> that would be your problem then
<maerwald> why so?
<clever> the nixpkgs stuff to handle that fix all of the problems your having
<{^_^}> [nixpkgs] @imuli opened pull request #44483 → idrisPackages: add quantities library → https://git.io/fNXZc
<maerwald> I already have a perfect vim configuration with vim-plug that can simply be cloned, why would I duplicate that effort into a non-vim environment, which might arbitrarily break?
<maerwald> and it's portable across distros
<clever> as long as nix is present, i can run nix-build or nix-env to install a config similar to what i linked
<clever> and then it can be even more reproducible
<samueldr> clever: would it be possible to use vim_configurable to piggy-back on its environment, but not use it for the configuration files?
<clever> vim_configurable still obeys ~/.vimrc
<maerwald> I just want the python plugin to work, nothing else
<samueldr> so using it only to build the environment for those plugins should be workable I guess?
<clever> samueldr: probably
vmandela has quit [Ping timeout: 264 seconds]
Fare has quit [Ping timeout: 268 seconds]
vmandela has joined #nixos
primeos has quit [Ping timeout: 240 seconds]
<maerwald> aha
<maerwald> so I guess I'll just give up
primeos has joined #nixos
<ldlework> clever: would a solution to some of this be nice tools for querying the path location of things?
abueide has quit [Remote host closed the connection]
<ldlework> so you could tell a third-party application where to find python by referring to the package name
<ldlework> like $(nix-info -i python3)
<ldlework> something i dunno
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<clever> ldlework: its best to bake those paths into a config file, since running a tool like that will be slow and randomly upgrade things
<dmc> maerwald, that's the spirit
<ldlework> clever: sure but it would be an escape hatch
<ldlework> and wouldn't cause any decoherence in the store
<Drakonis> wwoah nelly i got a home manager config now
<mdash> maerwald: why wouldn't you use nix for everything, really :)
<ldlework> Drakonis: nice
<dmc> vim-plug is great
<Drakonis> what are the things i can move into it?
<mdash> maerwald: more generally, "installing" stuff is only rarely useful in nixos
<Drakonis> only things local to the user right? can't move desktop environments or any of that?
<maerwald> mdash: why would I reproduce my configuration in a non-vim config format?
<maerwald> then I have to maintain two configurations
<maerwald> I don't like configuration complexity.
<Drakonis> looks workable but not there just yet
primeos has quit [Ping timeout: 248 seconds]
<dmc> I mean, if you can't get the Python Neovim client to work, doesn't really matter what your Vim config is
primeos has joined #nixos
<dmc> maybe you even want to just try it with Neovim
<dmc> it/your vimrc
<maerwald> I don't use neovim
<dmc> right
init_6 has joined #nixos
<dmc> emphasis on "try" :p
<Drakonis> just moved most of my stuff in
<Drakonis> fabulous.
<maerwald> importing the neovim python client in neovim works, probably because of UpdateRemotePlugins
<maerwald> not because of nix
<maerwald> I suspect it never actually worked
<maerwald> and no one noticed
<dmc> you have roxma/vim-hug-neovim-rpc as well?
<Drakonis> nice, time to send it up
<maerwald> yes
<dmc> maerwald, you're setting up Deoplete?
<maerwald> yes
<dmc> I'm trying to make do with ALE, but if I end up setting up Deoplete and ..find anything.. will ping ya ┐(ツ)┌
<maerwald> ale doesn't have LSP support
<dmc> it does :)
<maerwald> no
<{^_^}> w0rp/ale#517 (by Firehed, 1 year ago, closed): Feature request: add general support for the Language Server Protocol
<maerwald> hm, seems it does
<dmc> lol
<maerwald> never worked here with ghc
<maerwald> hie to be specific
dcci has quit [Quit: Lost terminal]
<dmc> haven't tried a Haskell language server yet
<maerwald> it sucks
<maerwald> like all the other tools
<Drakonis> jtojnar, you da man
emacsomancer has quit [Remote host closed the connection]
kyren_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maerwald> suspend is broken too
<{^_^}> [nixpkgs] @jensbin opened pull request #44484 → openshift: 3.9.0 -> 3.10.0 → https://git.io/fNXnm
kyren has joined #nixos
kyren has quit [Client Quit]
Guanin has quit [Ping timeout: 256 seconds]
b has joined #nixos
Guanin has joined #nixos
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @barakb opened pull request #44485 → pmdk: init at 1.4.1 → https://git.io/fNXnw
hakujin1 has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
<dmc> maerwald, have you considered NCM2
<dmc> there's also asyncomplete, but that's pure Vim script
<dmc> bbs
hakujin1 has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
hakujin1 has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
jasongrossman has joined #nixos
hakujin1 has joined #nixos
<dmc> back
hakujin1 has quit [Ping timeout: 265 seconds]
vmandela_ has joined #nixos
<vmandela_> How can I make configurations built with nesting.clone show in the grub menu?
alex`` has joined #nixos
Drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vincentbernat opened pull request #44487 → haproxy: 1.8.9 -> 1.8.13 → https://git.io/fNXCe
<{^_^}> [nixpkgs] @dywedir opened pull request #44488 → oxipng: 1.0.1 -> 2.1.0 → https://git.io/fNXCT
<{^_^}> [nixpkgs] @vincentbernat opened pull request #44489 → haproxy: use getaddrinfo() on Linux → https://git.io/fNXCY
hakujin1 has joined #nixos
vmandela_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #44490 → wireguard: 0.0.20180708 -> 0.0.20180802 → https://git.io/fNXCn
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fNXCW
hakujin1 has quit [Ping timeout: 240 seconds]
aarvar has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #44491 → tmuxPlugins: add fzf-tmux-url to the list of plugins → https://git.io/fNXCB
<joepie91> oh, great, kwin segfaults on boot
mupf has quit [Quit: WeeChat 2.1]
<joepie91> okay, apparently caused by installing some KDE application or other from unstable...
<joepie91> I smell an impurity
<dhess> I guess there's no "case" or "switch" statement in Nix, eh?
<FRidh> joepie91: possible related to https://github.com/NixOS/nixpkgs/issues/44388 ?
<{^_^}> #44388 (by coretemp, 1 day ago, open): konsole: segfault
<{^_^}> #38870 (by arianvp, 16 weeks ago, open): KDE not showing any window borders in 18.03
f0i has joined #nixos
<joepie91> though not spectacles in my case
<joepie91> but I do have a bunch of stuff from unstable
<FRidh> joepie91: ah, yes, that's expected behaviour (unfortunately)
<joepie91> seems like it shouldn't be
<joepie91> the application crashing, sure
<joepie91> kwin? that makes no sense
vmandela_ has joined #nixos
<FRidh> It's the Qt plugins. An earlier solution did not have this specific problem as it was using symlink trees, but there was something else with that solution.
<joepie91> so... known impurity?
<FRidh> yes
<joepie91> blargh.
<joepie91> any solutions in sight?
<FRidh> trade-off
<joepie91> FRidh: also, have a link to more info about this issue?
<FRidh> i recall ttuegel once wrote more about it, let's see if I can find it
<joepie91> thanks
jlund has quit []
<joepie91> and to think I was just restarting to resolve a bug in Atom...
<joepie91> yay, after a rebuild/update, I have my kwin back
<joepie91> still interested in more info about the issue though :P
<joepie91> FRidh: thanks
<FRidh> joepie91: I know he has written more on the issue but can't find it
<joepie91> will search around myself a bit more, later
philippD has joined #nixos
<{^_^}> #15498 (by aszlig, 2 years ago, closed): Qt libraries shouldn't end up in system-path
butchery has joined #nixos
<{^_^}> #26336 (by ttuegel, 1 year ago, merged): Unwrap Qt 5 packages
<butchery> Trying to upgrade 17.03 => 18.03, getting a syntax error in fetchpatch/default.nix, any obvious clues?
Lisanna has quit [Remote host closed the connection]
<butchery> nvm, dropped back to 17.03 channel and did update first
<butchery> my bad
<ben> What's the best way to pin my nixos config to a specific nixpkgs revision? Do I need a wrapper script around nixos-rebuild or can I do it in .nix?
<clever> ben: using nix.nixPath in configuration.nix, you can control the default value of $NIX_PATH
<clever> ben: just keep in mind that it only effects the NIX_PATH after nixos-rebuild has finished, not the current nixos-rebuild
<ben> That's also gonna take effect in the subsequent build, right?
<ben> right
<ben> hmm that seems fragile
<clever> there is a trick i have seen somebody do before, let me find it
<ben> a wrapper script wouldn't be the worst
<ben> (and then just like... a nixpkgs git submodule in my config repo I guess)
<clever> ben: nix.nixPath = [ "nixpkgs=${<nixpkgs}" ];
<clever> oops
<clever> ben: nix.nixPath = [ "nixpkgs=${<nixpkgs>}" ];
<clever> ben: this will copy the current <nixpkgs> into the store and then always use that version, ignoring the channels
<ben> :thinking:
<clever> and the only way to change it, is to use -I nixpkgs=/path/to/something
<clever> which will effect the build your starting, and change the vars for later
<ben> hmm, that seems spookier than using -I every time
<clever> it will basically make nixos remember the last -I
<jasongrossman> clever: I've failed to diagnose the problem that was stopping nixos-rebuild from working, but I think I've worked around it by making a fresh root directory using the installer.
<joepie91> FRidh: thanks
<jasongrossman> clever: Backing off to 18.03 and 17.09 didn't help.
<jasongrossman> clever: The workaround is the sort of thing I'm used to having to do with other operating systems anyway, so it doesn't feel like a disaster!
<typetetris> Hi there I want to mention `systemctl` in my sudoers config in `/etc/nixos/configuration.nix` and tried "${pkgs.systemd-237}/bin/systemctl" but I get `attribute systemd-237` missing on `nixos-rebuild switch`, what do I need to change, to make it work?
<{^_^}> [nixpkgs] @leenaars opened pull request #44493 → pythonPackages.fire: init -> 0.1.3 → https://git.io/fNXW8
<clever> typetetris: just pkgs.systemd
<typetetris> clever: Thank you!
<ben> is there a builder or other simple way that just creates a symlink to another store path?
<ben> s/way/mechanism/
<clever> ben: runCommand
<ben> mh cheers
wigust has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « scilab-bin: 5.5.2 -> 6.0.1 »: https://git.io/fNXWa
hakujin1 has joined #nixos
jasongrossman has quit [Remote host closed the connection]
hakujin1 has quit [Ping timeout: 256 seconds]
vcunat has joined #nixos
juhe has joined #nixos
butchery has quit [Quit: leaving]
hakujin1 has joined #nixos
jasongrossman has joined #nixos
hakujin1 has quit [Ping timeout: 260 seconds]
hiratara has joined #nixos
b has quit [Quit: Lost terminal]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jD91mZM2 has joined #nixos
spear2 has joined #nixos
spear2 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @rycee pushed commit from @dotlambda to master « svtplay-dl: use python3Packages »: https://git.io/fNXlb
<{^_^}> [nixpkgs] @rycee closed pull request #44401 → svtplay-dl: use python3Packages → https://git.io/fNiPX
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « nix: don't use /tmp for the tests on darwin »: https://git.io/fNXlh
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #44494 → mdbook: 0.1.8 -> 0.2.0 → https://git.io/fNX8Z
philippD has joined #nixos
ambro718 has joined #nixos
hakujin1 has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<vmandela_> how do I make child or cloned build configurations show up in grub menu ?
hakujin1 has quit [Ping timeout: 260 seconds]
vcunat has quit [Ping timeout: 256 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
fendor has joined #nixos
orivej has joined #nixos
simukis has joined #nixos
lassulus has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.3.11 -> 1.3.12 »: https://git.io/fNX4k
<{^_^}> [nixpkgs] @FRidh pushed to staging « python.pkgs.pytest.setupHook: fix cache name, fixes #40273 »: https://git.io/fNX4L
lassulus has joined #nixos
lassulus has quit [Client Quit]
lassulus has joined #nixos
<ldlework> Anyone have a haskell nix-env template to get me going right away?
<ldlework> nix-shell*
Ariakenom has joined #nixos
hakujin1 has joined #nixos
vmandela_ has quit [Quit: Leaving]
<ldlework> I just installed docker with virtualization.docker.enable = true;
<ldlework> then switched
<ldlework> but i don't have any running docker daemon
hakujin1 has quit [Ping timeout: 265 seconds]
<cocreature> you might also want to look at https://github.com/Gabriel439/haskell-nix
<srk> ,haskell
<ldlework> any idea about docker?
fendor has quit [Ping timeout: 244 seconds]
<srk> maybe it's socket activated
<ldlework> what do you mean?
<ldlework> ah i'm not in the docker group for some reason
<ldlework> "group docker does not exist"
<ldlework> erm
<ldlework> srk what do you mean?
<srk> ldlework: no, it's not that case - I'm looking at the implementation and it's just a normal service
<srk> ldlework: and there's also users.groups.docker.gid = config.ids.gids.docker;
<ldlework> srk nixos-rebuild switch should do it right?
<srk> which create a group
<srk> yeah
<ldlework> doesn't seem to work
<{^_^}> [nixpkgs] @Yarny0 opened pull request #44496 → Hylafaxplus → https://git.io/fNX4u
<ldlework> i have virtualization.docker = { enable = true; }; in my config
<ldlework> and users.users.ldlework.extraGroups = [ "wheel" "networkmanager" "docker" "sound" ];
thc202 has joined #nixos
<cocreature> this won’t modify the groups you are in, in existing shells so maybe try rebooting
BombStrike has quit [Quit: ZNC 1.7.0 - https://znc.in]
<srk> or just su - <user>
ng0 has joined #nixos
<typetetris> hmm `nix-repl '<nixos>'` complains about some path not being writable, `nix repl '<nixos>'` works. So just use the later one?
<symphorien> ,nix-repl
<{^_^}> To use nix-repl with Nix 2.0, either use the new `nix repl` or `NIX_REMOTE=daemon nix-repl`. Just using `nix-repl` gives an error because it is linked to Nix 1.x which requires NIX_REMOTE to be set correctly, while Nix 2.0 doesn't (and unfortunately it wasn't kept for backwards compatibility)
<LnL> 2.0 is smarter about knowing when to use the daemon
<typetetris> Thanks
<maerwald> why is pip broken in nix?
silver has joined #nixos
<symphorien> Virtual environments are fine in my experience
<maerwald> so you run vim inside a virtual environment every time?
<maerwald> also, doesn't answer the question :)
<symphorien> Well I don't use pip without virtualenvs so...
<maerwald> great
<symphorien> Also I usually use nix-shell instead of virtualenvs
<maerwald> so you run vim inside nix-shells only?
<symphorien> What are you trying to do ?
<maerwald> install a python module so vim can see it
<maerwald> very simple thing
<symphorien> A dependency of a module ?
<symphorien> Of a vim plugin *
<maerwald> a python module
<maerwald> yes
<symphorien> Ah.
rprije has joined #nixos
<symphorien> For neovim see an example of what to do here https://ensime.github.io/editors/vim/install/
<symphorien> For vim idk
<maerwald> I don't use neovim
<symphorien> The idea is: nix prevents interference between two installed programs. So installing a plugin/module/library will usually no work. What you should do is install vimWithYourPlugin instead of just vim
<maerwald> I don't want nix to mess with my vim configuration, nor do I want to reconfigure a huge plugin system that works well with vim-plug in nix-lang
<LnL> vim uses python from PATH by default AFAIK
<symphorien> Then you can install (python.withPackages(ps: with ps; [ numpy ])) instead of python
<symphorien> numpy is an examm'e
<symphorien> *example
<LnL> so I think installing a python interpreter using withPackages would work
<maerwald> it doesn't seem that vim is using that interpreter
ng0 has quit [Quit: Alexa, when is the end of world?]
<typetetris> How can I find the exact sha of nixpkgs, my nix-channels are using?
<symphorien> nix-info should tell
<maerwald> :python and :python3 in vim use the compiled-in interpreters
<symphorien> Then override your vim to use python.withPackages
<maerwald> that's worth a shot
<LnL> oh, I thought vim changed the default upstream
<maerwald> that seems to work
<Enzime> ryantm: what happened to your update bot? haven't seen it PR anything lately
<{^_^}> [nixpkgs] @hedning opened pull request #44497 → [WIP] Add gnome wayland support → https://git.io/fNXBQ
siriobalmelli has joined #nixos
<siriobalmelli> Hello all :) Anyone there who might help me understand a pkg-config issue with a derivation?
Fare has joined #nixos
<siriobalmelli> ... I'm hoping it's straightforwared but just can't find anything in the docs. This derivation: https://github.com/siriobalmelli/nonlibc/blob/sirio/default.nix
<{^_^}> [nixpkgs] @Ma27 opened pull request #44498 → lib/trivial: remove deprecation warning for `lib.nixpkgsVersion`. → https://git.io/fNXRm
rprije has quit [Ping timeout: 256 seconds]
<siriobalmelli> ... when I add 'nonlibc' to the 'buildInputs' of another derivation and then run 'nix-shell' ... I can see nonlibc being built before the shell is started - but it's missing from my PKG_CONFIG_PATH
rprije has joined #nixos
<siriobalmelli> this is the derivation depending on 'nonlibc' https://github.com/siriobalmelli/xdpacket/blob/sirio/default.nix
<siriobalmelli> [nix-shell:~/xdpacket]$ env | grep PKG PKG_CONFIG_PATH=/nix/store/1g97qw2czbakl2crdkbgmqhsffmqfb7b-liburcu-0.10.1/lib/pkgconfig:/nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/lib/pkgconfig
<siriobalmelli> oustide nix-shell there is no pkg-config
<siriobalmelli> sirio@container:~/xdpacket$ env | grep PKG sirio@container:~/xdpacket$
<{^_^}> [nixpkgs] @mdorman opened pull request #44499 → xmonad, xmonad-contrib, xmonad-extras: remove superfluous config → https://git.io/fNXRn
<Enzime> infinisil: https://github.com/NixOS/nixpkgs/pull/40747 if he ticked the maintainers can make edits
<{^_^}> #40747 (by WhittlesJr, 11 weeks ago, open): services.synergy: Use graphical target (fixes #9468)
<Enzime> you could amend his commit to change the message and merge it
<{^_^}> [nixpkgs] @LnL7 merged pull request #43612 → mpv: build and install macOS App Bundle → https://git.io/fNOZX
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fNXRC
<infinisil> Enzime: yeah, but I feel like this is something the pull requester should do
<infinisil> I don't want to fix up everything all the time myself, people should learn the conventions and apply them themselves
<Enzime> infinisil: that's true but if the PR creator isn't responding
<Enzime> then it's a real shame just to miss out on the PR changes just because of the commit message
<{^_^}> [nixpkgs] @dotlambda opened pull request #44500 → home-assistant: 0.74.2 -> 0.75.1 → https://git.io/fNXR4
<infinisil> Oh you have a point
<maerwald> stdenv doesn't install gcc and ar etc?
<symphorien> maerwald: what are you trying to do ?
<maerwald> use gcc and ar
<symphorien> install them as such: gcc and binutils
<symphorien> but be aware that gcc won't find any libraries
<maerwald> what is stdenv for then
<symphorien> you must use nix-shell for this
<symphorien> stdenv is what nix-shell uses
<maerwald> I'm using stack
<symphorien> I don't know anything about stack, but if this involves compilation, use it in a nix-shell
<maerwald> anyone knows how to use stack on nixos?
<maerwald> it seems you have to enable nix integration in stack in config.yaml
<srk> nix-shell -p stack
<ldlework> Can someone show me a simple NixOS expression that will render a simple bash script to the system path?
<maerwald> srk: no, stack does that automatically
<srk> maerwald: no need to
<Enzime> ldlework: if you make a derivation
<Enzime> and install it
<srk> previously you've had to add --nix or section in stack.yaml
<Enzime> it'll be accessible from your path
<ldlework> Enzime: yeah I'm looking for a small example
<Enzime> where do you want this script to be accessible from?
<maerwald> nix: enable: true
<srk> that's autodetected on nixos
<ldlework> Enzime: I'm the only user of my system so globally, I don't care
<Enzime> ldlework: I meant how is this script getting run?
<Enzime> are you going to run it yourself?
<Enzime> systemd?
<srk> maerwald: and problematic on non-nixos
<ldlework> Enzime: oh both examples would be absolutely amazing
<maerwald> srk: I am on nixos
<ldlework> a simple bin script manually run, and a systemd example
<maerwald> and it wasn't automatically detected
<srk> weird
<srk> $ stack build
<srk> Note: Enabling Nix integration, as it is required under NixOS
orivej has quit [Ping timeout: 248 seconds]
<srk> maybe I have newer stack
<infinisil> ldlework: something like `pkgs.writeScriptBin "foo" ''#!${pkgs.stdenv.shell} /n echo hi''`?
<srk> $ stack --version
<srk> Version 1.7.1 x86_64
<maerwald> what's the most idiomatic way to add a folder to PATH?
<infinisil> maerwald: probably environment.sessionVariables.PATH = [ "/foo" ]
<{^_^}> [nixpkgs] @timokau opened pull request #44501 → sage: don't override pari → https://git.io/fNXRp
nly has joined #nixos
<ldlework> infinisil: did you mean /n ?
<infinisil> Or environment.variables
<ldlework> also hi
* ldlework huggles infinisil
<infinisil> ldlework: hi :P
<infinisil> Newline
<ldlework> figured
<infinisil> Oh \n i guess
<ldlework> i wish someone would fix nix-mode indentation for emacs
<infinisil> There was a PR to improve it, but it's still not quiet right
<maerwald> doesn't seem to work if I put it in ~/.nixpkgs/config.nix
juhe has left #nixos [#nixos]
<maerwald> oh no, it does, just not new shells, because they have the old env
<infinisil> ldlework There's 2 indentation modes btw, the more powerful but slighty buggy one is turned off by default
<jasongrossman> infinisil: Is it more powerful in an interesting way?
<infinisil> nix-mode#42
<{^_^}> https://github.com/NixOS/nix-mode/pull/42 (by yorickvP, 8 weeks ago, merged): better `nix-indent-line`
<infinisil> Not entirely sure what the differences are
<ldlework> infinisil: I have this, https://gist.github.com/dustinlacewell/3bfaab2938624e2c306150a719c049c9 and I get error: syntax error, unexpected '"', expecting '.' or '=', at /nixcfg/modules/nixos/software/haskell.nix:9:25
<infinisil> ldlework: you need an actual newline!
<infinisil> I just used \n because i can't send newlines with irc
<ldlework> that didn't help
<infinisil> Also, you need to assign the package to something
<infinisil> Environment.systemPackages
<ldlework> can you explain?
<infinisil> Or so
<ldlework> I see.
<ldlework> I should let it to a name right
<infinisil> Doesn't matter
<infinisil> But it's probably cleaner if you do
<ldlework> nice
<ldlework> haskellsh command not found :(
<ldlework> even after starting a new shell
<ldlework> what did i do wrong
<ldlework> i added mine.haskell.enable = true;
<infinisil> What's the file now?
<infinisil> Heh, check out the condition there
<infinisil> "Docker.enable"
<ldlework> ah crap
NightTrain has joined #nixos
<ldlework> it worked!
<infinisil> :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/70e72355109 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hakujin1 has joined #nixos
bobvanderlinden has joined #nixos
<ldlework> infinisil: can you help me change this file such that it becomes a systemd service that get's run on a daily schedule or something?
vmandela_ has joined #nixos
<infinisil> ,timer ldlework
nly has quit [Quit: Leaving]
<ldlework> <3
<ldlework> infinisil: you should add the shell script example
<infinisil> A wiki page for such small examples might be nice
<ldlework> lmao i've only said that like 20 times
<infinisil> Oh right that was you xD
<bobvanderlinden> I'm trying to cross-build a sdimage for RaspberryPi3 and while doing so I ran into a problem with building freetype, for which I probably need some help. I think it wants the native compiler to be set (x86_64-linux) so that it can build internal tooling in the arch of the build system that is used further along the build process. How can I refer to the native CC when doing a cross-build?
hakujin1 has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<bobvanderlinden> basically, to reproduce the error I used: `nix-build . -A pkgsCross.aarch64-multiplatform.freetype` on a recent nixpkgs
hamishmack has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
eskytthe has left #nixos [#nixos]
aanderse has joined #nixos
<Enzime> is there any way to see what packages in nixpkgs have been built and are stored on the cache server?
<infinisil> ldlework: heh, may i suggest some cleanups then: remove unneeded config and lib argument, fix indentation on the '' part, assign envirnment.systemPackages directly (not through config)
neeasade has quit [Ping timeout: 240 seconds]
<infinisil> (Am on phone rn, can't edit myself)
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
hakujin1 has joined #nixos
<ldlework> infinisil: not sure what you mean about indentation on the '' part
<joko> Hello, is anyone using pcmanfm? If so, how are you dealing with MIME types? Dolphin finds the file associations, but pcmanfm does not
<ldlework> i fixed everything else though
<infinisil> ldlework: see any example of these in nixpkgs
<ldlework> infinisil: does nix not add the whitespace before the lines
<ldlework> and i should indent it like it is code
<infinisil> ,find default.nix
<infinisil> ,find hello/default.nix
<ldlework> ok
<ldlework> so yes :)
<infinisil> Ah yeah, see longDescription there ^^
orivej has quit [Ping timeout: 260 seconds]
<ldlework> infinisil: what's your bot written in
<infinisil> Haskell :)
<TheBrayn> I installed openssl globally but it doesn't seem to be available for my user when compiling things
<infinisil> ,library TheBrayn
<{^_^}> TheBrayn: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
hakujin1 has quit [Ping timeout: 260 seconds]
<ldlework> OK fixed
<infinisil> ldlework: nice, thanks :)
<TheBrayn> where does the default.nix file for my user go?
<TheBrayn> and why does nix-shell -p openssl open up bash instead of zsh?
<symphorien> you can do nix-shell -p openssl --run "exec zsh"
<infinisil> TheBrayn: what default.nix do you mean? And bash is just the default, you could just start zsh in the shell however, which will clear env vars though (but direnv can solve that problem)
<{^_^}> [nixpkgs] @peti merged pull request #44499 → xmonad, xmonad-contrib, xmonad-extras: remove superfluous config → https://git.io/fNXRn
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fNXEU
<TheBrayn> the article you linked mentions defining environments which are defined in “default.nix”
<TheBrayn> and I don't know where any of this is supposed to go
<Enzime> FRidh: does building python3Packages.rlp work for youa?
<Enzime> you? *
<symphorien> whereever you want, you just have to launch nix-shell in the directory where the default.nix lies
<{^_^}> [nixpkgs] @jpathy opened pull request #44502 → Palemoon: 27.9.2 -> 27.9.4 → https://git.io/fNXEq
<symphorien> TheBrayn: ^
dejanr has quit [Ping timeout: 264 seconds]
benny has quit [Ping timeout: 264 seconds]
chris| has quit [Ping timeout: 264 seconds]
dejanr has joined #nixos
derchris has quit [Ping timeout: 264 seconds]
chris| has joined #nixos
noqqe has quit [Ping timeout: 264 seconds]
ajs124 has quit [Ping timeout: 264 seconds]
Guest87754 has quit [Ping timeout: 264 seconds]
spacefrogg has quit [Ping timeout: 264 seconds]
Biappi has quit [Ping timeout: 264 seconds]
rschuetz has quit [Ping timeout: 264 seconds]
jeschli has quit [Ping timeout: 264 seconds]
<TheBrayn> thanks
the_real_plumps has quit [Ping timeout: 264 seconds]
<TheBrayn> I can just pass the file to the environment definition on the command line
<TheBrayn> s/file/path/
<genesis> domenkozar : have you an idea why #1786 have been removed ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/1786 (by lethalman, 4 years ago, merged): gnome-icon-theme-symbolic and yelp update
ajs124 has joined #nixos
<ldlework> infinisil: where exactly is systemd really explained?
<ldlework> it is used a number of times in the manual, but it is never really explained how to create units
<{^_^}> [nixpkgs] @peti pushed 631 commits to haskell-updates: https://git.io/fNXE0
spacefrogg has joined #nixos
noqqe has joined #nixos
orivej has joined #nixos
<infinisil> ldlework: hmm not sure
<ldlework> Well I added your timer example, https://nixos.wiki/wiki/Nix_Cookbook#Creating_Periodic_Services
<infinisil> Theres the options page I guess, which would be easy if you already knew systemd
<ldlework> infinisil: now I need an example of wrapping an existing package's binary. For example I need the kitty program to actually run "optirun kitty" so that I get GPU acceleration.
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fNXE2
derchris has joined #nixos
<infinisil> ldlework: neat! What's the chmod for though?
<ldlework> infinisil: it was only readable by root
<infinisil> ldlework: i see, would be nicer to use preStart for that (touch /tmp/log && chmod
<ldlework> OK I'll look at that
<{^_^}> [nixpkgs] @jpathy opened pull request #44503 → ccid: 1.4.27 -> 1.4.29 → https://git.io/fNXEr
<symphorien> or you can use systemd-tmpfiles to have it created for you declaratively
<ldlework> symphorien: can you fork and edit https://gist.github.com/dustinlacewell/fac1226c52287811536f4b3c4984d105 to show what you mean
<infinisil> Tbh, I usually think that to create examples/tutorials for others, you need to have a good understanding of it first, because otherwise bad examples could be passed along, to be seen by many others. But since nobody else is doing it I think it's fine :P. And we're here to help with it too
* infinisil gives some love to ldlework
<ldlework> I'm not making examples for the sake of it. These are patterns I want to use. That I opt to commit it to the wiki seems incidental to me :)
<infinisil> Yeah, but it will still be seen by a lot of people
<infinisil> ldlework: Since there's a wiki entry for ,timer now, you can change it to point to that :)
<ldlework> i don't know how to operate the bot
<ldlework> symphorien: would you mind?
<infinisil> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<symphorien> ldlework: sure, let me reread man tmpfiles.d
<{^_^}> timer redefined, was defined as: systemd timer example: https://gist.github.com/Infinisil/e8c341eaf81e84df113265247164cc53
<ldlework> cool
aanderse has quit [Ping timeout: 260 seconds]
Tritlo has quit []
<ldlework> Now I just need an example of wrapping a binary with an overlay. The example I have, is making it so running 'kitty' actually runs 'optirun kitty'
<ldlework> A section on overlay tricks would be neat
Tritlo has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #44504 → logrotate: make mailutils overridable → https://git.io/fNXus
<infinisil> ldlework: `writeScriptBin "kitty" ''... exec ${pkgs.optirun}/bin/optirun ${pkgs.kitty}/bin/kitty''
<infinisil> Is the simple variant, but that won't propagate man pages
<ldlework> infinisil: wont that interfere with kitty itself though?
<infinisil> ldlework: Rename it then?
<ldlework> infinisil: i know there is a 'wrapProgram' thing
<infinisil> Ah yeah, but in any case, the original kitty isn't meant to be used anymore, even if you use wrapProgram
<infinisil> You could also do `runCommand "kitty" {} ''mkdir $out; ln -s ${kitty}/* $out; rm $out/bin; mkdir $out/bin; ln -s ${writeScriptBin "kitty" ''<same thing as before>''}''`
<infinisil> To propagate man pages
<infinisil> (there are some variations of this)
<infinisil> wrapProgram isn't all that nice in such a case
<ldlework> Maybe you should write this one
<symphorien> in a qemu vm built by nixos-rebuild build-vm how can I type ctrl-alt-f1 ?
<symphorien> ldlework: https://gist.github.com/symphorien/cc0187bee47a05c71e0199a06b877763 even simple, set a correct umask
<symphorien> you may have to remove the current /tmp/simplelog when testing
<infinisil> I'll argue that the example in the wiki should be dead simple, this umask/chmod thing might just confuse people and makes them add it to their timer even if they don't need it
<symphorien> systemd includes a utility to manage somes (empty) files declaratively
<infinisil> That's why I just used a simple `echo hi` in my original example
<ldlework> ok fine
<symphorien> makes sesn
<symphorien> *sense
<ldlework> fixed
<ldlework> ok now we just need the wrapper example :)
<cocreature> I haven’t read all of the backlog so sorry if this wis already mentioned but I’ve used symlinkJoin for usecases where I wanted to wrap a binary while also keeping things like desktop files, man pages, …
<ldlework> infinisil: do you think that this is a good one too? nixpkgs.config.packageOverrides = pkgs: { unstable = import <nixos-unstable> {}; };
<infinisil> ldlework: Okay I'll write one
<infinisil> ldlework: Overlays are preferred nowadays
<ldlework> i wonder what the overlay version of this is
<infinisil> #43560
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43560 (by lheckemann, 3 weeks ago, open): [WIP] Deprecate packageOverrides
<ldlework> how is it possible you remember the issue number
<ldlework> lol
<infinisil> nixpkgs.overlays = [ (self: super: { unstable = import <nixos-unstable> {}; }) ];
<infinisil> I looked it up and copied the number :)
<ldlework> hehe
siraben has joined #nixos
<siraben> Can I create a custom installation with wifi drivers alreaday?
<siraben> The device I want to install NixOS on has no ethernet port.
<ldlework> infinisil: neat snippet thanks
orivej has quit [Ping timeout: 264 seconds]
<ldlework> siraben: good question i'm sure you'll get an answer
<symphorien> the iso is a regular nixos system, so configure the drives in is configuration.nix
ambro718 has quit [Quit: Konversation terminated!]
<symphorien> *drivers
<siraben> symphorien: Thanks!
<ldlework> I don't believe I had to do anything special to enable wifi honestly
<ldlework> I mean I enabled networkmanager
<ldlework> symphorien: would you have to do something more than that in some cases?
<symphorien> enable unfree firware ?
<siraben> Yeah, in my case.
<ldlework> siraben: does nixpkgs have the driver?
<siraben> ldlework: Yes if I do nixpkgs.config.allowUnfree = true;
<ldlework> cool
paraseba has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fNXzn
siriobalmelli has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « Revert "nixos/manual: add release note entry for FoundationDB" »: https://git.io/fNXzW
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « nixos/manual: add release note entry for FoundationDB »: https://git.io/fNXz2
freeman42x]NixOS has joined #nixos
MP2E has joined #nixos
<{^_^}> wrapper defined
<ldlework> infinisil: extensive, i'll have to study these
phry has joined #nixos
<ldlework> well done
<infinisil> Thanks, may need some cleaning up, I didn't explain makeWrapper vs wrapProgram vs writeScriptBin at all
<ldlework> yes but that is the style choice
johnw has joined #nixos
<ldlework> it is a tutorial or a reference
<ldlework> though perhaps a tiny small explication might help
<{^_^}> [nixpkgs] @bignaux opened pull request #44505 → [WIP] gscrabble : init at 0.1.2 → https://git.io/fNXzP
<genesis> ^ if gnome3 people can tell me why this theme has disappear.
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<infinisil> genesis: I can't find it ever being there, was it under a different name?
<genesis> no, i copy paste and fix little thing
<infinisil> Huh? So it didn't disappear, it just wasn't there?
<phry> is there a way to build a path relative to the current folder, with a variable part? I'm always getting paths relative to the nix store, not relative to the original folder.
<phry> (what I'm trying to do is include all .nix files in the current folder, there may be an easier way to do that alltogether?)
<phry> my current attempt is: map ( v: "${./.}/${v}" ) (builtins.attrNames (lib.filterAttrs ( n: v: v == "regular" && n != "default.nix" ) (builtins.readDir ./. )))
<infinisil> phry: Use toString ./.
<phry> infinisil: ah nice!
<infinisil> genesis: Huh, I'll look into it..
<phry> infinisil: it builds :) just out of curiosity: is there an easier way to do "includes = ./*.nix"? :)
init_6 has quit []
<infinisil> phry: Maybe lib.sourceByRegex would work?
<phry> infinisil: will take a look, thanks :)
<genesis> infinisil : ok, other software seems to need it too, so restore this stuff would be good.
<genesis> fine, this is a massiv commit :)
NYXT has quit []
NYXT has joined #nixos
<genesis> my derivation works, i think i could propose it anyway, even if it's not tagged 3.16 ?
<infinisil> Sorry I don't know much about gnome stuff
<ToxicFrog> It would be really nice if, say, each top-level directory in nixpkgs had a default.nix that all-packages.nix loaded, rather than all-packages.nix being a monolithic 700KB 22kLOC disaster.
<ldlework> lol
<ldlework> i really wonder what is gonna be done about nixpkgs
<ToxicFrog> It would also be nice if retroarch/libretro's nixpkg were at all documented
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @pSub pushed 7 commits to add-missing-licenses: https://git.io/fNXgB
<infinisil> ToxicFrog: Yeah I thought about doing something like that before
<infinisil> Along with adding a tagging system
<{^_^}> [nixpkgs] @xeji merged pull request #44488 → oxipng: 1.0.1 -> 2.1.0 → https://git.io/fNXCT
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « oxipng: 1.0.1 -> 2.1.0 (#44488) »: https://git.io/fNXga
* ToxicFrog screams
<ToxicFrog> Ok, apparently the way you configure what cores retroarch has is this: https://github.com/coreyoconnor/retronix/blob/master/modules/retroarch.nix#L63
vil is now known as vilhalmer
<ToxicFrog> This is documented nowhere at all and demonstrated in nixpkgs somewhere near the bottom of all-packages.nix rather than someplace sensible like in /pkgs/misc/emulators/retroarch
<{^_^}> [nixpkgs] @xeji merged pull request #44480 → solargraph: 0.23.3 -> 0.23.6 → https://git.io/fNXsU
<{^_^}> [nixpkgs] @xeji pushed commit from @worldofpeace to master « solargraph: 0.23.3 -> 0.23.6 (#44480) »: https://git.io/fNXgi
hakujin1 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44484 → openshift: 3.9.0 -> 3.10.0 → https://git.io/fNXnm
<{^_^}> [nixpkgs] @xeji pushed commit from @jensbin to master « openshift: 3.9.0 -> 3.10.0 (#44484) »: https://git.io/fNXg5
<{^_^}> [nixpkgs] @Mic92 merged pull request #44067 → fix: atom crash on Glib-GIO-ERROR → https://git.io/fNBxi
<{^_^}> [nixpkgs] @Mic92 pushed commit from @ysndr to master « atom: fix crash on Glib-GIO-ERROR »: https://git.io/fNXgx
<{^_^}> [nixpkgs] @xeji merged pull request #44503 → ccid: 1.4.27 -> 1.4.29 → https://git.io/fNXEr
<{^_^}> [nixpkgs] @xeji pushed commit from @jpathy to master « ccid: 1.4.27 -> 1.4.29 (#44503) »: https://git.io/fNX2v
hakujin1 has quit [Ping timeout: 276 seconds]
<infinisil> ToxicFrog: Unfortunately that's how pretty much all packages get their configuration, no docs anywhere
<infinisil> I'm not even sure if any manual has a section on this convention
<infinisil> I sure don't like it
<symphorien> ToxicFrog: you can create a wiki article about it
<rain1> I want to contribute a fix of this docbook thing to nix is something you'd want
<rain1> it seesm to only be an issue outside of nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44449 → gnome3.gdm: fix session chooser (backport to 18.03) → https://git.io/fNPHc
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/fNX2T
<{^_^}> [nixpkgs] @Mic92 pushed to master « atom: gtk3 should be in buildInputs »: https://git.io/fNX2I
<ToxicFrog> symphorien: oh, the wiki exists again? I'll add a retroarch page when I have time, then.
<adisbladis[m]> ToxicFrog: https://nixos.wiki : )
pmade has quit [Quit: ZNC - http://znc.in]
jasongrossman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #44468 → Use LLVM 6 with llvm-hs, don't run tests on Darwin. → https://git.io/fNXUy
<{^_^}> [nixpkgs] @ryantm pushed commit from @TravisWhitaker to master « haskellPackages.llvm-hs: Use LLVM 6 with llvm-hs, don't run tests on Darwin. »: https://git.io/fNX2B
<{^_^}> [nixpkgs] @pSub pushed 16 commits to add-missing-licenses: https://git.io/fNX20
<noqqe> Hi guys
<{^_^}> [nixpkgs] @xeji merged pull request #44487 → haproxy: 1.8.9 -> 1.8.13 → https://git.io/fNXCe
<{^_^}> [nixpkgs] @xeji pushed commit from @vincentbernat to master « haproxy: 1.8.9 -> 1.8.13 (#44487) »: https://git.io/fNX2z
<noqqe> im gonna give a short intro talk about nixos in our hackerspace in nuremberg in 2 weeks
<noqqe> any hints/tips what to mention?
<noqqe> whats the best selling points in talk feedback you got from your audience about nixos?
<{^_^}> [nixpkgs] @timokau opened pull request #44506 → Sage new deps → https://git.io/fNX2V
<jD91mZM2> I personally really like that you can share the config to a new system to get it almost identical to the config you took
<jD91mZM2> Like if I want to move computer right now I might need to worry about browser cookies and all that user stuff, but no lightdm setup again
<jD91mZM2> Setting up NixOS to me is like setting up Arch but you're guaranteed to only need to do it once
<noqqe> id like to quote you on that :)
<jD91mZM2> "<insert quote>" - jD... uhh... 19... some guy
<jD91mZM2> (Joke about my username)
<infinisil> What the hell is that user name anyways?!
<jD91mZM2> You know how kids sometimes think they will never move on from their favorite hobby? My hobby was making stop motion animation with legos. So LEGOlord208. Decided to change it to something that looks and pretty much is random
<mikky> so, I'm trying to figure out how crypttab works at NixOS. Is there some kind of official support? The use case is a non-root storage with ZFS on top of it. It's a non-essential filesystem so it should not be a part of pre-boot process and should not halt boot if it fails.
gurmble has joined #nixos
<mikky> there isn't much docs on LUKS and everything I found so far deals with FDE or at least encrypted root
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #44498 → lib/trivial: remove deprecation warning for `lib.nixpkgsVersion`. → https://git.io/fNXRm
<{^_^}> [nixpkgs] @Infinisil merged pull request #44450 → squashfuse : unstable-2018-02-20 -> 0.1.103 → https://git.io/fNPQk
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNXam
grumble has quit [Ping timeout: 615 seconds]
gurmble is now known as grumble
<{^_^}> [nixpkgs] @7c6f434c merged pull request #44506 → Init libbraiding and libhomfly → https://git.io/fNX2V
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fNXa9
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #44501 → sage: don't override pari → https://git.io/fNXRp
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fNXa5
<mikky> oh, never mind, forgot to enable systemd generator
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
<mikky> although I'd expect that the generator would cycle with nixos-rebuild switch, but I had to do an actual reboot for it to take effect
<infinisil> jD91mZM2: Haha well then
hakujin1 has joined #nixos
CcxWrk has joined #nixos
hakujin1 has quit [Ping timeout: 256 seconds]
<srk> mikky: might be relevant https://github.com/techhazard/nixos-iso
vcunat has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #44508 → cddlib: 0.94i -> 0.94j → https://git.io/fNXVE
<{^_^}> [nixpkgs] @hedning opened pull request #44509 → libinput: 1.11.0 -> 1.11.3 → https://git.io/fNXV9
koselig has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44158 → ejabberd: 18.01 -> 18.06 → https://git.io/fNzVU
<{^_^}> [nixpkgs] @xeji pushed commit from @ajs124 to master « ejabberd: 18.01 -> 18.06 (#44158) »: https://git.io/fNXwq
<nand0p> just got this error on nixos-rebuild switch... "bash: kbuildsycoca5: command not found" .. im not clear on how to fix/report issue?
pie___ has quit [Quit: Leaving]
<infinisil> nand0p: #42910
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42910 (by bkchr, 4 weeks ago, merged): services.plasma5: Update start menu with an activationScript
<infinisil> I even asked in the PR if it shouldn't be a direct path to the binary.. but that was ignored
<samueldr> nand0p: are you running KDE?
<samueldr> uh, plasma
<nand0p> yes
<{^_^}> [nixpkgs] @Mic92 merged pull request #44491 → tmuxPlugins: add fzf-tmux-url to the list of plugins → https://git.io/fNXCB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNXw8
Drakonis has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44489 → haproxy: use getaddrinfo() on Linux → https://git.io/fNXCY
<{^_^}> [nixpkgs] @xeji pushed commit from @vincentbernat to master « haproxy: use getaddrinfo() on Linux (#44489) »: https://git.io/fNXwi
<nand0p> is someone working on "Shouldn't this be a direct path via ${kdeWhatever}/bin/kbuildsycoca5? " is the fix for now is to rebuild at the commit before 8b3fb83160c68209e07914ac2201eb6fce9d727b or is there another workaround?
<{^_^}> [nixpkgs] @xeji merged pull request #44463 → shotcut: 18.06.02 -> 18.08 → https://git.io/fNPjW
<{^_^}> [nixpkgs] @xeji pushed commit from @woffs to master « shotcut: 18.06.02 -> 18.08 (#44463) »: https://git.io/fNXwD
<symphorien> nand0p: clone nixpkgs, modify the line you mentionned, nixos-rebuild switch -I nixpkgs=/path/to/clone
<symphorien> if this works, commit your change and make a PR :)
<Drakonis> is there anything to automate building non nixos containers?
<cocreature> drakonis: maybe dockerTools.buildImage? https://nixos.org/nixpkgs/manual/#ssec-pkgs-dockerTools-buildImage
<nand0p> symphorien: thanks will do. i was thinking i had to change something in configuration.nix, instead of changing the nixos code.
<nand0p> perhaps we should revert that commit? (PR #42910)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42910 (by bkchr, 4 weeks ago, merged): services.plasma5: Update start menu with an activationScript
<samueldr> depends if the error breaks the rebuild or is a cosmetic annoyance
<nand0p> symphorien: got it will test thanks
<samueldr> the behaviour before this PR was that kbuildsyscoca5 wasn't run at all
<Drakonis> ah yes, that's broken
<samueldr> the intended behaviour is to run it to update the menu
<Drakonis> it sometimes errors out doesn't it
<nand0p> appears to error consistently
<Drakonis> also it doesn't interact wtih flatpak for updating
<samueldr> when it errors, is the generation still built and switched to?
<Drakonis> still built and switched, yes
<samueldr> cosmetic
<Drakonis> oh yeah
<Drakonis> that's something
<samueldr> still needs to be fixed, causes garbage errors, but doesn't actually break the build
<nand0p> :(
<samueldr> nand0p: turn that frown upside down :)
<nand0p> :)
<samueldr> it says "warning: error(s) occured while switching to the new configuration"
<samueldr> but as you can see, it's that benign error and it still switched
<samueldr> so it's probably not worth the revert, especially since we'll have the fix PR soon ;)
<nand0p> excellent. thank you
<samueldr> (that warning message could be a bit more descriptive and explain how the system **was** switched, but to check and understand if the errors are problems or not
<samueldr> though, for this it would need a bit more of a framework to also print *who* broke
lord| has quit [Ping timeout: 265 seconds]
<samueldr> (and what)
<samueldr> in a not-bash pseudo code try { activationScript } catch (error) { stderr.print activationScript.name + " couldn't complete..." }
lord| has joined #nixos
<infinisil> samueldr: That doesn't sound too complicated to implement *checks out code*
* samueldr smirks
<infinisil> :P
<samueldr> nerd-sniping :D
<infinisil> Just 5 minutes
<samueldr> ;)
<{^_^}> [nixpkgs] @fgaz opened pull request #44510 → pybitmessage: 0.6.2 -> 0.6.3.2 → https://git.io/fNXrk
<infinisil> No testing, but that should work in theory. I won't write up a PR for it though, no time!
<samueldr> infinisil: only issue I can see is how the attribute names could map to invalid names
<infinisil> Yeah I thought of that, may need some transformation or so
<samueldr> though there's an easy cheat
<samueldr> just name the function _step
<samueldr> it's run right after
<samueldr> bash is imperative
<infinisil> Oh right
<infinisil> Hah
<samueldr> stop thinking like a functional fool :) work like an imperative idiot
<infinisil> I'd rather not! I also thought about declaring each function first, and only do the ordered execution after that
<samueldr> I'll try knocking a PR down
<samueldr> ah, even better, no function, just a subshell, I think
<infinisil> Oh yeah, didn't even think of that
<infinisil> Not sure if that messes some stuff up, because env vars in earlier phases won't be set in later ones
<samueldr> ah, if phases are expected to mutate the environment, then {} can be used to group
<samueldr> but I think there's still an issue
<samueldr> it's not set -e, so it's the return value of the last command
* samueldr needs to think about it
<infinisil> Reverse nerd snipe!
<samueldr> I was still thinking about it when you ran off :)
<samueldr> I think trap ___ DEBUG may do it
<samueldr> ah no, it's before a command :(
<samueldr> oh, though there's ERR
<samueldr> which is already how it's implemented
<cocreature> is there a way to override a Haskell package to _not_ take pkgs/development/haskell-modules/configuration-common.nix into account?
Fare has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
siraben has quit [Ping timeout: 244 seconds]
<srhb> cocreature: No. The easiest way is probably to use callHackage to generate an unaltered version of it.
slyfox has quit [Ping timeout: 240 seconds]
slyfox has joined #nixos
<cocreature> srhb: thanks!
goibhniu has joined #nixos
v0|d has joined #nixos
<{^_^}> [nixpkgs] @bignaux opened pull request #44511 → soulseekqt : refactoring appimage manipulation to be more generic. → https://git.io/fNXos
<{^_^}> [nixpkgs] @vcunat pushed commit from @ckauhaus to release-18.03 « exiv2: include recent Debian security patches (#44446) »: https://git.io/fNXon
goibhniu has quit [Ping timeout: 244 seconds]
hakujin1 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #44512 → compcert: 3.2 -> 3.3 → https://git.io/fNXoM
aanderse has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
Anton-Latukha has joined #nixos
Kim has quit [Quit: WeeChat 2.1]
Kim has joined #nixos
goibhniu has joined #nixos
<azazel> it's possible to set a locale while packaging? I'm packaging a python app and its test runner (pytest) crashes because of a nasty bug of chaset codec error, that i'm unable to debug
<azazel> /nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/lib/python3.6/encodings/ascii.py:26: in decode
<azazel> return codecs.ascii_decode(input, self.errors)[0]
<azazel> E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 208: ordinal not in range(128)
<azazel> it reads files using the dumbest codec possible :-(
<clever> azazel: ive found that one of the python functions for recursively reading a directory tends to throw exceptions if any non-utf8 filenames exist in its path
<clever> and ive got got old files made by another os, that upset it
<azazel> ah but python3.6 interpreting any string as ascii now makes it so '70... it's because locale isn't set and ascii is the default
<azazel> clever: anyway, how have you resolved it
<clever> azazel: find all non-utf8 filenames and move them out of the searchpath of that program, lol
<azazel> doh
<azazel> i think that in my case it's more about the contents of a file, but I don't know which one
<clever> azazel: all i could do to find my issue was to strace the program and look over the logs closely
<azazel> in fact the error is subsequent to an open()
<clever> the more anoying part, is that it catches the exception at a bit of a bad place, assumes it was network trouble, and reconnects to the server
<clever> and then it rescans all directories, and fails once more
<clever> so its just constantly reconnecting
<azazel> yeah, it's annoying
koselig has quit [Quit: Leaving]
Drakonis has quit [Remote host closed the connection]
<azazel> so it seems that if I force pytest to ignore the config files that mostly contain fancy options for the coverage report it runs as expected... well, I don't need a coverage report when I build the derivation, I suppose I found my solution
<clever> azazel: this file contains strings known to break some software
<{^_^}> [nixpkgs] @lopsided98 closed pull request #38818 → top-level: apply platform config to cross system → https://git.io/vxA1Y
<clever> everything from invalid utf8 combinations to sql injections to brain injections, lol
hakujin1 has joined #nixos
<azazel> yep:)
<azazel> so, there's no way to set the locale during the check phase
<clever> export a variable in preCheck?
vmandela has quit [Quit: Leaving]
vmandela_ has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @ttuegel opened pull request #44513 → tex-gyre: remove unused displayName argument → https://git.io/fNX6v
hakujin1 has quit [Ping timeout: 260 seconds]
<azazel> clever: a variable? I tried to set LANG=en_US.utf-8 in the derivation, and the python process sees it , tested with python -m locale, but then the same process crashesh telling that it is unable to "set" that locale
<judson> Bah, simp_le still doesn't do what I need. Maybe my NixOps configs are busted.
<azazel> I'm not a real expert on locales
neeasade has joined #nixos
<clever> azazel: and if you add this to the buildInputs glibcLocales
alex`` has quit [Quit: WeeChat 2.2]
iqubic has quit [Ping timeout: 240 seconds]
aanderse has quit [Ping timeout: 260 seconds]
<azazel> clever: that did it, thanks!
<{^_^}> [nixpkgs] @jpathy opened pull request #44514 → cantata: 2.2.0 -> 2.3.2 → https://git.io/fNX6n
<azazel> clever: now I have several other issues because my tests think to have access to /tmp but it isn't available... how should i deal with it? create a "tmp" dir in the $out and then delete it after the tests end?
<clever> azazel: you should already have a $NIX_BUILD_TOP and the various temp vars should be pointing within it
<azazel> ah so probably using mktemp will suffice
<clever> azazel: these are the env vars set by nix itself, before it even loads the stdenv: https://github.com/cleverca22/nix-tests/blob/master/bare-env.txt#L9-L23
<clever> azazel: note lines 9, 12, 16, and 22
<azazel> yes, i see
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #44464 → exiv2: include recent Debian security patches → https://git.io/fNPj4
<judson> Hah! HTTP redirection typos again.
<samueldr> so uh, your typos?
<judson> Oh, yes, mine. :/
<judson> "Redirect / https://${name}"
alexteves has joined #nixos
<samueldr> it's good to hear that at least it isn't a deep issue
<judson> Which meant that letencrypt was redirected to https://name.well-known/<token>
<samueldr> ah instead of https://name/.well-known/*
<judson> I think I did need to get to a more recent to simp_le to fix the initial auth problem.
<judson> Not 100% though.
<judson> Yes, exactly.
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « mesa_drivers: fix a mistake from 4c77fdef4 »: https://git.io/fNX6x
goibhniu has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #43799 → urbit: 0.4.5 -> 0.6.0 → https://git.io/fNnmq
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/fNXiI
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sharutils: Patch CVE-2018-1000097 »: https://git.io/fNXi8
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « sharutils: Patch CVE-2018-1000097 »: https://git.io/fNXiR
jonreeve has joined #nixos
<jonreeve> Hey does anyone know whether it's possible (or advisable) to share a /home partition between Nix and Arch?
<jD91mZM2> jonreeve: If you use home-manager that'll be a problem, but otherwise I don't see any issues personally :)
<samueldr> anything relying on full paths for system-things will be weird
<samueldr> e.g. how chrome adds shortcuts to XDG menus
<samueldr> or stuff under the XDG startup folder
<samueldr> .config/autostart/ by default
goibhniu has joined #nixos
<jD91mZM2> TIL
<joko> samueldr: regarding this, I already have issues with pcmanfm, are you aware of any workaround?
<samueldr> no, it was a really generic hand-wavy warning
<samueldr> joko: what's your specific issue?
<{^_^}> [nixpkgs] @xeji merged pull request #44481 → antibody: 3.5.1 -> 3.6.1 → https://git.io/fNXsc
<{^_^}> [nixpkgs] @xeji pushed commit from @worldofpeace to master « antibody: 3.5.1 -> 3.6.1 (#44481) »: https://git.io/fNXPO
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « shadow: 4.5 -> 4.6 »: https://git.io/fNXP8
<clever> judson: the nginx modules in nixos handle .well-known for you automatically
<{^_^}> [nixpkgs] @7c6f434c merged pull request #44508 → cddlib: 0.94i -> 0.94j → https://git.io/fNXVE
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fNXPB
<clever> judson: all you have to do is set enableACME = true;
Fare has joined #nixos
<jonreeve> Thanks!
<jonreeve> And does anyone know how to get .desktop files to display? I installed a bunch of GUI programs, but I don't see them in my KDE launcher menu
<clever> jonreeve: have you logged out and back in since installing them?
<jonreeve> I don't know if I installed them correctly—I just put the names of packages in my configuration and rebuilt
<jonreeve> Yep, rebooted too
<clever> jonreeve: does `ls /run/current-system/sw/share/applications` show the desktop files?
<jonreeve> I'm not currently in nix, I'll have to get back to you on that one
jbetz has quit []
<{^_^}> [nixpkgs] @xeji merged pull request #44512 → compcert: 3.2 -> 3.3 → https://git.io/fNXoM
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « compcert: 3.2 -> 3.3 (#44512) »: https://git.io/fNXPp
jonreeve has quit [Quit: WeeChat 2.2]
<infinisil> ,tell jonreeve See #42910 which makes it update the menu automatically
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42910 (by bkchr, 4 weeks ago, merged): services.plasma5: Update start menu with an activationScript
<{^_^}> infinisil: I'll pass that on to jonreeve
<{^_^}> #4291 (by rushmorem, 3 years ago, closed): Upstream Bug In Current Go Packages
<{^_^}> infinisil: I'll pass that on to jonreeve
<{^_^}> #42910 (by bkchr, 4 weeks ago, merged): services.plasma5: Update start menu with an activationScript
<{^_^}> infinisil: I'll pass that on to jonreeve
* infinisil messed up lol
jonreeve has joined #nixos
<mikky> I'm a bit confused: what's the difference between programs.<app>.enable and installing the package <app>?
<samueldr> some software will have special things done
<samueldr> e.g. suid wrappers
<samueldr> or udev rules
<samueldr> only when they are added with `.enable`
<clever> or config files in /etc/
<jD91mZM2> ,tell infinisil ooo this is cool
<{^_^}> jD91mZM2: I'll pass that on to infinisil
<jonreeve> clever: what was that path again? Just rebooted into nix, lost my chat history
<{^_^}> jonreeve: 3 minutes, 47 seconds ago <infinisil> https://github.com/NixOS/nixpkgs/pull/42910
<{^_^}> jonreeve: 4 minutes, 2 seconds ago <infinisil> https://github.com/NixOS/nixpkgs/pull/4291
<{^_^}> jonreeve: 4 minutes, 21 seconds ago <infinisil> See #42910 which makes it update the menu automatically
<samueldr> [15:17:26] <clever> jonreeve: does `ls /run/current-system/sw/share/applications` show the desktop files?
<infinisil> Whoops, I need to reverse the order too, some stuff to fix
<{^_^}> infinisil: 26 seconds ago <jD91mZM2> ooo this is cool
<jD91mZM2> o_O
<jonreeve> Yep, all the desktop files are there
<mikky> Makes sense. So the prefered approach is to do prorgram....enable. How can I figure out which program needs to be enabled and which can just be installed as package?
<mikky> btw, clever, thanks for that kexec image, it worked
<symphorien> mikky: search here https://nixos.org/nixos/options.html#
<{^_^}> [nixpkgs] @oxij opened pull request #44516 → cc-wrapper: propagate man and info to propagated-build-inputs → https://git.io/fNXXn
<samueldr> !!!!!!!!!!!!
<infinisil> samueldr: ???????????
* samueldr has to upload a screenshot
<samueldr> I hit an issue with that it should have been right after !!!!!!!!
<jonreeve> Ah OK, I guess I just had to run kbuildsyscoca5
<clever> mikky: your welcome :)
<{^_^}> [nixpkgs] @xeji merged pull request #44428 → prototypejs: Init at 1.7.3.0 → https://git.io/fNP4a
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « prototypejs: Init at 1.7.3.0 (#44428) »: https://git.io/fNXX8
<infinisil> jonreeve: Yeah, I should've mentioned that
<samueldr> when updating to unstable
<infinisil> Heh, it's always nice to find random stuff that's better after updating
<mikky> symphorien: neat
<mikky> clever: just a small hiccup with unaccesible efivars after kexec but I worked around that
<mikky> symphorien: is there a cli variant to that, preferably offline?
<jD91mZM2> Anybody else using KeePassXC unstable? Does it ignore the Qt theme for you too?
<symphorien> man configuration.nix iirc
<jD91mZM2> Also nixos-option is useful
<clever> mikky: you can usually set the installAsRemovable option for grub, and then it will boot
<{^_^}> [nixpkgs] @oxij opened pull request #44517 → stdenv: simplify a bit using shadowing → https://git.io/fNXXz
<lluchs> I'm trying to package a KDE application that uses QStandardPaths to find its data folder (usually in /usr/share). What's the best way of pointing it in the right location on nixos?
<mikky> symphorien: never mind, found nixos-option :)
iqubic has joined #nixos
<lluchs> I've seen some existing packages patching the source code, but that seems pretty fragile.
<jonreeve> Dumb question, but which is better, nix-home, or home-manager? Or something else?
<iqubic> jonreeve: Why not try both an see whay you like?
<infinisil> jonreeve: I've never met anybody use nix-home, but there's lots of people using home-manager here, and it seems well maintained
<mikky> clever: I'm chainloadig it from refind for now. I have a quite strong distaste for Grub2
<clever> mikky: ah, if you have control over another bootloader, it doesnt matter as much
<infinisil> jonreeve: Apart from that, I think home-manager also has more features
<{^_^}> [nixpkgs] @xeji merged pull request #44466 → exiv2: bugfix updates → https://git.io/fNXex
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNXXP
<mikky> for now I have but I may lose the need for refind if NixOS becomes my go-to OS
<mikky> can't use systemd-boot however so I guess I'll be stuck with grub2
<iqubic> why can't you use systemd-boot?
<samueldr> mikky: I have to say nothing stops you from keeping refind around, and use systemd-boot or grub2 from nixos as an abstracted implementation detail
<samueldr> (my computers all boot to rEFInd and chainloads to the nixos-controlled grub for instance)
jD91mZM2 has quit [Quit: WeeChat 2.0]
<{^_^}> [nix-pills] @Anton-Latukha opened pull request #73 → Pill 07: readable code form, fix to shell variable quoting → https://git.io/fNXXN
<mikky> can't use systemd-boot because of FDE and separate /boot.
<clever> mikky: as long as /boot is fat32, efisystem, and mounted correctly, systemd-boot should just work
<mikky> clever: it's not
<mikky> I have good reasons not to use FAT unless absolutely necessary (enter EFI)
__monty__ has joined #nixos
<clever> mikky: nixos also lets you use fat for /boot/EFI/ and then anything not encrypted for /boot/
<clever> boot.loader.efi.efiSysMountPoint = "/boot/EFI/"; allows that
<{^_^}> [nixpkgs] @oxij opened pull request #44518 → check-meta.nix: implement `config.permittedUnfreePackages` → https://git.io/fNX1k
<mikky> I know, I'm using this scheme currently, just not with systemd-boot
<clever> then the kernels+initrds are on ext4 for ex, and only the .efi stub is on fat32
<mikky> since systemd-boot doesn't support this scenario
<clever> ahh
<clever> mikky: the source claims systemd-boot works in that setup
<clever> mikky: but it think it will still copy the kernels into the fat32
jonreeve has quit [Quit: Konversation terminated!]
bennofs has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #44519 → biber: cleanup → https://git.io/fNX1n
orivej has joined #nixos
<mikky> clever: kernel and ramdisk, which pretty much defeats the purpose of having /boot and avoiding FAT
<clever> yep
<selfsymmetric-mu> I have compton enabled but my screen still flickers. Anybody have any configuration tips?
<infinisil> selfsymmetric-mu: Mess a bit with compton's settings
<infinisil> backend maybe
<infinisil> And similar important ones
<{^_^}> [nixpkgs] @oxij opened pull request #44520 → appimagekit: init at 20180727 → https://git.io/fNX1H
justan0theruser is now known as justanotheruser
<selfsymmetric-mu> aha! Apparently I wasn't _actually_ using compton. I needed to disable XFCE compositing with `xfconf-query -c xfwm4 -p /general/use_compositing -s false`
hakujin1 has joined #nixos
<selfsymmetric-mu> Now I have to figure out how to get that into my configuration.nix
hakujin1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « patch: Fix CVE-2018-1000156 »: https://git.io/fNXMG
<selfsymmetric-mu> As far as I know there's no XFCE option to do it. I need to run that command somehow _after_ XFCE starts but _before_ compton is enabled.
FRidh has quit [Quit: Konversation terminated!]
<clever> selfsymmetric-mu: see if you cant find a way to edit the config in $HOME without xfce running?
<elvishjerricco> clever: xfce's config files are... rather cumbersome
<clever> what happens if you run xfconf-query as the right user, without any X running?
<selfsymmetric-mu> I can't even find this in the xfce settings...
<clever> just try manually running it from a text console at first
<{^_^}> [nixpkgs] @dotlambda merged pull request #44500 → home-assistant: 0.74.2 -> 0.75.1 → https://git.io/fNXR4
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: 0.74.2 -> 0.75.1 (#44500) »: https://git.io/fNXMS
<selfsymmetric-mu> clever: I get a "command not found"
<clever> elvishjerricco: `nix run noxpkgs.xfce.xfconf` first to get it into PATH
<clever> oops, nixpkgs, not noxpkgs
<{^_^}> [nixpkgs] @xeji merged pull request #44504 → logrotate: make mailutils overridable → https://git.io/fNXus
<{^_^}> [nixpkgs] @xeji pushed commit from @sorki to master « logrotate: make mailutils overridable (#44504) »: https://git.io/fNXDf
<{^_^}> [nixpkgs] @xeji merged pull request #44467 → Nginx modules → https://git.io/fNXvB
<{^_^}> [nixpkgs] @xeji pushed 6 commits to master: https://git.io/fNXDU
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #44519 → biber: cleanup → https://git.io/fNX1n
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNXDk
nonfreeblob has joined #nixos
galaxite has joined #nixos
neeasade has quit [Ping timeout: 244 seconds]
neeasade has joined #nixos
<nonfreeblob> Hey, guys! There is an issue with mate desktop on nixos-unstable. Make returns error.
<nonfreeblob> Should I open a new issue on github?
<{^_^}> [nixpkgs] @oxij opened pull request #44521 → bash,texinfo: turn interactive versions into passthrus → https://git.io/fNXDi
orivej has quit [Ping timeout: 256 seconds]
hakujin1 has joined #nixos
<infinisil> nonfreeblob: What's the error exactly?
<infinisil> nonfreeblob: And with what command exactly?
philippD has joined #nixos
<nonfreeblob> infiniil: gs-theme-manager.o: In function `gs_theme_info_new_from_matemenu_tree_entry':
<infinisil> ,paste nonfreeblob
<{^_^}> nonfreeblob: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
selfsymmetric-mu has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
<nonfreeblob> infinisil: http://nixpaste.lbr.uno/-rWMRTtc?sh
<nonfreeblob> infinisil: command sudo nixos-rebuild switch --upgrade
semilattice has joined #nixos
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
<infinisil> nonfreeblob: Seems to have been a problem for some time now: https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.mate.mate-screensaver.x86_64-linux
<infinisil> Last successful build was about a month ago
<infinisil> nonfreeblob: Reporting an issue would be nice yeah :)
<infinisil> I can't immediately see the problem
<infinisil> You can use nixpkgs version 0d499686c617 to get it to build for now, this is the last version that worked
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
selfsymmetric-mu has quit [Remote host closed the connection]
<nonfreeblob> infinisil: ok, thanks! :) it seems like about a month ago I successfully updated my system and have not tried it since, until today
johnw has quit [Ping timeout: 260 seconds]
lopsided98 has joined #nixos
philippD has joined #nixos
lopsided98 has quit [Quit: Disconnected]
selfsymmetric-mu has joined #nixos
lopsided98 has joined #nixos
<infinisil> Huh, this is weird, apparently mate-screensaver built correctly in #42483 which was merged Jun 27
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42483 (by r-ryantm, 6 weeks ago, merged): mate.mate-screensaver: 1.20.0 -> 1.20.1
<infinisil> Oh, *June* = 2018-06
<infinisil> I thought of July
<infinisil> Never mind, carry along
hsribei has quit [Quit: Connection closed for inactivity]
mahalel_ has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #44513 → tex-gyre: remove unused displayName argument → https://git.io/fNX6v
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fNXys
<{^_^}> [nixpkgs] @Infinisil merged pull request #44108 → nixos-generate-config: detect extlinux bootloader → https://git.io/fN0rV
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNXyW
semilattice has quit [Ping timeout: 240 seconds]
galaxite has quit [Remote host closed the connection]
<petersjt014[m]> I'm trying to build on aarch64 and I'm getting an error that says something like `/nix/store/1894k...-stdenv-linux/setup: line 1290: $'\r': command not found`. any ideas?
galaxite has joined #nixos
alex`` has joined #nixos
<petersjt014[m]> I'm pretty sure it's from someone who edited a file on windows/dos
<{^_^}> [nixpkgs] @Ma27 opened pull request #44522 → citrix_receiver: allow custom certs and hooks for the installation → https://git.io/fNXyu
Drakonis has joined #nixos
<petersjt014[m]> but I don't know exactly where I'd go to fixit since the store is read-only
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44483 → idrisPackages: add quantities library → https://git.io/fNXZc
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNXy2
<clever> petersjt014[m]: you need to edit a copy of nixpkgs that you clone from github
<petersjt014[m]> gotta make a pr then?
<clever> yeah, once you confirm it works you can file a PR
<petersjt014[m]> I'm looking in [here](https://github.com/NixOS/nixpkgs/tree/master/pkgs/stdenv/linux) rn, that seem on the right track?
<clever> yeah
<clever> stdenv-linux has a copy of this file
Drakonis has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
Drakonis has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #33052 → Update vdirsyncer → https://git.io/vb72E
<petersjt014[m]> hmm
* petersjt014[m] uploaded an image: image.png (20KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/jHZoeYmRjLqdhJrgneXFdMef >
<petersjt014[m]> well that makes things more interesting
rardiol has joined #nixos
<clever> petersjt014[m]: run an editor on the copy in the nix store, to get context
alexteves has quit [Remote host closed the connection]
<clever> petersjt014[m]: the line numbers are offset a bit by compiling it
<petersjt014[m]> shoot, gotta go install a hexeditor then
<clever> petersjt014[m]: vim can show the line endings
<clever> petersjt014[m]: you can also just scp the file to another box
<petersjt014[m]> I dont exactly have the wifi patch working, and even plugged into ethernet it's a no-go for some reason.
<clever> mount the hdd on another box?
nonfreeblob has quit [Quit: Leaving]
Anton-Latukha has quit [Quit: Leaving.]
<petersjt014[m]> I do have vim rn so I'll see if I can see it there
<clever> if vim detects it as linux line endings, it will render the \r specially, because its not expected
simukis has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 240 seconds]
<symphorien> as ^M iirc
<{^_^}> [nixpkgs] @vincentbernat opened pull request #44524 → dhcpcd service: order before network target → https://git.io/fNXSU
<petersjt014[m]> I dont see an \r there. the line reads `eval "${!curPhase:-$curPhase}"`
<clever> petersjt014[m]: then the variable for the current phase contains a \r
<clever> read the .nix file for the derivation that failed
<clever> its doing something like buildPhase = ''\nfoo\r\nbar\n'';
<petersjt014[m]> It's something like `/nix/store/flc...broadcom-rpi3-extra.drv`, but I dont see a corresponding nix file
mkoenig has quit [Remote host closed the connection]
<clever> petersjt014[m]: does that name exist in any of your nix expressions?
vcunat has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Infinisil merged pull request #44435 → php*Packages.oci8: init at 2.1.8 → https://git.io/fNPoo
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNXSG
mkoenig has joined #nixos
galaxite has quit [Ping timeout: 265 seconds]
<clever> petersjt014[m]: can you grep all of your nix expressions, including nixpkgs, for broadcom-rpi3-extra or a shorter variant
<clever> i cant find it in nixpkgs master
<petersjt014[m]> oooooh yeah I remember
<clever> double-check the installPhase you pasted into that file, is it free of \r's?
<petersjt014[m]> it seems to be free of ^Ms in vim, and I curled it from the url--shouldntve touched a windows machine
<clever> petersjt014[m]: and if you run the `file` program on that file?
<petersjt014[m]> the whole configuration.nix?
<clever> yeah
<petersjt014[m]> once sec, gotta install it
<petersjt014[m]> which is a pain w my current setup
<symphorien> Check the vim status line doesn't say [dos]
<symphorien> If you have vim then you also have xxd to check easily
<petersjt014[m]> `[readonly][dos]`
<petersjt014[m]> ayup
<clever> petersjt014[m]: try `:set ffs=unix` i think
<clever> or maybe its `:set ff=unix`
<petersjt014[m]> I think that did it
<clever> the ^M should now be visible
<petersjt014[m]> still gonna go install dos2unix later
<clever> and then you can just backspace it out
<petersjt014[m]> `pattern not found`
<petersjt014[m]> >__<
<clever> try just looking near the installPhase
<petersjt014[m]> >__<
<petersjt014[m]> I have it right here and dont see it
<petersjt014[m]> one sec while I go install dos2unix just to be sure
kisik21 has joined #nixos
<kisik21> Hi there. How to make Noto Color Emoji font show sanely in apps? I have emojis show vastly different size from normal characters and in b/w. Screenshots pending...
<{^_^}> [nixpkgs] @Infinisil merged pull request #44412 → ams-lv2: use python3 → https://git.io/fNiNx
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNXSH
Dagger has quit [Excess Flood]
<kisik21> This is a screenshot of what's happening in iBus emoji selector. That's one of the reasons I'm unable to use it...
Dagger has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #44525 → php: 5.6.36 -> 5.6.37, 7.0.30 -> 7.0.31 → https://git.io/fNXSp
<{^_^}> [nixpkgs] @Infinisil merged pull request #44398 → bluez: use python3 → https://git.io/fNiKx
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fNXSh
<petersjt014[m]> alright, so I ran dos2unix on my config file, and it's unchanged. so It's probably not that
<kisik21> Okay, found a problem - Noto Color Emoji uses SVG (seemingly) and doesn't display correctly. How to blacklist it from fontconfig?
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « openldap: 2.4.45 -> 2.4.46 »: https://git.io/fNX9a
rardiol has quit [Read error: Connection reset by peer]
mayhewluke has joined #nixos
<samueldr> kisik21: you're on 18.03 or unstable?
<kisik21> 18.03
<kisik21> is the fix in unstable?
<samueldr> there are changes
<samueldr> I'm using both and on both I don't see similar results
<kisik21> well, I seem to have found a way to rip Noto Color Emoji outta fontconfig, need to test... wait 2 minutes, if I will not return, means I broke my fonts lol
<samueldr> BUT, this could be related to something I included in my config
<kisik21> ok I didn't break my fonts but I broke half emojis in the selector
<samueldr> this was cargo-culted from somewhere, not sure where
__monty__ has quit [Quit: leaving]
<kisik21> heeey nice config I think this may fix my problem wait a sec I'll steal it
KevinLiu[m] is now known as Pneumaticat[m]
<kisik21> samueldr: By the way, how does unstable feel? Is it unstable enough to cause troubles in everyday use?
<kisik21> Or is it unstable as much as many open source packages are "beta"? (means it technically can eat your data but does not)
<samueldr> kisik21: I'll be frank, never used it, switched hours ago on my test machine
<samueldr> but!
<samueldr> it should be stable~ish, due to how NixOS handles upgrades
<samueldr> not worse than any rolling-releases
<samueldr> though sometimes large changes can hang releases for a couple days
<kisik21> I was on Arch for months and it never broke (except when the imperative configuration failed)
<kisik21> also was a Gentoo user
<kisik21> I think I can try
<samueldr> NixOS, via Hydra, has complete integration tests running before nixos-unstable updates
<kisik21> how to switch? I forgot the exact command, sorry
<samueldr> well, I must rephrase, has integration tests that must complete
<tnks> is there a way to take an instance of Nixpkgs that's already configured with overlays, and to add more overlays?
<kisik21> nix-channel --add something? what's the something?...
<samueldr> instead of nixos-xx.yy, use nixos-unstable
<samueldr> NEVER use nixpkgs-unstable on a nixos system for its system configuration
<kisik21> samueldr: oh yeah, right, the manual! sorry, forgot about it
<samueldr> no worries, I like linking to it when it has the right stuf
<tnks> I feel I did something wrong with advice to import the `path` attribute, which I think loses the first overlays.
<kisik21> samueldr: what will happen if I use nixpkgs-unstable for system config? it will fail by not having nixos modules in it?
<samueldr> worse, it will not fail, most of the time, but if a test required for nixos fails, nixpkgs still advances
<samueldr> so randomly in the future, if someone breaks the bootloader code, it will break
<samueldr> (it happened in the past)
<samueldr> (all nixpkgs-unstable on nixos users got out of the woodwork and asked what was up, meanwhile all nixos-unstable on nixos users were fine)
<kisik21> So it will fail spectaculalry in the same moment you need to do the important things
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « libxml2: Fix CVE-2018-9251 »: https://git.io/fNXHk
<samueldr> it could!
<kisik21> that would be funny
<samueldr> so, short story, only nixos-* channels are tested for nixos
<kisik21> I want to set up a test VM that would update and reboot with each nixpkgs-unstable upgrade that did not ascend to nixos-unstable
<mikky> I love zsh and I very much prefere the grml config. So I installed the grml-zsh-config package and now I'm trying to figure out how to activate it. I went with environment.etc."grml".source = "${pkgs.grml-zsh-config}/etc/zsh/zshrc"; and environment.etc."grml".target = "zshrc.local";
<kisik21> Would be interesting to see how quickly it will break
<mikky> it works but is this the right approach?
<samueldr> kisik21: you'd have to wait for nixos-unstable to update to know if it passed, since nixpkgs-unstable will most likely update before (IIRC)
<kisik21> Can't I watch for failed nixos testsuite automatically?
<samueldr> mikky: could be, there's no mention of grml in <nixpkgs> except the package
<samueldr> kisik21: the failures could very well be failures affecting nixpkgs :/
<samueldr> not sure if there are any way though
<samueldr> it would be an interesting excercise
<kisik21> Ok, waiting for NixOS to download and recompile everything... Oh fsck Xonotic... I hope I haven't cleaned the store lately because downloading almost 2 gigs of sources on my PC is a pain
cryptopsy has joined #nixos
<samueldr> do you play often enough that installing it through systemPackages is worthwhile?
<samueldr> (though I see how useful it is that it's already ready to play)
<cryptopsy> how do i install nixos to a folder from another distro and start compiling pkgs with it like through a chroot to it?
<kisik21> Well, I could install it imperatively per-user, but I don't like clogging my imperative user env
<kisik21> and I don't like imperative user env
<kisik21> It is really convenient
<kisik21> but my env is polluted by a bunch of packages for scripts I haven't packaged
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tnks> hmm... all the code and documentation I read seems that you only get one shot to apply all the overlays when importing a Nixpkgs path.
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #44516 → cc-wrapper: propagate man and info to propagated-build-inputs → https://git.io/fNXXn
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/fNXHc
hakujin1 has joined #nixos
mahalel_ has quit [Remote host closed the connection]
<infinisil> tnks: you can reimport it with different overlays
<cryptopsy> does nixos install grub?
<cryptopsy> does nixos-install install grub?
<cryptopsy> i just want to see how it works i dont want to install it to my mbr
<kisik21> cryptopsy: By default yes, but you can pass --no-install-bootloader to prevent it from doing so
<kisik21> and by the way - it will be really hard to boot NixOS without its own GRUB config
justanotheruser has quit [Quit: WeeChat 2.0]
<cryptopsy> i dont want to boot it
hakujin1 has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
<cryptopsy> i want to CHROOT or similar emulation of its functionality
<kisik21> Oh, if you want to chroot to NixOS, you can use nixos-enter
<kisik21> usual chroot will not work
<tnks> infinisil: yeah, but when I do nixpkgs.path, I go to the original path, right? I lose any overlays on that instance, I believe.
<cryptopsy> is there a guide describe this fully?
<tnks> so if someone programmatically passes in a nixpkgs instance, I think it's of less value to me.
<kisik21> well, there's manual!
<kisik21> And there are man pages
<cryptopsy> ?
<kisik21> man nixos-enter
<cryptopsy> i am not in nixos
<cryptopsy> how can i man it?
<cryptopsy> i am in my working gentoo system, which i dont want to have it fucked up by nixos installation process
<kisik21> lol, then try to install NixOS on a VM
<cryptopsy> i was told it can install to a folder, and theni understand i can chroot by nixos-enter
<genesis> i was a 15 years old gentoo user until last week, now i've switched to nixos ;)
<ldlework> infinisil: symlinkJoin makes a derivation right, so I have to assign its result to environment.systemPackages?
<cryptopsy> what will nixos-install --no-bootloader --no-root-passwd --root "$ROOT" do, will it place files in /etc ?
<kisik21> Well, you can. Boot a NixOS installer flash drive, mount your partition to /mnt then pass --root /mnt/nixos-chroot to nixos-install
<kisik21> cryptopsy: it will do much more than that
<cryptopsy> see, that's bad
<cryptopsy> that's why i need a guide
<kisik21> I'd recommend a command line like this...
<kisik21> nixos-install --root /mnt/nixos-chroot --no-install-bootloader
<kisik21> on /mnt is your gentoo system
<cryptopsy> why does it have to be a mount point?
<kisik21> Install root, AFAIK, doesn't have to be a mountpoint, but NixOS installer is usually booted to install NixOS to... a mountpoint.
<kisik21> so you certainly can install to arbitrary folder
<cryptopsy> nixos-install is a command
<kisik21> yeah
<cryptopsy> commands aren't booted
<cryptopsy> i don't understand
<kisik21> How do you install an operating system on a bare-metal machine? You boot an installer flash drive
<cryptopsy> sounds irrelevant to me
<cryptopsy> 01:39:06 cryptopsy | i dont want to boot it
<cryptopsy> or you know, you could install it from a chroot
<cryptopsy> i am only playing with nixos now, not going to install it and nuke my working system
<cryptopsy> i was told i can just run it from a folder
<kisik21> You can install NixOS in an arbitrary folder to not nuke your working system. But you'll still need an installer flash drive because your Gentoo is incapable of bootstrapping a NixOS chroot.
<cryptopsy> can't it bootstrap itself?
<kisik21> We don't have stage3 tarballs, sorry ^^
mahalel_ has joined #nixos
<cryptopsy> what's needed to bootstrap it, just a toolchain?
<Drakonis> ah gentooers
<genesis> why don't use nix ?
<kisik21> You'll need Nix and some packages installed via Nox.
<kisik21> Nix can be installed on Gentoo
oldandwise has joined #nixos
<Drakonis> why nox though
<Drakonis> nix 2.0 has searching now
<oldandwise> i'm error in `cabal install yesod` need help http://termbin.com/4zhe
<genesis> i'd used nix on gentoo for month before switching.
<kisik21> so technically you can bootstrap NixOS from Gentoo, it's just not trivial and not documented...
orivej has joined #nixos
<Drakonis> docs is something we direly need
<genesis> should not be very different than nix installation from usb live ...
<Drakonis> how about some of those fresh arch and gentoo users help out with that
<genesis> and gentoo user are used to chroot.
<Drakonis> freshly joined ex arch/gentoo users help out
<kisik21> cryptopsy: I think the workflow would be...
<oldandwise> the last line of the error i am having is 'zlib-0.6.2-KcNeeMOhsrCLuUE2KbVNVv failed during the configure step. The'
<kisik21> 1. Install Nix (I think there's a bootstrap script somewhere on Nix website)
<kisik21> 2. nix-env -iA nixos.nixos-install
<kisik21> 3. nixos-install --root /nixos-chroot --no-install-bootloader
<cryptopsy> i thought it would be easy for nixos to bootstrap itself since it can just pull in whatever precompiled toolchain it needs
<genesis> (there is a gentoo official nix 2.0 ebuild)
<kisik21> cryptopsy: Yeah, but you'll still need Nix
<ldlework> the kitty binary is just the normal wrapped kitty
<ldlework> not the one i've made here
<cryptopsy> kisik21: i would start with nix so it would be there
<Drakonis> i seem to have hit some roadbump here
<cryptopsy> i was told nix can install everything
<kisik21> It certainly could.
<cryptopsy> i have nix now
<Drakonis> maybe its home-manager but it doesn't seem like any CLI apps are able to connect to xorg
<kisik21> Then install the nixos-install package via Nix
<cryptopsy> but i dont want it to place files in my current gentoo system, i want it to all be localized in a folder in /tmp/
goibhniu has quit [Ping timeout: 240 seconds]
<kisik21> Don't worry, you'll be able to
hakujin1 has joined #nixos
<cryptopsy> does that become --root /tmp/somefolder ?
<kisik21> Yeah
<kisik21> nixos-install --root /tmp/nixos --no-install-bootloader
<oldandwise> isn't /tmp/ contents deleted after reboot?
<cryptopsy> do i need to generate a build script?
<cryptopsy> oldandwise: yes
<kisik21> configuration.nix, yeah
<oldandwise> so why in /tmp/...better is /
<cryptopsy> no
<cryptopsy> better for YOU
<oldandwise> no? better is /here/
<kisik21> you'll need to write it in /tmp/<folder>/etc/nixos/configuration.nix
<oldandwise> but not /tmp/
<cryptopsy> for you
<kisik21> oldandwise, cryptopsy, I think it's irrelevant where to install for now
* oldandwise agree
thc202 has quit [Ping timeout: 264 seconds]
<cryptopsy> if i want to keep it i can just move the folder out of /tmp/ ?
semilattice has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
hamishmack has joined #nixos
<cryptopsy> the gentoo nix-2.x didn't come with nixos-generate-config
Fare has quit [Ping timeout: 260 seconds]
agjacome has quit [Quit: leaving]
goibhniu has joined #nixos
<Drakonis> so, what's with the gentoo user interest on nix?
<cryptopsy> i am sick and dicking around instead of working on my thesis
<cryptopsy> everytime glibc getsts rebuilt you have to rebuild all dependent packages?
<{^_^}> [nixpkgs] @dotlambda pushed to revert-44398-blueman-python3 « Revert "bluez: use python3" »: https://git.io/fNXQY
galaxite has joined #nixos
etrepum has joined #nixos
<kisik21> cryptopsy: better place it like that - you can rebuild all dependent packages.
<kisik21> nix-env -u will do it.
alex`` has quit [Ping timeout: 240 seconds]
<infinisil> ldlework: Are you sure you're calling the binary from that package?
<ldlework> infinisil: not sure what you're asking!
<infinisil> ldlework: Check vim $(which kitty)
<infinisil> And which kitty
<infinisil> And make sure it's actually using the wrapper
alex`` has joined #nixos
<ldlework> it isn't
<ldlework> i think this is the normal kitty binary wrapper
Fare has joined #nixos
<infinisil> ldlework: Hmm, okay rename the symlinkJoin derivation from "kitty" to "kitty-wrapper"
<infinisil> Then nixos-rebuild switch
<infinisil> Then `realpath $(which kitty)`
<ldlework> infinisil: btw when i switch I get
<ldlework> collision between `/nix/store/4b0kq3p928r99ppp4j0k3r9akm82zkyj-bumblebee-3.2.1/sbin/bumblebeed' and `/nix/store/i8flz1v4ns0gn8sp62gidykhfvmn4bil-kitty-wrapper/sbin/bumblebeed'
<ldlework> /nix/store/82s8ikb95gr0324g1svbjlnhdhp00avd-kitty-0.8.0/bin/kitty
<ldlework> ^ real path
<infinisil> You probably installed bumblebee somewhere else, the symlinkJoin adds it too. You don't need the bumblebee in symlinkJoin
<infinisil> ldlework: Yeah, so your kitty binary isn't the wrapper, you have it installed somewhere else too. Maybe you can find out with `which kitty`
<ldlework> infinisil: renaissance
<ldlework> oops
<{^_^}> [nixpkgs] @samueldr opened pull request #44526 → nixos/activation: Identifies the snippet that failed → https://git.io/fNXQg
<ldlework> which kitty: /nix/store/82s8ikb95gr0324g1svbjlnhdhp00avd-kitty-0.8.0/bin/kitty
<{^_^}> [nixpkgs] @svanderburg pushed to master « nixos/disnix: undo dysnomia rename to fix disnix and retain compatibility with previous release »: https://git.io/fNXQX
techieAgnostic has joined #nixos
<techieAgnostic> howdy
neeasade has left #nixos ["Using Circe, the loveliest of all IRC clients"]
<ldlework> infinisil: it seems that bumblebee not being mentioned in the wrapper makes it less composable
<infinisil> ldlework: Um, which kitty is a direct path?
<infinisil> Then this means you're in a nix-shell or so
<ldlework> well i'm not..
<infinisil> ldlework: bumblebee in the symlinkJoin does absolutely nothing
<infinisil> ldlework: What's $PATH?
<ldlework> ok
<infinisil> (well it doesn't do nothing, but nothing one would want)
<ldlework> a bunch of my store paths are on the path
<ldlework> which seems strange
Drakonis has quit [Remote host closed the connection]
<infinisil> Huh???
<infinisil> Your $PATH should look about like this: /home/infinisil/bin:/run/wrappers/bin:/home/infinisil/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/infinisil/bin:/home/infinisil/.config/zsh/plugins/pass
<infinisil> No direct store paths
<infinisil> No idea what you did to get those there
<techieAgnostic> is there anything else to set for encrypted drives other than boot.initrd.luks.devices.{name,device,preLVM}?
<techieAgnostic> i keep getting an error on install about my fileSystem option not pointing to the right thing
<aszlig> techieAgnostic: does your filesystem have a label and did you use that in fileSystems?
rprije has joined #nixos
<techieAgnostic> ive left fileSystems as what it generated in hardware-configuration.nix
<aszlig> techieAgnostic: how do they look like?
<techieAgnostic> looks like it only generated boot and swap, nothing for root
<aszlig> ah
<mayhewluke> How does one handle Android development on NixOS? I'm trying to get React Native to going on Android and I don't see any docs on how to get all the dependencies `react-native-cli` needs for `run-android`.
<aszlig> so you're using an LVM, right?
<techieAgnostic> yip
Drakonis has joined #nixos
<aszlig> techieAgnostic: did you run nixos-generate-config after the whole LVM setup?
<ldlework> infinisil: are those the packages I've installed with nix-env maybe?
<techieAgnostic> yup, and after this happened i re-ran it to make sure
<aszlig> techieAgnostic: what's the fs-type, label and/or UUID of your root fs?
<infinisil> ldlework: nix-env installs in ~/.nix-profile
<infinisil> So nope
<Drakonis> hmm, nothing that restarting some software did not fix
<Drakonis> couldn't fix
kisik21 has left #nixos [#nixos]
<samueldr> direct paths in PATH would happen inside a nix-shell
<samueldr> any trickery with nix-shell shebang on something building your session?
<techieAgnostic> aszlig: hmm, sda2 goes into a crypt called enc-pv, which goes into vg/swap and vg/root, root should be ext4 afaik
<techieAgnostic> yeah it is
<aszlig> techieAgnostic: what does dumpe2fs -h tell?
<techieAgnostic> bad magic number trying to open dev/sda2, then says its a crypto_LUKS file system
<aszlig> techieAgnostic: it shouldn't be /dev/sda2
<techieAgnostic> oh?
<aszlig> techieAgnostic: it should be something like /dev/mapper/vg/root
<techieAgnostic> oh sorry, thought you meant the luks partition
<techieAgnostic> Yeah my root is /dev/vg/root
<aszlig> what does dumpe2fs tell you about that? like uuid or label
<p_l> What would be the quickest way to adding new packages locally or *totally* overriding existing ones? Overlays?
<techieAgnostic> yeah it has a uuid
<techieAgnostic> same one im using in my boot.initrd.luks.devices.device setting
galaxite has quit [Ping timeout: 265 seconds]
oldandwise has quit [Quit: leaving]
<techieAgnostic> oh wow nevermind
<techieAgnostic> i might be dumb
<techieAgnostic> i dont think i mounted root
<techieAgnostic> woow
<techieAgnostic> sorry guys
ericsagnes has quit [Ping timeout: 276 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
<aszlig> techieAgnostic: no problem =)
<aszlig> techieAgnostic: sometimes things like that can happen to everyone
<techieAgnostic> thanks for the help haha
Kim has quit [Quit: WeeChat 2.1]