sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
Ariakenom has quit [Read error: Connection reset by peer]
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to revert-59945-fix/ova-eval-failure « Revert "nixos/virtualbox: Fixes configuration to evaluate" »: https://git.io/fj3Tp
<{^_^}> [nixpkgs] @grahamc opened pull request #59994 → (do not merge) Revert "nixos/virtualbox: Fixes configuration to evaluate" to ensure ofborg checks this properly → https://git.io/fj3Th
jluttine has quit [Ping timeout: 244 seconds]
Mr_Keyser_Soze has quit [Ping timeout: 246 seconds]
Rusty1 has joined #nixos
vk3wtf has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
wfranzini has joined #nixos
<parsnip> is there a canonical file like /etc/nixos/configuration.nix if you're not on nixos?
<parsnip> or, what exactly is nix-darwin?
jluttine has joined #nixos
<parsnip> maybe i should try jumping in
myskran has joined #nixos
winem_ has quit [Ping timeout: 252 seconds]
<jasongrossman> linarcx: I like it. It makes things discoverable.
<jasongrossman> linarcx++
<{^_^}> linarcx's karma got increased to 2
<jasongrossman> linarcx: I'm not seeing it in unstable though.
jluttine has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « aws-c-event-stream: add libexecinfo on musl »: https://git.io/fj3kL
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj3kt
kleisli_ has joined #nixos
qubasa_ has quit [Read error: Connection reset by peer]
jluttine has joined #nixos
Qubasa has joined #nixos
<kleisli_> how can one find which versions of nixpkgs are hosted at https://github.com/NixOS/nixpkgs/archive/
kisonecat has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/034d6739a6e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<oborot> In this NixCofig, where can I get a reference to lib? Is there something that requires importing in my configuration.nix?
<oborot> firefox = "${lib.getBin pkgs.firefox}/bin/firefox";
<{^_^}> [nixpkgs] @jonafato opened pull request #59995 → gnomeExtensions.icon-hider: 21 -> 23 → https://git.io/fj3kC
<oborot> I see this syntax used in the release notes, but can't get it to work.
<oborot> Oh wait, I think I got it
<oborot> Need to add lib to the {...} import at the top
<infinisil> kleisli_: It's all tags and commits
<lordcirth> Trying to run nix-shell /nixpkgs/pkgs/tools/filesystems/ceph/generic.nix in order to fix it, but it won't load, saying "error: cannot auto-call a function that has an argument without a default value ('stdenv')"
<lordcirth> What arguments does stdenv require?
<infinisil> lordcirth: You changed it and want to build the changed package?
<lordcirth> infinisil, yes
<lordcirth> Or get started fixing it, at least. It's been abandoned a long time
<infinisil> lordcirth: The file nixpkgs/pkgs/top-level/all-packages.nix defines a mapping from attribute name to file, which is where you'll find ceph referenced
<infinisil> lordcirth: To build an attribute in nixpkgs, you need to go to the root, and then run `nix-build -A <attribute>`, so `nix-build -A ceph` in this case
<lordcirth> infinisil, ah, ok, thanks!
<lordcirth> And now I just have to let make -j 4 run forever...
acarrico has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jonafato opened pull request #59996 → gnomeExtensions.battery-status: mark as not broken → https://git.io/fj3k0
ris has quit [Ping timeout: 255 seconds]
shibboleth has quit [Quit: shibboleth]
justanotheruser has quit [Ping timeout: 245 seconds]
<oborot> Anybody familiar with the new programs.firejail.wrappedBinaries option? Is there a way I can verify that the binaries are actually running in firejail?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/330b9fac600 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<oborot> When I do a which on a binary, I can't really see any indication that it's being wrapped.
hellrazo1 has joined #nixos
acarrico has joined #nixos
<{^_^}> [nixpkgs] @grahamc closed pull request #59994 → (do not merge) Revert "nixos/virtualbox: Fixes configuration to evaluate" to ensure ofborg checks this properly → https://git.io/fj3Th
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to revert-59945-fix/ova-eval-failure: https://git.io/fj3ka
jluttine has quit [Ping timeout: 255 seconds]
_fw has quit [Read error: Connection reset by peer]
hellrazor has quit [Ping timeout: 246 seconds]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
jluttine has joined #nixos
buffet_ has joined #nixos
buffet has quit [Ping timeout: 255 seconds]
bikes has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kisonecat has quit [Ping timeout: 255 seconds]
romildo has quit [Quit: Leaving]
kreisys has joined #nixos
<worldofpeace> ,locate bin overlayroot-disable
<parsnip> ah nice, nix-darwin makes something like a /etc/nixos/configuration.nix
<parsnip> that is, ~/.nixpkgs/darwin-configuration.nix
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
alex``` has joined #nixos
fl0_id has quit [Read error: Connection reset by peer]
kisonecat has joined #nixos
fl0_id has joined #nixos
gagbo has joined #nixos
fl0_id has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
myskran has quit [Quit: myskran]
sondr3 has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2b0c513ff4e (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alexherbo27 has joined #nixos
alexherbo2 has quit [Ping timeout: 255 seconds]
fl0_id has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59995 → gnomeExtensions.icon-hider: 21 -> 23 → https://git.io/fj3kC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj3Im
fl0_id has quit [Read error: Connection reset by peer]
fl0_id has joined #nixos
alex``` has quit [Ping timeout: 246 seconds]
kisonecat has quit [Ping timeout: 246 seconds]
kleisli_ has quit [Ping timeout: 245 seconds]
alex``` has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #59997 → perlPackages: mass update → https://git.io/fj3IC
<{^_^}> [nixpkgs] @volth closed pull request #59980 → perl: 5.28.1 -> 5.28.2 → https://git.io/fj3v9
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/330b9fac600 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Supersonic has joined #nixos
o1lo01ol1o has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59998 → Revert "librsvg: 2.44.12 -> 2.45.5" → https://git.io/fj3IE
ayerhart has quit [Read error: Connection reset by peer]
ayerhart has joined #nixos
<{^_^}> [nixpkgs] @bb010g opened pull request #59999 → SWT reproducibility → https://git.io/fj3I2
stepcut_ has quit [Remote host closed the connection]
oborot_ has joined #nixos
<oborot_> Is there a way a can append to an existing default pkg config?
stepcut has joined #nixos
elninja44 has joined #nixos
kleisli has joined #nixos
risson has quit [Quit: Pouet. WeeChat 2.4]
stepcut has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @eadwu opened pull request #60001 → vivaldi: support snapshots → https://git.io/fj3Iw
<oborot_> Specifically, I'm trying to extend this config option: https://github.com/NixOS/nixos/blob/master/modules/services/security/tor.nix#L267
<worldofpeace> ,locate bin gvfs-trash
<{^_^}> Couldn't find in any packages
stepcut has joined #nixos
oborot_ has quit [Quit: leaving]
sb0 has joined #nixos
taktoa has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
alex``` has quit [Quit: WeeChat 2.4]
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 246 seconds]
mthst has quit [Quit: the bouncer died]
mthst has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
risson has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59998 → Revert "librsvg: 2.44.12 -> 2.45.5" → https://git.io/fj3IE
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj3Id
acarrico has quit [Ping timeout: 246 seconds]
<worldofpeace> matthewbauer: why librsvg revert to master?
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #nixos
<matthewbauer> worldofpeace: it was holding up the channel update: https://hydra.nixos.org/job/nixpkgs/trunk/unstable#tabs-constituents
bikes has quit [Ping timeout: 250 seconds]
<worldofpeace> matthewbauer: gotcha, won't mind if I push 2.44.13 while we're at it?
bikes has joined #nixos
<matthewbauer> worldofpeace: yeah that should be fine
<{^_^}> [nixpkgs] @worldofpeace pushed to master « librsvg: 2.44.12 -> 2.44.13 »: https://git.io/fj3Ip
<worldofpeace> did that matthewbauer
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @andersk opened pull request #60002 → pytorch: Move cudatoolkit to nativeBuildInputs → https://git.io/fj3LJ
InFlames has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 268 seconds]
mkoenig has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59968 → guake: fix by setting strictDeps to false → https://git.io/fjOhK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj3L8
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @markuskowa to release-19.03 « guake: fix by setting strictDeps to false »: https://git.io/fj3LB
tomberek has quit [Ping timeout: 246 seconds]
bikes has quit [Read error: No route to host]
mkoenig has joined #nixos
<kleisli> hey all, i'm trying to write a shell.nix for a project that uses nodejs among other things
kleisli_ has joined #nixos
<kleisli_> sorry, got disconnected
o1lo01ol1o has quit [Remote host closed the connection]
<kleisli_> so i'm trying to combine the output of node2nix with an already existing shell.nix, but for some reason node isn't in my $PATH in the resulting shell
<{^_^}> [nixpkgs] @kalbasit merged pull request #59972 → shadowfox: 1.5.2 -> 1.7.20, move to buildGoModule → https://git.io/fjOjg
<{^_^}> [nixpkgs] @kalbasit pushed commit from @dtzWill to master « shadowfox: 1.5.2 -> 1.7.20, move to buildGoModule (#59972) »: https://git.io/fj3Lr
<kleisli_> this is my attempt: https://paste.ee/p/aDAvr
kleisli has quit [Ping timeout: 246 seconds]
<kleisli_> ah, figured it out, using `inputsFrom` instead of `buildInputs` works
gyroninja has quit [Ping timeout: 246 seconds]
alexherbo270 has joined #nixos
alexherbo27 has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos
Jetien has joined #nixos
gyroninja has joined #nixos
InFlames has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #60007 → pgmetrics: 1.6.1 -> 1.6.2 → https://git.io/fj3te
lovesegfault has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
endformationage has quit [Quit: WeeChat 2.4]
Rusty1 has quit [Quit: Konversation terminated!]
justanotheruser has quit [Ping timeout: 250 seconds]
colecf has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4c57db81b15 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
drakonis1 has quit [Quit: WeeChat 2.4]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
justanotheruser has joined #nixos
hellrazo1 has quit [Ping timeout: 245 seconds]
hellrazo1 has joined #nixos
Jetien has quit [Ping timeout: 258 seconds]
johnw_ is now known as johnw
wfranzini has quit [Quit: wfranzini]
sheeldotme has quit [Ping timeout: 245 seconds]
sheeldotme has joined #nixos
oborot has quit [Ping timeout: 244 seconds]
mthst has quit [Quit: the bouncer died]
mthst has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4c57db81b15 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/54084dd821d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
palo1 has joined #nixos
palo has quit [Ping timeout: 255 seconds]
palo1 is now known as palo
zupo has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/330b9fac600 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
risson has quit [Quit: Pouet. WeeChat 2.2]
risson has joined #nixos
risson_ has joined #nixos
elninja44 has quit [Remote host closed the connection]
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
zupo has joined #nixos
zupo has quit [Client Quit]
hoijui has joined #nixos
kvda has joined #nixos
<Izorkin> Please check this PR #58012
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58012 (by Izorkin, 4 weeks ago, open): nixos/zsh: move zsh setopt
tomberek has joined #nixos
hoijui has quit [Remote host closed the connection]
jb55 has quit [Ping timeout: 268 seconds]
Jetien has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #59890 → mako: 1.2 -> 1.3 → https://git.io/fjORg
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj3qB
vk3wtf_ has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
m0rphism has joined #nixos
kleisli_ has quit [Ping timeout: 255 seconds]
colecf has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
<parsnip> hmm, no docker images of nixos?
jomik has joined #nixos
lovesegfault has quit [Ping timeout: 250 seconds]
<lewo> parsnip: Only Docker images with Nix are available. What are you expecting?
<jomik> Hey guys - I am having trouble with a light-locker systemd service. It seems that it does not get the XDG_SESSION_ID when I start it as a service. How do I pass that along with systemd?
<parsnip> lewo: nixos
<parsnip> lewo: hmm, upon reflection, i realize my original question was, "where did the /etc/nixos/configuration.nix go"
<parsnip> so i probably just need to put stuff in .nix-profile or something
Makaveli7 has joined #nixos
<parsnip> that is, i'd like to add a nix configuration file adjacent to a dockerfile, that easily configures a docker image for troubleshooting things
Jetien_ has joined #nixos
jmgai has quit [Ping timeout: 250 seconds]
lovesegfault has joined #nixos
jmgai has joined #nixos
Jetien has quit [Ping timeout: 245 seconds]
<lewo> parsnip: to configure image at buildtime or once the image is running?
<lewo> parsnip: (the latter is much more complicated)
<parsnip> first and foremost/ moreso at build time
<parsnip> does anyone go over what appears to be a paradigm shift with this whole nix-shell, etc stuff
<yorick> jomik: systemctl --user import-environment somewhere after starting x
<yorick> jomik: are you running this as a user service?
<jomik> Yup
<yorick> what does systemctl --user show-environment say?
<lewo> parsnip: with nixpkgs, you have to use `dockerTools.buildImage`. You can provide a `fromImage` attribute to override an existing image.
<jomik> It shows XDG_SESSION_ID=2
<yorick> jomik: okay, then the service should get it :P
<parsnip> hmm
<jomik> Weird~
<yorick> maybe the service starts before it's set?
<lewo> parsnip: Alos, I'm maintaining https://github.com/cloudwatt/nix-container-images which allows you to provide a kind of configuration.nix file.
<jomik> Maybe? I mean, it should start after line 119, in what I linked. It is part of graphical-session.
<jomik> But I guess graphical session may start before all the environment vars are imported?
<parsnip> hmm, but there's not really something like a designated/canonical /etc/nixos/configuration.nix for `FROM nixos/nix`?
<jomik> Tho, I guess it should really be set if I restart the service, and that still dose not.
<lewo> parsnip: no.
tomberek has quit [Ping timeout: 255 seconds]
<jomik> Anyone have any idea how I can enable debugging for light-locker? When I pass --debug, I don't actually get to see the output in journalctl.
<jomik> So I need to redirect it to a file, I guess... But > doesn't work ^^
jmgai has quit [Ping timeout: 255 seconds]
<yorick> stdout and stderr go to journalctl
<jomik> Yeah, I don't know what it is using to display debug stuff.
risson_ has quit [Quit: Pouet. WeeChat 2.4]
jmgai has joined #nixos
<jomik> gs_debug ?
orivej has joined #nixos
<linarcx> jasongrossman: Yes, because it's not merge yet: https://github.com/NixOS/nixpkgs/pull/59967
<{^_^}> #59967 (by LinArcX, 15 hours ago, open): nixbox: init at unstable-2019-04-20"
<jasongrossman> linarcx: ty
<linarcx> jasongrossman: Yw :))
jomik has quit [Quit: WeeChat 2.4]
jomik has joined #nixos
<jomik> Oh, I got some debugging output ! `PID 1913 does not belong to any known session`
<jomik> So I guess light-locker can't be run by systemd :D
val_ has joined #nixos
<enteee> I can't disable autoindent in vim using home-manager. I have added nocindent, noautoindent, nosmartindent to programs.vim.extraConfig. But this didn't help so far. Any Ideas how I can get rid of all indentation support in vim?
<jomik> enteee: Maybe you can set indentexpr to nothing.
jomik has quit [Client Quit]
jasongrossman has quit [Remote host closed the connection]
<enteee> jomik: did that as well didn't help
<enteee> i als have filetype indent off and filetype plugin indent off
risson_ has joined #nixos
risson_ has quit [Client Quit]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
leat has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #60008 → librecad: add .desktop file and icon → https://git.io/fj3q5
leat has joined #nixos
zupo has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
m0rphism has quit [Ping timeout: 250 seconds]
<val_> hey guys
<val_> how can i download 18.9 version iso?
<val_> i have problems with 19.3 so i wanna check the previous version
<val_> i know there's hydra and other stuff, couldn't figure it out
tboston_ has joined #nixos
Jetien__ has joined #nixos
m0rphism has joined #nixos
jasongrossman has joined #nixos
Jackneilll has joined #nixos
Jetien_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @gebner pushed to master « fcitx-engines.mozc: pin to protobuf 3.6 »: https://git.io/fj3qh
jmgai has quit [Ping timeout: 255 seconds]
<val_> Thanks!
jmgai has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #60009 → weechatScripts.weechat-autosort: unstable-2018-01-11 -> 3.4 → https://git.io/fj3mf
<{^_^}> [nixpkgs] @joachifm merged pull request #52988 → chipsec: init at 1.3.7 → https://git.io/fhkVr
<{^_^}> [nixpkgs] @joachifm pushed 4 commits to master: https://git.io/fj3mT
hellrazo1 has quit [Ping timeout: 244 seconds]
jmgai has quit [Ping timeout: 244 seconds]
jmgai has joined #nixos
risson has quit [Quit: Pouet. WeeChat 2.4]
<Izorkin> lewo: how to buil and run image with s6.services.nginx ? (nix-container-images) Did not understand
risson has joined #nixos
jmgai has quit [Ping timeout: 246 seconds]
hellrazo1 has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #60010 → Https urls → https://git.io/fj3mn
jmgai has joined #nixos
<parsnip> hmm, so i cloned the olm repo, i ran cmake, make install, etc.
<parsnip> then `cd python` and `make olm-python2`, and now i get the error about setuptools, and it seems i need to understand how to use python libraries
<parsnip> and nix environments and derivations, etc
<parsnip> i guess i can write a nix file? but where?
<parsnip> weird, even if i do
<parsnip> nix-shell -p 'python35.withPackages(ps: with ps; [ setuptools ])'
<parsnip> oops, need python27
jmgai has quit [Ping timeout: 245 seconds]
jmgai has joined #nixos
<linarcx> Guys, how to install this package in nixos: https://github.com/mads-hartmann/bash-language-server
<symphorien> I guess you have to package it
<lassulus> linarcx: maybe you can use: https://github.com/moretea/yarn2nix
thc202 has joined #nixos
jmgai has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
orivej has joined #nixos
jmgai has joined #nixos
Thra11 has quit [Quit: WeeChat 1.9.1]
mexisme has joined #nixos
mexisme has quit [Client Quit]
Jetien__ has quit [Remote host closed the connection]
Jetien__ has joined #nixos
<linarcx> lassulus: Thank you. but when i want to install it, i get an error: warning: name collision in input Nix expressions, skipping '/home/linarcx/.nix-defexpr/channels_root/nixos'
<linarcx> error: Use upstream https://github.com/moretea/yarn2nix
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmgai has quit [Ping timeout: 250 seconds]
jmgai has joined #nixos
mounty has quit [Ping timeout: 250 seconds]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #48317 → gnutls: add SSL_CERT_FILE → https://git.io/fxBd7
mexisme has joined #nixos
<teto> my nix-shell is stuck at "instantiated 'builder.pl' -> '/nix/store/zzc2a76p5zsinr9cgq5f55w3nw2dw7sm-builder.pl.drv'" with latest nixos-unstable . (dunno if it's linked, I've just updated). Any idea ?
<lassulus> linarcx: huh, weird, what exactly did you do?
tmaekawa has joined #nixos
jasongrossman has quit [Ping timeout: 255 seconds]
<linarcx> lassulus: nix-env -iA nixos.yarn2nix
<teto> with more verbosity I see "download thread waiting for 10000 ms" x(
<lassulus> linarcx: does nix-shell -p yarn2nix work?
jmgai has quit [Ping timeout: 255 seconds]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<lassulus> huh, maybe some unstable issue
<lassulus> let me check
<linarcx> lassulus: Ok
jmgai has joined #nixos
__monty__ has quit [Quit: leaving]
<xorAxAx> is the toplevel state file which enumerates all installed packages ~/.nix-profile/manifest.nix?
<xorAxAx> for the user profile
<{^_^}> [nixpkgs] @etu merged pull request #59973 → superTuxKart: 0.9.3 -> 1.0 → https://git.io/fjOja
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fj3m7
Acou_Bass has joined #nixos
<lassulus> linarcx: well, that error seems to bee intended, so I guess you should use upstream. If you don't want to clone the repo, you can install it like this: nix-env -I yarn2nix=https://github.com/moretea/yarn2nix/archive/master.tar.gz -f '<yarn2nix>' -i yarn2nix -i yarn
tboston_ has quit [Ping timeout: 250 seconds]
jmgai has quit [Ping timeout: 246 seconds]
val_ has quit [Quit: Page closed]
jboy has quit [Remote host closed the connection]
Anton-Latukha has joined #nixos
jmgai has joined #nixos
<parsnip> hmm, i have python libraries installed globally, so shouldn't any running python have those libraries available?
Jetien__ has quit [Remote host closed the connection]
<simpson> It's a fun theory, but you should probably explicitly bring packages to any Python that wants them. What are you building?
<parsnip> trying to use weechat-matrix
Jetien has joined #nixos
<parsnip> i'm, yeah, i'm being pretty haphazard
jboy has joined #nixos
mabel has quit [Ping timeout: 268 seconds]
jmgai has quit [Ping timeout: 255 seconds]
jmgai has joined #nixos
<teto> ok nix-shell just crashed :'(
<tilpner> parsnip: I have weechat-matrix running fine here, you can find my expressions at https://github.com/tilpner/nur-packages/tree/master/pkgs
<tilpner> Uhh, you never saw that :Q file
<parsnip> haha
<parsnip> thank you!
<xorAxAx> is the toplevel state file which enumerates all installed packages in the user profile: ~/.nix-profile/manifest.nix?
Jetien has quit [Remote host closed the connection]
vid has joined #nixos
<tilpner> parsnip: Then I do https://gist.github.com/b2cb120bed57737c973c3cf7df165968 to use it
<parsnip> wow, so freakin' complex
<parsnip> i... don't know how long it would have taken me to write such a thing
<tilpner> There's probably a better way. If you improve on this, please ping me :)
<parsnip> well... yeah ok...
<parsnip> i can't imagine improving it, but deal
<adisbladis> I believe there is a withPlugins or something similar for weechat?
tboston_ has joined #nixos
<parsnip> adisbladis: i'm guessing this one's too much in development to be somewhere easy
<parsnip> i mean, besides the linked awesomeness
jmgai has quit [Ping timeout: 245 seconds]
<parsnip> there's an older weechat-matrix script thing that is packaged, but maybe that one didn't yet have e2e encryption
<tilpner> There's weechat-matrix-bridge, but that's the Lua script
jmgai has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #60014 → gitea: 1.7.6 -> 1.8.0 → https://git.io/fj3Yq
mabel has joined #nixos
tboston__ has joined #nixos
<parsnip> oh, maybe you mean withPlugins to clean up the code a bit
tboston_ has quit [Ping timeout: 246 seconds]
<edcragg> hi, has anyone here set up roundcube on nixos before?
<edcragg> it's pretty trivial to install (on unstable), it even sets up nginx virtual host and postgres, however i'm not sure how to add any users to be able to log in and use it. also, the web based installer at /installer as mentioned on the roundcube docs appears to be a 404
<linarcx> lassulus: Oh, thank you. it take some times to install! Can we hope that it fix in near future?
jmgai has quit [Ping timeout: 268 seconds]
lopsided98 has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
lopsided98 has joined #nixos
zupo has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
InFlames has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #60015 → protobuf: 3.7.0 -> 3.7.1 → https://git.io/fj3Yw
<linarcx> How to build and install a .nix file locally?
<lassulus> linarcx: It seems intentional this way, so I guess there is no "fix"
<lassulus> linarcx: nix-build --no-out-link -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<lassulus> well, that just builds it
<linarcx> lassulus: Yeah, thank you.
<arianvp> Is bas van dijk on this channel?
<lewo> Izorkin: from the repository itself: nix-build -E 'with import ./default.nix{}; lib.makeImage{ config = { image.name = "nginx"; services.nginx.enable = true;}; }'
lovesegfault has quit [Quit: WeeChat 2.4]
alexherbo2707 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0109c84f710 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alexherbo270 has quit [Ping timeout: 245 seconds]
jmgai has joined #nixos
<linarcx> lassulus: If i intall it, what should i do?
<Izorkin> lewo: thanks
psyanticy has joined #nixos
<lassulus> linarcx: nix-env -i -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<siraben> I don't understand why I get an attribute "latest" missing error when I try to invoke nix-shell with this as my shell.nix http://ix.io/1GR6
<siraben> Is RUST_SRC_PATH = "${pkgs.latest.rustChannels.stable.rust-src}/lib/rustlib/src/rust/src"; not a valid expression?
<lassulus> siraben: pkgs does not have a latest attribute
<lassulus> maybe you want to add the mozilla overlay to your shell.nix
<linarcx> lassulus: warning: name collision in input Nix expressions, skipping '/home/linarcx/.nix-defexpr/channels_root/nixos'
<siraben> Also I'm getting errors from my autocompleter regarding paths: Company: backend company-capf user-error: No such directory: /nix/store/hcszvp7a7y5cz6s15cii98yhxxfq7zy4-rustc-1.33.0/lib/rustlib/src/rust/src. Please set ‘racer-rust-src-path’ or ‘RUST_SRC_PATH’
<siraben> So will setting it in shell.nix fix this?
<lassulus> linarcx: shouldn't be a problem I guess. But to be honest, I haven't used nix-env in a long time.
silver has joined #nixos
<{^_^}> [nixpkgs] @tfc opened pull request #60016 → tup: Let tup passthrough NIX env vars → https://git.io/fj3YD
<Izorkin> etu: if merged PR #59904 without oci8, need reconfigure PR #59926
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59904 (by Izorkin, 2 days ago, open): phpPackages: update php packages
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59926 (by aanderse, 1 day ago, open): phpPackages.oci8: 2.1.8 -> 2.2.0
jmgai has quit [Ping timeout: 244 seconds]
jmgai has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has quit [Quit: Textual IRC Client: www.textualapp.com]
kvda has joined #nixos
romildo has joined #nixos
jmgai has quit [Ping timeout: 255 seconds]
ris has joined #nixos
jmgai has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
risson has quit [Remote host closed the connection]
risson has joined #nixos
winem_ has joined #nixos
<infinisil> siraben: did you install the rust overlay?
<siraben> infinisil: doing it right now
<gyroninja> is it possible to have nix build not query NixOS's binary cache for a personal project
<siraben> so I should remove rustc, rustfmt, racer from my configuration.nix?
orivej has joined #nixos
<siraben> and use nix-shell instead and launch emacs from within it?
<siraben> infinisil: it works now!
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<siraben> so I'm just confused about best practices, now I have to launch a separate emacs instance for haskell projects, and another for a rust project, can I have both?
[Leary] has joined #nixos
Lears has quit [Ping timeout: 246 seconds]
<adisbladis> siraben: A nice solution is direnv + direnv-emacs
tmaekawa has quit [Quit: tmaekawa]
jmgai has quit [Ping timeout: 255 seconds]
jmgai has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #60017 → libvterm-neovim: 2017-11-05 -> 2018-11-26 → https://git.io/fj3O3
alexherbo2707 has quit [Ping timeout: 255 seconds]
Jackneillll has joined #nixos
orivej has quit [Ping timeout: 255 seconds]
risson has quit [Quit: Pouet. WeeChat 2.4]
Jackneilll has quit [Ping timeout: 250 seconds]
jmgai has quit [Ping timeout: 244 seconds]
<infinisil> adisbladis: doesn't work for everything though
<infinisil> For haskell lsp it does not
mabel has quit [Ping timeout: 246 seconds]
<adisbladis> Oh. I haven't started using lsp yet
<linarcx> How can i create a package for this repo: https://github.com/mads-hartmann/bash-language-server
risson has joined #nixos
Lears has joined #nixos
Shouou has joined #nixos
EoF has joined #nixos
<infinisil> Damn, i didn't know bash could have an lsp server
mexisme has quit [Ping timeout: 255 seconds]
[Leary] has quit [Ping timeout: 246 seconds]
aanderse-laptop has joined #nixos
<aanderse-laptop> Izorkin: i was curious as to why you didn't change *all* the package names, just some
mabel has joined #nixos
<Izorkin> aanderse: others package with prefix - /nix/store/p2pm89c07i2iscv3vai8dg5c66czsarn-php-apcu-5.1.17
<aanderse-laptop> ahhh
<aanderse-laptop> great, thanks :)
alexherbo2707 has joined #nixos
<aanderse-laptop> looking good! thanks for the extra work on cleaning up the history :D
<Izorkin> ok
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teto> gyroninja: maybe sthg like --option substituters ''
<Izorkin> Please check this PR #58012
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58012 (by Izorkin, 4 weeks ago, open): nixos/zsh: move zsh setopt
<{^_^}> [nixpkgs] @markuskowa opened pull request #60018 → slurm: 18.08.6.2 -> 18.08.7.1 → https://git.io/fj3Oa
orivej has joined #nixos
jmgai has joined #nixos
Ariakenom has joined #nixos
aanderse-laptop has quit []
kisonecat has joined #nixos
aanderse has quit [Remote host closed the connection]
aanderse has joined #nixos
jmgai has quit [Ping timeout: 255 seconds]
jmgai has joined #nixos
jmgai has quit [Ping timeout: 250 seconds]
<gchristensen> a new r13y report is up after a while of it not generating properly: https://r13y.com/ 1278 / 1295 (98.69%) are reproducible. if you're on holiday toady, consider spending a bit on making one of them reproduce :)
hellrazo1 has quit [Ping timeout: 255 seconds]
hellrazo1 has joined #nixos
jmgai has joined #nixos
Xal has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
Xal has joined #nixos
kisonecat has quit [Ping timeout: 244 seconds]
Glider_IRC_ has joined #nixos
jmgai has quit [Ping timeout: 250 seconds]
Glider_IRC__ has quit [Ping timeout: 245 seconds]
jmgai has joined #nixos
<ashkitten> these numeronyms are awful
o1lo01ol1o has quit [Remote host closed the connection]
<ashkitten> wow
<gchristensen> haha
<gchristensen> what's up, ashkitten?
o1lo01ol1o has joined #nixos
<ashkitten> oh just complaining to nobody that a11y isn't an accessible word
<ashkitten> among other things
<gchristensen> I mean the "wow" part :)
o1lo01ol1o has quit [Remote host closed the connection]
<ashkitten> i'm in awe of how much mental effort it takes to decode sentences with numeronyms
<gchristensen> +1
<MichaelRaskin> I guess with replaceDependency we could have testability: count the number of packages such that replacing them with nonsense fails at least one NixOS test
<ashkitten> honestly if the programming world could do away with numeronyms altogether that'd make me very happy
<MichaelRaskin> I am kind of scared to even approximate the amount of computing power that might need, given that each run of a test has quite a lot of boot overhead
<gchristensen> MichaelRaskin: it would certainly be A Lot
<ashkitten> is there any way to reduce runtime overhead of tests?
<gchristensen> even if we assume a test takes 1s, it would still be A Lot
<MichaelRaskin> On the other hand, each _package_ would be built only once, and most packages are not covered by any test anyway…
fendor_ has joined #nixos
<ashkitten> i suppose it's hard to cut corners when testing reproducibility
<MichaelRaskin> And hopefully, many packages only need _one_ test…
<simpson> ashkitten: To the contrary, it seems like it's quite easy for the typical package author to do, this cutting of corners~
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vcunat pushed to staging « libpng: 1.6.36 -> 1.6.37 »: https://git.io/fj33T
<gchristensen> y'all are spicy this morning :P
jmgai has quit [Ping timeout: 268 seconds]
<ashkitten> i'm spicy every morning, but i don't have ffxiv today
o1lo01ol1o has joined #nixos
<simpson> I'm procrastinating rewriting a chunk of a compiler. It's easier to be silly on IRC than to get stuff done.
jmgai has joined #nixos
coconnor has quit [Ping timeout: 244 seconds]
kvda has joined #nixos
coconnor has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<ashkitten> i don't really have anything to do till tomorrow when i get packing stuff and get working on that
<ashkitten> worst time for ffxiv to have datacenter maintenance tbh
o1lo01ol1o has quit [Ping timeout: 255 seconds]
fendor has joined #nixos
carlosdagos has quit [Read error: Connection reset by peer]
rauno has joined #nixos
<gchristensen> `waf` is a real devil of a package
carlosdagos has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #60019 → nzbget: fix broken service, as well as some improvements → https://git.io/fj33O
<gchristensen> oh cool we broke 60k
jmgai has quit [Ping timeout: 250 seconds]
<lordcirth> That's a lot of PRs!
o1lo01ol1o has joined #nixos
orivej has joined #nixos
<lordcirth> So, I changed the version tag to download in ~/nixpkgs/pkgs/tools/filesystems/ceph/default.nix, (to 14.2.0 Nautilus) but when I ran nix-build -A ceph in ~/nixpkgs, it created a derivation with 14.2.0 in the name, but ceph --version says luminous!
tboston__ has quit [Ping timeout: 255 seconds]
zupo has joined #nixos
npmccallum has quit [Quit: npmccallum]
o1lo01ol1o has quit [Remote host closed the connection]
<clever> lordcirth: if you leave the sha256 the same, thats claiming that the src is unchanged, so nix uses the old src
o1lo01ol1o has joined #nixos
<lordcirth> clever, ah, so to do Trust on First Use, I need to change the hash to something random, so it doesn't cache?
zupo has quit [Client Quit]
<clever> yeah, i set my editor to replace mode, and then replace a few digits with 0's
<clever> tofu only works if the first hash is invalid
romildo has quit [Quit: Leaving]
<lordcirth> clever, in hindsight that makes sense. Thanks!
<lordcirth> Ah, It actually showed the git clone this time, great
<clever> :D
<{^_^}> [nixpkgs] @bebehei opened pull request #60020 → spotify: add libnotify as dependency → https://git.io/fj33l
<{^_^}> [nixpkgs] @aanderse merged pull request #59381 → automysqlinit: init at 3.0_rc6 → https://git.io/fjmYO
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj338
<{^_^}> [nixpkgs] @aanderse opened pull request #60021 → nixos/httpd: cleanup old apache2.2 syntax → https://git.io/fj33B
<{^_^}> [nixpkgs] @marsam merged pull request #59986 → snscrape: 0.1.3 -> 0.2.0 → https://git.io/fj3JH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj330
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<gchristensen> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
wolfman154 has joined #nixos
winem_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @grahamc opened pull request #60022 → waf: make reproducible → https://git.io/fj33K
<gchristensen> anyone available to test this PR? fetch the PR, run grep REVISION= $(nix-build . -A waf )
kisonecat has joined #nixos
<aanderse> gchristensen: on it
<wolfman154> Good morning, yesterday I setup xautolock, it rebuilt without any errors, but when I tested this morning, it is not working, I’m not using bo desktop environment, just xmonad?
<gchristensen> thanks, aanderse!
<wolfman154> Should I setup, autolock in home.nix instead of configuration.nix?
<aanderse> gchristensen: np. REVISION="492eeeb1294054d82d4520c9c5990db3"
<aanderse> care for a pastebin of full output?
<gchristensen> yay!
<gchristensen> nope, that is conclusive :)
<gchristensen> thank you!
<exarkun> `nix search gtimelog` shows me `nixpkgs.gtimelog` but `nix-env -i gtimelog` says gtimelog matches no derivations, what's the deal?
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1134 → do: use region ams3 in example → https://git.io/fjOXR
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fj33X
<aanderse> already monday...
* aanderse is really hoping samueldr might get a chance to review https://github.com/NixOS/nixpkgs/pull/59215 soon <3
<{^_^}> #59215 (by volth, 1 week ago, merged): perl: add .withPackages
tboston_ has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #60020 → spotify: add libnotify as dependency → https://git.io/fj33l
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fj33M
<wolfman154> Good morning, yesterday I setup xautolock, it rebuilt without any errors, but when I tested this morning, it is not working, I’m not using a desktop environment, just xmonad?
<wolfman154> Should I setup, autolock in home.nix instead of configuration.nix?
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen> wolfman154: please wait a bit longer, not many people have changed and it was only a few minutes ago.
<wolfman154> gchristensen: 👍
<gchristensen> thanks :)
tboston_ has quit [Ping timeout: 258 seconds]
orivej has quit [Remote host closed the connection]
orivej has joined #nixos
kisonecat has quit [Quit: leaving]
InFlames has joined #nixos
<wolfman154> What is the setting that makes my screen go black, after being idle in nixos?
ddellacosta has joined #nixos
<ar> wolfman154: if you're not using a full DE (say, KDE or gnome), it's probably logind. man logind.conf | less -p IdleAction
<ar> wolfman154: https://nixos.org/nixos/options.html#logind.extraconfig
jmeredith has joined #nixos
<gchristensen> I'd like to identify the most recent common point between `staging` and `master` -- is there a nice way to do that?
<wolfman154> ar: thanks
<wolfman154> ar++
<{^_^}> ar's karma got increased to 2
carlosda1 has joined #nixos
InFlames has quit [Ping timeout: 255 seconds]
<LnL> isn't there a command for that?
<gchristensen> looks like merge-base is the business
carlosdagos has quit [Ping timeout: 250 seconds]
<gchristensen> I'm thinking a "move-to-staging" command would be cool
<aminechikhaoui> Can someone help explain the following issue (https://gist.github.com/AmineChikhaoui/65c93cb4c6934f186c0afc818b88b7c6)
<LnL> yeah that looks like it
<aminechikhaoui> trying to improve https://github.com/NixOS/nixops/pull/1048
<{^_^}> nixops#1048 (by tomberek, 22 weeks ago, open): init: arbitrary output resources
o1lo01ol1o has joined #nixos
<aminechikhaoui> but hitting infinite recursion when using nixops eval (which is a bit different than nixos modules regular evals)
<aminechikhaoui> cc aszlig if you're around and have some time :-)
jmgai has joined #nixos
fenedor has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor__ has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
fendor_ has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
jmgai has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 255 seconds]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
ddellacosta has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aanderse merged pull request #59952 → jellyfin: 10.2.2 -> 10.3.0 → https://git.io/fjObL
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj3sZ
tboston_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.1-rc5 -> 5.1-rc6 »: https://git.io/fj3sR
ddellacosta has joined #nixos
psalm has joined #nixos
Church- has quit [Ping timeout: 246 seconds]
fendor__ is now known as fendor
stepcut has joined #nixos
psalm has quit [Ping timeout: 252 seconds]
_kwstas has joined #nixos
wolfman154 has joined #nixos
_kwstas has quit [Remote host closed the connection]
linarcx has quit [Ping timeout: 244 seconds]
linarcx has joined #nixos
psalm has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
jomik has joined #nixos
wolfman154 has joined #nixos
<jomik> I can't seem to find where buildNodePackage is located. I need it to be able to build the node_modules required for a vim plugin.
mconstant has joined #nixos
<wolfman154> I setup logind and xautolock in configuration.nix, and they are not working? Is it because home.nix is overwriting them?
Shouou has quit [Remote host closed the connection]
<jomik> gchristensen: Yeah, the issue is that nodeEnv is not exposed anywhere.
Shouou has joined #nixos
<jomik> 2
psalm_ has joined #nixos
<jomik> node2nix exposes buildNodePackage as `package`, but I can't find that in Nixpkgs.
<wolfman154> All the other services.’settings’ are working fine?
psalm has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @mnacamura opened pull request #60023 → sl: use clang if stdenv.cc.isClang → https://git.io/fj3sF
toppler` is now known as toppler
npmccallum has joined #nixos
jomik has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/73debdc298a (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mabel has quit [Ping timeout: 246 seconds]
carlosda1 has quit [Ping timeout: 246 seconds]
mabel has joined #nixos
jmgai has joined #nixos
psalm_ has quit []
alexherbo2707 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
linarcx has joined #nixos
fendor_ has joined #nixos
jmgai has quit [Ping timeout: 244 seconds]
fendor has quit [Ping timeout: 246 seconds]
strobelight has joined #nixos
jmgai has joined #nixos
<toppler> Hey. Can any EXWM folks tell me about their setup? In particular, how do you use per-project nix-shells and use emacs specifically within those shells? Is it terrible to launch an emacs as a child of EXWM's Emacs?
linarcx has quit [Ping timeout: 255 seconds]
<pie_> Profpatsch, ? ^
linarcx has joined #nixos
<symphorien> not an emacs user myself, but I have heard about a direnv plugin
gagbo has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @roosemberth opened pull request #60024 → libguestfs-with-appliance: Add package for libguesfs containing libguestfs appliances → https://git.io/fj3G3
fendor_ has quit [Remote host closed the connection]
jmgai has quit [Ping timeout: 250 seconds]
fendor has joined #nixos
<Orbstheorem> #60024 is mine ^^
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60024 (by roosemberth, 2 minutes ago, open): libguestfs-with-appliance: Add package for libguesfs containing libguestfs appliances
jmgai has joined #nixos
mwilsoncoding has joined #nixos
buffet_ is now known as buffet
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
b1000101 has joined #nixos
drewr has quit [Remote host closed the connection]
drewr has joined #nixos
tboston_ has quit [Ping timeout: 255 seconds]
<infinisil> 60000 PRs \o/
<infinisil> #60000
<{^_^}> https://github.com/NixOS/nixpkgs/issues/60000 (by davidak, 12 hours ago, open): Atom on Pantheon: can't delete file
<infinisil> s/PRs/issues
drakonis has joined #nixos
linarcx has quit [Ping timeout: 244 seconds]
<gchristensen> 12,275 issues 47,681 PRs
linarcx has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
endformationage has joined #nixos
Shouou has quit [Ping timeout: 246 seconds]
drakonis1 has joined #nixos
tboston_ has joined #nixos
tomberek has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<pie_> is anyone other than us stress testing github? :P
<drakonis1> people cloning the linux repository?
<pie_> (ok maybe some big private corporate monorepo=
<pie_> drakonis1, ah good one
<drakonis1> it has a lot of forks
<Yaniel> just cloning should be trivial, no?
<drakonis1> no
<drakonis1> a shallow clone is trivial
<drakonis1> a full clone is not
<pie_> whats pantheon
<drakonis1> linux has 826440 commits
<drakonis1> this is a lot.
<symphorien> pie_: the desktop environment of elementary os iirc
<pie_> oh
<drakonis1> pantheon is a desktop environment, it looks a lot like a mac
<drakonis1> even more than gnome
<drakonis1> gnome vaguely reminds me of mac's interface but pantheon looks like a near carbon copy
o1lo01ol1o has joined #nixos
<gchristensen> aminechikhaoui: have you ever hit problems with your ssh agent causing auth problems with nixops?
<aminechikhaoui> gchristensen don't think so, what kind of problems
<gchristensen> my agent provides many SSH keys, and then nixops provides another key
<gchristensen> but by the time SSH tries the nixops key, the other end has given up and refuses me
drakonis_ has joined #nixos
aleph- has joined #nixos
<aminechikhaoui> oh, never seen that but I also don't have that many keys
o1lo01ol1o has quit [Ping timeout: 246 seconds]
drakonis2 has joined #nixos
<aminechikhaoui> also I think I don't have ForwardAgent by default anymore
<gchristensen> ForwardAgent isn't related, it is just my local agent and my local nixops trying to auth
drakonis has quit [Ping timeout: 257 seconds]
<gchristensen> I wonder if there is a way to specify priority on keys
drakonis2 has quit [Client Quit]
aleph- has quit [Client Quit]
drakonis1 is now known as drakonis
aleph- has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
linarcx has quit [Ping timeout: 250 seconds]
<aminechikhaoui> gchristensen wonder if IdentitiesOnly would work
<gchristensen> oh seems promising
<aminechikhaoui> as nixops does basically ssh -i <key>
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Anton-Latukha has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
jomik has joined #nixos
jomik has joined #nixos
jabranham has joined #nixos
jabranham has quit [Client Quit]
endformationage has quit [Quit: WeeChat 2.4]
jabranham has joined #nixos
jabranham has quit [Client Quit]
stepcut has quit [Ping timeout: 246 seconds]
jabranham has joined #nixos
jtojnar has joined #nixos
jabranham has joined #nixos
jabranham has quit [Changing host]
mexisme has joined #nixos
Xyliton has joined #nixos
<Xyliton> Tried to run a game using wine today and I ran into some "couldn't initialize opengl" problems. Am I using the wrong drivers or what am I missing?
<jabranham> Does anyone have a clever solution for the problem I describe here? https://discourse.nixos.org/t/gpg-version-warning-when-using-gpg-agent-from-nixos-but-gnupg-from-user/2740 The gist is that the nixos configuration starts an older version of gpg than what's installed in my user profile, and now my (user profile) gpg complains about the old version running as gpg-agent.
stepcut has joined #nixos
jomik has quit [Ping timeout: 244 seconds]
jtojnar has quit [Client Quit]
mexisme has quit [Ping timeout: 246 seconds]
<jabranham> One solution would be to use unstable's gnupg in my system config, but that would require building basically everything myself, which isn't great...
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59954 → brogue: add .desktop file and icon → https://git.io/fjObz
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj3ZY
<{^_^}> [nixpkgs] @vcunat closed pull request #58513 → gnutls: enable latest version on Darwin → https://git.io/fjTKA
Phlogistique has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #59961 → gifsicle: 1.91 -> 1.92 → https://git.io/fjOxm
<{^_^}> [nixpkgs] @zimbatm pushed commit from @xrelkd to master « gifsicle: 1.91 -> 1.92 (#59961) »: https://git.io/fj3ZW
<{^_^}> [nixpkgs] @grahamc opened pull request #60026 → nixos/virtualbox: Fixes configuration to evaluate → https://git.io/fj3ZB
kisik21 has joined #nixos
jasongrossman has joined #nixos
jasongrossman has quit [Client Quit]
endformationage has joined #nixos
mvnetbiz_ has quit [Read error: Connection reset by peer]
tboston__ has joined #nixos
jasongrossman has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59946 → hyperrogue: add .desktop file and icon → https://git.io/fjO79
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj3Zo
<{^_^}> [nixpkgs] @grahamc merged pull request #60026 → nixos/virtualbox: Fixes configuration to evaluate → https://git.io/fj3ZB
endformationage has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to staging: https://git.io/fj3ZH
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #60027 → liburing: init at 1.0.0pre821_39e0ebd → https://git.io/fj3Zb
endformationage has joined #nixos
rpg has joined #nixos
kisik21 has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 244 seconds]
val_ has joined #nixos
<val_> hello
<{^_^}> [nixpkgs] @srhb merged pull request #60014 → gitea: 1.7.6 -> 1.8.0 → https://git.io/fj3Yq
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fj3Zx
<srhb> val_: Hello :)
linarcx has joined #nixos
Xyliton has quit [Ping timeout: 245 seconds]
tboston__ has quit [Ping timeout: 245 seconds]
<val_> these pure storages are a bit confusing. i have xmonad and try to add scaling to xserver. xinitrc from nix/store refers to the Xresources file. xrdb is installed. is editing configuration in the xresources file the best way to configure hidpi?
<{^_^}> [nixpkgs] @volth opened pull request #60028 → perl.meta.priority += 1 → https://git.io/fj3nJ
<infinisil> aanderse: Btw, regarding the perl thing at your $work, it might be a good idea to fork nixpkgs and add the commits your company needs ontop. Then you won't be constrained by nixpkgs slowness
orivej has quit [Ping timeout: 250 seconds]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
Ralith_ has quit [Remote host closed the connection]
val__ has joined #nixos
<val__> these pure storages are a bit confusing. i have xmonad and try to add scaling to xserver. xinitrc from nix/store refers to the Xresources file. xrdb is installed. is editing configuration in the xresources file the best way to configure hidpi?
Ralith_ has joined #nixos
<val__> Sorry I just hit enter and the message was saved
<val__> anyway, would be awesome to know
val_ has quit [Ping timeout: 256 seconds]
<val__> modifying .Xresource's Xft.dpi to different values doesn't yield changes. I merged it and also restarted display-manager service
<infinisil> Well there is the services.xserver.dpi option, not sure whether this will work
<val__> which file are you talking about?
b1000101 has quit [Ping timeout: 258 seconds]
<infinisil> configuration.nix
<val__> oh
<val__> good to know
<val__> thx, gonna try it
<val__> how can i see all the options i could add or modify in configuration.nix?
<infinisil> https://nixos.org/nixos/options.html or `man configuration.nix`
<{^_^}> [nixpkgs] @Ma27 opened pull request #60029 → nixos-container: allow setting custom local and host address → https://git.io/fj3ns
<val__> Thank you!
sigmundv has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59918 → ffsend: 0.2.42 -> 0.2.45 → https://git.io/fjOok
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj3nl
drakonis has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
b1000101 has joined #nixos
dbmikus__ has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos
tboston_ has joined #nixos
<pie_> jcrben, I'm watching your nixcon talk about overlays but I don't really understand why library functions should come from super and not self
<pie_> I'm not sure if you actually explained that, I don't think you did, you only said that super should be used.
mwilsoncoding has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
val_ has joined #nixos
val__ has quit [Ping timeout: 256 seconds]
ATuin has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59931 → profanity: 0.5.1 -> 0.6.0 → https://git.io/fjOyb
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @eri451 to master « profanity: 0.5.1 -> 0.6.0 (#59931) »: https://git.io/fj3n1
drakonis_ has joined #nixos
linarcx has quit [Ping timeout: 244 seconds]
tboston_ has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 246 seconds]
tboston_ has joined #nixos
linarcx has joined #nixos
val_ has quit [Ping timeout: 256 seconds]
Xal has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
<aanderse> infinisil: i appreciate the suggestion, but in no way would that ever fly at a place as conservative as where i work
Xal has joined #nixos
<{^_^}> [nixops] @domenkozar pushed to master « route53-*: add to docs »: https://git.io/fj3nN
drakonis_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<pie_> jcrben, btw this talk has helped me a lot more than anything else ive found so far
johanot has joined #nixos
<infinisil> aanderse: Oh :(
zupo has joined #nixos
o1lo01ol1o has joined #nixos
dbmikus__ has joined #nixos
mekeor has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #60030 → alacritty: 0.3.0 -> 0.3.1 → https://git.io/fj3c3
val_ has joined #nixos
tboston_ has joined #nixos
<val_> guys what's the nixcon talk you're talking about? can you share a link?
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « firecracker: 0.15.0 -> 0.15.2 »: https://git.io/fj3cG
o1lo01ol1o has quit [Ping timeout: 268 seconds]
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau merged pull request #58846 → vimPlugins: add plugins deoplete-fish, NeoSolarized, vim-choosewin, and vim-fish → https://git.io/fjIEX
<{^_^}> [nixpkgs] @timokau pushed 6 commits to master: https://git.io/fj3cC
jomik has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #60027 → liburing: init at 1.0.0pre821_39e0ebd → https://git.io/fj3Zb
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fj3cz
val_ has quit [Ping timeout: 256 seconds]
jomik has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #60031 → tcl/tk: 8.6.6 -> 8.6.9 → https://git.io/fj3ci
<{^_^}> [nixpkgs] @c0bw3b closed pull request #35069 → tcl/tk: 8.6.6 -> 8.6.8 and create library symlink → https://git.io/vAWVS
wolfman154 has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #60032 → vscode-extensions.WakaTime.vscode-wakatime: 1.2.13 -> 1.3.0 → https://git.io/fj3c1
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mwilsoncoding has joined #nixos
<wolfman154> programs.slock.enable = true; Is throwing an error: option ‘home-manager.users.wolf.programs.slock’ defined in ‘/etc/nixos/configuration.nix’ does not exist?
<wolfman154> Why is this?
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<pie_> > { a = 1; c = 2; } // { a = 3; b = -1; }
<{^_^}> { a = 3; b = <CODE>; c = 2; }
<pie_> -_-
<pie_> > { aa = 1; cc = 2; } // { aa = 3; bb = -1; }
<infinisil> wolfman154: Don't ask questions in multiple channels at the same time
<{^_^}> { aa = 3; bb = <CODE>; cc = 2; }
<pie_> well nevermind about giving someone an example in here heh.
<infinisil> pie_: :p
<infinisil> pie_: Like, add :p to make it strict
<pie_> oh lmao
<pie_> i thought you were sticking out your tongue :p
lovesegfault has joined #nixos
orivej has joined #nixos
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #60033 → automysqlinit: init at 3.0_rc6 (19.03 backport) → https://git.io/fj3Cv
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
o1lo01ol1o has joined #nixos
reinhardt has joined #nixos
<pie_> carter, a bit messy but its a start ... https://bpaste.net/show/34c4db638394
fusion809 has quit [Remote host closed the connection]
stepcut_ has joined #nixos
<carter> thx
jomik has joined #nixos
stepcut has quit [Ping timeout: 268 seconds]
<carter> thx
<jomik> Anyone know how I resolve node2nix being unable to pinpoint dependencies? `WARNING: cannot pinpoint dependency: semver-utils`
anaothmane has joined #nixos
<anaothmane> Hello!
<anaothmane> Need a little help with patchelf -- $NIX_CC is undefined. How do I get the correct value for it? Thanks!
<infinisil> anaothmane: code?
<rycee> anaothmane: Perhaps `nix-shell '<nixpkgs>' -A <pkg> --run 'echo $NIX_CC'` where `<pkg>` is a suitable package?
ggpeti has quit [Ping timeout: 245 seconds]
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
<anaothmane> @infinisil: > cat $NIX_CC/nix-support/dynamic-linker # -> cat: /nix-support/dynamic-linker: No such file or directory
<anaothmane> rycee: what do you mean by suitable package?
<anaothmane> Thanks!
<infinisil> anaothmane: Are you in a nix-shell?
<infinisil> Either in a nix-shell or in a nix-build
<anaothmane> Yeah I'm in nixos right now
<infinisil> NixOS != being in a nix-shell/nix-build
<infinisil> Just `nix-shell -p` will give you a nix-shell with all standard things like NIX_CC set and such
<anaothmane> Yeah that solved it, thanks!
<anaothmane> I want to understand the difference more. Where should I read into?
<{^_^}> [nixops] @AmineChikhaoui pushed 3 commits to master: https://git.io/fj3Cg
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1102 → Support persistent spot → https://git.io/fhFkO
lovesegfault has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> anaothmane: Well nix-shell is a Nix concept, usable wherever you have Nix available. It's used to get ad-hoc environment to develop packages. NixOS is the distribution for configuring things via configuration.nix, it's based on Nix, and it ships with Nix installed
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9b1706eb060 (from 57 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> There won't be anything online to explain this difference, but there are manuals for NixOS and Nix
<anaothmane> Ok thanks!
o1lo01ol1o has joined #nixos
<anaothmane> I'm currently trying to make MineTime work (minetime.ai). I patched the interpreter but it still tells me that libsecret-1.so.0 is not found (I installed it with nix-env -i libsecret and it exists in my ~/.nix-profile). What am I missing?
<symphorien> ,libraries anaothmane
<anaothmane> I patched it like this: patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" MineTime-1.5.1-x86_64.AppImage
<{^_^}> anaothmane: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<anaothmane> Thanks!
Neo-- has joined #nixos
ggpeti_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
fendor has quit [Quit: Leaving]
Glider_IRC__ has joined #nixos
lovesegfault has joined #nixos
ggpeti_ has quit [Ping timeout: 255 seconds]
rauno has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
jomik has quit [Quit: WeeChat 2.4]
Glider_IRC_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59956 → dosbox: add XDG icon → https://git.io/fjONZ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj3C9
<infinisil> Would anybody mind if we used markdown everywhere instead of xml?
<infinisil> xml docs are painful to view and edit :/
johanot has quit [Ping timeout: 244 seconds]
<simpson> infinisil: Yikes, that's unfortunate. Which text editor are you using? It might have secret hidden XML support not yet configured.
<infinisil> simpson: I am using xml support!
<infinisil> Or do you have an editor that can remove all xml tags somehow?
dbmikus has joined #nixos
dbmikus__ has quit [Ping timeout: 246 seconds]
kleisli has joined #nixos
<simpson> infinisil: I am using an editor that has special SGML/XML/HTML tag support, yes, but it doesn't do anything fancy with the visuals other than syntax highlighting. This is roughly the same amount of pain with Markdown vs XML.
<infinisil> How is this readable: https://paste.infinisil.com/iyr3VMi_vk.png
<infinisil> markdown (or anything similar) would be miles better
<simpson> Huh. Looks fine to me, if a little monochromatic. Maybe I just grew up with HTML?
<infinisil> The page is littered with 80% xml tags
jluttine has quit [Quit: WeeChat 2.3]
<infinisil> It's hard to get an overview
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson> Read the rendered output, then.
<simpson> Markdown's not even *defined* except in terms of HTML, which would be a major lossage compared to what we've currently got.
<infinisil> Ehh
<infinisil> Who cares about that tbh, I just want good docs for Nixpkgs, and everything being in xml is a major hinderance in writing/updating them for a lot of people
<sphalerite> infinisil: http://www.xmlmind.com/xmleditor/ :)
<infinisil> How many people will download a random editor just to edit the nixpkgs docs
<monsieurp> vim!
* pie_ mumbles something about pandoc?
<infinisil> When every other documentation for almost every piece of software out there is written with markdown/asciidoc/whathaveyounot
<kleisli> how can one modify an existing derivation by adding to its buildInputs?
<simpson> pie_: As Pandoc's own docs admit, their transformation from Markdown to non-HTML is lossy.
<kleisli> am looking at someDeriv.override { buildInputs = [ ... ] } but I think this would replace them rather than extend them?
<pie_> kleisli, yeah, so youre going to have to write an extend :: oldinputs -> newinputs
<infinisil> I once tried to convert our option docs into a usable format for {^_^}, such that it could have an ,option services.foo.enable command
<infinisil> But pandoc doesn't support our xml tags in nixpkgs
<infinisil> So yeah
<pie_> if you dont need to do any "mutation" you can just someDeriv.override (old: { buildInputs = old.buildInput ++ [ newstuff ]}
<pie_> kleisli, note theres a (old: ) that i think you forgot about
<samueldr> infinisil: it's probably due to how it's an incomplete xml document
<pie_> kleisli, or i just pulled out of thin air and it doesnt exist?
<samueldr> it assumes it will be sandwiched between <para></para> into a greater docbook document
orivej has quit [Ping timeout: 250 seconds]
<infinisil> samueldr: No I checked, it's just not implemented, probably due to it not caring at all about the schematic things
<kleisli> pie: thanks. not sure what (old: ) you're referring to though
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59684 → qtbitcointrader: 1.40.40 -> 1.40.41 → https://git.io/fjYYH
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj3We
<pie_> maybe you can "just" write your own pandoc parser
<infinisil> Yeah of course you could PR pandoc to fix everything we have in our docs
<infinisil> And then convert everything to markdown and PR that to nixpkgs
<samueldr> infinisil: ah, I thought it was "pandoc supports docbook but our options somehow fails"
<pie_> kleisli, damn you might be right!
<pie_> kleisli, wait
acarrico has joined #nixos
<pie_> kleisli, i think you want .overrideAttrs
<kleisli> well i am new to nix, don't take my lack of familiarity as evidence of nonexistince
<pie_> .override is for the arguments of a {}: function
<kleisli> nonexistence*
<samueldr> not sure why one would downgrade the docs from docbook to markdown in the source
<pie_> kleisli, see this section https://nixos.org/nixpkgs/manual/#sec-overrides
<kleisli> thanks
knupfer has joined #nixos
<infinisil> samueldr: It's an upgrade in pretty much every regard. The only thing we lose is the overly specific tags, which we use for.., for what?
<pie_> its good that i read that now too because things seem to be a bit different than i thought
Neo-- has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
<sphalerite> infinisil: please stop complaining, we've had this argument more than often enough. Go ahead, write some docs! You know by now that there's a number of volunteers willing to translate it into docbook. At this point you're just trolling and I think it sucks.
<sphalerite> (write some docs in markdown*)
<infinisil> sphalerite: I'm seriously not trolling. I've started my text editor and am deciding upon whether to use rst or markdown to rewrite some docs.
<infinisil> We've had the problem of bad and outdated docs for a while
<sphalerite> infinisil: no, don't. That's unproductive.
<infinisil> There's so many people doing PR's to change nixpkgs, but a super low fraction of those are for docs
<infinisil> Meanwhile I don't know any other project that struggles so much with docs
<sphalerite> it isn't actually useful just because it's easier than actually improving the docs (just run the stuff through pandoc) and feels like you're doing things because it generates a big diff
<infinisil> Rewriting docs in a better format will make improving them much easier in the long term
<pie_> I wonder how rust handles docs. People are usually pretty happy with their infra AFAIK
<infinisil> Sure we can go another decade with xml docs and keep them as stagnant as now
<infinisil> Maybe using a different format won't improve things that much to be on par with other projects, but it will help for sure
<pie_> ...looks like rustdoc uses markdown. is there a reasonable escape hatch for things that markdown doesnt support but you might want to do anyway
sigmundv has quit [Ping timeout: 246 seconds]
<infinisil> Of course, this would never get into nixpkgs because we have a bunch of important people advocating xml, but I still feel like I should give it a try
<pie_> has anyone talked to anyone that prrofessionally works on technical docs
<infinisil> pie_: No idea, but thanks for another data point
<pie_> otoh maybe thats the wrong question, because of course professional technical documentation writers probably use xml
<infinisil> Rust, a language praised for its great docs (have seen that multiple times on reddit), uses markdown, one of the supposedly worst doc writing formats
<andi-> they also have a fulltime position writing docs.. ("the book" at least)
<infinisil> Yeah true, they have much more man power in every way. But this just illustrates that we don't need xml/docbook at all
<pie_> well, maybe we need to think about whats expected
<andi-> I am not set on an opinion here.. Haven't written much docs but docbook never was a bummer for me.. Not sure how others feel about it (that haven't written docs).
<pie_> more focused documentation development or more drive-by edits
<pie_> or both
<pie_> the format doesnt matter as long as the latter gets a frontend that has a low initial cost
<pie_> the former can just use whatever more involved tooling that they want
<infinisil> Every time I have to edit our docs I have to look up the tags again
<infinisil> ,xml
<{^_^}> Nix XML docbook cheatsheet: <link xlink:href="https://example.com"/> <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry> <programlisting>let some = "program"; in some</programlisting> <literal>true</literal> <option>users</option> Simple docbook reference: https://docbook.rocks/
<pie_> ok so why dont we have an IDE for it yet
<pie_> and im not trolling, i dont mean why havent you written it yet
<samueldr> when writing a minor overhaul of a documentation section, and with experience writing markdown-based documentation; with additional "semantic document" bias (e.g. the semantic web) I can say that I much prefer docbook even though it looks sometimes inconvenient for drive-by changes...
<infinisil> Why I haven't written an IDE for editing markdown yet?
<pie_> i mean, if this is a problem for drive-by-edits, why havent we made it easier yet
<samueldr> but, sometimes optimizing for drive-by edits is not the answer :/
<pie_> my understanding is that a lot of changes to nixpkgs are drive-by contributions
<pie_> and i could see how that could be true
<samueldr> my work time will soon be more focused towards nix-dependent things, hopefully, and things I want to look for _for my own benefits_ is better tooling for docbook
<samueldr> I sure hope it turns out I can do those things
<pie_> so i guess im kind of with infinisil on this one except I guess my first reaction is why isnt this just solved with tooling
<pie_> well, 1) because noone has written it yet 2) "how hard could this possibly be"
<pie_> xD
<samueldr> a good chunk of (1), easy solutions like markdown have stolen the limelight
<infinisil> Considering how many tags and stuff docbook has, I'm not surprised to not see much tooling
<infinisil> Pandoc only implemented a fraction of all of docbooks tags
<samueldr> seeing how github and github-flavoured markdown probably helped a bunch
<samueldr> meanwhile, docbook relies more on xml-generic tooling AFAIUI
<pie_> i mean, xml is for arbitrary semantics right? i dont know anything about this docbook stuff
<sphalerite> infinisil: in 2019, exactly 2 people have made material contributions to the parts of the manuals that are written in markdown. You are not one of those people ;)
<samueldr> they have full schemas, meaning that an XML editor will be able to use them
<pie_> (i kind of hate latex but its also pretty good kind of)
<pie_> sphalerite, there are parts of the manual written in markdown?
<pie_> :D :P
<sphalerite> pie_: yep!
<samueldr> about (2), pie_ it's most likely "not that hard" to have a 90% docbook useful, 100% for nixpkgs, but lacking the obscure tags
<sphalerite> doc/languages-frameworks/*.md
<samueldr> I made some exploratory work earlier this year
<pie_> samueldr, exactly thats what i meant, a sufficient subset to handle most of nixpkgs might be good enough
<infinisil> sphalerite: I'm not sure what you're trying to hint at with this. I don't write much docs? I don't contribute enough? Similar I could make a similarly irrelevant point: Maybe the reason I haven't contributed docs in 2019 is because all parts I wanted to were written in xml which discouraged me to do it.
<samueldr> I believe it should be possible to have a WYSIWYM editor for the manual in a couple week's worth of time
<pie_> samueldr, on the other hand, im not sure how that could be integrated into github stuff
Jackneillll has quit [Read error: Connection reset by peer]
<pie_> samueldr, good luck \o/
<infinisil> I did contribute one piece of docs last year, and that was the idris docs, written in markdown, because they were seriously outdated
<sphalerite> infinisil: they were seriously outdated? :D
<sphalerite> even though they're written in markdown which is the solution to docs being outdated :D
<infinisil> Seriously outdated, for serious this time!
<infinisil> They might still be outdated if they were in xml..
<sphalerite> I mean, if you're rewriting docs then go ahead and do it in markdown, I'm sure that would be welcomed
<infinisil> I'm just saying, here's my point of view: I feel *much* more encouraged to contribute docs in markdown than xml. I'm used to markdown, I use it on GitHub and my projects all the time
<infinisil> xml is just an hour of "how does this work again" "oh i forgot a closing tag here" "Oh the compilation fails, let's see what I messed up"
<sphalerite> I just don't think destroying all the semantic information in the existing docs is prodcutive.
<pie_> samueldr, a whole infrastructure around dealing with translations to and from docbook/markdown sounds kind of sketchy, how could that be handled well? docbook as more expressive base representation with an option to expose markdown to the user via tooling layer?
<infinisil> sphalerite: I asked this before: What do we use these semantics for?
<{^_^}> [nixpkgs] @nyanloutre opened pull request #60035 → kde_applications: 18.12.03 -> 19.04.0 → https://git.io/fj3Wz
<samueldr> pie_: in what I had in mind there was no markdown
<samueldr> I'm not sure what the manuals already do for the markdown to docbook conversions
<pie_> samueldr, oh derp, WYSIWYG
<infinisil> Because if we don't use something, there's no point in keeping it.
<pie_> infinisil, this is something thats a lot harder to add after the fact than to have it to begin with i think? :/
<samueldr> WYSIWYM (what you see is what you MEAN) as I'm thinking it WYSIWYG is a tarpit with that much semantics
reinhardt has quit [Quit: Leaving]
<pie_> samueldr, im not familiar with the differene
<infinisil> pie_: Sure, but if we want to have semantics in our docs, we need to use it for something, otherwise it's just unnecessary
<infinisil> Do we have some option cross-referencing for <option> tags? No
<pie_> infinisil, i dont disagree >.< , maybe it can be useful later
<infinisil> Do we have anything so you could easily copy-paste <command> tags? No
<samueldr> pie_: there's no one standard, but generally it means that the editor shows more than WYSIWYG, while trying to by WYSIWYGy
<pie_> what are the things we could do with extra semantic information, and why dont we do it yet?
<samueldr> it can be as dumb as a DOM tree, or as fancy as WYSIWYG with tag-like objects
<pie_> infinisil, there it is then? :p The Things We Should Be Doing
<samueldr> there are cross references already, other things are due to lack of work hours, things like testing the docs automatically so that when examples bitrot, the docs fail to build
* pie_ is great at wanting more COOL features and making everything complicated ;~;
<pie_> samueldr, sounds like that could be nice
<infinisil> I wouldn't dislike xml as much if we had cool features available due to it
vid has quit [Ping timeout: 245 seconds]
<infinisil> Not possible with other formats
<samueldr> when I'll be $working on nix related things I'll (1) have more free time since my free time currently has been/is being consumed with preparatory work for that exciting future
<pie_> i think gchristensen or someone else mentioned it in a talk and i feel like we could benefit from better community work distribution :/ but maybe thats just my desire to overorganize everythin
<pie_> like, is there some documentation workgroup i could go to if i wanted to help with improving docs? not really afaict
<infinisil> pie_: I'd love to be part of one
<samueldr> I feel nixpkgs is EDD, egoistically driven development (said in a loving caring way)
<pie_> ive been meaning to look into how rust does community organization because i hear they do it well?
<pie_> samueldr, <3 :3
<mdash> pie_: too soon to tell
<pie_> need to make an orga-orga group and read a couple organizational psychology textbooks :P ENOTIME ... anyway </tangent>
<infinisil> Ohh also something else: We don't even have proper syntax highlighting in our docs
<pie_> so....we have established that infinisil would like nicer ways to work with docs, samueldr has done some experiments
<samueldr> that's a fun thing: the syntax highlighting is added post-compile by a js library
tboston_ has quit [Ping timeout: 245 seconds]
<samueldr> and I think it's only done on the website :/
<infinisil> :/
* pie_ ponders opening 5 more workgroup irc channels
<infinisil> Meanwhile rust docs are like https://doc.rust-lang.org/std/collections/struct.HashMap.html
<infinisil> With markdown
tomberek has quit [Ping timeout: 246 seconds]
<pie_> everybody hates changing their workflow
<samueldr> it's a bit disingenuous to say "with markdown" while a part of the page comes from the parsing of the signature
<pie_> samueldr, i was wondering if thats a thing
<infinisil> samueldr: parsing the signature?
<samueldr> but yes, the whole "description" part is from markdown
<samueldr> other than descriptions, this isn't markdown
<infinisil> Ah yeah I guess the syntax highlighting doesn't inherently have anything to do with the format used
<pie_> im guessing the clickable purple HashMap is clickable not because of markdown then
<infinisil> samueldr: But they're able to generate such fancy things from markdown
<infinisil> Sorry if I was a bit aggressive earlier
<samueldr> not sure I follow, most of the fancy in that page is from parsing the rust code?
<samueldr> and then sure, good syntax highlighting
<infinisil> Oh you're right
<infinisil> Sorry
<samueldr> not to downplay their docs: they're good, and make good use of what they can
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar2 has joined #nixos
<{^_^}> [nixpkgs] @andir pushed to master « glslviewer: 2018-01-31 -> 2014-04-22 »: https://git.io/fj3Wy
<samueldr> and if the style of the generated document is of importance, https://stuff.samueldr.com/nix/nixpkgs-manual/ was an experiment about style
<infinisil> samueldr: Neat
<samueldr> yeah, formats with github integration will always have an almost-unfair leg up :(
<pie_> infinisil, have you seen agda generated html
<infinisil> pie_: Nope
<jtojnar2> How do I run fsck on NixOS manually? I have tried passing fsck.mode=force to systemd-boot line but it asks for manual run
<jtojnar2> (getting error in stage 1)
<pie_> samueldr, i guess we should se what we can d oabout that thne
o1lo01ol1o has joined #nixos
<samueldr> jtojnar2: maybe shell on fail and do it imperatively in stage-1 ?
<infinisil> I guess if I want to move nixpkgs away from xml, I should collect evidence of xml being worse for contributing docs than other formats
<pie_> my main reason for not contributing docs is i would have to line break stuff by hand when writing the raw xml with github, if anyone cared about that
<jtojnar2> samueldr: the prompt only offers r to reboot or * to ignore
<pie_> well and also not knowing enough to write docs, but.... :p
<samueldr> jtojnar2: do you know whether it's systemd just as when stage-1 hands over to stage-2? if so not sure exactly how there
<samueldr> jtojnar2: but I know my first instinct would be shell on fail and debug1devices (iirc)
<infinisil> pie_: Phew, editing on github would be a pain
<samueldr> jtojnar2: able to extrapolate from there or should I dig the right parameters to pass to the kernel?
mexisme has joined #nixos
<samueldr> infinisil: additionally what other formats do better, and that can include "getting more drive-by contributions" and "look at all those toolings... can't hold them all!"
<pie_> infinisil, and the reason i even wanted to do that was because i didnt know how to use git
<infinisil> samueldr: Yeah
<pie_> infinisil, imagine all the noobs out there that want to help but dont know git
__monty__ has joined #nixos
<pie_> samueldr, ^ :p
<infinisil> pie_: Hmm yeah, that's another point against xml
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<pie_> .-. it is?
<jtojnar2> samueldr: I do not really know how to shell on fail
<pie_> well ok yeah i guess cuz you could just edit markdown on github
<sphalerite> jtojnar2: add boot.shell_on_fail to the kernel ocmmand line
<pie_> i would also prefer not to lose all the semantic info though
<infinisil> pie_: Yeah because if new people want to contribute without knowing git, they could totally edit markdown (or similar) docs on github
<samueldr> boot.shell_on_fail boot.debug1devices # both of these, the second one will stop before mounting things in stage-1
<pie_> could we like do...docbook xml on markdown
vid has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #59131 → ocamlPackages.uri: 1.9.6 -> 2.2.0; ocamlPackages.cohttp: 1.1.1 -> 2.0.0 → https://git.io/fjtq6
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/fj3lf
<stepcut_> how do I set restrict-eval / allowed-uris in a release.nix ? I tried , pkgs = import <nixpkgs> { restrict-eval = false; ... }, and that allows the checkout to happen, but then the hydra jobs fail with ==> in job ‘lens-ghc861’: anonymous function at /nix/store/db8qirfxqxavwk1c0nc2mjyg6hllrcz7-source/pkgs/top-level/default.nix:20:1 called with unexpected argument 'restrict-eval', at /nix/store/db8qirfxqxavwk1c0nc2mjyg6
<stepcut_> hllrcz7-source/pkgs/top-level/impure.nix:82:1
mexisme has quit [Ping timeout: 258 seconds]
<jtojnar2> samueldr: I probably still want to mount since I use LUKS
<samueldr> IIRC this is handled at device
* samueldr checks
drakonis has joined #nixos
<samueldr> I'm still pretty sure that yes, luks (and lvm) happens before mount commands
tomberek has joined #nixos
<jtojnar2> Holy smokes, the number of corrupted directories
<samueldr> :/
<pie_> oh deer
<pie_> backups?
* pie_ gets jittery again because he still hasnt set up backups...
<infinisil> Another point: I've been reviewing NixOS contributions for a while now, and I've probably never seen a new contributor get xml tags right on the first try. I have to correct them all the time. And then later I learn about new tags myself and have to correct everyone for another tag in the future
<pie_> infinisil, are you writing all this down
<infinisil> pie_: Um, it's in my IRC logs, soo yes? xD
<pie_> infinisil, sounds like that could also be handled by tooling but still
<pie_> infinisil, that doesnt count :P "its in there" but do you actually want to go back and search it up later to substantiate some argument?
<pie_> its easier to start pasting snippets in a textfile now :p
<infinisil> pie_: Can't write tooling to detect that "See man(1) for more info" should be "See <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry> for more info" instead
<pie_> this is what i do and then i forget everything <pie_> infinisil, that doesnt count :P "its in there" but do you actually want to go back and search it up later to substantiate some argument?
<pie_> infinisil, thats not correcting bad tags though?
<jtojnar2> At least the work and configs are on GitHub, but minor things like installed user styles are broken and not really backed up
<infinisil> pie_: Yeah, I meant correcting also as in making sure people actually use the tags
<pie_> ah
<infinisil> Very important for https links
<pie_> infinisil, could check if "see ..." has any tags after it and warn if not xD
<infinisil> Ehh...
<pie_> (yeah thats totally not going to result in semantic whack-a-mole)
<pie_> infinisil, in the other hand markdown doesnt have that at all?
<pie_> s/in/on
<infinisil> Bot: "I noticed your docs contain only 2.5% tags, whereas the average docs contain 3.74%, are you sure you tagged everything"
<pie_> haha
<infinisil> s/3.74/20.74
<infinisil> pie_: Yeah markdown doesn't have anything specific for man pages, you'd just use `man(1)` or so
val_ has joined #nixos
<samueldr> the thing with markdown (and equivalent systems) is how they're watered-down html with mostly 1:1 mapping (when they're defined well), meaning that yeah, you won't have a tagsoup to cite+ref a manpage, but have to do the hard work of making a link yourself and to _something_
<pie_> so its kind of not a point against xml, at least with respect to markdown
kleisli has quit [Quit: Leaving]
<infinisil> samueldr: Yeah I guess
johanot has joined #nixos
<jtojnar2> samueldr: shell_on_fail was enough
<samueldr> jtojnar2: good to know
<jtojnar2> samueldr++
<{^_^}> samueldr's karma got increased to 78
linarcx has quit [Quit: WeeChat 2.4]
<jtojnar2> And fsck even fixed the user styles (probably som sqlite database in Firefox)
<jtojnar2> I should probably have some more robust backup scheme in place
<jtojnar2> What do you guys use?
<pie_> restic generally seems good
<samueldr> I use borg backups, but still haven't made them automated :x
lovesegfault has quit [Ping timeout: 244 seconds]
<pie_> also dont do the stupid thing that i did where my only copy of my backup decryption key was in the encrypted backup
<samueldr> borg has amazing deduplication that works across machines, if you use the same.... whatever they name it
<samueldr> (I have a bunch of duplication across my in-use machines)
<jtojnar2> So no NASes or cloud?
rauno has quit [Ping timeout: 264 seconds]
<samueldr> it goes to a remote server
<Ralith> borg is nice for manual backups against your own infra
<pie_> restic has encryption by default which i think is a plus
<Ralith> I wish it could be pointed at backblaze though
<Ralith> and I wish it had a write-only cryptography setup so you could automate it
<jtojnar2> Hmm, and now the second drive is throwing smart errors, what a luck
<pie_> yeah restic doesnt have the write only thing either, not cryptographically anyway
<jtojnar2> Thanks for the help, got to run now
<pie_> i havent used borg but https://stickleback.dk/borg-or-restic/ seems relatively thorough, not sure how outdated it is with respect to restic, for example i havent seen the lack of compression ever mentioned and incremental backups never seemed slow to me *shrug*
<pie_> good luck
jtojnar2 has quit [Quit: AtomicIRC: The nuclear option.]
<{^_^}> [nixpkgs] @thoughtpolice pushed 6 commits to nixpkgs/eda-updates: https://git.io/fj3l4
<{^_^}> [nixpkgs] @thoughtpolice pushed 0 commits to nixpkgs/eda-updates: https://git.io/fj3lB
<{^_^}> [nixpkgs] @thoughtpolice pushed 6 commits to master: https://git.io/fj3l0
<stepcut_> is the format of /etc/nix/machines documented anywhere? I am not finding it in the manuals
tboston_ has joined #nixos
<samueldr> starting at " machine specification consists of the following elements, separated by spaces"
<samueldr> starting at "Each machine specification consists of the following elements, separated by spaces"*
stepcut has joined #nixos
stepcut_ has quit [Ping timeout: 245 seconds]
anaothmane has quit [Ping timeout: 255 seconds]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #60037 → Backport perl: add .withPackages #59215 #60028 → https://git.io/fj3lr
* infinisil grumpily considers improving the xml docs because it appears to be the best immediate way to make our doc situation better
* samueldr wonders if CI runs on draft PRs
<{^_^}> [nixpkgs] @dtzWill opened pull request #60038 → hugin: 2018 -> 2019 → https://git.io/fj3l6
<samueldr> yes CI does run on draft PRs
<{^_^}> [nixpkgs] @dtzWill opened pull request #60039 → kipi-plugins: 5.9.0 -> 5.9.1, build from dedicated tarball → https://git.io/fj3lX
<{^_^}> [nixpkgs] @woffs opened pull request #60040 → gitflow: 1.11.0.-> 1.12.2 → https://git.io/fj3lM
<{^_^}> [nixpkgs] @dtzWill opened pull request #60041 → alkimia: 7.0.1 -> 8.0.1, new url → https://git.io/fj3lD
wolfman154 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60042 → digikam: 6.0.0 -> 6.1.0 → https://git.io/fj3lS
<{^_^}> [nixpkgs] @grahamc merged pull request #60022 → waf: make reproducible → https://git.io/fj33K
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to staging: https://git.io/fj3lH
<wolfman154> I tried setting up slock in home.nix but it’s not working. Could someone paste bin their screen lock code in home.nix? Thanks!!!
<{^_^}> [nixpkgs] @Ma27 merged pull request #60009 → weechatScripts.weechat-autosort: unstable-2018-01-11 -> 3.4 → https://git.io/fj3mf
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj3l5
knupfer has quit [Ping timeout: 250 seconds]
Shouou has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60043 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/fj3lN
val_ has quit [Ping timeout: 256 seconds]
<wolfman154> 14:01 wolfman154: I tried setting up slock in home.nix but it’s not working. Could someone paste bin their screen lock code in home.nix? Thanks!!!
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60044 → kdb: 3.1.0 -> 3.2.0 → https://git.io/fj3lx
<{^_^}> [nixpkgs] @dgarzon opened pull request #60045 → pipenv: missing virualenv in propagatedBuildInputs. → https://git.io/fj3lp
<jcrben> pie_: you've got the wrong person; I've never given a nixcon talk
<pie_> oops
<pie_> i mean to highlight nbp
<pie_> nbp: <pie_> I'm watching your nixcon talk about overlays but I don't really understand why library functions should come from super and not self
<pie_> <pie_> I'm not sure if you actually explained that, I don't think you did, you only said that super should be used.
<pie_> <pie_> btw this talk has helped me a lot more than anything else ive found so far
yuken has joined #nixos
<infinisil> pie_: I think the reason might be something like, functions from lib could be used do define the overlays themselves
<infinisil> And if those depend on the overlays (which they do if you were to use self), it would give infinite recursion
<wolfman154> Never mind I give up, maybe I’ll try later
<yuken> Hey, I'm having trouble with setting up a super basic NixOS in a VM (to clone it to my desktop when I set it up). Here's my config, and error: https://i.imgur.com/6NVYPLR.png & https://i.imgur.com/mjgMNET.png
<infinisil> pie_: The functions `lib.mapAttrs` and such could be useful in defining overlays themselves
<yuken> Is this complaining that I'm using a block (/dev/sda) insteaad of UUID/label/etc?
<infinisil> pie_: (Not 100% sure on that though)
<samueldr> yuken: when using a GPT partition scheme for legacy bios boot, grub will require an additional partition
<yuken> This isn't legacy, samueldr.
<samueldr> then your grub is configured for legacy bios boot
<samueldr> hmmm
* samueldr checks
<yuken> well, efiSupport is set to true
<samueldr> yeah just saw that
<yuken> and grubi is version 2, and an efi moun t point.
<samueldr> sorry for the bad assumption
<samueldr> it's kinda related though
<infinisil> yuken: I think you just need to set grub device to "nodev"
<yuken> I may be dumb, but I'm not stupid :p. I think
<infinisil> boot.loader.grub.device = "nodev"
<yuken> why would I use nodev instead of my device?
<samueldr> with UEFI boot grub will be installed to a filesystem and not to a block device
<yuken> ... oh, should I just replace that with sda2 (which is my boot partition)?
lovesegfault has joined #nixos
<samueldr> "nodev"
<yuken> but why nodev?
<samueldr> grub.device /* singular, not plural */ = "nodev";
<samueldr> that's how it's implemented
<samueldr> .device(s) will install to the block device
<samueldr> for legacy boot
<samueldr> not sure if it would be relevant to assert that condition
<samueldr> would one want uefi boot and yet install the legacy bootloader?
rpg has joined #nixos
<yuken> Now I've got Boot Failed. NixOS-boot-efi
<yuken> o-o
<yuken> When trying to boot into the install.
<{^_^}> [nixpkgs] @dtzWill opened pull request #60046 → skrooge: 2.18.0 -> 2.19.0 → https://git.io/fj38I
<{^_^}> [nixpkgs] @dtzWill opened pull request #60047 → kreport: 3.1.0 -> 3.2.0 → https://git.io/fj38q
<{^_^}> [nixpkgs] @dtzWill opened pull request #60048 → kproperty: 3.1.0 -> 3.2.0 → https://git.io/fj38Y
stepcut_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60049 → kdeconnect: 1.3.3 -> 1.3.4 → https://git.io/fj38G
stepcut_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59894 → HylaFAX: fix ModemGroup, also minor metadata updates (backport to release-19.03) → https://git.io/fjORN
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to release-19.03: https://git.io/fj38n
<{^_^}> [nixpkgs] @Infinisil merged pull request #59903 → unigine-valley: fix loading libGL.so → https://git.io/fjOgu
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj38C
stepcut has quit [Ping timeout: 276 seconds]
mwilsoncoding has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60050 → kexi: 3.1.0 -> 3.2.0 → https://git.io/fj38l
mexisme has joined #nixos
<emilsp> is there a package for dig?
<aanderse> dnsutils
<gchristensen> nix-shell -p bind.dnsutils
<{^_^}> [nixpkgs] @dtzWill opened pull request #60051 → trilium: 0.30.6 -> 0.30.8 → https://git.io/fj38B
<{^_^}> [nixpkgs] @dtzWill opened pull request #60052 → joplin-desktop: 1.0.142 -> 1.0.143 → https://git.io/fj38R
psyanticy has quit [Quit: Connection closed for inactivity]
Dharco has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60053 → hostapd: 2.7 -> 2.8 → https://git.io/fj38K
knupfer has joined #nixos
<emilsp> yay, thanks
jcrben has left #nixos ["The Lounge - https://thelounge.github.io"]
_kwstas has joined #nixos
<Dharco> Hi, so I'm against a wall, and my searches aren't finding much to help... I've managed to compile the custom application as nixpgks package, and setup the systemd using configuration.nix, etc... however the custom application depends on another executable (zfs in particular), and that executable although in my shell, is not in the custom applications shell/path... could anyone point me to relevant documentation to help me specify runti
<cransom> am i missing something vital with the 'eval' input type with hydra? to get evaluation time down and eliminate some duplicate builds, i switched one of my git inputs over to a previous hydra evaluation and now the noop evaluation take just as long as the ones where i would have had git changes upstream.
orivej has joined #nixos
<pie_> emilsp, you can also try the bot / nix-locate to find the binary
<pie_> ,locate dig
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Found in packages: bind.dnsutils
<emilsp> I'll try and keep that in mind. I'm sure this isn't the first time I've received such advice
<pie_> Dharco, can you post your configuration?
drakonis has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<pie_> emilsp, maybe start taking notes! :P i started too late
<Dharco> which part? I modified/created numerous files
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<pie_> now im trying to compile a FAQ for things i wish i knew in the beginning but its hard because i dont remember what i didnt know
<buckley310> can someone else confirm an issue just so i know its not just my machine? this stack-traces for me: nix-shell -p python2.pkgs.pwntools --command 'python2 -c "import pwn"'
johanot has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
Ariakenom has quit [Quit: Leaving]
noonien has joined #nixos
<gchristensen> I have machineA and machineB, and I'm nix-copy-closure'ing from machine A to machine B. machine B has a special cache which machine A does not have. I'm copying something whose closure is already in the special cache. will machineB substitute it all, or will machineA copy files over since machineA doesn't have the special cache?
<Dharco> Ok this was the new package: https://pastebin.com/76Ag7mk7
drakonis has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60055 → wpa_supplicant: 2.7 -> 2.8 → https://git.io/fj38Q
anaothmane has joined #nixos
<Dharco> And this is the systemd configuration builder part https://pastebin.com/3zcxVQx5
<clever> gchristensen: if you use --use-substitutes, the remote machine will check its own cache settings
<gchristensen> hmm does nixops do that?
<gchristensen> I imagine it does
<{^_^}> [nixpkgs] @Infinisil merged pull request #59840 → dovecot: 2.3.5.1 -> 2.3.5.2 → https://git.io/fjOIZ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj385
<clever> gchristensen: that also means that a copy will initially hang and not say what its copying, because the remote machine is checking the binary cache, to see what has to copy
<{^_^}> [nixpkgs] @hedning opened pull request #60056 → gnome 3.32.1 staging updates → https://git.io/fj38d
ris has quit [Read error: Connection reset by peer]
<Dharco> And, I'm pretty sure this doesn't matter, this is relevant part of /etc/nixos/configuration.nix https://pastebin.com/6626SMEg
<clever> gchristensen: that is a deployment wide option i think, something about fast connection
<gchristensen> nice, cool
<gchristensen> thank you, clever!
<{^_^}> [nixpkgs] @Infinisil pushed commit from @dotlambda to release-19.03 « dovecot: 2.3.5.1 -> 2.3.5.2 »: https://git.io/fj38b
<clever> gchristensen: https://nixos.org/nixops/manual/#opt-deployment.hasFastConnection
<clever> ah, per-machine, not deployment wide
<gchristensen> nice
<gchristensen> perfect, thanks!
<aanderse> samueldr: i don't have permission to write to your perl branch... want to grant?
<gchristensen> I deploy so many things, I should really have my own hydra
<clever> gchristensen: true means that the link between nixops and target is "fast", dont try to use a binary cache on the slow uplink
<clever> gchristensen: false means the nixops->target is "slower" then cache->target
<{^_^}> [nixpkgs] @Infinisil merged pull request #59839 → [18.09] dovecot: fix CVE-2019-10691 → https://git.io/fjOIs
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-18.09: https://git.io/fj38x
ris has joined #nixos
<samueldr> weird aanderse, the checkbox is checked https://stuff.samueldr.com/screenshots/2019/04/20190422164516.png
<gchristensen> infinisil++
<{^_^}> infinisil's karma got increased to 87
<{^_^}> [nixpkgs] @dtzWill closed pull request #60044 → kdb: 3.1.0 -> 3.2.0 → https://git.io/fj3lx
<{^_^}> [nixpkgs] @dtzWill closed pull request #60048 → kproperty: 3.1.0 -> 3.2.0 → https://git.io/fj38Y
<aanderse> i am not a maintainer of anything perl related
<samueldr> >>
<samueldr> Member of Nix/Nixpkgs/NixOS
<aanderse> oh
<samueldr> aren't you?
<samueldr> >> If checked, users with write access to NixOS/nixpkgs can add new commits to your backport/nixpkgs-59215 branch
<samueldr> though maybe it's related to it being a draft, if you can't push?
<{^_^}> [nixpkgs] @Infinisil merged pull request #59823 → lambda-mod-zsh-theme: 2017-10-08 -> 2019-04-17 → https://git.io/fjOvO
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj34U
<aanderse> or, it appears, me just having sub par git skills -_-
NemesisD has quit [Ping timeout: 264 seconds]
pasukon has quit [Ping timeout: 252 seconds]
dongcarl has quit [Read error: Connection reset by peer]
alunduil has quit [Ping timeout: 252 seconds]
<ivan> does anyone have a rustc/cargo {beta, nightly} in their nixpkgs? I need something that would work in Hydra
coot has quit [Ping timeout: 264 seconds]
georgew has quit [Ping timeout: 240 seconds]
<ivan> if not I guess I might do it
teehemkay has quit [Ping timeout: 264 seconds]
tazjin has quit [Ping timeout: 264 seconds]
techtangents has quit [Ping timeout: 252 seconds]
noonien has quit [Read error: Connection reset by peer]
jw358 has quit [Ping timeout: 264 seconds]
v0d1ch has quit [Ping timeout: 252 seconds]
gonz_ has quit [Ping timeout: 264 seconds]
tazjin has joined #nixos
oharvey has quit [Ping timeout: 264 seconds]
coot has joined #nixos
tazjin has quit [Max SendQ exceeded]
<ivan> symphorien: that's just unlocking nightly features in the stable release though, right
<symphorien> Yes
<{^_^}> [nixpkgs] @dtzWill opened pull request #60058 → iwd: split ell to separate derivation, update iwd and ell → https://git.io/fj34O
<ivan> heh I just tried RUSTC_BOOTSTRAP=1 with #![feature(proc_macro_hygiene)] and it worked, so maybe it's good enough, thanks
hoek has quit [Ping timeout: 264 seconds]
sdier has quit [Ping timeout: 264 seconds]
<symphorien> For now the only thing I renounced to build with this trick is clippy
coot has quit [Max SendQ exceeded]
ajmcmiddlin has quit [Ping timeout: 252 seconds]
teehemkay has joined #nixos
kalbasit has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
georgew has joined #nixos
bpierre has quit [Ping timeout: 252 seconds]
jw358 has joined #nixos
ottidmes has joined #nixos
tomberek has quit [Ping timeout: 246 seconds]
oharvey has joined #nixos
rajivr___ has quit [Ping timeout: 258 seconds]
kleisli has joined #nixos
stepcut has joined #nixos
techtangents has joined #nixos
aanderse_ has joined #nixos
tazjin has joined #nixos
drakonis1 has joined #nixos
bpierre has joined #nixos
ajmcmiddlin has joined #nixos
coot has joined #nixos
NemesisD has joined #nixos
aanderse has quit [Ping timeout: 264 seconds]
gonz_ has joined #nixos
sdier has joined #nixos
kalbasit has joined #nixos
dongcarl has joined #nixos
rajivr___ has joined #nixos
hoek has joined #nixos
noonien has joined #nixos
knupfer has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
<ottidmes> I have packaged the frontend of bitwarden that contains some static web assets (HTML/CSS/JSS/images) and is used as the frontend of the bitwarden_rs package. I have made that static asset package configurable through the NixOS module for bitwarden_rs. Now I wonder about the static asset package, should I put the files in the root its store directory (i.e. $out) or in $out/share/bitwarden_rs/vault?
<{^_^}> [nixpkgs] @dtzWill opened pull request #60059 → kmymoney: 5.0.1 -> 5.0.4 → https://git.io/fj34C
pasukon has joined #nixos
o1lo01ol1o has joined #nixos
v0d1ch has joined #nixos
alunduil has joined #nixos
<ottidmes> guess I will just go with the /share variant, because other distros follow that pattern and that would also allow installing the frontend via systemPackages, in the module option I will just mention it should be placed under that directory structure
lovesegfault has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
work_ has joined #nixos
aanderse_ has quit []
aanderse has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @basvandijk merged pull request #59983 → prometheus-statsd-exporter: 0.4.0 -> 0.9.0 → https://git.io/fj3fq
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @basvandijk pushed 3 commits to master: https://git.io/fj344
knupfer has joined #nixos
vid has quit [Ping timeout: 245 seconds]
phreedom_ has joined #nixos
mconstant has quit [Ping timeout: 244 seconds]
phreedom has quit [Ping timeout: 256 seconds]
ATuin has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #60030 → alacritty: 0.3.0 -> 0.3.1 → https://git.io/fj3c3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj34z
<{^_^}> [nixpkgs] @Infinisil merged pull request #59898 → modd: init at 0.8 → https://git.io/fjO0b
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj342
anaothmane has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60060 → networkmanager: 1.16.0 -> 1.18.0 → https://git.io/fj34w
<{^_^}> [nixpkgs] @Infinisil merged pull request #59951 → adoptopenjdk-bin: 11.0.2 -> 11.0.3 [Security fixes] → https://git.io/fjOFM
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj34r
<{^_^}> [nixpkgs] @Infinisil pushed commit from @taku0 to release-19.03 « adoptopenjdk-bin: 11.0.2 -> 11.0.3 »: https://git.io/fj34K
<{^_^}> [nixpkgs] @markuskowa merged pull request #60010 → HTTPS urls → https://git.io/fj3mn
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fj346
stepcut_ has joined #nixos
_kwstas has quit [Quit: _kwstas]
stepcut has quit [Ping timeout: 276 seconds]
<aanderse> samueldr: i believe https://github.com/NixOS/nixpkgs/pull/60028 and https://github.com/NixOS/nixpkgs/pull/60037 are good to merge and have commented as such
<{^_^}> #60028 (by volth, 5 hours ago, open): perl.meta.priority += 1
<{^_^}> #60037 (by samueldr, 1 hour ago, open): Backport perl: add .withPackages #59215 #60028
drakonis_ has joined #nixos
coconnor has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59942 → neopg: 0.0.4 -> 0.0.6 → https://git.io/fjOQC
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj345
<ekleog> infinisil: I think we almost triggered a race condition on github :p
<infinisil> We did?
<{^_^}> [nixpkgs] @flokli opened pull request #60061 → gitlab: 11.9.1 -> 11.9.8 → https://git.io/fj34b
<ekleog> I clicked the button for merging neopg 0.0.6 and it appeared merged by you ^^
<ekleog> though I guess that's all network delays
<gchristensen> github gets it wrong sometimes
drakonis1 has quit [Quit: WeeChat 2.4]
<gchristensen> how is that for scary
<ekleog> uh oh
<{^_^}> [nixpkgs] @nyanloutre opened pull request #60062 → mumble: incompatible protobuf version → https://git.io/fj34A
<{^_^}> [nixpkgs] @Infinisil merged pull request #59904 → phpPackages: update php packages → https://git.io/fjOg1
<{^_^}> [nixpkgs] @Infinisil pushed 16 commits to master: https://git.io/fj34p
drakonis has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #60031 → tcl/tk: 8.6.6 -> 8.6.9 → https://git.io/fj3ci
<{^_^}> [nixpkgs] @c0bw3b opened pull request #60063 → tcl/tk: 8.6.6 -> 8.6.9 → https://git.io/fj3Be
drakonis_ has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [nixpkgs] @dtzWill merged pull request #59974 → nghttp2: 1.37.0 -> 1.38.0 → https://git.io/fjOjV
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fj3BI
<{^_^}> [nixpkgs] @Infinisil pushed commit from @Izorkin to release-19.03 « phpPackages.oci8: 2.1.8 -> 2.2.0 »: https://git.io/fj3BL
<{^_^}> [nixpkgs] @Infinisil closed pull request #59926 → phpPackages.oci8: 2.1.8 -> 2.2.0 → https://git.io/fjOXf
<infinisil> ekleog: Ah hehe
<{^_^}> [nixpkgs] @dtzWill closed pull request #59030 → papirus-icon-theme: 20190302 -> 20190331 → https://git.io/fjLKz
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
srid0 has joined #nixos
aw_ has joined #nixos
swistak35_ has joined #nixos
zupo_ has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
jrn has quit [Ping timeout: 246 seconds]
mkaito_ has quit [Ping timeout: 246 seconds]
ar1a_ has quit [Ping timeout: 246 seconds]
aw has quit [Ping timeout: 246 seconds]
srid has quit [Ping timeout: 246 seconds]
swistak35 has quit [Ping timeout: 246 seconds]
leotaku has quit [Ping timeout: 246 seconds]
xorkle has quit [Ping timeout: 246 seconds]
bollu has quit [Ping timeout: 246 seconds]
edwtjo has quit [Ping timeout: 246 seconds]
Sargun has quit [Ping timeout: 246 seconds]
troydm has quit [Ping timeout: 246 seconds]
lassulus has quit [Ping timeout: 246 seconds]
rycwo has quit [Ping timeout: 246 seconds]
lohfu has quit [Ping timeout: 246 seconds]
IooNag has quit [Ping timeout: 246 seconds]
xorkle_ has joined #nixos
EoF has quit [Ping timeout: 246 seconds]
m0rphism has quit [Ping timeout: 246 seconds]
Jackneill has quit [Ping timeout: 246 seconds]
samrose has quit [Ping timeout: 246 seconds]
kini has quit [Ping timeout: 246 seconds]
kingsley has quit [Ping timeout: 246 seconds]
statusfailed has quit [Ping timeout: 246 seconds]
WilliButz has quit [Ping timeout: 246 seconds]
wirew0rm has quit [Ping timeout: 246 seconds]
strobelight has quit [Ping timeout: 240 seconds]
leotaku has joined #nixos
bollu has joined #nixos
samrose has joined #nixos
joko_ has quit [Ping timeout: 246 seconds]
moredhel has quit [Ping timeout: 246 seconds]
wirew0rm has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #60064 → python3.pkgs.aioesphomeapi: 1.8.0 -> 2.0.1 → https://git.io/fj3BY
lassulus_ has joined #nixos
thommey has quit [Ping timeout: 246 seconds]
gspia has quit [Ping timeout: 246 seconds]
samueldr has quit [Ping timeout: 246 seconds]
m0rphism has joined #nixos
moredhel has joined #nixos
ar1a has joined #nixos
drakonis has joined #nixos
EoF has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
Sargun has joined #nixos
troydm has joined #nixos
lassulus_ is now known as lassulus
rycwo has joined #nixos
joko has joined #nixos
IooNag has joined #nixos
gonz_ has quit [Ping timeout: 246 seconds]
sysreq has quit [Ping timeout: 246 seconds]
jeschli has joined #nixos
statusfailed has joined #nixos
WilliButz has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3Bs
<{^_^}> [nixpkgs] @Infinisil merged pull request #59913 → Fix pythonPackages.sounddevice and upgrade 0.3.12 -> 0.3.13 → https://git.io/fjOwr
Jackneill has joined #nixos
edwtjo has joined #nixos
kingsley has joined #nixos
gonz_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed commit from @JohnAZoidberg to release-19.03 « pythonPackages.sounddevice: 0.3.12 -> 0.3.13 »: https://git.io/fj3BG
lohfu has joined #nixos
thommey has joined #nixos
mconstant has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
samueldr has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
pasukon has quit [Ping timeout: 276 seconds]
pasukon has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #59912 → libpst: Fix build → https://git.io/fjOwl
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3BW
teehemkay_ has joined #nixos
npmccallum has quit [Ping timeout: 246 seconds]
retrry[m]1 has joined #nixos
Shouou has quit [Remote host closed the connection]
kini has joined #nixos
Shouou has joined #nixos
<Dharco> how does nix handle package dependencies? like if executable a calls executable b, how would a specify that needs access to the path to b?
aw_ has quit [Ping timeout: 276 seconds]
aanderse has quit [Remote host closed the connection]
teehemkay has quit [Ping timeout: 276 seconds]
dongcarl has quit [Ping timeout: 276 seconds]
hoek has quit [Ping timeout: 276 seconds]
kalbasit has quit [Ping timeout: 276 seconds]
acarrico has quit [Ping timeout: 276 seconds]
retrry[m] has quit [Ping timeout: 276 seconds]
ottidmes has quit [Ping timeout: 276 seconds]
aw has joined #nixos
aw has joined #nixos
aw has quit [Changing host]
teehemkay_ is now known as teehemkay
aanderse has joined #nixos
ottidmes_ has joined #nixos
NemesisD has quit [Ping timeout: 276 seconds]
v0d1ch has quit [Ping timeout: 276 seconds]
lovesegfault has quit [Ping timeout: 276 seconds]
lovesegfault has joined #nixos
<infinisil> Dharco: You'd specify that in the build by either patching the source code to refer to the binary directly (e.g. replacing /usr/bin/b with ${pkgs.b}/bin/b), or if the package checks for the executable in PATH, you can wrap a with a PATH that contains b
kalbasit has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed commit from @JohnAZoidberg to release-19.03 « libpst: Fix build »: https://git.io/fj3BE
dongcarl has joined #nixos
hoek has joined #nixos
NemesisD has joined #nixos
v0d1ch has joined #nixos
<Dharco> I think my problem is that the systemd unit file isn't getting its PATH set to the location of the 'zfs' executable
glasserc_ has joined #nixos
<Dharco> and I cannot for the life of me figure out how to inject that path into the systemd unit file that is being generated
<{^_^}> [nixpkgs] @Infinisil merged pull request #59910 → perlPackages.libapreq2: install the perl & apache modules (19.03 backport) → https://git.io/fjOVx
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-19.03: https://git.io/fj3Bg
alexherbo24 has joined #nixos
<symphorien> Dharco: iirc the path option of the unit
<pie_> guys
<pie_> his problem is the nix side of things :P
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3B2
<pie_> uhh...sorry...i think?
<{^_^}> [nixpkgs] @Infinisil merged pull request #59905 → mopidy-iris: 3.33.0 -> 3.36.0 → https://git.io/fjO24
<{^_^}> [nixpkgs] @dotlambda opened pull request #60065 → python.pkgs.forbiddenfruit: 0.1.2 -> 0.1.3 → https://git.io/fj3Ba
delan_ has joined #nixos
<Dharco> is this the wrong chat room to be in?
eon`_ has joined #nixos
irdr_ has joined #nixos
<pie_> assuming the excutable is provided by the zfs package you can substitute its path with something like ${zfs}/bin/zfs probably
<pie_> but i really have no idea whats going on
<symphorien> Like systemd.services.foo.path = [ zfs ]
<pie_> theres also lib.makebinpath
<pie_> symphorien, ohh
jb551 has joined #nixos
<pie_> yeah i spoke too soon
jonge has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59885 → cherry-pick ec2-amis.nix: add 19.03 amis → https://git.io/fjO8K
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-19.03: https://git.io/fj3BV
shazow_ has joined #nixos
mdash_ has joined #nixos
<symphorien> https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.path
glines_ has joined #nixos
kriztw_ has joined #nixos
migy__ has joined #nixos
eisbaer-1 has joined #nixos
sveitser1 has joined #nixos
ent has joined #nixos
mg- has joined #nixos
oleks_ has joined #nixos
<infinisil> Dharco: If the package itself depends on zfs though, you shouldn't use this NixOS option, but change the build of the package to refer to the binary directly
octe_ has joined #nixos
slyfox_ has joined #nixos
nahamu_ has joined #nixos
jordansinn_ has joined #nixos
<infinisil> ..Although, upon second thought, zfs depends on the kernel, which might be different for different systems..
gyroninja_ has joined #nixos
andromed1-galaxy has joined #nixos
mconstant has quit [Ping timeout: 245 seconds]
orbekk1 has joined #nixos
vid has joined #nixos
<Dharco> I'm not the owner/maintainer of the application code, I'm just trying to package it up so that I can use it in a NixOS way..... I can build the application and it runs fine in a shell... but I want to run it as a service from my configuration.nix file
IooNag_ has joined #nixos
moredhel- has joined #nixos
<pie_> infinisil, i *was* wondering what to do in the case of kernel stuff...i mean theres two things here i guess? one is the kernel side stuff and the other is the interface to it?
<infinisil> Oh I think the user-land zfs package doesn't depend on the kernel, so embedding it in the build should be fine
glasserc has quit [Ping timeout: 250 seconds]
zfnmxt has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 250 seconds]
lstanley has quit [Ping timeout: 250 seconds]
alexherbo2 has quit [Ping timeout: 250 seconds]
moredhel_ has quit [Ping timeout: 250 seconds]
dminuoso has quit [Ping timeout: 250 seconds]
delan has quit [Ping timeout: 250 seconds]
dave_uy has quit [Ping timeout: 250 seconds]
eon` has quit [Ping timeout: 250 seconds]
jb55 has quit [Ping timeout: 250 seconds]
slyfox has quit [Ping timeout: 250 seconds]
irdr has quit [Ping timeout: 250 seconds]
glenndavy has quit [Ping timeout: 250 seconds]
nahamu has quit [Ping timeout: 250 seconds]
glines has quit [Ping timeout: 250 seconds]
mg has quit [Ping timeout: 250 seconds]
mdash has quit [Ping timeout: 250 seconds]
eisbaer-north has quit [Ping timeout: 250 seconds]
migy_ has quit [Ping timeout: 250 seconds]
jordansinn has quit [Ping timeout: 250 seconds]
shazow has quit [Ping timeout: 250 seconds]
ar1a has quit [Ping timeout: 250 seconds]
Jackneill has quit [Ping timeout: 250 seconds]
orbekk has quit [Ping timeout: 250 seconds]
nurelin_ has quit [Ping timeout: 250 seconds]
afics has quit [Ping timeout: 250 seconds]
iMatejC has quit [Ping timeout: 250 seconds]
sveitser has quit [Ping timeout: 250 seconds]
oleks has quit [Ping timeout: 250 seconds]
veverak has quit [Ping timeout: 250 seconds]
szicari has quit [Ping timeout: 250 seconds]
le_jonge has quit [Ping timeout: 250 seconds]
ent- has quit [Ping timeout: 250 seconds]
kriztw has quit [Ping timeout: 250 seconds]
gyroninja has quit [Ping timeout: 250 seconds]
maurer has quit [Ping timeout: 250 seconds]
bsima has quit [Ping timeout: 250 seconds]
octe has quit [Ping timeout: 250 seconds]
andromeda-galaxy has quit [Ping timeout: 250 seconds]
Lears has quit [Ping timeout: 250 seconds]
andi- has quit [Ping timeout: 250 seconds]
marcusr has quit [Ping timeout: 250 seconds]
IooNag has quit [Ping timeout: 250 seconds]
WizzieB has quit [Ping timeout: 250 seconds]
cransom has quit [Ping timeout: 250 seconds]
<infinisil> pie_: Yeah
zfnmxt has joined #nixos
<Dharco> so how would 'embed' it into the build?
<Dharco> +I
cyphase has joined #nixos
phreedom_ has quit [Remote host closed the connection]
dave_uy has joined #nixos
WizBright has joined #nixos
phreedom has joined #nixos
<infinisil> Dharco: How does it refer to the binary in the source code? If it gets it from PATH, you can use `wrapProgram $out/bin/a --suffix PATH : ${zfs}/bin/zfs`
tdbgamer has joined #nixos
maurer has joined #nixos
cransom has joined #nixos
Jackneill has joined #nixos
afics has joined #nixos
<infinisil> (after adding makeWrapper to nativeBuildInputs)
iMatejC has joined #nixos
szicari has joined #nixos
marcusr has joined #nixos
bsima has joined #nixos
veverak has joined #nixos
marcusr has joined #nixos
marcusr has quit [Changing host]
dminuoso has joined #nixos
stepcut_ has quit [Ping timeout: 276 seconds]
<Dharco> I assume it gets it from PATH... I'm not even a golang novice, so I'm not going to try to dig into that code to find out
andi- has joined #nixos
<Dharco> looking into 'wrapProgram'
ar1a has joined #nixos
nurelin_ has joined #nixos
stepcut has joined #nixos
<pie_> Dharco, welcome to the rabbit hole, 'xD good luck!
tboston_ has quit [Ping timeout: 276 seconds]
<Dharco> it felt like a monumental challenge just to get the program to run... then it couldn't find "zfs"... hopefully this is the last hurdle
<worldofpeace> infinisil: was the usbmuxd fix backported?
<{^_^}> [nixpkgs] @Infinisil merged pull request #60023 → sl: use appropriate compiler → https://git.io/fj3sF
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3B1
<pie_> Dharco, this is where makeWrapper is defined btw https://github.com/NixOS/nixpkgs/blob/39679b3021c76ae87699285ecef2df321658710a/pkgs/top-level/all-packages.nix#L335 , the definitions for a lot of things will be found in all-packages
<pie_> if its something you get via a parameter to your package it will usually be defined in ther
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59965 → seasocks: init at 1.4.2 → https://git.io/fjOpy
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj3BM
<Dharco> do you know of a package that uses that for example code?
ng0 has quit [Quit: Alexa, when is the end of world?]
<Dharco> nevermind found several
<Dharco> I think I'm good to go now, thanks for the directions
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj3BH
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60062 → mumble: incompatible protobuf version → https://git.io/fj34A
<pie_> Dharco, you may eventually be interested in the "nix repl" tool
<infinisil> worldofpeace: Ah I was thinking you'd do that since you merged
<pie_> https://search.nix.gsc.io/ can be used to search in nixpkgs but you probably really should just have a local copy of nixpkgs and grep that
<infinisil> worldofpeace: But I can do it too
<worldofpeace> infinisil: I thought that you were going to open a pr for testing.
<{^_^}> [nixops] @AmineChikhaoui opened pull request #1135 → add nixops copy-closure command → https://git.io/fj3BQ
<Dharco> thanks pie
<infinisil> worldofpeace: Eh, it should be fine I think
<infinisil> Unless you have concerns that something oddly breaks on stable
<worldofpeace> infinisil: I thought that, but I don't think it's at all likely now.
<{^_^}> [nixpkgs] @dtzWill merged pull request #58657 → salt: 2018.3 -> 2019.2, pepper: 0.5.5 -> 0.7.5 → https://git.io/fjk9E
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fj3B5
o1lo01ol1o has quit [Remote host closed the connection]
orivej_ has joined #nixos
octe_ is now known as octe
knupfer has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
stepcut_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #60038 → hugin: 2018 -> 2019 → https://git.io/fj3l6
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3BN
orivej has quit [Ping timeout: 245 seconds]
stepcut has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #60033 → automysqlinit: init at 3.0_rc6 (19.03 backport) → https://git.io/fj3Cv
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-19.03: https://git.io/fj3Bx
o1lo01ol1o has quit [Ping timeout: 252 seconds]
Jonathan_ has quit [Ping timeout: 256 seconds]
ottidmes_ has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @Infinisil merged pull request #60007 → pgmetrics: 1.6.1 -> 1.6.2 → https://git.io/fj3te
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3Re
shibboleth has joined #nixos
<pie_> > lib.converge (x: x/2) 16
<{^_^}> /var/lib/nixbot/state/nixpkgs/x/2
<pie_> find the bug lol
<infinisil> Path literals <3
lovesegfault has quit [Quit: WeeChat 2.4]
cyraxjoe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed 8 commits to release-19.03: https://git.io/fj3Rf
o1lo01ol1o has joined #nixos
<pie_> infinisil, on that note, i can never decide if i should use normal strings or url literals
<pie_> it just feels sketchy
Rusty1 has joined #nixos
<pie_> I think there was something else too but I don't remember what
<infinisil> Sometimes you need literal strings, and sometimes you need path literals
<pie_> yeah but path literals at least you use if you need something pulled into the store right?
<pie_> so that kind of makes sense
<pie_> nbp, btw two other questions 1) what is grafting 2) where can i read about this SOS stuff?
<infinisil> Ah yeah
<infinisil> pie_: rfcs#3
<{^_^}> https://github.com/NixOS/rfcs/pull/3 (by nbp, 2 years ago, closed): [RFC 0003] SOS: Simple Override Strategy.
<pie_> > closing all draft RFCs
<{^_^}> undefined variable 'closing' at (string):252:1
<pie_> shlev y pls D:
m0rphism has quit [Ping timeout: 245 seconds]
<infinisil> See rfcs#36 (the RFC RFC) :P
<{^_^}> https://github.com/NixOS/rfcs/pull/36 (by globin, 21 weeks ago, merged): [RFC 0036] Improving the RFC process
<infinisil> The closed RFC's can always be reopened when they get worked on again
<infinisil> This makes me think, I should make some changes to my latest one (rfcs#42)
<{^_^}> https://github.com/NixOS/rfcs/pull/42 (by Infinisil, 4 weeks ago, open): [RFC 0042] NixOS config options
mmlb has quit [Ping timeout: 255 seconds]
<scott> does nixpkgs have something akin to ubuntu's build-essential package? specifically something i could `nix use` that would automatically give me commonly expected build tools like gcc, make, etc, without needing to name multiple packages in most cases
andrewrk has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/accbbc51a7b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ba56744abdd (from 42 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<infinisil> scott: A nix-shell will give you that :)
tobiasBora has quit [Ping timeout: 246 seconds]
<infinisil> nix-shell -p <list of packages, or empty>
<scott> ahh, makes sense, thanks
<infinisil> These standard tools come from stdenv
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> So if you want to have more flexibility than -p, you'll have to write a shell.nix file with contents like `stdenv.mkDerivation { name = "..."; ...; }`
<scott> conveniently i can just look at $PATH inside a nix-shell with empty package list
andrewrk has joined #nixos
dbmikus has quit [Quit: WeeChat 2.4]
azdle has quit [Ping timeout: 246 seconds]
<infinisil> Yeah (but don't hardcode those paths anywhere)
dbmikus has joined #nixos
azdle has joined #nixos
tobiasBora has joined #nixos
<pie_> i wonder why i feel like we're getting a sudden influx of new people :D
<MichaelRaskin> Aren't we always?
<Dharco> pie_ & infinisil thank you very much, I was finally able to get it working end-to-end with your help
<pie_> gonna have to start writing some faqs real soon (or something)
<scott> i'm not new ftr, i just hadn't realized the particular trick of an empty nix-shell package list :p
<pie_> MichaelRaskin, youre probably right :3
<infinisil> Dharco: Nice :)
<pie_> or im just on irc too much recently
<infinisil> pie_: I should record stats in my bot on what the new-people rate is
<pie_> scott, ok maybe nix just has a lot of dark corners :p
<pie_> a very large amount of dark corners
<pie_> with different corners being dark for everyone
<infinisil> Hehe
<Dharco> I would not have thought to overwrite/wrap the executable with something to inject the path... even with the hints that was not trivial to understand/do
<scott> learning more about exactly how stdenv is structured has been on my todolist for a couple years now...
<MichaelRaskin> Don't worry, if gets restructured once in a couple of years anyway
<scott> heh
<pie_> i feel like its kind of hard to half-ass something with nix...depending on what youre half-assing
<pie_> other times its very easy
<pie_> x'D
galaxie has left #nixos [#nixos]
* pie_ randomly starts pondering if nix will ever become a thing you dont need to spend months of your life on to be able to work with
<pie_> i.e. be able to learn nix and still get paid if your job is not devops :p
<scott> i've described nix to someone as "the first package manager". like, it's the first one that has properties that *really* interest me, but i (optimistically) consider it the earliest stage in its class, so there's lots of room to improve, especially in ergonomics
<pie_> i dont want to imagine computing without nix
<scott> nix 2.0 definitely made a lot of stuff feel fancier
<pie_> i think i have serious stockholm syndrome :D
<MichaelRaskin> I think the Nix manual can still be read in a few days. And it is kind of enough to use Nix.
<MichaelRaskin> If you had Stockholm syndrome, you would be praising apt!
<pie_> i dont thing you can read the nix manual like you read a book
<pie_> :p
<pie_> & threda
<MichaelRaskin> At the book-rate I would give it half a day!
<pie_> "The existence of an overrideScope attribute that creates a complete, modified copy of the package set for the context of the given attribute may have been a mistake in the first place"
<pie_> though maybe im not immediately understanding what thats talking about
<scott> there's being able to use nix at all, and there's being able to use nix fluently in a way that works for you on a daily basis
<pie_> ugh i should stop for today. i feel like i dug into a really complicated corner...
<MichaelRaskin> And when I first installed NixOS (a bit more than ten years ago) I did indeed just read all the three manuals in a day (they were smaller back then)
<scott> i feel like i'm still figuring out new ways to use nix that i really like that aren't in any manual
<pie_> scott, per clever's not...suggestion...but mention of some things, i startedusing nix to run stuff as opposed to just packages and it...works lol
<pie_> but my stuff im running doesnt need network access or such
<scott> programming in the nix language? what kind of stuff?
<pie_> no i mean using the nix sandbox as a runner for ghidra
<scott> oh ok
<pie_> im trying to figure out how to make a sane .withPackages for it ;~;
<{^_^}> #59344 (by deliciouslytyped, 1 week ago, open): Proposal: Engineering a Common "Plugin" Infrastructure
<NemesisD> do y'all have any suggestions when you need command to generate several nix files? for instance, my package depends on node2nix, which generates 3 .nix files, which my project also needs
<NemesisD> do i build a derivation with buildInputs of `node2nix` and my config and dumps those .nix files to the `$output`?
<{^_^}> [nixpkgs] @worldofpeace pushed to master « gnome3.gnome-control-center: hardcode path to gnome-desktop »: https://git.io/fj3R0
statusbot has quit [Ping timeout: 246 seconds]
Lears has joined #nixos
<pie_> I think that might fall under recursive nix, which is for now generally discouraged I think - I mean you should probably have all the .nix you need availible at the time you run nix-build or whatever
statusbot has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<pie_> i mean, if after that you want to call nix on the generated files
<pie_> but im not sure, maybe you can make it work
[Leary] has quit [Read error: No route to host]
<pie_> actually....i guess you could just have that derivation be an input to something else and just import its outputs
<NemesisD> pie_: that's what i had in mind
<pie_> im suddenly unsure if you can intersperse builds and evaluation
<pie_> i think you cant
<pie_> but hey, give it a shot
wolfman154 has joined #nixos
o1lo01ol1o has joined #nixos
<pie_> it shouldnt be that hard to try a simplified experiment#
<pie_> just write a derivation that echos a string containing nix code to an output and try to use its result
Dharco has quit [Quit: Page closed]
<NemesisD> alternatively i could have my script to start a nix shell run a `nix-shell` command first that uses `node2nix` to generate all the nix files since that process is idempotent
<pie_> i mean at least, it kind of sounds like it
rprije has joined #nixos
<scott> you *can* have evaluation depend on the result of a build in nix, but it's banned in the nixpkgs repo specifically, iirc
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/accbbc51a7b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<NemesisD> so like `nix-shell --run "node2nix config.json --out blah.nix && nix-shell"`
lovesegfault has joined #nixos
<pie_> ill have to read this rfc more carefully later
<scott> if i'm following correctly, this is what i mean: https://nixos.wiki/wiki/Import_From_Derivation
<NemesisD> erm, wait, `nix-shell --run "node2nix config.json --out blah.nix" && nix-shell`
jb551 is now known as jb55
<pie_> scott, oh huh.
<wolfman154> I’m going to do a fresh install of nixos 19.03, will changing homeState in home.nix to 19.03 cause anything to crash? As long as both configuration.nix and home.nix are set to 19.03, every should work without anything crashing right?
<scott> that RFC mentions import from derivation in the alternatives section but doesn't go into a lot of detail
o1lo01ol1o has quit [Ping timeout: 246 seconds]
mmlb has joined #nixos
vk3wtf_ has quit [Ping timeout: 244 seconds]
<pie_> scott, maybe clarification can be asked for
<NemesisD> also a much more basic question. how do i go from a set to a list of values?
cyphase has quit [Quit: cyphase.com]
<scott> NemesisD: builtins.attrValues, i think
ayerhart has quit [Read error: Connection reset by peer]
gagbo has joined #nixos
<NemesisD> scott: thanks!
work_ has quit [Quit: Connection closed for inactivity]
<pie_> if only we had hoogle! :P
<pie_> I mean I guess we could manually make something
* pie_ ponders
<pie_> so yeah what if we just made haskell or something prototypes for a bunch of stuff
<pie_> there's already some types in comments for functions in nixpkgs, though I dont know if that uses the prototype nix type system or what?
stepcut has joined #nixos
<gchristensen> it doesn't
<pie_> infinisil, maybe with good enough documentation type signatures for hoogle could be generated from the documentaiton? :p ^
<pie_> (and by that i actually mean a bunch of hand written type signatures in the docs or something :p , probably better to just have it in the code instead though)
<infinisil> pie_: A problem is that we don't have any define nix structure to define stuff
<infinisil> pie_: lib is just `import <nixpkgs/lib>`, and they're defined in some random attrset structure
<pie_> eh, its all ad-hoc anyway right? :o
<pie_> * :p
stepcut_ has quit [Ping timeout: 268 seconds]
<infinisil> We don't have something like Haskell modules, where all top-level definitions are to be used
<pie_> could start with at least lib and builtins
sigmundv has joined #nixos
jasongrossman has joined #nixos
<pie_> I should go to sleep and stop coming up with Ideas.
<pie_> gnight guys! o/
<wolfman154> I’m going to do a fresh install of nixos 19.03, will changing homeState in home.nix to 19.03 cause anything to crash? As long as both configuration.nix and home.nix are set to 19.03, every should work without anything crashing right?
<wolfman154> I’m just double checking?
<gchristensen> should be good
mbrgm_ has joined #nixos
<wolfman154> gchristensen: ok, sounds good
<wolfman154> :)
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
coconnor has joined #nixos
b1000101 has quit [Ping timeout: 252 seconds]
<gchristensen> infinisil: I did some experiments with an "exports" thing, and public vs. private library functions, and also unit testing.
<gchristensen> it was cool
<{^_^}> [nixpkgs] @samueldr merged pull request #60028 → perl.meta.priority += 1 → https://git.io/fj3nJ
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fj3R9
<{^_^}> [nixpkgs] @samueldr merged pull request #60037 → Backport perl: add .withPackages #59215 #60028 → https://git.io/fj3lr
<{^_^}> [nixpkgs] @samueldr pushed 6 commits to release-19.03: https://git.io/fj3RH
<gchristensen> the flakes project is about defining these sorts of things, maybe you'd like to participate
<aanderse> samueldr++
<{^_^}> samueldr's karma got increased to 79
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/496d945a76c (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Glider_IRC_ has joined #nixos
fresheyeball has joined #nixos
alexherbo24 has quit [Quit: The Lounge - https://thelounge.chat]
<fresheyeball> hey out there
<fresheyeball> I am trying to get a thing going with ghcjs in nix
<fresheyeball> and its not smooooth so far
<fresheyeball> right now src/GhcUtil.hs is barfing now that I moved from pkgs.haskell.packages.ghc843 to pkgs.haskell.packages.ghcjs
Glider_IRC__ has quit [Ping timeout: 255 seconds]
stepcut_ has joined #nixos