gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
OmnipotentEntity has joined #nixos
Rusty1 has joined #nixos
timon37 has quit []
o1lo01ol1o has quit [Ping timeout: 250 seconds]
kreisys has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56614 → closurecompiler: 20190121 -> 20190215 → https://git.io/fhAak
shu9 has quit [Quit: leaving]
<OmnipotentEntity> For people who are searching through logs in the future. To enable BaseMosaic on a 2 GPU NVidia setup so that I could use a third monitor, I generated an xorg.conf using the nvidia-settings tool, I extracted the Screen section (not including the Section "Screen" and EndSection parts), then I put it as a string into the configuration variable services.xserver.screenSection, I also needed to remove the line `Identifier "Screen0"`
<OmnipotentEntity> because this caused an error.
OmnipotentEntity is now known as OmnipotentEntity
jcob has quit [Quit: ZNC 1.7.2 - https://znc.in]
<OmnipotentEntity> Does vimHugeX just not symlink vi? How can I fix this?
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56615 → clp: 1.16.11 -> 1.17.0 → https://git.io/fhAas
jluttine has quit [Ping timeout: 245 seconds]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyperfekt> bemeurer: You could change qemus expression to be a multi-output one that creates the docs separately
matix has quit [Quit: :q!]
<hyperfekt> bemeurer: But if your docs take so long it's probably better to find why that is instead of just working around it
black-brick has joined #nixos
jb55 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56616 → CoinMP: 1.8.3 -> 1.8.4 → https://git.io/fhAaC
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhAaR
<{^_^}> [nixpkgs] @fpletz merged pull request #56599 → tinc_pre: fix error after openssl upgrade → https://git.io/fhAzH
<{^_^}> [nixpkgs] @fpletz merged pull request #56489 → nixos/nextcloud: add overwriteProtocol option → https://git.io/fhNXp
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhAa0
<romanofski> I built a library with enableDebugging and it produced a non-stripped library.. yet when I try to load the library or the depending executable gdb is telling me that no debugging symbols were found... did I miss anything? (partially followed: https://nixos.wiki/wiki/Debug_Symbols)
black-brick has quit [Ping timeout: 256 seconds]
<benwaffle[m]> ooh, `nix-shell` is nice if e.g. i don't want to install redis on my laptop but i want to connect redis-cli to my docker container, I can just run `nix-shell -p redis`
jluttine has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to release-19.03: https://git.io/fhAag
eadwu has joined #nixos
<Ashy> i can't find any reference to updating the nixos doco for wayland in the wayland project on github or in the PR list etc
<Ashy> is anyone working on the documentation for it?
<Ashy> if not what's a good way for me to start a work in progress chapter for the nixos manual?
jluttine has quit [Ping timeout: 250 seconds]
<Ashy> just send a PR to start the discussion?
<bemeurer> hyperfekt: Yeah, interestingly it builds just fine on Travis
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56617 → conky: 1.11.2 -> 1.11.3 → https://git.io/fhAaV
<gchristensen> benwaffle[m]: bingo!
<bemeurer> hyperfekt: I have no idea why either
hedning has quit [Quit: hedning]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
bemeurer has quit [Ping timeout: 258 seconds]
bemeurer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56618 → cppcheck: 1.86 -> 1.87 → https://git.io/fhAa9
jb55 has joined #nixos
init_6 has joined #nixos
jluttine has joined #nixos
bemeurer has quit [Client Quit]
erictapen has joined #nixos
marsam has joined #nixos
<{^_^}> [nixpkgs] @jonafato opened pull request #56619 → pythonPackages.odfpy: fix build → https://git.io/fhAaj
erictape1 has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56620 → cryptominisat: 5.6.6 -> 5.6.8 → https://git.io/fhAVU
<thelounge52> Is it possible to get some help with nixos-install? I'm getting `error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)` after following Installing through a chroot (https://nixos.wiki/wiki/Installing_from_Linux)
eadwu has quit [Quit: WeeChat 2.4]
<thelounge52> Been at it for several hours
__monty__ has quit [Quit: leaving]
ixxie has quit [Ping timeout: 246 seconds]
<ajs124> thelounge52, what's in your NIX_PATH environment variable?
<thelounge52> unchanged. nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<ajs124> and what's in /nix/var/nix/profiles/per-user/root/channels/nixos?
init_6 has quit [Read error: Connection reset by peer]
<thelounge52> I don't have a "channels" dir/symlink in /nix/var/nix/profiles/per-user/root
eadwu has joined #nixos
<ajs124> that's a problem. I don't remember installing nixos from another distro, but basically, what nixos-install is telling you is that it's not finding a nixpkgs checkout
<ajs124> you can simply arrange for one in a location of your choice via a method of your choice and then point it at that. although you obviously shouldn't need to do that
<{^_^}> [nixpkgs] @fpletz pushed 16 commits to release-19.03: https://git.io/fhAVq
<{^_^}> [nixpkgs] @marsam opened pull request #56622 → shadowsocks-rust: init at 1.7.0 → https://git.io/fhAVm
<thelounge52> I did so, but I'm getting "error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)". I had this error before too
init_6 has joined #nixos
<ajs124> how are you telling nixos-install about the path to the checkout?
<hyperfekt> okay i can now apply .diffs to nixos but apparently i can't use the cache anymore :<
<{^_^}> [nixpkgs] @fpletz merged pull request #46637 → nixos/rmilter: fix default bindSocket.path and bindSocket.address. → https://git.io/fAPf4
<{^_^}> [nixpkgs] @fpletz pushed commit from Julien Moutinho to master « rmilter: fix inetSocket »: https://git.io/fhAVY
<thelounge52> I'm not - /nix/var/nix/profiles/per-user/root/channels/nixos/ is empty though
<thelounge52> nix-channel --update has a chroot sandbox error
<thelounge52> I can't turn sandbox off as far as I know since the filesystem is read only
<hyperfekt> nevermind, it just has to reevaluate every single package and check with the caches since no two files are the same anymore to nix
<ajs124> thelounge52, you could mount a tmpfs over /etc/nix and put a modified nix.conf in there, probably
<hyperfekt> still i'm building suspicious amounts from source considering i'm on a stable channel
<ajs124> ah, wait. or do you just mean /etc/nix/nix.conf is read only? you can replace that symlink with a file
<ajs124> sed -i "" /etc/nix/nix.conf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56623 → cups-filters: 1.22.0 -> 1.22.1 → https://git.io/fhAVn
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #56496 → nixos/nextcloud: Update recommended nginx settings → https://git.io/fhNDf
<{^_^}> [nixpkgs] @fpletz pushed 5 commits to master: https://git.io/fhAVc
tmaekawa has quit [Client Quit]
Makaveli7 has quit [Ping timeout: 255 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreisys has joined #nixos
stepcut_ has quit [Remote host closed the connection]
<thelounge52> ajs124 it worked!
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-19.03: https://git.io/fhAV4
stepcut has joined #nixos
<hyperfekt> oh no i'm building the entirety of webkit now? D: help
jluttine has quit [Ping timeout: 250 seconds]
<lmat> What is this i see about "@NeQuissimus pushed 4 commits..." How is it doing that? It seems like it's not a normal IRC message?
<hyperfekt> my puny laptop can't handle building everything from source cc tilpner
black-brick has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56624 → cutelyst: 2.6.0 -> 2.7.0 → https://git.io/fhAVR
<edef> lmat: it's a notice
<edef> like this
<lmat> Yeah, that! Thanks, I'll look it up.
iyzsong has joined #nixos
drakonis_ has joined #nixos
<lmat> like that?
<edef> yep
<lmat> it looks a *lot* different on my screen than yours looks on my screen...
stepcut has quit [Ping timeout: 250 seconds]
<edef> mine looks a lot different on my screen than on yours
<edef> 02:23:18 -{^_^}:#nixos- [nixpkgs] @NeQuissimus pushed 4 commits to release-19.03: https://git.io/fhAV4
<edef> 02:26:39 [notice(#nixos)] like this
<edef> 02:27:33 -lmat:#nixos- like that?
<{^_^}> [nixpkgs] @fpletz pushed to master « nextcloud: 15.0.4 -> 15.0.5 »: https://git.io/fhAV2
<lmat> edef: Exactly like that. Maybe you're not running on a dead badget after all ^_^
<lmat> perhaps you're using irssi?
<{^_^}> [nixpkgs] @fpletz pushed 6 commits to release-19.03: https://git.io/fhAVw
<lmat> Oh, is that why my terminal keeps "bell"ing!?
ym555 has joined #nixos
<lmat> It keeps making that noise, and I couldn't figure out what it is; must be those notices
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhAVr
<lmat> yup
<edef> lmat: i am using irssi, yes
<{^_^}> [nixpkgs] @aanderse opened pull request #56625 → set phpOptions per phpfpm pool, instead of applying to every phpfpm pool → https://git.io/fhAVK
lmat has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56626 → czmq: 4.1.1 -> 4.2.0 → https://git.io/fhAV6
marsam has quit [Ping timeout: 258 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56627 → dbeaver: 5.3.2 -> 5.3.5 → https://git.io/fhAVQ
colemickens is now known as colemickens_
colemickens_ is now known as colemickens__
colemickens__ is now known as colemickens
jluttine has joined #nixos
erictapen has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
kyren has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
gagbo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56628 → dialog: 1.3-20181107 -> 1.3-20190211 → https://git.io/fhAwY
drakonis has joined #nixos
vivian_darkbloom has joined #nixos
<vivian_darkbloom> Hey so I just installed nixos and now I need to connect to the internet to install packages. Funny enough, iw is not one of those packages included. Any thoughts on how I might connect to the network? It's not encrypted
<vivian_darkbloom> Or should I just edit the config files and redo nixos-install. If so what should I add to the config files? Thanks
<srhb> vivian_darkbloom: Redoing nixos-install is perfectly viable. Making sure that the install is internet-viable is somewhat important in this model :)
<vivian_darkbloom> Hahaha
<srhb> vivian_darkbloom: You'd mostly just need to redo all the mounts, edit your configuration and then do nixos-install again.
<srhb> vivian_darkbloom: (I tend to prefer enabling networkmanager since I'm lazy)
<vivian_darkbloom> hm. I really like netctl from Arch Linux, I wonder if that's available
srl295 has joined #nixos
<srhb> vivian_darkbloom: It really is an Arch thing, I don't think we have something like it.
<srhb> vivian_darkbloom: Recent network-managers have an nmtui command which is... Tolerable.
<srhb> vivian_darkbloom: You're also free to use plain supplicant, but.. I think it's a relatively poor user experience.
<vivian_darkbloom> :( yeah that's one of those things that annoys me whenever I try to leave Arch... Despite the fact that all their tools are written in bash and c they're actually pretty nice
<srhb> Regardless, having *something* once you boot the real system is the important bit :)
<srhb> You can always adjust later.
simukis has quit [Quit: simukis]
silver has quit [Read error: Connection reset by peer]
<vivian_darkbloom> ^^ I am kind of impressed by nix' installation process. One of the simplest I've seen so far
<srhb> That's nice to hear!
<aanderse> srhb: have a moment to help me out? i'm wondering what i'm messing up now with some ofborg testing...
<srhb> aanderse: I have a few minutes, sure :)
jluttine has joined #nixos
<{^_^}> #56243 (by aanderse, 6 days ago, open): nixos/redmine: fix permissions & cleanup
<aanderse> i ask ofborg to test redmine_3 and redmine_4
rprije has joined #nixos
<aanderse> no test run because attribute 'redmine_3' in selection path 'tests.redmine_3' not found
<aanderse> same for 4
<aanderse> under nixos/tests/redmine.nix i have a redmine_3 and a redmine_4 test defined
<srhb> aanderse: The entry point for ofborg is nixos/release.nix
<srhb> aanderse: (or close to that)
<srhb> aanderse: If you try nix-build nixos/release.nix -A redmine_3, you'll see there's no such thing
<srhb> On the other hand, there _is_ an redmine.readmine_3 and redmine.redmine_4
<srhb> So if you ask ofborg to check those, you're good.
black-brick has quit [Ping timeout: 256 seconds]
<srhb> vivian_darkbloom: fwiw I think we could still present the process better. imo section 2.4 (installation summary) should be the very first thing new installees should be presented, because the conceptual overview is great (although the nano step really does need a great big disclaimer about what it really entails)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56629 → docker-compose: 1.23.1 -> 1.23.2 → https://git.io/fhAwR
blobbing has joined #nixos
blobbing has left #nixos ["Leaving"]
o1lo01ol1o has joined #nixos
<vivian_darkbloom> So what packages does a bare nixos install include? Like if you don't set any systemPackages I'm assuming bash is included
<srhb> vivian_darkbloom: Right, it is. Basically there's a bunch of NixOS modules that are "enabled" by default, and they set environment.systemPackages to some list of packages
<srhb> vivian_darkbloom: Each list of environment.systemPackages in different modules are concatenated together.
<vivian_darkbloom> Ah. That makes sense.
<{^_^}> [nixpkgs] @m45t3r opened pull request #56630 → xsecurelock: Added missing X11 buildInputs → https://git.io/fhAw0
init_6 has quit [Remote host closed the connection]
<srhb> vivian_darkbloom: It's not super readable, but `nixos-option environment.systemPackages` will give you the value.
<aanderse> srhb: thanks! silly me... all makes sense now :D
<srhb> aanderse: Great :)
iyzsong has quit [Ping timeout: 258 seconds]
<srhb> vivian_darkbloom: You'll see it's not actually possible to disable it (at least, not without forcibly preventing the import of the module, which will probably break your system in !FUN! ways)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56631 → dpkg: 1.19.4 -> 1.19.5 → https://git.io/fhAwE
<tA> any idea why mpd wont detect my music library? ive set services.mpd.musicDirectory to the right path
<vivian_darkbloom> Haha breaking Linux systems in !FUN! ways is my hobby, but only if the system's Debian >:)
<srhb> vivian_darkbloom: Fair :-P
<hyperfekt> srhb: it'll probably break a lot less than many other distros i would guess? since the interprete paths are patched
<srhb> hyperfekt: Yes, very likely. Not just for that reason though, but the fact that the bash interpreter itself is ensured to be in /run/current-system/sw for other reasons than this module.
<srhb> but yeah, the fully qualified shebangs make a huge difference for sure.
<srhb> I'm mostly trying to say "don't disable this module" :-P
<srhb> Anyway, bedtime. o/
<gchristensen> srhb: your bed time? its _my_ bedtime :o
<srhb> gchristensen: >_> Long friday. I swear I'm a responsible person. At times.
<gchristensen> you do you, just know we're on the same schedule.
<hyperfekt> what a coincidence, i was also about to go to bed
<gchristensen> ;)
<srhb> I will take note :D
shibboleth has quit [Quit: shibboleth]
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz merged pull request #56624 → cutelyst: 2.6.0 -> 2.7.0 → https://git.io/fhAVR
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « cutelyst: 2.6.0 -> 2.7.0 (#56624) »: https://git.io/fhAwr
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56632 → dune: 1.6.2 -> 1.7.3 → https://git.io/fhAwo
jtojnar_ has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreisys has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<tA> any articles on setting up mpd? im struggling
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56633 → eccodes: 2.10.0 -> 2.12.0 → https://git.io/fhAwS
<{^_^}> [nixpkgs] @marsam opened pull request #56634 → buildRustPackage: Allow pname attribute → https://git.io/fhAw9
wedens has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #56617 → conky: 1.11.2 -> 1.11.3 → https://git.io/fhAaV
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhAw5
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @disassembler merged pull request #56631 → dpkg: 1.19.4 -> 1.19.5 → https://git.io/fhAwE
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhAwd
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #56629 → docker-compose: 1.23.1 -> 1.23.2 → https://git.io/fhAwR
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhAwb
<{^_^}> [nixpkgs] @fpletz merged pull request #56630 → xsecurelock: Added missing X11 buildInputs → https://git.io/fhAw0
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhAwA
<{^_^}> [nixpkgs] @disassembler merged pull request #56628 → dialog: 1.3-20181107 -> 1.3-20190211 → https://git.io/fhAwY
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhAwx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56635 → eclib: 20180815 -> 20190226 → https://git.io/fhAwp
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56562 → nixos/gnome-settings-daemon: init → https://git.io/fhAmx
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhAwh
<{^_^}> [nixpkgs] @disassembler merged pull request #56627 → dbeaver: 5.3.2 -> 5.3.5 → https://git.io/fhAVQ
<{^_^}> [nixpkgs] @disassembler merged pull request #56627 → dbeaver: 5.3.2 -> 5.3.5 → https://git.io/fhAVQ
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhAwj
yunratobe_ has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #56626 → czmq: 4.1.1 -> 4.2.0 → https://git.io/fhAV6
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhAre
<hyperfekt> tA: What's the issue? The module seems to have sensible defaults. looks like the most important setting is dataDir, depending on where you have yours.
<vivian_darkbloom> In nixos, should you still do sudo systemctl enable, and if not, what else should you use to enable services
<clever> vivian_darkbloom: enable doesnt work on nixos
<hyperfekt> tA: Mind that by default a new user is created with the name mpd to run the service which needs access to the data directory.
<tA> hyperfekt: whats the difference between musicDir and dataDir?
<clever> vivian_darkbloom: all services are enabled by editing configuration.nix and doing a nixos-rebuild switch
<{^_^}> [nixpkgs] @disassembler merged pull request #56623 → cups-filters: 1.22.0 -> 1.22.1 → https://git.io/fhAVn
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhArf
<vivian_darkbloom> clever: thanks
<hyperfekt> tA: There's MusicDirectory, which seems to be normally a subdirectory of dataDir and contains the music files themselves I would guess. dataDir contains others as well, like playlists
<tA> hyperfekt: i have dataDir at whatever the default is, and musicDir set to my folder, which ive chowned to mpd:audio
init_6 has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @disassembler merged pull request #56620 → cryptominisat: 5.6.6 -> 5.6.8 → https://git.io/fhAVU
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhArI
<hyperfekt> tA: I don't know mpd but that sounds... sound. Mind that the module doesn't seem to open the port in the firewall by default.
kreisys has joined #nixos
<aanderse> tA: not sure if it helps at all, but my config related to mpd: https://pastebin.com/ta2e5ZwY
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3eda950518d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<aanderse> also added firewall rule
<{^_^}> [nixpkgs] @disassembler merged pull request #56618 → cppcheck: 1.86 -> 1.87 → https://git.io/fhAa9
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fhArt
<aanderse> and with that... i'm off to bed now too
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56602 → brave: 0.59.35 -> 0.60.45 → https://git.io/fhAg2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhArY
<vivian_darkbloom> I'm sorry for all these newb questions tonight but is there a per-user config like the system one?
<tA> vivian_darkbloom: not by default, but check out home-manager by rycee
<vivian_darkbloom> Oh nice thanks
<tA> hyperfekt: that got it working thanks :)
endformationage has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
stepcut has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #56564 → .github/CODEOWNERS: remove @ryantm from haskell → https://git.io/fhAYY
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhArl
phreedom has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 255 seconds]
stepcut has joined #nixos
yl has quit [Ping timeout: 244 seconds]
phreedom has joined #nixos
tdbgamer has joined #nixos
<hyperfekt> tA: sweet! happy listening :)
vivian_darkbloom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56636 → linuxPackages.evdi: 1.5.1 -> 1.6.0 → https://git.io/fhArB
o1lo01ol1o has quit [Remote host closed the connection]
Erasmus has joined #nixos
countingsort has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #56637 → geoclue2: 2.5.1 -> 2.5.2 → https://git.io/fhArz
stepcut has quit [Remote host closed the connection]
counting1 has quit [Ping timeout: 250 seconds]
stepcut has joined #nixos
yunratobe_ has quit [Quit: WeeChat 2.4]
stepcut has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56534 → appstream-glib: 0.7.14 -> 0.7.15 → https://git.io/fhAvU
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhArP
thelounge52 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eadwu opened pull request #56638 → vscode-extensions.WakaTime.vscode-wakatime: fix dependency path → https://git.io/fhArD
<tA> sorry for all the music questions, but does the version of ncmpcpp in the repos not have visualiser support? or is there something from my config ive got missing?
<clever> ,locate ncmpcpp
<{^_^}> Found in packages: ncmpcpp
<clever> 4 , visualizerSupport ? false, fftw ? null # visualizer screen
<clever> tA: you want (ncmpcpp.override { visualizerSupport = true; })
<tA> clever: ahh thanks
<tA> so easy to recompile, gorram nix is nice
kmein has quit [Ping timeout: 245 seconds]
Erasmus has quit [Quit: END-AUMF]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56639 → fasm-bin: 1.73.08 -> 1.73.09 → https://git.io/fhAr7
noonien has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @taku0 opened pull request #56640 → thunderbird: 60.5.1 -> 60.5.2 → https://git.io/fhAr5
camsbury has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56641 → facter: 3.12.3 -> 3.13.0 → https://git.io/fhArb
mobile_c_ has quit [Quit: Konversation terminated!]
eadwu has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56642 → fava: 1.9 -> 1.10 → https://git.io/fhArA
<{^_^}> [nixpkgs] @bendlas pushed 2 commits to master: https://git.io/fhArp
camsbury has quit [Quit: WeeChat 2.2]
vivian_darkbloom has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
<vivian_darkbloom> Hey does anyone know can you get eclipse on nixos stable
<vivian_darkbloom> and if so how
<vivian_darkbloom> I have like 30 minutes to generate some javadoc files for an assignment :X
<{^_^}> [nixpkgs] @bendlas pushed to release-18.09 « chromium: 72.0.3626.119 -> 72.0.3626.121 »: https://git.io/fhAoe
<vivian_darkbloom> its eclipse-sdk
<vivian_darkbloom> im a big dummy
<{^_^}> [nixpkgs] @bendlas pushed 2 commits to release-19.03: https://git.io/fhAov
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56643 → featherpad: 0.9.2 -> 0.9.4 → https://git.io/fhAof
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56644 → feh: 3.1.2 -> 3.1.3 → https://git.io/fhAos
vivian_darkbloom has quit [Quit: Page closed]
iyzsong has joined #nixos
yl has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #56645 → llvm8: init → https://git.io/fhAoC
growpotkin has quit [Quit: WeeChat 2.4]
pie___ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56646 → ffmpeg-full: 4.1 -> 4.1.1 → https://git.io/fhAoR
pie__ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #56647 → firefox: 65.0.1 -> 65.0.2, firefox-esr: 60.5.1esr -> 60.5.2esr → https://git.io/fhAo0
o1lo01ol1o has quit [Remote host closed the connection]
ashkitten has quit [Quit: WeeChat 2.2]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56648 → ffms: 2.22 -> 2.23 → https://git.io/fhAou
drakonis_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #56649 → pureUsePlatformOptimizations: add stdenv adapter → https://git.io/fhAoz
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
init_6 has quit [Read error: Connection reset by peer]
endformationage has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56650 → fio: 3.12 -> 3.13 → https://git.io/fhAo7
<{^_^}> [nixpkgs] @bendlas pushed to master « leiningen: 2.9.0 -> 2.9.1 »: https://git.io/fhAod
<{^_^}> [nixpkgs] @bendlas pushed to release-19.03 « leiningen: 2.9.0 -> 2.9.1 »: https://git.io/fhAoF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56651 → firejail: 0.9.58 -> 0.9.58.2 → https://git.io/fhAox
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56652 → fish: 3.0.1 -> 3.0.2 → https://git.io/fhAKU
init_6 has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56653 → fldigi: 4.1.00 -> 4.1.01 → https://git.io/fhAKt
isHavvy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56654 → flmsg: 4.0.8 -> 4.0.8.04 → https://git.io/fhAKq
ninjin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56655 → flow: 0.92.0 -> 0.94.0 → https://git.io/fhAKY
mobile_c has joined #nixos
Havvy has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56656 → fluidsynth: 2.0.3 -> 2.0.4 → https://git.io/fhAK3
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bf9cd87b3ba (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
mobile_c has quit [Read error: Connection reset by peer]
mvnetbiz has joined #nixos
<mvnetbiz> How can I add a callPackage in my ~/.config/nixpkgs/config.nix?
JoL1hAHN8 has joined #nixos
<JoL1hAHN8> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
JoL1hAHN8 has quit [Read error: Connection reset by peer]
virhilo23 has joined #nixos
virhilo23 has quit [Remote host closed the connection]
<init_6> "new" lol
<mvnetbiz> I've never heard of that is it a joke?
ninjin has joined #nixos
zig has joined #nixos
<zig> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
<SysAdminGoneCraZ> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
SysAdminGoneCraZ has joined #nixos
<mvnetbiz> Oh the real one is .org. the guy is getting targeted or something weird
zig has quit [Killed (Sigyn (Spam is off topic on freenode.))]
random_yanek has quit [Ping timeout: 250 seconds]
palo1 has joined #nixos
<edef> they were going for debian devs before
<edef> i've long forgotten what the exact beef was
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
SysAdminGoneCraZ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56657 → unrar: 5.5.8 -> 5.7.3 → https://git.io/fhAK8
ninjin has quit [Ping timeout: 256 seconds]
NetTerminalGene has joined #nixos
<NetTerminalGene> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
NetTerminalGene has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<init_6> bot?
hke_ has joined #nixos
<hke_> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
hke_ has quit [Remote host closed the connection]
random_yanek has joined #nixos
eirirs has joined #nixos
<eirirs> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
eirirs has quit [Remote host closed the connection]
<init_6> wtf
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56658 → form: 4.2.0 -> 4.2.1 → https://git.io/fhAK0
domogled has joined #nixos
yl has quit [Ping timeout: 259 seconds]
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56659 → fossil: 2.7 -> 2.8 → https://git.io/fhAK2
srl295 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #56660 → cairo: use buildInputs for libraries → https://git.io/fhAKw
i1nfusion has joined #nixos
_kwstas has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/025c2abd08d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ym555 has quit [Quit: leaving...]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #56661 → stack-hook: deduplicate better → https://git.io/fhAKK
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56662 → freewheeling: 0.6.4 -> 0.6.5 → https://git.io/fhAK6
<{^_^}> [nixpkgs] @dtzWill opened pull request #56663 → libpqxx: 6.3.1 -> 6.3.3 → https://git.io/fhAKi
<{^_^}> [nixpkgs] @dtzWill closed pull request #56472 → libpqxx: 6.3.1 -> 6.3.2 → https://git.io/fhNPf
bemeurer has joined #nixos
_kwstas has quit [Quit: _kwstas]
<bemeurer> If I am using Nix outside of NixOS (Gentoo) how can I add a new channel? Is it just `nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs` ?
<{^_^}> [nixpkgs] @dtzWill opened pull request #56664 → pythonPackages.hypothesis: 3.88.3 -> 4.7.17 → https://git.io/fhAKX
<bemeurer> Pinging clever since he helped me last night :P
arjen-jonathan has joined #nixos
<rant4> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
rant4 has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56665 → fwts: 19.01.00 -> 19.02.00 → https://git.io/fhAKS
asdil1213 has joined #nixos
<asdil1213> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
<bemeurer> What about exherbo?
asdil1213 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<cyclonis> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
cyclonis has joined #nixos
<init_6> old crap that`s all
alex`` has joined #nixos
rant4 has quit [Ping timeout: 255 seconds]
ninjin has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #56664 → pythonPackages.hypothesis: 3.88.3 -> 4.7.17 → https://git.io/fhAKX
wagle9 has joined #nixos
wagle9 has quit [Remote host closed the connection]
cyclonis has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56666 → fwup: 1.2.7 -> 1.3.0 → https://git.io/fhAKd
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56667 → gandi-cli: 1.3 -> 1.4 → https://git.io/fhAKA
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fhAKx
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging-19.03: https://git.io/fhAKj
jasongrossman has joined #nixos
sb0 has quit [Ping timeout: 240 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56668 → gnome3.gdm: 3.30.2 -> 3.30.3 → https://git.io/fhA6J
y0no has joined #nixos
y0no has quit [Remote host closed the connection]
pita has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging-19.03 « pythonPackages.exchangelib: 1.12.0 -> 1.12.2 (#56531) »: https://git.io/fhA6k
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhA6I
adamantium has quit [Ping timeout: 268 seconds]
mobile_c has joined #nixos
tweaks2 has joined #nixos
<tweaks2> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
<{^_^}> [nixpkgs] @FRidh opened pull request #56669 → pythonPackages.tensorflow: 1.11 -> 1.13.1 → https://git.io/fhA6m
tweaks2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @FRidh merged pull request #56669 → pythonPackages.tensorflow: 1.11 -> 1.13.1 → https://git.io/fhA6m
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fhA6Y
<{^_^}> [nixpkgs] @FRidh closed pull request #56515 → update to tensorflow 1.13.1 → https://git.io/fhNdK
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to staging-19.03: https://git.io/fhA6O
<{^_^}> [nixpkgs] @vcunat merged pull request #56646 → ffmpeg-full: 4.1 -> 4.1.1 → https://git.io/fhAoR
<{^_^}> [nixpkgs] @FRidh pushed 33 commits to python-unstable: https://git.io/fhA6n
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56670 → ponyc: 0.26.0 -> 0.27.0, cleanup, use recent LLVM → https://git.io/fhA68
thc202 has joined #nixos
andymandias_ has joined #nixos
MrHodl has joined #nixos
<MrHodl> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
MrHodl has quit [Remote host closed the connection]
<bemeurer> What is this exherbo spam>
<bemeurer> *?
domenkozar[m] has joined #nixos
<init_6> the same there WTF?
<bemeurer> Yeah, wtf is this BS
<edef> it's this one kid with a grudge
<bemeurer> gentoo channel is also getting it
Mithkabob17 has joined #nixos
<Mithkabob17> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
<bemeurer> FFS
Mithkabob17 has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 268 seconds]
mobile_c has quit [Ping timeout: 240 seconds]
vladimir-m has joined #nixos
<vladimir-m> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
vladimir-m has quit [Remote host closed the connection]
init_6 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @terlar opened pull request #56671 → awscli: 1.16.106 -> 1.16.116 → https://git.io/fhA6E
Guest57755 has quit [Ping timeout: 255 seconds]
andymandias_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @terlar closed pull request #56671 → awscli: 1.16.106 -> 1.16.116 → https://git.io/fhA6E
cyphase has quit [Ping timeout: 255 seconds]
andymandias has joined #nixos
mobile_c has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56672 → gecode: 6.1.0 -> 6.1.1 → https://git.io/fhA69
Ariakenom has joined #nixos
<pksato> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
pksato has joined #nixos
pksato has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<andymandias> I'm having trouble with getting fish-completions built even though it appears my very issue is fixed in the GitHub issue https://github.com/NixOS/nixpkgs/issues/56432
<{^_^}> #56432 (by callahad, 3 days ago, closed): Collision between btrfs-progs and dosfstools, prevents nixos-rebuild
<andymandias> if there's anyone who could handhold me through why it's not working for me, I'm a bit lost
iyzsong has quit [Ping timeout: 252 seconds]
mobile_c has quit [Read error: Connection reset by peer]
<srhb> andymandias: What's your exact problem? :)
<andymandias> well, as near as I can tell I need to get ignoreCollisions set for the buildEnv of the fish package? but I'm not entirely sure how to do so
mobile_c has joined #nixos
<srhb> andymandias: What's it colliding with?
<{^_^}> [nixpkgs] @Kaali opened pull request #56673 → Add Darwin support for ccls → https://git.io/fhA6d
binBASH has joined #nixos
<binBASH> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
binBASH has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<andymandias> I think, possibly wrong here, that fish-completions are being built for each non-fish package that supports fish completions... and the versions generated for different packages are colliding
<{^_^}> [nixpkgs] @terlar opened pull request #56674 → Revert "python: pykeepass: 3.0.2 -> 3.0.3" → https://git.io/fhA6F
<andymandias> giving errors like "collision between `/nix/store/c4mr5y71ri1i8ryv91q755ajkyrla96f-procps-3.3.15-fish-completions/kill.fish' and `/nix/store/ybgxpd7yz9d6513gg3knwvlzfc0zy9a9-coreutils-8.30-fish-completions/kill.fish'"
cyphase has joined #nixos
<andymandias> where the collision is between procps fish completions and coreutils fish completions I suppose
<{^_^}> [nixpkgs] @terlar closed pull request #56674 → Revert "python: pykeepass: 3.0.2 -> 3.0.3" → https://git.io/fhA6F
<andymandias> fish had been working fine up until I tried to do a nixos-rebuild switch today, so I'm hoping the collisions are not actually serious
Erasmus has quit [Quit: END-AUMF]
<srhb> andymandias: I'm sure they're not (if it's just fish completions) but I'm wondering why you're suddenly seeing that.
shah^ has joined #nixos
<andymandias> I'm wondering the same
<srhb> andymandias: Is this on 18.09? How recent is your channel?
Glider_IRC__ has joined #nixos
<andymandias> 19.03, had previously been on unstable
<srhb> andymandias: 19.03 is pretty much unstable insofar as it is not released yet.
simukis has joined #nixos
<andymandias> oh, I see!
<andymandias> I'll try 18.09
<jasongrossman> I just assumed that the fix for this had not yet worked its way through to unstable, since unstable hasn't been updated for three days. It works fine for me in 18.09 ...
mobile_c has quit [Read error: Connection reset by peer]
<jasongrossman> ... and should work soon in unstable, I believe.
<srhb> jasongrossman: Yeah, that's what I'm seeing too.
<srhb> It is indeed in release-19.03 but not in nixos-19.03 yet. Mystery solved :)
<jasongrossman> srhb++
<{^_^}> srhb's karma got increased to 33
<jasongrossman> I was right, but too lazy to check.
<srhb> jasongrossman: ;)
<andymandias> aha! okay so to make sure I'm understanding the fix should essentially be switch to 18.09 (and if I need 19.03 for some reason check back in a few days)?
Glider_IRC_ has quit [Ping timeout: 245 seconds]
mobile_c has joined #nixos
<srhb> andymandias: Yes, it's in the release branch for 19.03 but it has not yet made it through CI due to failing tests, so the channel has not advanced yet.
<andymandias> roger, thanks! much appreciated
<srhb> Mind, 19.03 will not be released for approximately a month, so, same disclaimer as before :-)
Ariakenom has quit [Quit: Leaving]
<andymandias> understood, had erroneously assumed because it showed up in https://nixos.org/channels/ it was the latest stable
mobile_c has quit [Read error: Connection reset by peer]
ixxie has joined #nixos
<srhb> You're not the only one for sure.. :)
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @terlar opened pull request #56675 → python: pykeepass: fix build → https://git.io/fhA6h
mobile_c has joined #nixos
bemeurer has quit [Max SendQ exceeded]
bemeurer has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #56438 → qstopmotion: 2.4.0 -> 2.4.1 → https://git.io/fhNnb
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhAiv
mobile_c has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #55004 → racket{,-minimal}: add cacert to nativeBuildInputs, silence warnings → https://git.io/fhyCF
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhAiJ
<{^_^}> [nixpkgs] @srhb merged pull request #56377 → nixos-rebuild: add changelog/docs for edit subcommand → https://git.io/fhb7e
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhAiI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56676 → gitAndTools.git-hub: 1.0.1 -> 1.0.3 → https://git.io/fhAiL
PirBoazo has joined #nixos
mobile_c has joined #nixos
andymandias has quit [Quit: ZNC 1.7.2 - https://znc.in]
<PirBoazo> Hello everyBody
andymandias has joined #nixos
<srhb> PirBoazo: o/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56677 → git-secrets: 1.2.1 -> 1.3.0 → https://git.io/fhAi3
vp1119 has joined #nixos
<vp1119> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
vp1119 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @srhb merged pull request #55701 → multimc: unstable-2018-06-04 -> 0.6.4 → https://git.io/fh7Jl
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhAis
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhAin
<{^_^}> [nixpkgs] @srhb pushed 4 commits to release-19.03: https://git.io/fhAic
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fhAiC
klntsky has quit [Read error: Connection reset by peer]
cantstanya has quit [Write error: Connection reset by peer]
ninjin has quit [Read error: Connection reset by peer]
phreedom has quit [Write error: Connection reset by peer]
oida has quit [Read error: Connection reset by peer]
<JasonO-> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
JasonO- has joined #nixos
JasonO- has quit [Killed (Sigyn (Spam is off topic on freenode.))]
phreedom has joined #nixos
klntsky has joined #nixos
oida has joined #nixos
ninjin has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #56640 → thunderbird: 60.5.1 -> 60.5.2 → https://git.io/fhAr5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56678 → gnome-menus: 3.31.4 -> 3.31.90 → https://git.io/fhAil
bendoin has joined #nixos
<bendoin> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
cantstanya has joined #nixos
bendoin has quit [Remote host closed the connection]
<srhb> gchristensen: Think we could use a lockdown on the channel today.
<andymandias> just wanted to report that did the trick, and if there's any way I can get srhb extra karma or whatever let's :)
<srhb> andymandias: Great :-)
<andymandias> thanks again
<Izorkin> yl[m]: updated PR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56679 → gnome3.gnome-remote-desktop: 0.1.6 -> 0.1.7 → https://git.io/fhAir
<pbb> Hi, I'm writing a tool to visualize the dependencies of a nix derivation, similar to npm.anvaka.com. Is there any way to get the list of runtime dependencies from the binary cache without downloading the whole package? I can tell the build time dependencies by evaluating the package without building it, but the runtime dependencies can only be determined after the package is built, and I don't want to build every package i want to visualize.
schjetne has quit [Ping timeout: 240 seconds]
breinbaa1 has joined #nixos
<breinbaa1> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
<clever> pbb: query the .narinfo for it
breinbaa1 has quit [Remote host closed the connection]
<clever> /nix/store/0vg5bw04dn21czjcqcqczyjrhys5cv30-hello-2.10
<clever> pbb: the hash for the narinfo, is the hash in the storepath
<clever> 0vg5bw04dn21czjcqcqczyjrhys5cv30.narinfo in my example
<tilpner> pbb: The References part is the list of runtime dependencies as determined by hydra
PirBoazo has quit [Quit: Bonne Fin de Journée]
<tilpner> If you want the build time graph, nix-store already has the --graph and --graphml flags
<pbb> but that will only work for packages that are already in my nix store, right?
thc202 has quit [Remote host closed the connection]
<tilpner> No, the build time closure can be determined without building it
<pbb> clever, tilpnerd thinks, the narinfo will solve my problem for runtime dependencies
<tilpner> It will just be larger(or equally large as) than the runtime closure
<pbb> okay, that's nice. I tried to build something with nix-instantiate, but lib.unique is quite slow.
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/fhAiX
<{^_^}> [nixpkgs] @andir merged pull request #56647 → firefox: 65.0.1 -> 65.0.2, firefox-esr: 60.5.1esr -> 60.5.2esr → https://git.io/fhAo0
pita has joined #nixos
primeos has quit [Quit: WeeChat 2.3]
Ariakenom has quit [Quit: Leaving]
primeos has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #55466 → ipfs-cluster: 0.7.0 -> 0.8.0 → https://git.io/fhHaH
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fhAiH
<{^_^}> [nixpkgs] @andir opened pull request #56680 → ipfs: 0.4.18 -> 0.4.19, ipfs-cluster: 0.8.0 -> 0.9.0 → https://git.io/fhAib
primeos has quit [Quit: WeeChat 2.4]
primeos has joined #nixos
erictapen has joined #nixos
__monty__ has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.detox: mark as broken »: https://git.io/fhAPY
sluidfoe has joined #nixos
<sluidfoe> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
erictapen has quit [Ping timeout: 250 seconds]
sinner has joined #nixos
erictapen has joined #nixos
sinner is now known as Guest38658
<{^_^}> [nixpkgs] @volth opened pull request #56682 → network-scripting: do not run resolvconf if /etc/resolv.conf is managed manually → https://git.io/fhAPs
sluidfoe has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #56675 → pythonPackages.pykeepass: fix build → https://git.io/fhA6h
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhAPG
<{^_^}> [nixpkgs] @dotlambda pushed to staging-19.03 « python.pkgs.detox: mark as broken »: https://git.io/fhAPn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56683 → gnomeExtensions.appindicator: 22 -> 23 → https://git.io/fhAPW
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to staging-19.03: https://git.io/fhAPl
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56428 → ping: init 0.6.0 → https://git.io/fhNsD
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhAP8
<nh2[m]> ah, this works:
<nh2[m]> `nix-env -i --from-expression 'active: let x = (import <nixpkgs> {}); in x.mumble'`
<nh2[m]> I guess that's what `If --from-expression is given, args are Nix functions that are called with the active Nix expression as their single argument.` means from the man page.
<nh2[m]> Not sure what "the active expression" is though
<clever> nh2[m]: nix-env -E requires that the expression be a function, and it will pass it the list of default expressions (from ~/.nix-defexpr/)
<clever> that is the same list that nix-env -iA nixos.mumble is pulling from
thc202 has joined #nixos
<pbb> tilpner: how would I use nix-store to determine the build time graph without pulling the derivation to my nix store?
<joko> Hey, I am preparing a FileZilla update and is currently segfaulting, could anyone help me debug it?
jb55 has quit [Ping timeout: 245 seconds]
<pbb> tilpner: I tried `nix-store --graphml -q /nix/store/az7pr7bsak70fyc539ic94lifj6282vn-gnome-control-center-3.30.3` without gnome-control-center installed, and it didn't give me the dependency graph
<{^_^}> [nixpkgs] @pbogdan opened pull request #56685 → nixos/manual: fix build → https://git.io/fhAP2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56686 → gnustep.gorm: 1.2.23 -> 1.2.24 → https://git.io/fhAPa
<srhb> pbb: nix-store -q --graphml $(nix-instantiate '<nixpkgs>' -A gnome3.gnome-control-center)
<pbb> thanks
shabius_ has quit [Quit: Leaving]
shabius has joined #nixos
Khetzal23 has joined #nixos
xvnb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56687 → google-drive-ocamlfuse: 0.7.1 -> 0.7.2 → https://git.io/fhAPM
gspia has quit [Quit: Leaving]
Khetzal23 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56597 → baresip: 0.6.0 -> 0.6.1 → https://git.io/fhAza
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhAP9
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56651 → firejail: 0.9.58 -> 0.9.58.2 → https://git.io/fhAox
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhAPx
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56603 → btrfs-progs: 4.20.1 -> 4.20.2 → https://git.io/fhAgi
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhAPh
LeshaInc has quit [Quit: ZNC - https://znc.in]
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-18.09: https://git.io/fhAPj
xvnb has quit []
LeshaInc has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-19.03: https://git.io/fhAXf
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56688 → gradle-completion: 1.3.1 -> 1.4.1 → https://git.io/fhAXJ
<{^_^}> [nixpkgs] @andir pushed to release-18.09 « tinc_pre: fix error after openssl upgrade »: https://git.io/fhAXk
jb55 has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #56689 → firefox66 build support → https://git.io/fhAXZ
jomik has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #56685 → nixos/manual: fix build → https://git.io/fhAP2
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhAXn
<{^_^}> [nixpkgs] @srhb pushed commit from @pbogdan to release-19.03 « nixos/manual: fix build »: https://git.io/fhAXc
<teto> could anyone have a look (aka merge if ok) https://github.com/NixOS/nixpkgs/pull/56191 ? I am working on a bunch of vim-plugins and it's painful not to be able to run the update script.py
<{^_^}> #56191 (by tobim, 1 week ago, open): Restrict vim update.py to generated.nix
<teto> script update.py*
hedning has joined #nixos
Nighthawk` has joined #nixos
<Nighthawk`> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
Nighthawk` has quit [Killed (Sigyn (Spam is off topic on freenode.))]
erictapen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #56690 → python37Packages.cryptography: 2.5 -> 2.6.1 → https://git.io/fhAXE
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56691 → grim: 1.0 -> 1.1 → https://git.io/fhAXz
<ar> oh no, not this spam again
LeshaInc has quit [Quit: ZNC - https://znc.in]
LeshaInc has joined #nixos
dexter987 has joined #nixos
<dexter987> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
<{^_^}> [nixpkgs] @pSub pushed 2 commits to release-19.03: https://git.io/fhAXw
<{^_^}> [nixpkgs] @pSub merged pull request #56688 → gradle-completion: 1.3.1 -> 1.4.1 → https://git.io/fhAXJ
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhAXK
dexter987 has quit [Ping timeout: 252 seconds]
astrofog has joined #nixos
<{^_^}> [nixpkgs] @jokogr opened pull request #56692 → pugixml: Fix pkg-config file installation and use fetchFromGitHub → https://git.io/fhAXP
<{^_^}> [nixpkgs] @dotlambda closed pull request #56508 → python3Packages.aiounifi: init at 4 + a few other minor updates to satisfy HA → https://git.io/fhN9V
astrofog has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56601 → xpdf: added long description → https://git.io/fhAgc
klimi has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed commit from @BadDecisionsAlex to master « Added long description (#56601) »: https://git.io/fhAX9
joga16 has joined #nixos
<joga16> read about the new exciting pedo-friendly linux distribution https://exherbo.com/
joga16 has quit [Remote host closed the connection]
bemeurer has quit [Quit: WeeChat 2.4]
i1nfusion has quit [Remote host closed the connection]
<klimi> Hello, how can i install oracle jre8 so i can use it with multimc and play minecraft?
i1nfusion has joined #nixos
<gchristensen> srhb: yes I think so
shah^ has quit []
<{^_^}> [nixpkgs] @dotlambda merged pull request #56298 → pythonPackages.XlsxWriter: enable tests and pythonPackages.can: 3.0.0 -> 3.1.0 → https://git.io/fhblp
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhAXF
<srhb> gchristensen: :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56693 → grpc: 1.18.0 -> 1.19.0 → https://git.io/fhAXN
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56659 → fossil: 2.7 -> 2.8 → https://git.io/fhAK2
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhAXp
<kyren> hey, I'm doing a fresh install of nix on a new macos machine, and I'm getting 'error: unexpected end-of-file' on simple nix-shell invocations
<kyren> in my /var/log/nix-daemon.log are lines like 'libc++abi.dylib: terminating with uncaught exception of type nix::Interrupted: interrupted by the user'
<kyren> my google searches have led me to mojave bugs, but they all look resolved as of right now
<kyren> possible confounding factors are that this is a restore from a backup with a previous nix install which I attempted to remove completely (but may not have)
<kyren> but I tried *pretty hard*
silver has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56694 → gtkwave: 3.3.98 -> 3.3.99 → https://git.io/fhA1I
noogie has quit [Read error: Connection reset by peer]
noogie has joined #nixos
genesis has quit [Quit: Leaving]
Nycatelos has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/80754f5cfd6 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<lejonet> srhb: I'm now deploying ceph-13.2.4 to a machine that has never used ceph before, so not even a remote chance that the new ceph won't be used, so even more testing of the client part of ceph :D
Makaveli7 has quit [Quit: Leaving]
jomik has quit [Ping timeout: 244 seconds]
Ariakenom has joined #nixos
i1nfusion has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
lawlesseel has joined #nixos
<kyren> okay, so it turns out this is only a problem for my *user* account, root can use nix-shell, but my user account cannot nor can it install things with nix-env, the nix-env -i error is something like: Problem with the SSL CA cert (path? access rights?) (77)
immae has quit [Quit: WeeChat 2.3]
b has joined #nixos
rprije has quit [Ping timeout: 250 seconds]
<kyren> ugh, okay I finally figured it out, it had something to do with stale channels? in root
arjen-jonathan has quit [Ping timeout: 264 seconds]
iyzsong has quit [Ping timeout: 259 seconds]
illegalprime has quit [Remote host closed the connection]
illegalprime has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56695 → hiawatha: 10.8.3 -> 10.9 → https://git.io/fhA1E
xkapastel has joined #nixos
hedning has quit [Quit: hedning]
mobile_c has quit [Ping timeout: 240 seconds]
immae has joined #nixos
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.tifffile: 2019.2.10 -> 2019.2.22 and fix build »: https://git.io/fhA1r
<{^_^}> [nixpkgs] @jokogr opened pull request #56696 → libarcus: use pkgs.protobuf as input → https://git.io/fhA1o
<pbb> I built something :D
<{^_^}> [nixpkgs] @dotlambda pushed to staging-19.03 « python.pkgs.tifffile: 2019.2.10 -> 2019.2.22 and fix build »: https://git.io/fhA1K
<simpson> Nifty.
Ariakenom has quit [Quit: Leaving]
<DigitalKiwi> clever: are you the one who has really... esoteric configuration habits?
<clever> DigitalKiwi: https://github.com/cleverca22/nixos-configs has most of my nixos configs
<gchristensen> clever is definitely the clever one
iyzsong has joined #nixos
<DigitalKiwi> do you like mitch hedberg
erictapen has joined #nixos
<DigitalKiwi> https://www.youtube.com/watch?v=jJFY1g8GOZw "let me get to the question then..."
<DigitalKiwi> do you have screenshots somewhere
<DigitalKiwi> the one that was like os x i think
georgyo has joined #nixos
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 6 commits to master: https://git.io/fhA1x
<{^_^}> [nixpkgs] @dotlambda pushed 6 commits to staging-19.03: https://git.io/fhA1j
m0rphism has quit [Quit: WeeChat 2.2]
vidbina has joined #nixos
m0rphism has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
shlevy_ is now known as shlevy
<pbb> is it just me or is the unstable channel still broken by this fish-completions collision issue?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56697 → hpx: 1.2.0 -> 1.2.1 → https://git.io/fhAMs
<pbb> who could bump the unstable channel to contain the fix for #56432?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/56432 (by callahad, 3 days ago, closed): Collision between btrfs-progs and dosfstools, prevents nixos-rebuild
<srhb> ,howoldis pbb
<srhb> pbb: The boxes on the top of the page explain how channel bumps occur. It is not a manual process.
<pbb> thanks
<pbb> so basically some build is failing?
<srhb> pbb: (Right now we're waiting for chromium tests to succeed and these jobs to complete, successfully or otherwise: https://hydra.nixos.org/eval/1507437#tabs-unfinished )
<srhb> pbb: Not currently, we're just building a tooooon of stuff.
<pbb> okay
<srhb> pbb: That's why we have a nice binary cache after all :-)
<pbb> yeah it's just really annoying that my rebuilds have been failing for days
endformationage has joined #nixos
<srhb> pbb: If you feel "safe" you can always run the particular commit you want for a while.
<srhb> But mind, these tests are there for your system's safety.
<srhb> pbb: Multi-week delays are not at all uncommon on unstable, fwiw.
<srhb> If you want fast fixes, the stable branches are the way to go.
<pbb> I guess I should consider a stable installation with a few unstable packages again
<srhb> Or using overlays to fix up packages locally when there's breakage like this, say..
<srhb> Lots of options :)+
<pbb> for now I will switch to nixpkgs master, I've already done so on my desktop and laptop without issues, just my servers are using the channel for automatic updates
lejonet has quit [Ping timeout: 244 seconds]
<pbb> to be clear, I'm very aware that stuff on unstable breaks, I just find it annoying that the fix is there since 4 days but I can't get it through the channel
<emily> hmm, https://github.com/NixOS/nixpkgs/issues/34941 looks pretty quiet, wonder if I should become the Nth person to start doing it and then give up quickly... :/
<{^_^}> #34941 (by volth, 1 year ago, open): security.acme: simp_le -> dehydrated or certbot or acme.sh or lego
lejonet has joined #nixos
<philipp[m]> emily: Maybe I should give it another shot. I've got my own dehydrated setup, but it's far from pr ready. Far.
<srhb> pbb: I understand the annoyance. It's hard to avoid. :) The entire purpose of the channel is to run these tests and build these packages. If someone doesn't want that wait and is willing to run an arbitrarily untested commit, they can do so.
<srhb> pbb: I think that's the best we can do..
<srhb> pbb: (Well, more Hydra hardware is probably always welcome to speed things up.. :-P)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56698 → hyper: 2.1.1 -> 2.1.2 → https://git.io/fhAMR
<pbb> haha, I think I don't have anything big enough to make a difference
<ottidmes> emily: I am using dehydrated too after problems with simp_le
<srhb> Yeah, same here.. :)
<pbb> I guess I'll have to find a way to do automatic updates on nixpkgs master, since the nixos-upgrade mechanism is only designed for use with channels
<pbb> (and if I switch my servers to master now, it will go back to the channel tomorrow)
<emily> yeah, I was planning on going for dehydrated
<emily> although lego also looks decent
<emily> good to know other people feel vaguely obligated to do it and I don't have to worry about it >.>
<emily> (I'd also be happy just seeing people's setups for dehydrated to rip off, fwiw, especially if using DNS-01)
symphorien has joined #nixos
<ottidmes> emily: my usage is really basic, no module for it and no DNS-01, so not sure if its any help but here: https://gist.github.com/msteen/8704250a559208fff483a441ccf83e23
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.binaryornot: fix build »: https://git.io/fhAMr
kreisys has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #56699 → vivaldi: 2.3.1440.48-1 -> 2.3.1440.57-1; vivaldi-ffmpeg-codecs: 72.0.3626.109 -> 72.0.3626.121 → https://git.io/fhAMo
<emily> ottidmes: it's a start at least ^^
<{^_^}> [nixpkgs] @dotlambda pushed to staging-19.03 « python.pkgs.binaryornot: fix build »: https://git.io/fhAMK
<emily> thanks~
<emily> I can probably hack something together with https://github.com/kappataumu/letsencrypt-cloudflare-hook
mmlb has quit [Ping timeout: 255 seconds]
akaWolf has joined #nixos
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56700 → hyperrogue: 10.5a -> 10.5e → https://git.io/fhAMD
Ariakenom has joined #nixos
<Izorkin> aanderse: in PR "httpd-rootless" no need to change anything else?
wfranzini has quit [Remote host closed the connection]
simukis_ has joined #nixos
simukis has quit [Ping timeout: 244 seconds]
simukis_ is now known as simukis
erictapen has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #56642 → fava: 1.9 -> 1.10 → https://git.io/fhArA
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhADv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56701 → ibus-engines.typing-booster-unwrapped: 2.5.0 -> 2.5.3 → https://git.io/fhADf
<aanderse> Izorkin: ?
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ryantm merged pull request #56668 → gnome3.gdm: 3.30.2 -> 3.30.3 → https://git.io/fhA6J
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhADU
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56702 → zafiro-icons: 0.8.4 -> 0.8.7 → https://git.io/fhADT
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhADI
<{^_^}> [nixpkgs] @jtojnar merged pull request #56679 → gnome3.gnome-remote-desktop: 0.1.6 -> 0.1.7 → https://git.io/fhAir
<le_jonge> does anybody have a nixos instance on vpsfree.cz?
<Izorkin> aanderse: What needs to be done next with submodules?
<manveru> le_jonge: i do
stepcut has joined #nixos
<le_jonge> manveru: i just registered freshly and logged in for the first time. it's running nixos 17.03 - wanted to upgrade to 18.09, but i run into problems if i just override the nixos channel and then do nixos-rebuild. is that something you have done successfully?
<aanderse> Izorkin: well as it stands if you try to run almost any submodule it would fail
<aanderse> your PR makes it so that none of those startup scripts are run as root anymore, and most of them rely on being run as root
<aanderse> let me update the PR with a list
<{^_^}> [nixpkgs] @jtojnar closed pull request #56678 → gnome-menus: 3.31.4 -> 3.31.90 → https://git.io/fhAil
<jtojnar> le_jonge: are you running on staging?
<le_jonge> jtojnar: not sure what that means
<{^_^}> [nixpkgs] @ryantm merged pull request #56434 → Thonny: 3.0.5 -> 3.1.2 → https://git.io/fhNnR
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fhADc
<jtojnar> le_jonge: what is the location your servers are? prg and brn run on OpenVZ
<le_jonge> it's running in praha
<Adluc> srk: ^
<jtojnar> le_jonge: yeah, it is almost impossible to run there. you need to switch to staging which runs on the new vpsadminos
<manveru> le_jonge: yeah, afaik they haven't updated nixos for production yet...
<manveru> though they've been working on it for months now :|
<manveru> not sure what the status is, but staging has been super stable for me so far
<le_jonge> jtojnar: manveru ok, so if i want to run a current nixos there somehow... what are the steps to get there?
<le_jonge> not sure what i have to do to get "staging"
<jtojnar> current timeframe is Q1 or Q2
<jtojnar> le_jonge: create a new server and choose staging as a location
<Izorkin> aanderse: The submodule limesurvey in the master branch does not work, could not fix
<{^_^}> [nixpkgs] @m45t3r opened pull request #56703 → py3status: Added missing Python dependencies → https://git.io/fhADu
<aanderse> Izorkin: yeah, i wouldn't be shocked if some of the subservices are broken...
<le_jonge> jtojnar: ah i see... creating it. any other magic to do there once it's up and running?
<jtojnar> le_jonge: I think it should just work there
<le_jonge> jtojnar: awesome, thank you!
p_l has quit [Read error: Connection reset by peer]
p_l has joined #nixos
hedning has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56704 → igv: 2.4.17 -> 2.4.19 → https://git.io/fhADo
jtojnar has quit [Quit: jtojnar]
jtojnar_ is now known as jtojnar
m0rphism has quit [Quit: WeeChat 2.2]
<aanderse> Izorkin: added a list of things i think need to happen first
vidbina has quit [Ping timeout: 264 seconds]
<Izorkin> aanderse: ok
<aanderse> Izorkin: also, i was wondering, how many distros run apache as non root?
vidbina has joined #nixos
<aanderse> running apache as root is *the* standard, and concrete
<aanderse> i'm all for your PR and i want to see it happen
<aanderse> but i'd love to hear other about other distros running it as non root
<aanderse> and have it tested
<aanderse> after your PR is complete i might switch a dev web server at work to run this way
<aanderse> see how that goes
<aanderse> then try a production one
<Izorkin> aanderse: I do not know too
<aanderse> a non important production one... something that gets traffic
<aanderse> because apache was really developed to run as root
<aanderse> so i just want to make sure i don't end up screwed with a dozen apache servers running rootless in prod and having weird side effects in a year from now
<Izorkin> aanderse: I checked the launch nginx and httpd, worked.
<aanderse> i don't expect that to happen... but i just want to make sure thorough testing is completed
<Izorkin> aanderse: nginx unit not worked, need root acces
orivej has quit [Ping timeout: 250 seconds]
m0rphism has joined #nixos
<aanderse> Izorkin: i work at an apache shop, so can't really comment on nginx much, never really used it
lukego has joined #nixos
<lukego> Hey, any ideas about how to get around this error? It's for an expression that works fine on my machine but errors like this on Travis-CI: /bin/sh: relocation error: /nix/store/7gx4kiv5m0i7d7qkixq2cwzbr10lvxwc-glibc-2.27/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
klimi has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @hedning opened pull request #56705 → Fix trash-cli and meld's checkPhase after #53440 → https://git.io/fhAD9
jcob has joined #nixos
<jcob> Hey all so I'm new to nixos and I have a few problems. 1. Eclipse. I need eclispe working for school stuff, with plugins. How the hecc am I supposed to use nix with eclipse?
<jcob> 2. Because I had to get something done last night, I went crazy with nix env -iA for a bit. How do I go back and remove all the packages I installed via that?
<jcob> thanks
<__monty__> jcob: nix-env -q lists the names nix-env -e lets you remove them by name.
<jcob> Ah, thanks __monty__ :)
<__monty__> nix-env -q > toberemoved.txt; vim toberemoved.txt; nix-env -e <toberemoved.txt # or something similar might work.
<__monty__> The vim step is so you don't uninstall everything.
<jcob> > using vim instead of emacs mfw
<{^_^}> undefined variable 'using' at (string):219:1
<jcob> oh cool
<jcob> > 1 + 1
<{^_^}> 2
<jcob> ^^
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56706 → ipopt: 3.12.11 -> 3.12.12 → https://git.io/fhAD5
<jcob> oh and #3 nix puts everything in weird spots is there a rhyme or reason to it?
<jcob> and by "everything" i mean build artifacts/software/libs etc
<tilpner> nix-env -e \* works too, if you want to get rid of everything
<tilpner> You'll have to ask that again in a little more detail
<tilpner> (Answering "why is Nix weird?" is way too open-ended)
<drakonis> copumpkin: i think your hardware is compromised? i spotted you appear in another network and spam channels
<tilpner> drakonis: Check if they were registered on that network, and for how long
<jcob> I guess I'll just have to learn it by experience why nix is weird haha
<drakonis> unregistered
<jcob> but also. Does anyone have a configured eclipse in nix
<jcob> and if so how
<jcob> like for instance if I wanted to add the pluging egit
<jcob> what do
<tilpner> drakonis: Then I see no reason to assume copumpkin has compromised hardware or secrets
<drakonis> i have also seen folks i know from other channels show up
work_ has joined #nixos
<tilpner> They probably just reuse names from public channels
imalsogreg has joined #nixos
<ottidmes> is it possible to get the the runtime dependencies of a package at runtime in Nix (so not via nix-store)? not just buildInputs, but also things that are part of the string contexts used in the package?
<drakonis> alright
<tilpner> Easier than generating believable names
<copumpkin> drakonis: huh?
<samueldr> drakonis: #nixos-chat for further discussion, but it's "ye old freenode spam" that's back
<drakonis> yes
<samueldr> drakonis: was it on another irc server?
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #56707 → gohufont: 2.0 -> 2.1 → https://git.io/fhADp
<drakonis> yes
<samueldr> because on my server I see in the connection logs names from freenode
<samueldr> it's a big smear campaign
jomik has joined #nixos
jomik has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed 49 commits to staging-18.09: https://git.io/fhADj
<{^_^}> [nixpkgs] @ryantm merged pull request #56691 → grim: 1.0 -> 1.1 → https://git.io/fhAXz
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhAye
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56708 → irssi: 1.1.2 -> 1.2.0 → https://git.io/fhAyf
zupo has joined #nixos
Xal has quit [Ping timeout: 240 seconds]
<jcob> How do you find the exact package name to include in configuration.nix for a program?
jomik has joined #nixos
<manveru> jcob: using `nix search`?
<__monty__> ,locate ranger
<{^_^}> Found in packages: bobcat, ranger, vimPlugins.falcon
<__monty__> Also, works, in pm.
<jomik> 'ey. Setting up my nvim. According to what I read in the comments of vimUtils, I should not need to call `:UpdateRemotePlugins`, but it seems I do have to? https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-utils.nix#L529
<jcob> manveru: thanks! Sorry I'm a complete noob at this and having a bit of trouble finding what I need to know in the manual ;)
Xal has joined #nixos
<symphorien> jcob: this functionality is only in unstable I think
<Izorkin> yl[m]: please check datadog, me add custom package pg8000
<symphorien> hum sorry, jomik
<jomik> symphorien: I have `inherit (unstable) wrapNeovim vimPlugins vimUtils;` as an override
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56709 → jackett: 0.10.707 -> 0.10.846 → https://git.io/fhAym
<jomik> Am I missing something to get that feature? - I am building a plugin myself (defx).
<symphorien> do you use vam or vundle or native nix plugins ?
<symphorien> there is an issue where it only works with native nix plugins
NKataDelYoda has joined #nixos
<NKataDelYoda> I've submitted a PR in nixpkgs, for a simple documentation update. I really struggled to find the correct process, branch, etc. for doing this, and now the PR is stagnant. Would appreciate some feedback/guidance :) https://github.com/NixOS/nixpkgs/pull/56415
<{^_^}> #56415 (by BenSchZA, 3 days ago, open): nixos/jupyter: Fix documentation example for `jupyter.kernels`
<NKataDelYoda> It says `Failed to enumerate outputs after merging to master`
<jomik> symphorien: native nix plugins.
<jomik> symphorien: This is my setup: https://git.io/fhAys
<ottidmes> NKataDelYoda: its quite normal for a PR to take quite a few days to be processed, its a volunteers and a lot of PRs are generated
<symphorien> sorry I don't know, jomik
<jomik> Damn :D Oh well, thanks :)
<ottidmes> NKataDelYoda: also, I think your PR is not quite doing what you want, its an example, so it should not evaluate the actual example, which is does right now. You have to quote the string interpolation: "\${env.interpreter}"
<ottidmes> ,escape" NKataDelYoda
<{^_^}> NKataDelYoda: " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<jcob> is there some development bundle like build-essential but for nixos
<jcob> does nix even do bundling of packages?
vidbina has quit [Read error: Connection reset by peer]
<ottidmes> NKataDelYoda: Also, since there is an upcomming new stable release, the focus will be on that and less so on new PRs, so it probably will take slightly longer than usual
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56711 → apache-jena-fuseki: 3.9.0 -> 3.10.0 → https://git.io/fhAyC
vidbina has joined #nixos
Ariakenom has quit [Quit: Leaving]
illegalprime has quit [Ping timeout: 246 seconds]
<jomik> ottidmes: `bash curly bois` :P
<jcob> wait what the hecc is gmake called in nix
<jomik> jcob: gnumake?
<jcob> jomik: thanks sorry I kept doing nix search gmake lol
<simpson> > gnumake
<{^_^}> "<derivation /nix/store/cd6pa0z8cmyhvbmjs8blf257anyy55cr-gnumake-4.2.1.drv>"
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jtojnar_ has joined #nixos
<simpson> jcob: It sounds like you might be trying to build packages by installing build tools into your environment. This is an antipattern. What are you trying to do?
<jomik> jcob: I don't think we have build essentials. I personally don't have any build tools installed system wide. I use nix-shell and a shell.nix file to set up an environment.
<jomik> As simpson says.
<jcob> simpson: oh nah I'm trying to set up my system for development
<jcob> So I guess every project you make should have a nix file that you use to get make etc?
<simpson> jcob: Generally, yeah, but for many projects you'll be able to reuse the nixpkgs expression. You may be surprised at how little Nix has to be written sometimes.
m0rphism has quit [Quit: WeeChat 2.4]
<simpson> To be pithy, a fresh Nix installation is usually already set up for development.
jtojnar_ has quit [Client Quit]
<jcob> I wonder how well that works with emacs though, given that emacs runs a single instance on your computer no matter how many directories your dealing with
<jcob> i'll have to figure that out
vidbina has quit [Ping timeout: 250 seconds]
<manveru> jcob: i recommend the direnv package for emacs
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/736025e2343 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<manveru> combined with nix-shell, you get per-project dev dependencies :)
<simpson> Ah, yeah, setting up emacs sounds like an involved task. The manual has a section: https://nixos.org/nixpkgs/manual/#sec-emacs (I don't use emacs though.)
jtojnar_ has joined #nixos
<jcob> hm. looks like direnv is written in go. Hard pass (jk)
jtojnar_ has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
vidbina has joined #nixos
<jomik> It was really easy to set up emacs with direnv tbh
m0rphism has joined #nixos
<jomik> Literally just enstall that direnv package from melpa.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56713 → josm: 14620 -> 14760 → https://git.io/fhAyg
<jcob> Odd, direnv doesnt use tramp(?) skimming over the code
<simpson> jcob: Part of the Nix philosophy is that once we have a derivation for it, then it doesn't matter what it's written in, just what its API is.
mlen has joined #nixos
<jcob> it seems like this would be a perfect tramp usecase
jtojnar_ has joined #nixos
jtojnar_ has quit [Remote host closed the connection]
jtojnar has joined #nixos
jtojnar has quit [Remote host closed the connection]
<jcob> oh nvm I see, it updates process-environment and shell-path. I guess its a souped up version of exec-path-from shell
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhAya
<simpson> manveru++ for direnv, interesting stuff.
<{^_^}> manveru's karma got increased to 3
<jcob> I must admit I am a little skeptical of direnv, just because I've never seen it before and playing around with the mess that is unix environment variables is like playing with fire
<NKataDelYoda> ottidmes: Thank you! I realize it's just an example, but when using the example or a variation of it as the config option it doesn't evaluate properly, so that's what I corrected (I think). Regarding taking time, I appreciate that, just wasn't confident during the PR process, and think the contributor documentation is either hard to find or hard to follow - without some guidance maybe :)
gagbo has joined #nixos
OmnipotentEntity has quit [Remote host closed the connection]
<jomik> You may want my direnvrc https://github.com/Jomik/dotfiles/blob/master/.config/direnv/direnvrc It is a bit involved, but it cleans out some env variables. PYTHONPATH and TE?MP(DIR)? should not be set, because it messes up with some programs - it messed up emacsclient and thefuck, for me.
<jomik> jcob: I have had no problems with it loading/unloading stuff it shouldn't.
<jcob> oof. Are you able to use emacsclient now jomik ?
<jomik> Yep
<jomik> I removed all `TE?MP(DIR)?` variables and that fixed emacsclient.
<jcob> phew. I cant live without emacsclient
<jomik> You can see my emacs set up with nix in that repo too.
<jcob> speaking of which is there any chance you use lucid emacs
<jcob> ok ill look through for sure haha
<jomik> It is a bit involved as well - nix handles all my emacs config :P
<jomik> I don't use lucid emacs :D
<jcob> traitor to emacslisp smh
<jomik> Hah, I am actually in the process of switching back to n?vim :D
<jcob> :(
<jomik> Evil has some quirky faults at times -.-
<jcob> haha. I like evil more than vim actually
<jomik> I do for some things, sure - but it drops my repeat quite often for some reason.
<jcob> you just have to write ~10000 lines of emacs lisp and it will work exactly like you want ;)
<manveru> i just use spacemacs for that tbh :P
<jcob> Hm, I've never had a problem with it dropping
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56714 → jruby: 9.2.5.0 -> 9.2.6.0 → https://git.io/fhAyo
<jcob> ah so you were always a traitor to emacs ;)
<manveru> switched from nvim over a year ago :)
<jomik> Why'd you switch from nvim? :P
<manveru> magit
<jomik> I like spacemacs hydra's, I was gonna set that up for my own emacs setup, but didn't actually know what for.
<jomik> Ah. I never actually needed magit XD
<jomik> I tend to just keep a terminal open for git and stuff.
<jcob> heresy!
<manveru> also i found emacs to be easier to debug and modify :)
<jomik> That could be true.
<jomik> BUT
<jomik> Nvim has CoC now.
<jcob> CoC?
<manveru> code of conduct?
<jomik> Someone basically made a shim to snatch all of VSCode's autocompletion.
<jomik> My study mate says it works really well.
<jomik> ttps://github.com/neoclide/coc.nvim
<manveru> hm
<jcob> oh. meh. You could probably steal that into emacs as well
<jcob> with dedication
<manveru> most lsp completinos work fine
<manveru> plus atm i mostly have to work with vanilla js and ruby... both of which have next to no completions anyway...
<jcob> emacs has gotten surprisingly good at the heavy hitters in the completion department lately
<jcob> like java etc
<manveru> typescript, elixir, go, rust etc are pretty good too
<manveru> i'm just stuck in duck-typing land
<nh2[m]> clever: thanks
<{^_^}> [nixpkgs] @matti-kariluoma closed pull request #56328 → candle: init at 1.1 → https://git.io/fhbaL
<{^_^}> [nixpkgs] @matti-kariluoma reopened pull request #56328 → candle: init at 1.1 → https://git.io/fhbaL
<jomik> Really? Always found the typescript completion for emacs lacking.
<jomik> missing fuzzy matching too
<jomik> brb~
jomik has quit [Quit: WeeChat 2.2]
<jcob> fuzzy matching is available
<jcob> nooo
<jcob> through ivy
<jcob> iirc
<jcob> but thats for like M-x
<manveru> ivy is nice :)
<manveru> and doing iedit in vim is painful
<jcob> iedit?
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #56715 → ibus: remove gconf dependency from runtime → https://git.io/fhAy1
<manveru> well, basically search&replace with preview and across buffers or files or searches etc...
<jcob> but yeah magit is pretty great. and also undo-tree
tv has quit [Quit: WeeChat 2.2]
<jcob> ah
<jcob> oh yeah
asymmetric has joined #nixos
<manveru> :bufdo just isn't as nice :)
<jcob> Emacs with projectile + counsel is a killer for project management
tv has joined #nixos
<manveru> aye
<jcob> honestly church of the abo-abo, bringing light to the world
<manveru> and with direnv, i never have to worry about wrong dependencies for each project
<jcob> doing anything not the unix way scares me on a metaphysical level
<jcob> so direnv is going to take some getting used to
<manveru> isn't it unixy enough?
<manveru> it basically runs the nix-shell, extracts its env variables, and puts them in your shell
<jcob> Well when you put it that way it doesnt sound too bad ;)
NKataDelYoda has quit [Ping timeout: 245 seconds]
malakai has joined #nixos
malakai has left #nixos ["oi"]
<{^_^}> [nixpkgs] @Ma27 merged pull request #56701 → ibus-engines.typing-booster-unwrapped: 2.5.0 -> 2.5.3 → https://git.io/fhADf
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhASv
<{^_^}> [nixpkgs] @fadenb opened pull request #56716 → Graylog 3.0.0 → https://git.io/fhASf
<{^_^}> [nixpkgs] @peti pushed to master « hledger-interest: add a top-level alias for the Haskell program »: https://git.io/fhASJ
imalsogreg has quit [Ping timeout: 264 seconds]
<jcob> hey mavernu: So I have my setup here. What kind of nix file should I add so that I can get make automatically here? https://github.com/jsalzbergedu/etoile-nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #56717 → Pyqt4 → https://git.io/fhAST
<jcob> s/automatically/through direnv and nix
<jcob> and sorry for pinging you it just seems that you know ;)
<manveru> may i introduce you to https://github.com/rycee/home-manager :)
<{^_^}> [nixpkgs] @Ma27 pushed commit from @r-ryantm to release-19.03 « ibus-engines.typing-booster-unwrapped: 2.5.0 -> 2.5.3 »: https://git.io/fhASL
<jcob> ill def tackle that in a bit it seems pretty cool
jomik has joined #nixos
<manveru> anyway, you can make a shell.nix with something like: `import <nixpkgs> {}; mkShell { buildInputs = [ gmake ]; }`
<manveru> and in the same directory a .direnvrc with `use nix`
Ariakenom has joined #nixos
<jcob> litterally the words "use nix"?
<manveru> yes
<emily> haha, i like that
<emily> same words work for both talking to people and to machines
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jomik> a `.envrc`
noonien has joined #nixos
<jcob> When I try to do this it fails with unexpected ; 1:20 https://pastebin.com/8f9k1S3m
DigitalKiwi has quit [Quit: ZNC 1.6.1 - http://znc.in]
<jomik> Did you put a ; after nix..?
vidbina has quit [Ping timeout: 250 seconds]
<jomik> Do `echo "use nix" > .envrc && direnv allow`
<jcob> Oh I mean when i tryto do nix-shell it fails
<manveru> oh, sorry
<manveru> `with import`, not just `import`
<jcob> wait where do you think the semicolon should go?
<jcob> oh thx
<jomik> no semi colon in the .envrc :)
<jcob> nixos -- come for the rollback, stay for the self configuring projects
<jomik> :P
vidbina has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56711 → apache-jena-fuseki: 3.9.0 -> 3.10.0 → https://git.io/fhAyC
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhASC
DigitalKiwi has joined #nixos
<jomik> I can then do something like `init-envrc gnumake` to get a direnv with gnumake in.
<jcob> ooh nice. Ill have to write that as an elisp function for sure haha
zupo has joined #nixos
<ivan> did anything change about how buildInputs works in the last few days?
<noonien> is there a way to profile nix?
<noonien> i'm running nixos-rebuild on a raspberry pi zero w, and it starts really slow
<jomik> What, do you use elisp in your terminal too? :P
<__monty__> noonien: Expect it to end somewhere in the far future.
<tilpner> noonien: You can pass different amount of "-v" (e.g. -vvvv) to nix, to get more info about what it's doing
<noonien> oh, cool!
<tilpner> noonien: If you wanted to profile Nix (the language), there is NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1
<tilpner> (If we're being strict, you can't profile languages. But you got what I meant)
zupo has quit [Ping timeout: 240 seconds]
jcob has quit [Ping timeout: 256 seconds]
<noonien> i'm trying to get nixos running on it,, and i'm not really having any success so far. the sd image i have, i think, is build on an old version of the unstable channel
<noonien> i'm trying to setup building on another machine(which also has a different architecture), but even so, just adding the buildMachines config makes nixos-rebuild fail
<samueldr> noonien: if you started from dezgeg's image (linked on the nixos on arm wiki section) it's likely to be from ~september
<noonien> running a rebuild without the config does nothing, as expected
<noonien> samueldr: yes, i am
vid has joined #nixos
<noonien> the pi zero only has one core, which kind of makes it also impossible to build stuff locally
vid is now known as Guest68667
<noonien> btw, if i switch the channel to 18.09, that should work without problems, right?
<samueldr> noonien: same as the other "raspberry pi 1" family, a pain to build locally :/
<samueldr> you'll need to build, that's for sure
<{^_^}> [nixpkgs] @offlinehacker opened pull request #56718 → brig: init at 0.3.0 → https://git.io/fhASo
<noonien> if i set a x86_64 as a build machine, would nix be able to cross-compile?
<samueldr> but it's likely that since the image you used as a base was built from unstable about when 18.09 was forked off, 18.09 should build
vidbina has quit [Read error: Connection reset by peer]
mizmorYodh has joined #nixos
<samueldr> those images were built on a raspberry pi (for native compilation)
<samueldr> cross-compilation with nix and nixpkgs is "incompatible" with native compilation, since the inputs are different
<noonien> yes, i tried to build an image myself and could not
<samueldr> so the answer is: maybe
<noonien> hmm
<noonien> i wonder if i can find a cloud provider with a lot of arm cores
<samueldr> they'd have to be armv6
<noonien> i see
<samueldr> since some software detect features from the CPU
<samueldr> and while armv7 can run armv6 code, and build for it, it might emit armv7 instructions
<noonien> hmm, i wonder if qemu would work
Ralith_ has quit [Ping timeout: 245 seconds]
<samueldr> qemu-system will, with some setup, but be slow
novakovic has joined #nixos
<samueldr> qemu-user might, should, but last time I tried (1.5y ago) it seemingly had an issue
<samueldr> qemu-user would be much faster
<samueldr> noonien: our clever friend here has a nice setup for qemu-user https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix
jcob has joined #nixos
Guest68667 has quit [Ping timeout: 250 seconds]
ng0 has joined #nixos
rycwo has joined #nixos
<jcob> Hey so mr jomik , I tried out your direnvrc and its kind of barfing here with a huge error message https://github.com/Jomik/dotfiles/blob/fc7bcffad657ab77c8c23db7d8683e91ccfd1884/.config/direnv/direnvrc#L99
Guest68667 has joined #nixos
<jcob> any ideas?
<noonien> samueldr: yes, he's shown me, it's really awesome, but tbh kinda advanced for me to understand atm
<noonien> and it seems to be tied in with his config
<jcob> ah i see you got that from the direnv wiki
<jomik> jcob: try using the command that is commented out on the line above. `direnv_load`
<jomik> jcob: I use direnv from unstable, I suspect you use from release, I had some issues with the release one.
<jomik> So you may want to create an overlay to replace direnv with the unstable version, it's newer
<jomik> My direnv is v2.19.0
<jcob> Hm. Yeah when I get more advanced I will for sure ;)
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/81bf897e294 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<jcob> also if anyone has emacs lucid setup on nixos
<jcob> can i see your setup
<jcob> :X
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon1 has joined #nixos
<{^_^}> [nixpkgs] @bricewge opened pull request #56719 → miniflux: add service → https://git.io/fhAS5
<noonien> hmm, when i login into a machine running nixos, my shell seems to be weird
<noonien> i have no prompt, nor does the $PATH seems to be correctly set
<noonien> hmm, `ssh host` seems to block, `ssh host sh` works, but gives me a limited shell, `ssh host zsh` gives me `command not found: zsh`
<jomik> Lucid Emacs is XEmacs, right jcob ?
<jcob> jomik: right, but emacs has kept their toolkit up-to-date
<jcob> oml
<jcob> did i just have to do nix-search xemacs
<jcob> ,search xemacs
<jcob> oh damn how does your bot work hah
<jcob> ok no there is no such thing as xemacs on nixos
mizmorYodh has quit [Quit: Page closed]
<jomik> Why not just emacs btw?
<jcob> lucid emacs daemon doesnt crash if the window crashes
<jcob> unlike gtk
<jcob> i avoid gtk emacs daemon like the plauge, that bug is really insidious and actually does happen
<{^_^}> [nixpkgs] @aanderse opened pull request #56720 → nixos/postgresql: add ensureDatabases & ensureUsers options → https://git.io/fhASh
Erasmus has joined #nixos
<jcob> I mean the emacs build process is super straightforward, I dont see why someone wouldn't have done it before
<jomik> gnu emacs you mean?
<jcob> right
<jcob> but you can build gnu emacs with the lucid toolkit
<jcob> and its not like its much extra you just do --with-x-toolkit=lucid
<jomik> Hmm, never had issues with my daemon crashing
JonReed has joined #nixos
<jcob> It happens when the x server is strained and you make a request to do something fancy with the window
<jomik> Sounds like a nice place to start learning how to build packages ;P
<jcob> so like it pops up in debuggers etc
<jcob> jomik: yeah! lol. would you use an overlay?
<jcob> And i guess that config/nixpkgs is using home manager?
<jomik> I also use home-manager and not a system wide configuration, so I have that in my `~/.config/nixpkgs/` I load that overlay in my home.nix then.
<jomik> Yep
Guest68667 has quit [Ping timeout: 264 seconds]
<jomik> I think the normal emacs nixpkg also automatically loads emacs packages installed through nix using `load-path`. https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/emacs/wrapper.nix#L132
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56721 → klavaro: 3.03 -> 3.04 → https://git.io/fhA94
<{^_^}> [nixpkgs] @FRidh pushed 63 commits to staging-19.03: https://git.io/fhA9E
<jcob> is there something like nixos-rebuild but for home manager?
andrewmiller has joined #nixos
<asymmetric> jcob: `home-manager switch` ?
<jomik> `home-manager switch/build`
<jcob> ^^ thanks. sorry the wiki didnt seem to explain much
<asymmetric> does `home-manager switch` run `nix-channel --update`?
<asymmetric> under the hood
<andrewmiller> Is there a way to burn a nixos iso to a partition rather than the whole disk?
<symphorien> Nonit relies on specific partition labels
<symphorien> *no it
<andrewmiller> In how many places?
<andrewmiller> I'd manually edit all the hd0 to be hd0,gpt4 if it's possible
<symphorien> I don't know
<andrewmiller> Darn
<andrewmiller> Thank you though
<MichaelRaskin> What do you want to achieve?
<MichaelRaskin> Because you can probably boot it in a VM and install onto a partition and then you just need to adjust some boot entries
<andrewmiller> Recovery ISO with many different things. Backup files, NixOS ISO, Ubuntu Core, Windows PE, NixOS
jcob has quit [Ping timeout: 256 seconds]
<MichaelRaskin> I would just install NixOS to a partition
<andrewmiller> Recovery USB storage*
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fhA9P
<andrewmiller> I can get NixOS. I just can't get the ISO
<jomik> asymmetric: No.
<andrewmiller> I want both on the same storage
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhA91
<MichaelRaskin> What NixOS iso provides that NixOS doesn't??
<{^_^}> [nixpkgs] @peti pushed to master « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhA9M
<MichaelRaskin> It's just a profile + some boot magic, and you redo boot magic, andyou can use the profile in normal system
<jomik> Would it not be sufficient to backup your configuration.nix and a nixos image?
<andrewmiller> The ability to plug the USB into an arbitrary computer, and give it NixOS
jcob has joined #nixos
<MichaelRaskin> If you have bootable NixOS on USB, you already have nixos-install
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56722 → kotlin: 1.3.20 -> 1.3.21 → https://git.io/fhA99
<jomik> Yah. Then you only need your configuration file to be able to recreate your system - and internet.
<leotaku> you could even build a custom image with eg. additional rescue tools already installed
<andrewmiller> Yeah that's what I want
<andrewmiller> Just new to IT
<andrewmiller> Images r hard
<andrewmiller> Thank you!
pemeunier has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56723 → kubetail: 1.6.6 -> 1.6.7 → https://git.io/fhA9j
<jcob> this is fun: emacs is unable to find any of the fonts I have installed through home manager
<andrewmiller> Where does emacs look and where does home manager put them?
<leotaku> jcob: nixos or nix on other distro/darwin?
<jcob> leotaku: nixos
<leotaku> jcob: then I have no clue
<jomik> jcob: how did you install them in home-manager?
zupo has joined #nixos
<jcob> I did home.packages = (with pkgs; [ ... fira-mono ... ]);
<jomik> IIUC fonts need to be installed in the system? Can you install fonts as a user on linux normally? I think you need root, right? I have my fonts in my `/etc/nixos/configuration.nix` in the `fonts.fonts` property.
<jcob> you usually can install in the system
<jcob> theres like a .local font area
<leotaku> have you tried running "fc-cache" manually?
<jomik> Ooh, I guess actually true
<jcob> Yeah fc-cache -f
<jcob> if i do fc-list | grep Fira it shows up
linarcx has joined #nixos
<jomik> Oooh, nice to know! I guess I'll move my fonts to home-manager then :D
<jcob> bbut it isnt showing up in emacs >:(
<{^_^}> home-manager#520 (by wedens, 8 weeks ago, open): Update fonts cache
<jcob> emacs is and always has been fickle with fonts though
<linarcx> Hi. I'm planning to install nixos from minimal iso into hard disk. So I Burn it into a USB flash drive, and follow the manual on the nixos website. In section 2.1.1 it says that to configure wifi internet you must enter this command: wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key'). After I enter, it says: Successfully initialized wpa_supplicant. But I can't ping any web site like Google. It says: Ping www.google.com : name or service
<linarcx> not known. What's the problem?
<leotaku> jcob: Have you restarted Emacs since installing the font?
<suzu> uh so
<suzu> nixos locked me out of my machine
<suzu> > stopping the following units: sshd.service
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):219:29
<suzu> i don't know why it did this
<jcob> leotaku: yep
<suzu> any ideas on how i can get back in lol
regulus- has quit [Ping timeout: 272 seconds]
ZeDestructor has quit [Quit: o.O]
<averell> linarcx: maybe you only need dhcp, if you actually connected successfully
<laas> suzu: I think you might want to boot the minimal installation image
<laas> and do a nixos-install
<laas> it won't override your existing stuff btw
<suzu> yeah i could do that
<linarcx> How to ensure i have internet connection?
<laas> it'll just do the equivalent of a nixos-rebuild AFAIK
<suzu> i overwrote my own nixos-rebuild cmd on the box
<suzu> so i can't even manually administer it
<suzu> lol
<laas> however it may not fix it, since it may be a problem with your configuration
<laas> dunno how you'd debug it then, --show-trace or something?
<suzu> yeah i think i may have removed sshd somehow from my box
<leotaku> jcob: are you by any chance running the systemd "emacs --daemon" service?
<suzu> by adding nginx
<suzu> / is set merge, isn't it?
<suzu> //
<linarcx> averal: boot the minimain image? i can't connect to internet. what should i do?
ZeDestructor has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56324 → init pythonPackages.firetv for home-assistant → https://git.io/fhbgw
<{^_^}> [nixpkgs] @dotlambda pushed 5 commits to master: https://git.io/fhAHT
<averell> linarcx: assuming your wpa_supplicant command succeeded you could try running "dhcpcd"
<linarcx> averall: ok, i'll try it now.
kreisys has joined #nixos
<suzu> i think my merge may not be recursive
<Izorkin> yl[m]: checked pr?
<suzu> i'm doing (import a.nix) // (import b.nix) // (import c.nix) to make the derivation fro the box
<suzu> is this stupid
<suzu> ?
<jomik> jcob: Did you restart emacs and the daemon? I assume you use the service, from earlier :P
<leotaku> suzu: you would usually just do "imports = [ ./a.nix ./b.nix ./c.nix ];" I belive.
<jcob> jomik: Actually I dont use the service (yet) i couldnt figure out how to get it to work form home manager
<jcob> from*
linarcx has quit [Remote host closed the connection]
<suzu> ok, ill do that instead lol
<jomik> jcob: `services.emacs.enable = true;`
<le_jonge> weird. setting "services.hydra.enable = true;" attempts to build hydra from source! when i do `:b pkgs.hydra` in the nix repl, it gets it from the cache. the problem is that some test fails after building from source, so i can't use it. anyone can relate to that?
<jcob> right but it seems to fail when i do it from home manager
<suzu> wait i can't
<suzu> some of my imports take arguments
<jomik> fail?
<jcob> i mean home-manager barfs, maybe I just typed it in wrong
<jcob> tbh im not going to fix that until I've fixed a bunch of other things lol
<suzu> i'll use builtins.recursiveUpdate
_kwstas has joined #nixos
<suzu> i can fold it i suppose
<suzu> with a list
zupo has quit [Ping timeout: 246 seconds]
<leotaku> jcob: just to make sure, you are just using the "normal" emacs right now? no server/daemon?
<jomik> jcob: make sure that you are using master home-manager, and not the release-18.09 version :P
<jomik> But that's probably not this font issue - sorry :P
zupo has joined #nixos
rycwo has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56725 → latte-dock: 0.8.5 -> 0.8.6 → https://git.io/fhAHG
jcob has quit [Ping timeout: 256 seconds]
<suzu> how do i get at foldl?
<noonien> nixos-rebuild doesn't seem to notice i've changed some nix files, how can i make it aware of these changes?
<suzu> in lib/lists.nix
<tilpner> > lib.foldl # suzu
<{^_^}> <LAMBDA>
<jomik> noonien: Make sure that they are saved and that they are used :P
<srhb> noonien: This seems unlikely, unless you're not importing those files in any way.
<suzu> error: undefined variable 'lib'
<noonien> they are
<tilpner> suzu: pkgs.lib.foldl
<noonien> they're imported, chnged, and saved
<jomik> tilpner: So odd with all those things on pkgs :P
<srhb> noonien: What did you change, what did you expect to happen? :)
<suzu> can my top-level derivation for a nixos machine be a function that takes pkgs?
<jomik> suzu: Yes.
<noonien> i have a derivation, which i import in another deivation by using pkgs.CallPackage
<suzu> great
jcob has joined #nixos
<noonien> i've uncommented a line, to download more files, however, nix does not seem to noticec
<jcob> Alright I installed the fonts to my system, then rebooted, and emacs still doesn't recognize them
<jcob> lol
<noonien> aaah, i think i know why
<srhb> noonien: I think we need more details.
<jcob> Yeah you probably do, I just dont know which are relevant
<noonien> the derivation has the same sha
<noonien> i wanted to run it anyway so i get an error so i can get the right sha
<tilpner> suzu: You generally don't write the top-level derivation yourself. I think you meant the configuration.nix module, which can also take a lib argument
<srhb> noonien: Maybe you're using a fixed output derivation and you're reusing a sha that's already in the store?
<srhb> noonien: Right, that ^
<jomik> noonien: What files? How are they not in use? Remember that nix saves files in a store, even if not in use, so if you uncommented and rebuilt, and they were already present, then you don't need to download them again.
<suzu> yeah, the onfiguration.nix
<tilpner> suzu: So { config, pkgs, lib, ... }: { config = ...; }
<noonien> yeah, that's what's happening
<suzu> configuration*
<suzu> tilpner: this didn't work, i needed to do error: undefined variable 'lib'
<suzu> err
<srhb> noonien: 52 zeros should do you :)
<suzu> { pkgs ? import <nixpkgs> {} }:
<tilpner> suzu: Is this still your configuration.nix? Don't import pkgs yourself, it will be provided
<tilpner> Use the header I sent above
<noonien> srhb: i just change one letter and let it error out
<suzu> it is. it was not provided
<jomik> pkgs.lib
<srhb> noonien: That works too :-)
<suzu> i will let this deploy finish and then try your header
<noonien> srhb: hmm, if i put all zeros, is it automatically changed when the derivation gets built?
<suzu> i also wish to explore the derivation by hand as a sanity check before i deploy. can i do that?
<srhb> noonien: Nope, it's just another probably-wrong sha :)
<suzu> i made a change before that clobbered sshd and locked my box off lol
<noonien> oh, ok
novakovic has quit [Ping timeout: 250 seconds]
<tilpner> suzu: Yes, but I don't think it's practical
<suzu> ok
<tilpner> I certainly wouldn't have the patience to traverse the gigantic top-level closure to guess if sshd would work
<srhb> suzu: You can set up a service that reboots into an old generation if you don't log on and execute a certain command.
<jcob> how are programs supposed to find fonts>
<leotaku> jcob: how are you choosing your font from emacs "M-x menu-set-font"?
<jcob> ?
<srhb> suzu: (There's no ready-made solution for this, but it's very useful for remote machines)
JosW has joined #nixos
<jomik> suzu: you can do a `let inherit (pkgs) lib; in ... ` to get lib into your top level derivation, you can also just take it as an argument, i.e. `{ pkgs, lib, ... }: `
gagbo has quit [Ping timeout: 268 seconds]
<suzu> kk
<jcob> leotaku: Nope! Weird, they show up in that one, despite the fact that they didnt show up in list-fontsets etc
<jcob> thanks!
JosW has quit [Client Quit]
JosW has joined #nixos
<suzu> hmm something is real wrong
<suzu> i added nginx but it not accepting connections..
<suzu> but i saw it build nginx and copy the closure
<srhb> suzu: Did you open the firewall?
<suzu> do i need to do that deliberately?
<suzu> i did not
_kwstas has quit [Quit: _kwstas]
<jomik> Firewall is all closed off IIUC :D
<suzu> kk i will fix that
<suzu> i just tried the header now
<srhb> suzu: By default, only 22 is opened (to avoid being locked out)
<suzu> { config, pkgs, lib, ... }:
_kwstas has joined #nixos
<jcob> leotaku: obvs its untenable to add the fonts to what emacs sees through the gui every time though. Do you have any clue about how they might be added non-interactively?
<suzu> and it doesn't like it
<suzu> called without required argument 'config'
_kwstas has quit [Remote host closed the connection]
<srhb> suzu: Are you sure that that's the arguments to your _machine_ ?
<suzu> when i nixops deploy -d conf -s statefile
<suzu> ah
<jomik> srhb: default says that it is empty tho? Or how is 22 opened? I want to close that :P
<srhb> suzu: It should not just be at the top of your file.
<suzu> thats what you meant
<srhb> jomik: The ssh module opens it
<suzu> i was wondering if it could be arguments to my _deployment_
<srhb> suzu: Not easily, no
<suzu> i suppose not
<srhb> suzu: The module system does not work like that.
<suzu> i wanted to use `lib` in computing the deployment
<suzu> as i am folding a few imports together to make the derivation for hte machine
<suzu> and using pkgs.lib.foldl
<srhb> suzu: There's probably a cleaner way to organize that, but it'll be specific to how you're doing it.
<jomik> srhb: Oooh :D Woops
Erasmus has quit [Ping timeout: 250 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<suzu> im just using { pkgs ? import <nixpkgs> {} }:
stepcut has quit [Remote host closed the connection]
lawlesseel has quit [Remote host closed the connection]
<suzu> and not inheriting it into the machine config
stepcut has joined #nixos
<jomik> you should not have the `? .. ` for a top level derivation.
<srhb> suzu: I'd pick a different name for it to ensure you don't accidentally use pkgs from there, but sure :)
lawlesseel has joined #nixos
<suzu> good idea
<suzu> can i just pluck `lib` out?
stepcut has quit [Remote host closed the connection]
<suzu> and leave the other children in pkgs unaccessible to me?
<suzu> is (import <nixpkgs> {}).lib valid syntax? lol
<srhb> It is.
<jomik> Yes.
<suzu> sweet
<jomik> What file is this in? I thought this was your `/etc/nixos/configuration.nix`.
<srhb> It sounds like a NixOps deployment
<suzu> it's a nixops deployment, yeah
<srhb> Where "machine" is a term for an individual node.
stepcut has joined #nixos
<suzu> sorry if that wasn't clear
<jomik> Oooh, my bad.
<suzu> so yeah i am returning a set of node configurations
<suzu> which are what a `configuration.nix` for a node would be
<suzu> function from config, pkgs, and so on, to a node configuration
<suzu> then i've got this cheeky thing
<jomik> I see. I figured that it'd be called with the same arguments as what the system configuration is. I think you can get `lib` straight from the args?
<suzu> smash = lst: lib.foldl lib.recursiveUpdate {} lst;
<{^_^}> [nixpkgs] @ryantm opened pull request #56726 → catimg: init at 2.5.0 → https://git.io/fhAHV
<jomik> But are you calling the file yourself?
<suzu> to smash a few imports together that come together to make the machine conf
<srhb> jomik: The top level "network" definition is a dumb attrset really.
<suzu> i don't call the file myself. nixops does
<noonien> i'm building a derivation that requires python at runtime, how can i specify this requirement?
<suzu> add it to the deps of the derivation noonien
<jomik> Ahhh. I see. I should look at this :D
<srhb> noonien: Have you tried looking at existing examples? It'll probably involve using a wrapper :)
lawlesseel has quit [Remote host closed the connection]
<suzu> nixops requires that the deployment configuration is simply a set and not a function of any kind
lawlesseel has joined #nixos
<suzu> i dislike how unsafe nix is
<suzu> or rather, how ill-typed it is
<noonien> I've looked at existing examples, yes, but i'm still confused as to what attribute to use. there's {native,}buildInputs, and deps*
<suzu> it goes in deps iirc
<suzu> buildInputs is for things needed to build the derivation, and not for using the output
<srhb> noonien: Neither of those are super relevant unless you want to make python a dependency of any drv that has _your_ drv as a dependency (in which case, propagatedBuildInputs)
stepcut has quit [Ping timeout: 240 seconds]
<srhb> noonien: Usually, you'll use wrapProgram and friends to create a wrapper around your executable that knows about python, and thus injects the runtime dep.
<suzu> somebody should write a nice cookbook for nix
<suzu> a new one!
<noonien> Hmm, i've created a fetcher, and one things i fetch with this is a python script that needs to be relative to another path that was downloaded. This script also uses /usr/bin/env which doesn't seem to be available
<leotaku> jcob: I basically use "(set-frame-font (format "%s-%d" font size) nil t))" where "font" is the font name and "size" is the default size (pt) as an integer.
<suzu> iirc you need to ask nix-env for the python binary
<srhb> noonien: You'll need to patch that out, yes. Maybe patchShebangs (if it's a shebang)
<srhb> suzu: That should not be necessary.
<noonien> it is, yes
<jcob> leotaku: set-frame-font makes sense. My only qualms with that is that I would prefer to be able to use faces if possible
lawlesseel has quit [Remote host closed the connection]
linarcx has joined #nixos
<srhb> noonien: patchShebangs will find things like /usr/bin/env $binary and replace them with /nix/store/.../bin/$binary for a $binary that is available in buildInputs.
lawlesseel has joined #nixos
<noonien> yes, that's what i'm looking for! if somethig uses this derivation, will it also need to provide python as a build input?
<leotaku> jcob: I don't quite follow. What would you like to achieve exactly?
<linarcx> averell: i try dhcpcd. but it raise an error: read_config: fopen /etc/dhcpcd.conf: No Such file or directory.
<noonien> if not, i should probably use propagatedBuildInputs like you suggested
<srhb> noonien: Not if you use the wrapper approach that I suggested
<srhb> noonien: Which I think you should, but it depends on the exact drv. :)
<noonien> hmm, when should i wrap and when should i use propagatedBuildInputs?
<linarcx> guys. i cant connect to internet after try: wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key') in minimal iso. what should i do?
<srhb> linarcx: Does that thing do dhcp setup?
<noonien> linarcx: did you replace 'interface', with the name of your interface?
<srhb> linarcx: If not, you probably want to start dhcpcd or whatever we use in the minimal iso
<srhb> ah, that too..
<linarcx> noonien: yes.
<jcob> leotaku: I figured out what I wanted to do. create-fontset-font lets you create from a spec
<suzu> omg all the shit works
<srhb> noonien: Usually if it's a binary, prefer the wrapper.
<noonien> linarcx: also, you should check if you have the right interface name, try `ip a`, if this is not the issue, as srhb suggest, check if dhcpcd is running
<suzu> ayy
<noonien> srhb: in this case, it's a script
Glider_IRC__ has quit [Ping timeout: 246 seconds]
<linarcx> srhb: i start dhcpcd and get an error.
<srhb> noonien: I should have said executable, not binary. Wrapper in that case too :)
<drakonis> i'm not sure if anyone's using the podman package right now
<drakonis> but its yielding errors
<srhb> linarcx: Can you pastebin it?
<linarcx> noonien: yes i try it. it list for me 3 interfaces.
<leotaku> linarcx: honestly using wpa-supplicant is a huge PITA if you don't know exactly what you are doing. If you have an ethernet cable/jack try using that if possible.
<srhb> linarcx: Alternatively, the graphical installer includes network-manager which makes it so much simpler to get wifi.
<linarcx> srhb: no, just a moment.
<linarcx> srhb: i don't want to install plasma as default. i want i3 and minimal installation.
<srhb> linarcx: The graphical installer just contains more stuff _in_ the installer
<srhb> It has no impact on your final system
<srhb> I tend to use it simply to get nmtui during installs, so I don't have to muck about with wpa supplicant.
<srhb> (When I don't have an ethernet cable to jack in)
<linarcx> in arch linux, they have wifi-menu. ncurses based wifi manager. so its nice to have it in nixos too.
<noonien> srhb: do i still need `patchShebangs .` if i `wrapProgram`?
<srhb> linarcx: iirc that's part of netctl, which is completely arch specific.
<srhb> linarcx: Something similar would be great though, sure.
<drakonis> "WARN[0000] unable to find /etc/containers/registries.conf. some podman (image shortnames) commands may be limited"
<srhb> noonien: Yes, probably, they have entirely different purposes.
<noonien> I see, thanks!
<srhb> noonien: wrapProgram is simply used for moving $out/bin/binary to $out/bin/.binary and providing a _new_ $out/bin/binary which can, eg. set the path to python, or some env vars, or (...)
<srhb> But the exact details really depend on what you're doing, so I'm sort of guessing blindly at what suits your needs :)
<noonien> cool, i'll check what it does to the output
<linarcx> srhb: i try dhcpcd. but it raise an error: read_config: fopen /etc/dhcpcd.conf: No Such file or directory.
<linarcx> error is small. sorry if i paste it here.
<srhb> linarcx: You probably want systemctl restart dhcpcd
<srhb> linarcx: The config file location is likely defined in the service unit.
<linarcx> srhb. hmm... i'll try it now.
<jcob> I forgot how much fonts on emacs are hell on earth
<srhb> jcob: I don't recall this being an issue. What's the trouble?
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/bf9cd87b3ba (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
linarcx has quit [Remote host closed the connection]
<jcob> On arch I had it set up so that the long pipe | would be displayed in a different font. Now with my jank setup trying to get emacs to recogize the system fonts, the thing that I used to get the pipes displayed in a different font doesnt work anymore
<jcob> its always been fickle
<jcob> lemme pastebin and show you
<ottidmes> drakonis: you will need to either patch the package if possible (best option), use libredirect (to make lookups to that path redirect to another file), or configure the sandbox to allow access to that file (libredirect is the most hacky, but if patching is not an option, it is the only way to add the fix to nixpkgs, since sandbox paths are only locally configured)
<srhb> jcob: Yikes, ok :-)
regulus_ has joined #nixos
jtojnar has quit [Quit: jtojnar]
<jcob> https://pastebin.com/5kMqcQHz so here's the code. A few problems im noticing: Emacs by default does not recognize that the fonts in the configuration.nix fonts.fonts even exist. You have to create them, and set the frame font to them, for emacs to recognize em.
<jcob> if you dont create them emacs loads the blocky unicode font
hyperfekt has quit [Ping timeout: 256 seconds]
<jcob> if you dont set the frame font to them emacs renders them as squares
<jcob> However, setting the frame font to them for some aweful reason messes up the fix-box-building-function i have there
<jcob> it does nothing
<srhb> jcob: Sorry, this is out ot my league. I don't recall having problems with emacs recognizing my system fonts though...
<jcob> hahaha
<jcob> I've had that problem on every os so far, and it always has a different fix
<jcob> sorry srhb haha
<srhb> Hm, maybe I did have that problem, I have this in my config: (add-to-list 'default-frame-alist '(font . "DejaVuSansMono Nerd Font-11"))
<srhb> But that seems sensible to me...
<{^_^}> [nixpkgs] @matthewbauer closed pull request #56272 → Avoid problematic test case of llvm6 on Android → https://git.io/fhb3B
rcshm has joined #nixos
<rcshm> hi, just want to find out how i can add ~/.local/bin to my path in nixos? thanks for your help.
<jcob> haha i can set the default frame but doing so limits me to one font :(
PlasmaStrike has quit [Ping timeout: 264 seconds]
yl has joined #nixos
asymmetric has quit [Quit: Leaving]
b has quit [Ping timeout: 250 seconds]
Thra11 has joined #nixos
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #55429 → [18.09] Keybase updates → https://git.io/fhHYI
<{^_^}> [nixpkgs] @kalbasit pushed 10 commits to release-18.09: https://git.io/fhAQv
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56557 → redmine: 3.4.8 -> 3.4.9 & 4.0.1 -> 4.0.2 → https://git.io/fhAq0
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhAQf
<{^_^}> [nixpkgs] @7c6f434c pushed to release-19.03 « Merge pull request #56557 from aanderse/redmine-pkg-update »: https://git.io/fhAQI
<{^_^}> [nixpkgs] @dtzWill opened pull request #56727 → unifont_upper: 10.0.06 -> 11.0.03 → https://git.io/fhAQG
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-18.09: https://git.io/fhAQZ
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56558 → redmine: 3.4.8 -> 3.4.9 [18.09 backport] → https://git.io/fhAqa
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/80754f5cfd6 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
Melkor333 has joined #nixos
<rcshm> i found this environment.pathsToLink to set but it just doesn't do anything.
<rcshm> is that the right thing to set?
<JonReed> rcshm: Why not just add "PATH=$PATH:~/.local/bin" to "~/.bashrc" or "~/.zshrc"?
<rcshm> i would like to have it available for all the images.
<rcshm> when we rebuild nixos.
<rcshm> is there a way to add that?
<JonReed> rcshm: There should be, but I never did it.
<rcshm> thanks. i couldn't find anything either except that pathsToLink which doesn't work.
<JonReed> rcshm: I would try overloading the shell and then setting the overloaded shell like: https://unix.stackexchange.com/questions/384040/how-to-change-the-default-shell-in-nixos
<rcshm> thanks. but i think there should be just an easy way to extend this from configuration.nix.
<rcshm> i will try that if there is no otherway i can find.
<symphorien> rcshm: how about adding this to /etc/profile with environment.etc
<rcshm> yes, if i can't find the way to do it through configuation.nix. then i will have to set it in each image i will create.
<symphorien> use the option environment.etc
<rcshm> i might just follow JonReed's of putting it in the shell.
<rcshm> environment.pathsToLink didn't seem to work.
<rcshm> that is the only thing i found.
<symphorien> something like environment.etc."profile.d/foo".text = ''export PATH=$PATH:$HOME/.local/bin'';
<rcshm> do you have any other to try symphrien?
<rcshm> let me try that.
<symphorien> or maybe you need to set appropriate permissions to the files
<rcshm> so if i rebuild the image, it should show up i think if it works.
<suzu> aight so i wanna run a binary that spits out a .nix file, and then build that .nix file
<suzu> is there some idiom for this
<symphorien> ,IFD
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is a problem because it requires evaluating some, building some, and then evaluating the build result.
<JonReed> rcshm: You can also do `programs.bash.shellInit = "PATH=$PATH:~/.local/bin`
<suzu> how do i do IFD?
<suzu> any simple examples out there?
<rcshm> symphorien: it doesn't show up still.
<rcshm> JonReed. maybe let me try that.
<symphorien> noting in /etc/profile.d ?
<symphorien> suzu: import (here is an expression for a derivation where $out is a nix file)
<rcshm> let me check
<suzu> k got it
<{^_^}> [nixpkgs] @7c6f434c pushed to master « pythonPackages.wptserve: fix build by adding a local h2 3.0.1 instance »: https://git.io/fhA7f
<suzu> ill give that a shot
laalf has quit [Quit: ZNC 1.7.1 - https://znc.in]
laalf has joined #nixos
<jcob> Ok i managed to hack the emacs fonts into working. Now i have a different problem: I have a whole bunch of weird graphical glitches in nixos. E.g., right now in kde the "shadow" has random bits of the other window in it. Also my emacs fonts are rendering kinda ugly, even though I use xft backend. If theres a quick way to fix this id love to know, otherwise im done for the day lol
andrewmiller has quit [Remote host closed the connection]
wedens has quit [Quit: Connection closed for inactivity]
<rcshm> interesting symphorien: bin:~/.local/bin': not a valid identifier
<rcshm> i think it just doesn't work as i thought.
<symphorien> does /etc/profile.d/foo contain what you expect ?
<jomik> rcshm: What did you write to get that error?
<rcshm> environment.etc."profile.d/foo".text = ''export PATH=$PATH:$HOME/.local/bin'';
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<symphorien> what does /etc/profile.d/foo contain ?
matix has joined #nixos
ddellacosta has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
pemeunier has joined #nixos
<{^_^}> [nixpkgs] @asymmetric closed pull request #56045 → nodePackages_10_x/ethlint: init at 1.2.3 → https://git.io/fhd4m
<jomik> Are you sure `export` should be there in profile.d?
Acou_Bass has joined #nixos
<symphorien> /etc/profile contains export on my system
<jomik> Ah, true I guess :P
<ryantm> Master eval is broken
<symphorien> ah, it does not source /etc/profile.d
<symphorien> only /etc/profile.local
matix has quit [Quit: :q!]
matix has joined #nixos
laalf has quit [Quit: ZNC 1.7.2 - https://znc.in]
ddellacosta has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3d3e5cafa76 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<suzu> srcs in stdenv mkderivation can't be a list of files?
<suzu> says it doesn't know how to unpack source archive
<suzu> i just need a few files copied
<pie___> the-kenny, ping? @ https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs/site-start.el , I'm having a dumb time trying to start emacs with a nonstandard .emacs.d location. would it be reasonable to add something to site-start to enable calling some specifiable init code / file?
laalf has joined #nixos
<pie___> via env var or something
<pie___> the-kenny, what ive collected so far https://bpaste.net/show/4f685e706406
<matix> suzu: does buildEnv do what you need?
<pie___> so basically i would want to call the snippet from the stackexchange link. the emacs people dont seem to want to do anyhting about this and i dont think id be able to do anything about it
<pie___> this seems like a kind of crappy workaround but idk.
<jomik> pie___: Can't you create a package that does that?
<jomik> And install it through nix.
<pie___> jomik, not sure what you mean. the code needs to be run before any other init stuff, and site-init seems to be the only method to do that
<pie___> package loading happens after .emacs or .emacs.d/init.el or whatever is loaded
<suzu> what does this do matix ?
<jomik> Ooooh, nvm then :D
<suzu> i had thought i could simply do srcs = [ ./file1 ./file2 ]
<suzu> and i'd get a build dir with just those files in it
<matix> suzu: it allows you to combine files from multiple derivations
<{^_^}> [nixpkgs] @ryantm opened pull request #56728 → Revert "hackage-packages.nix: automatic Haskell package set update" → https://git.io/fhA7Z
<pie___> jomik, i mean im a total emacs noob and stuff but this is what ive discovered...
<jomik> pie___: Well, some packages add things that you use in your init.el :)
<ryantm> PR to fix master eval
<ryantm> ###### Things done
<ryantm> <!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->
<jomik> So they load before.
<ryantm> - [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)
<suzu> that seems to be more than what i need
<ryantm> - Built on platform(s)
<ryantm> - [ ] NixOS
<suzu> why doesn't my current plan work?
<ryantm> - [ ] macOS
<ryantm> - [ ] other Linux distributions
<ryantm> - [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
<ryantm> - [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"`
jcob has quit [Ping timeout: 256 seconds]
<ryantm> - [ ] Tested execution of all binary files (usually in `./result/bin/`)
<ryantm> - [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
<matix> suzu: this is for example what builds the final .nix-profile, where it collects binaries from all of the installed packages
<ryantm> - [ ] Assured whether relevant documentation is up to date
<ryantm> ---
<ryantm> oops sorry.
<suzu> wtf is .nix-profile
<ryantm> PR to fix master eval: https://github.com/NixOS/nixpkgs/pull/56728
<{^_^}> #56728 (by ryantm, 1 minute ago, open): Revert "hackage-packages.nix: automatic Haskell package set update"
<matix> suzu: that's the thing that stores your currently installed packages, the ones that you installed with nix-env -i
<suzu> i see
<suzu> so, the source of this derivation is just two files
<pie___> jomik, hm. i think thats just setting variables and stuff that get checked later, or defining callbacks that get called after packages are loaded
<suzu> so i did srcs = [ ./file1 ./file2 ];
<suzu> and it doesn't like it
<suzu> is this not proper usage?
reinhardt has joined #nixos
<matix> suzu: are file1 and file2 archives or just files?
<suzu> just files
<suzu> one is a .yaml and one is a .cabal
<suzu> though that shouldn't matter
<matix> suzu: then you need to provide file name for, i guess you could look at writeText or others
<matix> ahh my bad writeText is for inline files
<jomik> I think you can run a lot of things as soon as `(package-initialize)` is called. Which is called automatically by emacs after init.el has been loaded. But I personally call it at the top of my init.el.
<suzu> there isn't a copyFiles..?
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #56699 → vivaldi: 2.3.1440.48-1 -> 2.3.1440.57-1; vivaldi-ffmpeg-codecs: 72.0.3626.109 -> 72.0.3626.121 → https://git.io/fhAMo
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fhA7l
<symphorien> matix: dont use src, instead something like installPhase = ''mkdir $out; cp ${./file1} $out/file1; cp ${./file2} $out/file2'';
<symphorien> sorry, suzu ^
<suzu> err well i want to run a command that needs those two files
<suzu> and that is the build
<matix> aha
<matix> doesn't it work if you just use ${./file1} in the build?
<symphorien> then buildPhase = '' the-command ${./file1} '';
<suzu> maybe? will nix track those src files properly?
<matix> they will be copied to store
<suzu> oh wtf
<suzu> i thought the src does that
<jomik> $out is in the store IIUC
<jomik> $src is basically a sandbox container thing.
<ottidmes> if you dont want that behavior, you can do: buildPhase = '' the-command ${toString ./file1} '';
<matix> I think src is for getting outputs of a derivation
<suzu> no that's $out
<suzu> ???
invokesus has joined #nixos
<suzu> jomik can i get my sandbox with those two files in it?
<matix> your derivation has access to $out of its src derivations
<jomik> Do what symphorien wrote? :o
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #56722 → kotlin: 1.3.20 -> 1.3.21 → https://git.io/fhA99
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « kotlin: 1.3.20 -> 1.3.21 »: https://git.io/fhA7R
<suzu> kk ill do that
<suzu> what if i need the file present to be consumed but it is not a cli argument?
<{^_^}> [cabal2nix] @jtojnar opened pull request #410 → resolveInNixpkgs: stop using GNOME aliases → https://git.io/fhA70
<matix> how does the cli find the file then?
<jomik> cp it?
<suzu> by searching the working dir
<ottidmes> suzu: the sandbox has access to those files in /nix/store that are referenced to by the drv
<matix> cp ${./file} .
<jomik> Just use cp
<suzu> kk
<symphorien> suzu: ${./file} in a nix string will be magically replaced by an absolute path to a copy of the file
<suzu> magic
<suzu> now uh is this stuff documented someplace
<matix> yeah
<suzu> variable $src or $srcs should point to the source
<suzu> failed
<suzu> wtf
<suzu> i left it unassigned
<symphorien> suzu: use runCommand instead of mkDerivation if the phases are annoying you
<suzu> i don't think the phases are the problem, i think i'm just doing this wrong
<suzu> i'd like to take some files from my project, run `stack2nix` which produces a nix file, and then import that
<symphorien> the default unpackPhase needs src to be defined
<symphorien> set dontUnpack = true; to skip
boomshroom has joined #nixos
<boomshroom> Hello!
<suzu> oh!
<suzu> ok
<symphorien> hum maybe not
<symphorien> I see the doc for dontBuild but not dontUnpack
<symphorien> in any case, unpackPhase = ":"; should work
<suzu> shall i just make unpackCmd cp?
<symphorien> use runCommand
kreisys has joined #nixos
<symphorien> I can't find the docs, but an example is here https://nixos.org/nixpkgs/manual/#sec-gnu-info-setup
<suzu> ok
<symphorien> runCommand name { /* options */ } '' commands to create $out '';
<symphorien> there are no phases, so you don't have to crate src of provide an installPhase
<boomshroom> I know Rust nightly isn't in nixpkgs (for obvious reasons), but if I'm packaging a project with a pinned rust-toolchain, is it ok to include mozilla-nixpkgs in its dependencies?
<symphorien> *or provide
<symphorien> for inclusion in nixpkgs ?
<symphorien> ^ boomshroom
kreisys has quit [Client Quit]
<boomshroom> I would package it out of tree, but what I'm doing specifically requires modifying libcChooser
<symphorien> if it is for you, why shouldn't it be ok ?
<boomshroom> (P.S. make it easier to build with custom libcs)
rcshm has quit []
<boomshroom> I'm curious how much of nixpkgs can be built with relibc
lawlesseel has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/26d8a8c0eb2 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
invokesus has quit [Quit: Page closed]
Erasmus has quit [Quit: END-AUMF]
<dmj`> I'm trying to build `ios-deploy` on nixpkgs but hitting an error with npm
<dmj`> has anyone seen this before
<suzu> > stack2nix can't be used within Nix, that defeats it's purpose (it's impure).
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):219:35
<suzu> wHAT
<suzu> why NOT
<suzu> ??
<dmj`> suzu: why use stack at all?
<suzu> i use it for local dev and do not want to use nix for that atm
<boomshroom> stack2nix is used before Nix to create something Nix understands
<suzu> but i wish to deploy with nix
<suzu> so i want to use an ifd
<suzu> ,ifd
<{^_^}> See: ,IFD
<suzu> ,IFD
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is a problem because it requires evaluating some, building some, and then evaluating the build result.
<suzu> so i want to call stack2nix, get a .nix in the out, and then import that
<pie___> is there an easy way to add environment variables to a package or do I need to overrideAttrs?
<suzu> but running stack2nix inside my build phase for a stdenv derivation is fucking up completely
<boomshroom> stack2nix should only be run when stack updates its own files.
<suzu> it should only be run on changes to the stack.yaml
<boomshroom> Then you package the outputs of stack2nix and hand them off to Nix when you want to build.
<suzu> i want nix to run the stack2nix
<suzu> i dont understand why this is closed as 'no'
<boomshroom> What you really should use is a file-watch that runs stack2nix whenever stack.yaml updates.
<boomshroom> stack2nix is something to run when packaging, not building
<matix> is IFD implemented already?
<suzu> ifd works
<suzu> possibly not on hydra though
<matix> hmm
<symphorien> it is forbidden by hydra
<matix> that gives a poor-man's solution to recursive nix
<symphorien> by the bot also, I think
<dmj`> the hydra forbids it !
<boomshroom> If I'm adding a package, should I add my name to maintainer-list.nix, or is it autogenerated?
<symphorien> you should do it by hand
<suzu> boomshroom: sure. but why is it illegal to take the haskell source, and build a nix from it and then build that?
<suzu> that seems perfectly sane
<suzu> i do this with a yarn package and it works fine
<suzu> the yarn (with no nixing) is an input. it builds a .nix and then builds that.
<suzu> so the dev environment does not need nix. only the deploy
<boomshroom> IFD is forbidden on Hydra? Then I guess I can't do `import "${fetchFromGitHub}"` to have dependencies not in nixpkgs?
<symphorien> no you can't
<tilpner> boomshroom: You can, but it needs to be enabled on the Hydra instance
<boomshroom> Is stack2nix purely deterministic? If upstream packages update and it doesn't immediately change stack.yaml, would it change the derivation?
freeman42x has joined #nixos
<suzu> i suppose not
<boomshroom> I'm using nixpkgs-mozilla to get a specific build of rust and cargo.
<suzu> it shouldn't change the derivation.
drakonis_ has joined #nixos
<suzu> if your stack.yaml doesn't change, the derivation shouldn't either
drakonis1 has quit [Ping timeout: 250 seconds]
drakonis has quit [Quit: WeeChat 2.4]
orivej has quit [Ping timeout: 255 seconds]
_kwstas has joined #nixos
<boomshroom> Is there a consensus on wether Nix should invoke a compiler directly vs call out to an external build system? (like the difference between cargo2nix and carnix)
jomik has quit [Quit: WeeChat 2.2]
<noonien> how idiomatic is to create derivations using fetch*? i've got a script, and i need to make some modifications to it(fix the shebang, wrap it, etc), should i create a derivation for the sources, and another with the modifications i'm making? (i don't build anything)
scientist has joined #nixos
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]
matix has quit [Quit: :q!]
<{^_^}> [nixpkgs] @kalbasit merged pull request #56723 → kubetail: 1.6.6 -> 1.6.7 → https://git.io/fhA9j
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « kubetail: 1.6.6 -> 1.6.7 (#56723) »: https://git.io/fhA7j
<suzu> boomshroom how is this possible
<suzu> i can install stack2nix into an env and use it
<suzu> but taking it as a dep and invoking it shits everywhere wtf?
jcob has joined #nixos
<jcob> sup nerds
drakonis has joined #nixos
<boomshroom> Building stack2nix with nix is (mostly) deterministic, running it is not.
<suzu> oh. i see
<suzu> ~_~
<suzu> SAD
<jcob> I have a pressing question: I have firefox and I need flash to do my homework, lol. All I could find was some random dude's video. Is there some official way to do it?
<suzu> install chrome
<jcob> LOL
<jcob> over my dead body
<suzu> im dead serious
<suzu> install chrome, get the thing done, and then nuke it from orbit
<jcob> yuck
<suzu> ye ik
<jcob> sounds like i need a vm and firefox haha ;P
<scientist> hello you guys I have just finished creating my own keyboard layout in nixos, the only issue I am getting is an error, warning no symbol defined for keycode(I get this same error over a hundred times for a bunch of different keycodes), do any of you guys know how to fix this ?
drakonis_ has quit [Ping timeout: 252 seconds]
<jcob> why is it such a technical challenge to get flash on firefox? genuinely curious. Is it something like eclipse where doing it would mess with where things are supposed to be stored?
<suzu> it's just unsupported
<suzu> flash is old hot garbage
<symphorien> I have flash on firefox
<jcob> symphorien teach me your ways
<scientist> ?
troydm has joined #nixos
<suzu> okay FINE i will generate the damn nix from outside of nix
<scientist> how do I define symbols with xkb ?
<suzu> and i will delete stack tomorrow and just work with cabal
<boomshroom> Install chrome? Better idea: `nix run nixpkgs.google-chrome-stable` Now you don't have to install it
<symphorien> jcob: http://xelpaste.net/YjH03v
<jcob> oh w8 really
<jcob> is that on stable as well
<jcob> nice
<symphorien> yes
<MichaelRaskin> jcob: also, there is flashplayer-standalone
scientist has quit [Quit: WeeChat 2.2]
<MichaelRaskin> (Also, there are nsjail and firejail, just in case you want to make sure that garbage fire called Flash doesn't stomp over too much)
reinhardt has quit [Quit: Leaving]
jcob has quit [Remote host closed the connection]
<boomshroom> One thing I probably should have mentioned earlier is that Nix specifically gets upset if it doesn't know the hash of what its downloading. Naturally you can't generate the hash unless you can download it without the hash.
scientist has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhA5m
<{^_^}> [nixpkgs] @ryantm merged pull request #56728 → haskell: fix removed aliases; fix OfBorg eval → https://git.io/fhA7Z
<scientist> hello guys, do you know a simple way to map to define symbols for keycodes in xkb, I know there is a way to do it manually using xmodmap but that would take to long
<scientist> ?
jcob has joined #nixos
<jcob> well
<jcob> adding enableAdobeFlash = true didnt exactly do it
<suzu> oh what am i even doing
<suzu> fuck stack2nix
<suzu> i can just have nix build a stack project directly
<symphorien> how do you install firefox, jcob ?
<JonReed> jcob: I think you have to use `firefoxWrapper`
<boomshroom> If Nix could build it directly, it would be a Nix project rather than a stack project
<JonReed> jcob: Instead of `firefox` in packages, try `firefoxWrapper`
<scientist> infinisil: I wondering if there is a simple way to define symbols for keycodes, doing it manually with xmodmap would take way to long ?
<jcob> symphorien: JonReed: thanks ^^
<symphorien> > firefox
<{^_^}> "<derivation /nix/store/vxzz0bavdgy5nwsg32gqa4cc0bbfv7x7-firefox-65.0.2.drv>"
<symphorien> > firefoxWrapper
<{^_^}> "<derivation /nix/store/vxzz0bavdgy5nwsg32gqa4cc0bbfv7x7-firefox-65.0.2.drv>"
<symphorien> they are alias of one another
<boomshroom> Does stack have an option to use only vendored packages?
<symphorien> jcob: you don't have flash listed in about:plugin or so ?
<JonReed> I don't know then, I have flash enabled, and this is the one I had in my configuration.
<jcob> uh im about to find out wish me luck
jcob has quit [Remote host closed the connection]
<yl[m]> I've marked #56500 as ready for review.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56500 (by kalbasit, 2 days ago, open): go_1_12: init at go 1.12
<yl[m]> Mic92: please take a look when you can
jcob has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #56730 → sublime3: add updateScript → https://git.io/fhA5Z
<jcob> so, I changed my config to use firefoxWrapper, then used nixos-rebuild switch, & now I still dont have flash installed. Is there any way I could check which version of firefox im running
<jcob> er, which package i have installed
<symphorien> which firefox
<symphorien> if it points to /run/current-system, then fine
<pie___> why is stuff sometimes in pkgs sometimes in lib?
<pie___> like why is writeText in pkgs
invokesus has joined #nixos
<symphorien> if it points to ~/.profile, then it is installed with nix-env
<symphorien> pie___: pkgs depends on lib, not the reverse
<symphorien> writeText depends on stdenv (maybe, suddenly I have a doubt) so it can't be in lib
<jcob> lol I had forgotten to rebuild my home mangaer
<jcob> it had been using the local one the whole time :(
jcob has quit [Remote host closed the connection]
scientist has quit [Quit: WeeChat 2.2]
<pie___> symphorien, uhhh ok i guess
<pie___> it just seems like a random utility thing
jcob has joined #nixos
<jcob> got flash now. thanks for all the help guys
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
jcob has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56731 → rabbitmq-server: 3.7.11 -> 3.7.12 → https://git.io/fhA58
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to master: https://git.io/fhA5B
pbb has joined #nixos
<pbb> I built a tool to visualize dependencies in nixpkgs: https://nixvis.pbb.lc/#quassel
scientist has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 6 commits to release-19.03: https://git.io/fhA50
jtojnar has quit [Remote host closed the connection]
<scientist> I am creating my own custom keyboard layout but I am a little stuck, I was wondering if one of you guys could help me out ?
<scientist> if not, do you guys know of another channel where I could get help with xkb to for my custom keyboard layout ?
<{^_^}> [nixpkgs] @fpletz merged pull request #56716 → Graylog 3.0.0 → https://git.io/fhASf
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fhA5z
<__monty__> scientist: Maybe there's an #X or #X11 or something?
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<scientist> __monty__ thanks i'll check it out, I got the my custom keyboard layout to work but I need to fix a few errors to get it to work properly
<boomshroom> pbb: Really cool! It's amusing seeing a couple dependencies stretched out and disconnected suddenly get pulled in to the middle by another package.
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.03: https://git.io/fhA52
<__monty__> scientist: It's not a very common thing to do. Makes you handicapped whenever you need to work on a machine that's not yours because of muscle memory. I use dvorak which is available basically anywhere but still has that effect.
<Ashy> attente[m]: I started a Wayland chapter for the nixos manual: https://github.com/AshyIsMe/nixpkgs/commit/997e3371a114d2292d440076c9e5a1656cd0abb5
drakonis1 has joined #nixos
<boomshroom> Ashy: Woot!
<Ashy> attente[m]: you interested in helping to expand it?
<Ashy> or anyone else for that matter? :)
<pbb> boomshroom: yes, the connections are added once both packages have been added to the graph, which gives it this interesting effect ;-)
Ariakenom has quit [Quit: Leaving]
<Ashy> I've only tested sway so far so if anyone is using gnome or plasma with Wayland some notes on that would be welcome
<__monty__> pbb: Cool, would be nice if you could select build time v. run time deps.
<boomshroom> Seems like a BFS traversal in terms of the order packages are added to the graph
<pbb> __monty__: yeah, that will be quite a lot more work though. currently it's runtime deps
<pbb> I also want to add the closure size
scientist has quit [Quit: WeeChat 2.2]
<boomshroom> Are you reading from the built derivation, or the drv file?
hyperfekt has joined #nixos
<pbb> boomshroom: I'm reading the narinfo files from the binary cache
<pbb> and parsing the references
<jasongrossman> scientist: There are people in this channel who know all about xkb. I'm having trouble remembering who. Maybe MichalRaskin?
<pbb> the source code is available here: https://git.pbb.lc/petabyteboy/nixpkgs-vis
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
justanotheruser has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has joined #nixos
_kwstas has quit [Quit: _kwstas]
<__monty__> pbb: I mostly want it because it's making ranger look bad : ) Our only hard runtime dep is python but the buildtime deps are numerous apparently.
<boomshroom> Makes sense. If it was handled server side on a machine, it should be able to read the drv file, but it wouldn't be as easy as just pulling the information from hydra
<pbb> I'm not even sure if the info is in the .drv file
<pbb> but yes, the local nix installation is just used to find out the derivation hash for the name/path that's entered
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56733 → react-native-debugger: 0.8.2 -> 0.9.7 → https://git.io/fhA57
<MichaelRaskin> I am excluded from the query about xkb by the «but no xmodmap»
<MichaelRaskin> I _only_ do xmodmap (well, some simple three-layout setxkbmap to prepare the stage)
<jasongrossman> I also used to use xmodmap, when I was doing similar things.
<jasongrossman> But there is someone here who knows about xkb. Damn. My terrible memory.
<MichaelRaskin> At some point I did try to write xkb layouts to suite what I want, indeed — but xmodmap has more ceonvenient dynamic behaviour
__monty__ has quit [Quit: leaving]
jb55 has quit [Ping timeout: 244 seconds]
<boomshroom> How can I see what flags get passed to a derivation's build?
<jasongrossman> MichaelRaskin: Ditto. (Although I dislike both of them.)
<boomshroom> I'm seeing several libraries getting pulled into my build, including a library the package builds itself... twice.
<MichaelRaskin> boomshroom: flags of which type?
<boomshroom> `"-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"` This is for relibc which packages its own libm and pthreads.
<{^_^}> [nixpkgs] @petabyteboy opened pull request #56734 → gitea: 1.7.1 -> 1.7.3 → https://git.io/fhA5j
justanotheruser has joined #nixos
<boomshroom> Also it should be clear why I wouldn't want to link libc into re*libc*.
<hyperfekt> oh my god, unstable is so fresh that the build i'm doing from master didn't have to build a single dependency. it's so beautiful i could cry
<boomshroom> When rolling back is so easy, there's no fear in installing the bleeding edge! :)
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @qolii opened pull request #56735 → fish: 3.0.1 -> 3.0.2 → https://git.io/fhAdf
<hyperfekt> oh no i'm not running my OS from master, just trying to debug a package that's failing to build
<{^_^}> [nixpkgs] @jtojnar merged pull request #56292 → luakit: 2017.08.10 → 2.1 → https://git.io/fhbCO
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fhAdJ
das_j has quit [Remote host closed the connection]
<boomshroom> TFW, you looking at the build log and get rick-rolled by the tests
das_j has joined #nixos
drakonis has quit [Ping timeout: 255 seconds]
<hyperfekt> okay this is weird
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56736 → remmina: 1.3.2 -> 1.3.3 → https://git.io/fhAdk
<hyperfekt> im on a checkout from 2015 and gnu parted is still failing the same test. its impossible this has been consistently broken for the last 4 years
drakonis has joined #nixos
<boomshroom> "Meh, it still works. Someone in the future can handle it."
<boomshroom> `doCheck = false` I just had to enable it for the package I'm working on now because I want to work on something more interesting.
<hyperfekt> haha i'm really close to doing that
<hyperfekt> i wonder if we could make a repo where every unstable advance is a single commit for fast bisecting
<hyperfekt> um. "error: some outputs of '/nix/store/gr9g5vcw73nyss9xz50cy5nidfl3swyl-parted-3.1.drv' are not valid, so checking is not possible"
<hyperfekt> do i need to use a different nix version to build packages from 2014?
<hyperfekt> oh nvm, looks like this version just isn't in the cache. why might that be
<hyperfekt> ^ rethorical question
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4c0be408155 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
ixxie has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ekleog merged pull request #56590 → matrix-synapse: 0.99.1.1 -> 0.99.2 → https://git.io/fhAE4
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fhAd3
<boomshroom> `pkgs.stdenv.cc` `infinite recursion encountered` Whoops
<drakonis1> whoopsie.
alex`` has quit [Ping timeout: 250 seconds]
<boomshroom> Thank you crossLibcStdenv!
<boomshroom> ...Or not?
mizmorYodh has joined #nixos
<boomshroom> Anyone here familiar with how musl or ulibc were implemented in nixpkgs?
<suzu> you tried reading the derivation?
<boomshroom> The derivation looked normal, and I'm not having trouble building normally, it's getting an stdenv that uses it without using it to build said stdenv.
jcob has joined #nixos
<boomshroom> Hmm... I notice now that they don't have many dependencies, and ulibc has this peculiar `buildPackages` argument.
invokesus has quit [Ping timeout: 256 seconds]
<jcob> hey yall im back again lol. If I want to just override znc's configFile option, how would i do it? Heres' where its defined. thanks https://github.com/NixOS/nixpkgs/blob/601204f55d1f57b949db7cd6ee22834adae2cf49/nixos/modules/services/networking/znc/default.nix#L181
<jcob> are there any like, completions for nix or something?
klntsky has quit [Remote host closed the connection]
weechat has joined #nixos
klntsky has joined #nixos
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
weechat is now known as mingc
<hyperfekt> jcob: What do you mean by override?
<jcob> uh, just set
<jcob> like = ~/.znc/
<boomshroom> `/nix/store/pc2hx4pjvla96mrq0xyhqi3s3agxq43i-x86_64-unknown-linux-relibc-binutils-2.30.drv` :O
<jcob> oh cool broomshroom you working on redox or smth?
<hyperfekt> services.znc = { enable = true; dataDir = /home/jcob/.znc/; }
<jcob> hyperfect: awesome
<boomshroom> Right now just Relibc with hopes of laying the groundwork to build Nix packages for Redox.
<hyperfekt> That'll change your data directory, not your config file though but I figured since you gave a directory as an example that may be what you want
<steveeJ> how can I insert my own top-level argument for the imports in configuration.nix?
<boomshroom> `checking target system type... Invalid configuration `x86_64-unknown-linux-relibc': machine `x86_64-unknown-linux' not recognized` I didn't think that would be your problem with my target.
<jcob> hyperfect: yeah. I just couldnt figure out the right scope
<hyperfekt> jcob: Mind that by default ZNC runs as the user znc, which will have to have access to the directory.
laalf has quit [Quit: ZNC 1.7.2 - https://znc.in]
<hyperfekt> steveeJ: You mean another formal parameter that every module is called with?
<srhb> steell_: search the nixos tree for "module.args"
<srhb> steveeJ: Er, that was for you. _module.args
<hyperfekt> If so, then what srhb said is the thing to use.
<steveeJ> hyperfekt: yep. I'm assuming that most modules use `...` so it doesn't error if there's another one
<srhb> steveeJ: Consider carefully if you don't just want to add a regular option though
<steveeJ> srhb: awesome, thanks, I'll take a look
<srhb> steveeJ: It's very easy to mess up with module args.
laalf has joined #nixos
<srhb> And usually, referring to config.yourCustomOption is much easier.
<hyperfekt> srhb: It is? D:
<srhb> Well, maybe I'm just skilled at shooting myself in the foot :)
<hyperfekt> I just use it so I don't have to import unstable in every single module.
<srhb> Regardless, if you can get by with regular options, I'd say it's always preferably.
<steveeJ> srhb: that attempt has lead to "infinite recursion" ;D
<hyperfekt> Yeah, that's a good rule.
jevonearth has joined #nixos
<steveeJ> maybe a morning attempt will be more successful than a late-night one ;)
<hyperfekt> steveeJ: Check this out: https://git.io/fhAdr
<boomshroom> Now to find a way to trick gcc and binutils into thinking relibc is a legit abi.
jcob has quit [Remote host closed the connection]
<jevonearth> Hi all. How do I boot a nixos box into single user for the purpose of resetting the root password? on boot, I'm editing the boot string. putting `rw` before `init=` but init, it contains a long hash, I assume I want to change the last `init` part to `/bin/sh`...
ng0 has quit [Remote host closed the connection]
<hyperfekt> steveeJ: Mind that of course you can't use that argument in the module that defines it, and also be careful not to replace an argument that is already passed by default.
<boomshroom> Take out unknown and now it's complaining about relibc.
<hyperfekt> jevonearth: That's a good question that I can't answer, but you could always just run nixos-install from the ISO again.
<jevonearth> Issue here is that after `nix-install` it prompted for a password, and I screwed that up. It dropped me to the command prompt, and i ran `passwd` again, but I don't think I was chrooted (or whatever it does) to /mnt/
leothrix has quit [Quit: ZNC 1.7.2 - https://znc.in]
<jevonearth> hyperfekt: was hoping not to, and this would probably be good to know *anyway* :)
<DigitalKiwi> what's the "free.wifi" = {}; mean here https://nixos.org/nixos/manual/#sec-wireless
<judson_> I'm back to my seemingly unique problem with Chromium: after an update, calls to chromium-browser (e.g. following a link from IRC) launch the _new_ version. Which has gotten more annoying, because somehow that also logs me out of Google.
<hyperfekt> jevonearth: Well it won't take long, since you already have everything in the store. It's basically like running nixos-rebuild, except you get to change the root password.
<steveeJ> hyperfekt: thanks for that link as well. the first attempt also leads to an infinite recursion, bedtime :D
<hyperfekt> steveeJ: Alright, good night and good luck tomorrow. Ping me if I'm on and I'll do my best to help you.
<judson_> Last time I dug in, there was an idea that somehow it was related to Chrome's environ file in /proc, which is getting chopped for some reason - but to 6192 bytes, which seems like a very weird number.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #56738 → rpm-ostree: 2019.1 -> 2019.2 → https://git.io/fhAdK
jcob has joined #nixos
<judson_> I'm not 100% on how Chrome recognizes a running process to open a link in as opposed to launching a new instance, which doesn't help.
<steveeJ> hyperfekt: awesome, I appreciate that offer a lot! hopefully I won't have to make use of it
<noonien> > {a = 3} // {a = 2}
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):219:7
<boomshroom> > {a = 3;} // {a = 2;}
<{^_^}> { a = 2; }
<judson_> ...thanks :)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56660 → cairo: use buildInputs for libraries → https://git.io/fhAKw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fhAdi
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56115 → nixos-rebuild: try to get Nix fallback from new channel first → https://git.io/fhFID
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhAd1
ixxie has joined #nixos
<suzu> how do i upgrade the pkgs on a nixos machine via nixops
<suzu> do i just change the nixpkgs src to a more recent one and redeploy?
<jevonearth> I posted my question to stackoverflow if anyone feels inclined; https://unix.stackexchange.com/questions/504026/how-to-boot-to-single-user-mode-in-nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to release-18.09 « nixos-rebuild: get Nix from channel »: https://git.io/fhAdM
<jevonearth> Try help out the next person to run into this. In the meantime, I'll boot from the ISO and rerun `nixos-install`
<jcob> is there any way to list all the options
<jcob> that a file has
<jcob> err that a package has
<suzu> on the nixpkgs website you can
<{^_^}> [nixpkgs] @matthewbauer pushed to release-19.03 « nixos-rebuild: get Nix from channel »: https://git.io/fhAdy
<jcob> where suzu ?
<{^_^}> [nixpkgs] @matthewbauer pushed to release-18.03 « nixos-rebuild: get Nix from channel »: https://git.io/fhAdS
<jcob> im having trouble finding it
<{^_^}> [nixpkgs] @matthewbauer pushed to release-17.09 « nixos-rebuild: get Nix from channel »: https://git.io/fhAd9
<jcob> thanks!
<mizmorYodh> Hi all! I'm kinda new to nixos and I'm trying to figure out how to do the nixos way. So I'm currently working on my configuration and I was wondering what's the best way to manage packages. Like, what packages should I put in the system environment vs the user environment for instance?
lord| has quit [Quit: WeeChat 2.4]
<jasongrossman> mizmorYodh: The most NIXOS WAY is to put everything you want into the system environment and nothing in the user environment.
<jasongrossman> mizmorYodh: Unless you're only one of several users.
Erasmus has joined #nixos
<jasongrossman> mizmorYodh: Personally, I use nix-env when I'm in a hurry, and configuration.nix when I'm not in a hurry.
<srhb> I tend to use nix-env as sort of "staging", occasionally moving things into systemPackages. But agreed, systemPackages is the "proper" way -- in that it's more declarative and safer.
<jasongrossman> Also:
ixxie has quit [Ping timeout: 250 seconds]
lord| has joined #nixos
<mizmorYodh> oh good to know, i really thought that separating things using nix-env was the way to go but i guess i was wrong haha!
<jasongrossman> Hm. I thought the bot had an answer to this, but maybe it doesn't.
<samueldr> think declarative vs. imperative: do you want to have a (couple) file(s) declaring the intended state of your system?
<samueldr> or a previously ran couple imperative commands?